New Machine Build Looking to add tool list output to post processor (Esprit 2016)


Results 1 to 7 of 7

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

  1. #1
    Registered helbonikster's Avatar
    Join Date
    Aug 2016
    Location
    naugatuck
    Posts
    6
    Downloads
    0
    Uploads
    0

    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?

    Similar Threads:
    Last edited by helbonikster; 10-23-2017 at 09:01 AM. Reason: changed title to reflect correct version of Esprit


  2. #2
    Registered
    Join Date
    Mar 2012
    Location
    America
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default 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
    Registered helbonikster's Avatar
    Join Date
    Aug 2016
    Location
    naugatuck
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default 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
    Registered
    Join Date
    Mar 2012
    Location
    America
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default 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
    Registered helbonikster's Avatar
    Join Date
    Aug 2016
    Location
    naugatuck
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default 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
    Registered
    Join Date
    Mar 2012
    Location
    America
    Posts
    20
    Downloads
    0
    Uploads
    0

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

    do you mind send me your Post???



  7. #7
    Junior Member Forza's Avatar
    Join Date
    Dec 2017
    Location
    620000
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    Add this.
    ex_ToolDefinition : T* OutputString("(" + clstring(498) + ")") TOOLCHANGECOMMENT(1)



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

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

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