Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
The content you are trying to access is permanently deleted.
Please help me to redefine tool change sequence using g-post.
My machine needs tool change sequence as follows.
T1M12 (load T1 from spindel to tool changer assembly )
T2M18 (load T2 to spindel )
M15
I can manage with t2m18 and m15, but I can not get a tool number to load from spindel to tool changer from the CL-data.
Excuse my poor English
Solved! Go to Solution.
If I understand correctly, you need to get the "last tool" number to put with the M12 code. To get this kind of information you need to use the POSTF function.
The last tool and current tool numbers are stored as double values. To get them you make a call like the following:
LASTTL = POSTF ( 1, 3, 0496 ) $$ Get the last tool
CURRTL = POSTF ( 1, 3, 0497 ) $$ Get the current tool
I don't know which you will need. It depends on whether the postprocessor has already updated these values when it got the tool change you are handling. You can try it out and see.
Also, you'll probably need to have some sort of check for the case where you are changing tools for the first time and there is thus no tool to put back into the tool changer assembly?
If I understand correctly, you need to get the "last tool" number to put with the M12 code. To get this kind of information you need to use the POSTF function.
The last tool and current tool numbers are stored as double values. To get them you make a call like the following:
LASTTL = POSTF ( 1, 3, 0496 ) $$ Get the last tool
CURRTL = POSTF ( 1, 3, 0497 ) $$ Get the current tool
I don't know which you will need. It depends on whether the postprocessor has already updated these values when it got the tool change you are handling. You can try it out and see.
Also, you'll probably need to have some sort of check for the case where you are changing tools for the first time and there is thus no tool to put back into the tool changer assembly?
That is exactly what I need. Thanks a lot.
Maybe you tell me how to get a fixture ottset number and insert some codes before and after it.
Hi,
Can you guide me editing FIL? I am new to using FIL Editor and trying to extract tool comments rfom .ncl file.
--
Dhinesh
I asked this question in the past and ended up figuring out the answer myself. Here's a link to the discussion.
Kenneth, of late I landed automatically at the link provided as I am cluelessly searching for result for my problem. That's actually a good job.