(Common to Power Mate i–D and –H)
13. CUSTOM MACRO
The coordinates of point A can be read using system variables #5001
and up until the first NC statement is encountered.
The coordinates of point A’ can be read after an NC statement with no
move specifications appears.
The machine coordinates and workpiece coordinates of point B’ can be
read using system variables #5021 and up and #5041 and up.
Tool center path
Programmed tool path
When the interrupt signal (UINT) is input and an interrupt program is
called, the custom macro modal call is canceled (G67). However, when
G66 is specified in the interrupt program, the custom macro modal call
becomes valid. When control is returned from the interrupt program by
M99, the modal call is restored to the state it was in before the interrupt
was generated. When control is returned by M99Pxxxx;, the modal call
in the interrupt program remains valid.
values) for the interrupt
Custom macro interrupt
and custom macro