FANUC Series 16/18/160/180-Model C for Lathe Operator Manual

PROGRAMMING
16. CUSTOM MACRO
B–62754EN/01
324
D The coordinates of point A can be read using system variables #5001
and up until the first NC statement is encountered.
D The coordinates of point A’ can be read after an NC statement with no
move specifications appears.
D The machine coordinates and workpiece coordinates of point B’ can
be read using system variables #5021 and up and #5041 and up.
B’
B
A’
A
Interrupt generated
Tool nose center path
Offset vector
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.
When the interrupt signal (UINT) is input while a return operation is being
performed in the dry run mode after the search operation for program
restart, the interrupt program is called after restart operation terminates
for all axes. This means that interrupt type II is used regardless of the
parameter setting.
D System variables
(position information
values) for the interrupt
program
D Custom macro interrupt
and custom macro
modal call
D Custom macro interrupt
and program restart

Leave a Reply

Your email address will not be published. Required fields are marked *