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

17.CUSTOM MACRO PROGRAMMING B-63324EN/03
- 674 -
Fig.17.14.2 (d) Return from a custom macro interrupt
M96 P1234 ;
O1234
Interrupt
Gxx Xxxxx ;
M99 ;
M96 P5678
O5678
M97
Interrupt
Interrupt
Gxx Xxxxx ;
M96 ;
M99 ;
M97
O1000 ;
Interrupt
NOTE
When an M99 block consists only of address O, N, P,
L, or M, this block is regarded as belonging to the
previous block in the program. Therefore, a single-
block stop does not occur for this block. In terms of
programming, the following 1) and 2) are basically the
same. (The difference is whether Gff is executed
before M99 is recognized.)
1)Gxx Xyyy ;
M99 ;
2)Gxx Xyyy M99 ;

Leave a Reply

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