Rockwell Automation 8520 9/Series CNC Lathe User Manual
Page 296

Introduction to Programming
Chapter 10
10-28
execute after the axis motion is completed
This order of execution can also be altered by using the paramacro feature,
system parameter #3003. See chapter 28.
Your system installer determines in AMP if M- and G-codes get reset
every time the control executes an M02 or M30 end of program command.
If the control does reset M- and G-codes, modal M- and G-codes default
back to their power up condition, and non-modal M- and G-codes are reset
to their default values. If M- and G-codes do not reset, all modal M- and
G-codes remain at their present value and non-modal M- and G-codes
remain at their present values.
Table 10.F shows the basic M-codes for the 9/Series control. A part
program block can contain as many basic M-codes as you want. If you
program more than one M-code from any modal group in the same block,
the rightmost M-code in that block for that modal group is the active
M-code for the block.
Your system installer cam define additional M-codes in PAL. Up to 4
M-codes can be activated in any one block. If more than 4 are
programmed in any one block, the right most 4 in that block are activated.
Other M-codes in the block are ignored. Refer to documentation provided
by your system installer for details on non-basic M-codes and their
operation.