Chapter 7
107
UM10372_PCNC440_Manual_0221A
PROgRAMMiNg
Modal Groups for M-codes
Group 4 = {M00, M01, M02, M30, M60} stopping
Group 7 = {M03, M05} spindle turning
Group 8 = {M07, M08, M09} coolant (special case: M07 and M08 may be acve at the same me)
Group 9 = {M48, M49} enable/disable feed and speed override controls
Group 10 =
{operator dened M100 to M199}
Non-modal G-codes
Group 0 = {G04, G10, G28, G30, G53, G92, G92.1, G92.2, G92.3}
7.2.7.6 Default Modes
For all G-code modal groups, when a machining system is ready to accept commands, one member
of the modal group must be in eect. There are default sengs for these modal groups. When the
machining system is turned on or re-inialized, default values are automacally in eect.
Group 1, the rst group on the table is a group of G-codes for moon. One of these is always in
eect. That one is called the current moon mode.
7.3 G-codes
The supported G-codes are shown and described in more detail in this secon. The descripons
contain command examples set in Courier type font.
Summary of G-codes
G00 Rapid posioning
G01 Linear interpolaon
G02 Clockwise circular interpolaon
G03 Counter-clockwise circular interpolaon
G04 Dwell
G07, G08 Diameter/radius mode – Do not use G08
G10 L1 Set tool table entry
G10 L10 Set tool table – calculated – workpiece
G10L11 Set tool table – calculated – xture
G10 L2 Set work oset origin
G10 L20 Set work oset origin – calculated
G17, G18, G19 G19 only for lathe
G20/G21 Inch/millimeter unit
G28 Return home
(connued on next page...)