FANUC Series 16/18/160/180-Model C Machining Center Operators Manual

PROGRAMMING
B–62764EN/01
16. CUSTOM MACRO
421
(2)After control is returned to the interrupted program, modal
information is specified again as necessary.
O∆∆∆∆
M96Pxxx
Nffff;
M99(Pffff);
Oxxx;
Interrupt signal (UINT)
(Without P specification)
Modify modal
information
Modal
information remains
unchanged before and
after the interrupt.
(With P specification)
The new modal information modified by the interrupt program
is present.
The modal information present before the interrupt becomes valid. The
new modal information modified by the interrupt program is made
invalid.
The new modal information modified by the interrupt program remains
valid even after control is returned. The old modal information which was
valid in the interrupted block can be read using custom macro system
variables #4001 to #4120.
Note that when modal information is modified by the interrupt program,
system variables #4001 to #4120 are not changed.
S The coordinates of point A can be read using system variables #5001
and up until the first NC statement is encountered.
S The coordinates of point A’ can be read after an NC statement with no
move specifications appears.
S 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 center path
Offset vector
Programmed tool path
Modal information when
control is returned by
M99
Modal information when
control is returned by
M99 Pffff
D System variables
(position information
values) for the interrupt
program

Leave a Reply

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