Chapter
Ⅱ
G Commands
29
Ⅰ
Programming
Chapter II G Commands
2.1 Summary
G command consists of command address G and its following command value, used for
defining the motion mode of tool relative to the workpiece, defining the coordinates and so on.
Refer to G commands as Fig. 2-1.
Note 1: The leading zero of the command value can be omitted. Example: G02 is equivalent to G2, G01 to
G1.
Note 2: The leading zero following the command value cannot be omitted. Example: G20 and G2 are
different G commands in the different group; G12.1 is legal but G12.10 is illegal.
Note 3: The command value can be up to 8-bit digit. Example: G00000002 is correct and valid, equivalent
to G02.
Note 4: Except for G12.1 and G13.1, other G command cannot be with the decimal point, otherwise, the
alarm occurs. For example: G20.0, G00.0, G18.are illegal.
2.1.1 G command classification
G commands are divided into: modal G command and non-modal G command.
After a G command is executed, its defined function or state remains valid till other G
command is specified in the same group, this G command is called the modal. After the modal G
command is executed, before its defined function or state is changed, the G command cannot be
input again when the following block executes the G word.
After a G command is executed, its defined function or state is valid once, its word must be
input again when it is executed, and so the G command is called the non-modal.
Example 1: G01 and G00 are modal.
G01 X_
;
Z
_
;
G01 is valid in the range
X_
;
G00 Z_;
X_; G00 is valid in the range
G01 X_;
Example 2: G04 is non-modal.
O0002
;
G0 X50 Z5
;
(
Rapid traverse to X50 Z5
)
G04 X4
;
(
Delay 4s
)
G04 X5
;
(
Delay 5s again
,
G04 is non-modal and must be input again
)
M30
;
Table 2-1 G command list
G command
Group
Function
Classification
*G00 01
Positioning(rapid
traverse)
Modal
Summary of Contents for 988T
Page 6: ...GSK988T Turning CNC System User Manual VI ...
Page 14: ...GSK988T Turning CNC System User Manual XIV ...
Page 15: ...Chapter 1 Programming Fundamentals 1 Ⅰ Programming Ⅰ PROGRAMMING ...
Page 16: ...GSK988T Turning CNC System User Manual 2 Ⅰ Programming ...
Page 194: ...GSK988T Turning CNC System User Manual 180 Ⅰ Programming ...
Page 195: ...Chapter Ⅰ Overview 181 Ⅱ Operation Ⅱ OPERATION ...
Page 196: ...GSK988T Turning CNC System User Manual 182 Ⅱ Operation ...
Page 217: ...Chapter Ⅲ Windows 203 Ⅱ Operation ...
Page 267: ...Chapter Ⅲ Windows 253 Ⅱ Operation Fig 3 51 Fig 3 52 ...