New Machine Build- Looking to add tool list output to post processor (Esprit 2016)
Registered
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
Registered
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
Registered
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?
Registered
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
Registered
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 ********************)
(************************************************* **)
Registered
Re: Looking to add tool list output to post processor (Esprit 2016)
do you mind send me your Post???
Junior Member
Add this.
ex_ToolDefinition : T* OutputString("(" + clstring(498) + ")") TOOLCHANGECOMMENT(1)
New Machine Build- Looking to add tool list output to post processor (Esprit 2016)
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
Forum Rules