Hello,
I'm a mechanical engineer, and I'm developing a set of macros to ease the work of similar parts on our lathes.
What I need now is to use the G71 built in macro inside a custom macro.
The use of G71 is clear to me: in the second line of the G71 calling I have to put e.g. P100 Q200 (together with some other parameters) to tell the control that my profile is defined between lines N100 and N200.
But how can I put the G71 command inside a CUSTOM MACRO having the profile defined in the MAIN PROGRAM?
In other words, how can I realize something similar to what Fanuc programmed, when it created a macro (G71) that uses a block (of profile definition) in the main program?
I need this for a lot of reasons that I can't explain now.
Any idea?