Chapter 7
125
UM10349_PCNC1100_Manual_0916A
Programming
It is an error if:
• Inverse me feed rate mode is acve and a line with G01, G02, or G03 (explicitly or implicitly)
does not have an F word
• A new feed rate is not specied aer switching to G94 or G95 canned cycle return level – G98
and G99
7.6.2.12 Spindle Control Mode – G96, G97
To set constant surface speed mode, program: G96 D~ S~
Word Denition
D~
Maximum spindle RPM. This word is optional
S~
Surface speed. If G20 is active mode, the value is interpreted as feet per minute.
If G21 is active mode, the value is interpreted as meters per minute
Example:
G96 D2500 S250 (set constant surface speed with a maximum rpm of 2500 and a surface speed
of 250).
It is an error if:
• S is not specied with G96
• A feed move is specied in G96 mode while the spindle is not turning
When using G96 (the most common mode of mill operaon), X0 in the current coordinate system
(including osets and tool lengths) must be the spindle axis.
To set RPM mode, program: G97
7.7 Built-in M-codes
M-codes interpreted directly by the operang system are detailed in the following table. For more
informaon, refer to each M-code denion secon later in this chapter.