585,605 active members*
3,263 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Esprit > Looking to add tool list output to post processor (Esprit 2016)
Results 1 to 7 of 7
  1. #1

    Question Looking to add tool list output to post processor (Esprit 2016)

    Hello, I am building an Esprit post for our new Tsugami mill. Everything is working fine so far, but I can't for the life of me figure out how to get a list of all the tools used in the program at the beginning of the program.

    In other words, I would like a comment at the start of the program that lists the tools used. Does anyone know how this could be done? I've tried everything I can think of from trying to list ToolChangeComment, to clstring(498), and a bunch of other random things I've tried. So far nothing has worked the way I want it to.

    Does anybody have any experience with advanced post editing?

  2. #2
    Join Date
    Mar 2012
    Posts
    20

    Re: Looking to add tool list output to post processor (Esprit 2016)

    Ex_MachineSetup : If (NextCLFile(1562)=0)
    : "(******************** TOOL LIST ********************)"
    : WhileCount=(1)
    : While(WhileCount<=50) ## Change logic to filter desired tools for current program path
    : If (ToolList(WhileCount)<>0)
    : IOString=(ToolList(Whilecount))
    $ConvertStringToMultiLineComment
    BlankLine
    : EndIf
    : WhileCount=(WhileCount+1)
    : EndWhile
    : "(************************************************ ***)"
    : BlankLine
    : EndIf

  3. #3

    Re: Looking to add tool list output to post processor (Esprit 2016)

    Thank you for the response! Unfortunately, I am getting several errors with this code:


    Ex_MachineSetup : If (NextCLFile(1562)=0)
    2 : "(******************** TOOL LIST ********************)"
    3 : WhileCount=(1)
    ------------------------------------------^
    Reference to an undefined item
    Error Code:10
    4 : While(WhileCount<=50)
    -----------------------------------------------^
    Invalid expression
    Error Code:15
    5 : If (ToolList(WhileCount)<>0)
    ---------------------------------------------^
    Invalid expression
    Error Code:15
    6 : IOString=(ToolList(Whilecount))
    ------------------------------------------^
    Reference to an undefined item
    Error Code:10
    7 $ConvertStringToMultiLineComment
    BlankLine
    : EndIf
    8 : WhileCount=(WhileCount+1)
    ------------------------------------------^
    Reference to an undefined item
    Error Code:10
    9 : EndWhile
    10 : "(************************************************ ***)"
    11 : BlankLine
    12 : EndIf
    13


    Unfortunately, I'm only just beginning to learn post editing, and I'm not sure how to correct these errors. Any thoughts?

  4. #4
    Join Date
    Mar 2012
    Posts
    20

    Re: Looking to add tool list output to post processor (Esprit 2016)

    Variable : TempString ToolList(1..50) WhileCount IOString CRLFLocation BeforeCRLF AfterCRLF
    Add this to your Variable

  5. #5

    Re: Looking to add tool list output to post processor (Esprit 2016)

    Thank you. This worked, however, the tool list is actually outside of the starred brackets.

    Example:

    ( T5 | H5 | .03 Endmilll )
    (******************** TOOL LIST ********************)
    (************************************************* **)

  6. #6
    Join Date
    Mar 2012
    Posts
    20

    Re: Looking to add tool list output to post processor (Esprit 2016)

    do you mind send me your Post???

  7. #7
    Join Date
    Dec 2017
    Posts
    3
    Add this.
    ex_ToolDefinition : T* OutputString("(" + clstring(498) + ")") TOOLCHANGECOMMENT(1)

Similar Threads

  1. Need a Esprit post processor
    By Xecus in forum Esprit
    Replies: 4
    Last Post: 04-02-2024, 01:53 PM
  2. Esprit Post Processor
    By dvo17030 in forum Esprit
    Replies: 6
    Last Post: 10-27-2019, 05:04 PM
  3. Output tool list feature?
    By Alexxmf in forum NCPlot G-Code editor / backplotter
    Replies: 1
    Last Post: 02-28-2014, 12:12 AM
  4. Need Help! Post Processor iTNC530 - Esprit
    By Medvecky2000 in forum Post Processors
    Replies: 3
    Last Post: 11-24-2013, 12:53 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •