edit the post to move the tool list after the program number
How can I do this? right now my post outputs the tool list before the program. I need to list the tools after the start of the program.
I am using this line in my Lib file
:C: GETTOOLS(2,OUTPUT_TOOL_LIST)
and this section in the src file
:SECTION=OUTPUT_TOOL_LIST
:T: TOOL_COMMENT><EOL>
Right now the output is like this
(1/2 EM CRB 2FL 1 LOC)
(1/4 EM CRB 4FL .9 LOC)
%
O0001
N300 (1/2 EM CRB 2FL 1 LOC)
T3M6
should be like this
%
O0001
(T1 1/2 EM CRB 2FL 1 LOC)
(T2 1/4 EM CRB 4FL .9 LOC)
N100(1/2 EM CRB 2FL 1 LOC)
T1M6
So where do I place the "GETTOOLS" to do this?
Thanks
George
Re: edit the post to move the tool list after the program number
In your calc_start_of_tape section you will find
:C: CALL(START_OF_TAPE)
put your command right after
:C: CALL(START_OF_TAPE)
:C: GETTOOLS(2,OUTPUT_TOOL_LIST)
I assume your N100 line is part of your INIT_TOOL_CHANGE_MILL section
Re: edit the post to move the tool list after the program number
I've tried that but it just puts the list after the :SECTION=INIT_TOOL_CHANGE_MILL
I've tried about every location I can and still can't get the right result.
I can't get it to move to just after the :SECTION=START_OF_TAPE
thanks
Re: edit the post to move the tool list after the program number
Attach your .src and .lib file and I will take a look
Re: edit the post to move the tool list after the program number
I get an invalid file message when I try to upload the files. Any tricks to upload files?
Re: edit the post to move the tool list after the program number
try changing the extensions to .txt
2 Attachment(s)
Re: edit the post to move the tool list after the program number
Re: edit the post to move the tool list after the program number
the .lib file I expected was FANCMD.lib , not MILL.lib
Do you make your changes in the MILL.lib file?
If so, do them in the FANCMD.lib and recompile, it should work!
Its better not modifying the mill.lib file, everytime you want to do changes, copy the section you want to modify in (yourpostname).lib and do the mods, it will override the mill.lib same section
Re: edit the post to move the tool list after the program number
I still have the unchanged mill.lib file. I have a fancmd.lib which is the same as the mill.lib I attached. I renamed it to try to get it to work.
I'll try it again with the Fancmd.lib file.
Thanks
Re: edit the post to move the tool list after the program number
I used an older lib file and adjusted it and got it to work, thanks for the help.