5 g- codes (preparatory functions) – Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual
Page 298

Introduction to Programming
Chapter 10
10-24
In a metric part program for a linear axis, a feedrate of 100 millimeters per
minute (mmpm) typically would be written as F100.; (depending on the
active word format).
For details on programming feedrates using the different feedrate modes,
see chapter 18.
Important: Feedrates programmed in any of the feedrate modes (G93,
G94, or G95) can be overridden by use of the switch.
The preparatory function is designated by a G--code consisting of address
G followed by a two-digit value. In some cases, the G--code may have an
additional decimal digit. The G-codes are classified as modal and
non-modal.
Modal
the G-code remains in effect until another G--code in the same G--code group
is programmed.
Non-modal
the G-code is in effect only in the block in which it is programmed.
The 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, modal M- and
G-codes remain at their present value when the program is completed. A
control reset is then necessary to reset the modal M- and G-codes.
Important: G-codes may also be expressed in terms of a parametric
expression (for example G[#12+6]). For details, see section 28.2.
10.5.5
G- codes (Preparatory
Functions)