Fanuc Series 15i/150i-MA (Programming) Operators Manual

17.CUSTOM MACRO PROGRAMMING B-63324EN/03
- 676 -
Modal information when control is returned by M99
The modal information present before the interrupt becomes valid. The
new modal information modified by the interrupt program is made
invalid.
Modal information when control is returned by M99 Qxxxxxxxx
The new modal information modified by the interrupt program remains
valid even after control is returned.
Modal information for blocks in which interrupts have occurred
Using custom macro system variables #4401 to #4530, the modal
information for the blocks in which interrupts have occurred can be
read.
System variables Modal information at the time of a custom
macro interrupt
#4401
to
#4421
#4502
#4507
#4508
#4509
#4511
#4513
#4514
#4515
#4519
#4520
#4530
G code (group 01)
to
G code (group 02)
B code
D code
E code
F code
H code
M code
Sequence number
Program number
S code
T code
Additional workpiece coordinate system number
- System variable (position information values) for the interrupt program
Position information can be read as follows:
Macro
variable
Condition Position information
value
Until the first NC statement appears. Coordinates of point A
After an NC statement without a
move command appears.
Coordinates of point A’
#5001or
later
After an NC statement with a move
command appears.
Coordinates of the end
point specified with the
move command
#5021 or
later
Machine coordinates of
point B’
#5041 or
later
Workpiece coordinates
of point B’

Leave a Reply

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