Download ADT-CNC4860
Transcript
ADT-CNC4860 Milling Controller 1.4.2 Macro program call using calling function of macro Function and purpose The call of macro program is the same as that of sub program. When the macro program is calling, it can transfer some variable values to sub program. This is different from the call of M98 sub-program. The following G codes are instructions for calling macro programs: G code Function G65 simple call of macro program G66 macro program calling mode A (Moving instruction call) G661 macro program calling mode B (each segment call) G67 cancel the macro program calling mode Details: 1) Specified by G66 (or G661) instruction, and before G67 (Cancel) instruction, the macro program specified after the execution of single segment with move instruction (or each single segment) will be called. 2) In the same program, G66 (or G661), G67 instructions should be used correspondingly in pair. - 99 -