Professional Documents
Culture Documents
G M Codes All CNC
G M Codes All CNC
CODES
FANUC G code of lathe
FANUC G code of miller
FANUC M operation code
SIEMENS G code of miller
SIEMENS802S/CM canned cycle
SIEMENS802DM/810/840DM canned cycle
SIEMENS G code of lathe
SIEMENS 801 802S/CT 802SeT canned cycle
SIEMENS 802D 810D/840D canned cycle
HNC G code of lathe
HNC G code of miller
HNC M command
KND100 G code of miller
KND100 G code of lathe
KND100 M command
GSK980 G code of lathe
GSK980T M command
GSK928 TC/TE G code
GSK928 TC/TE M command
GSK990M G code
GSK990M G code
GSK928MA G code
GSK928MA M command
Mitsubishi E60 G code of miller
DASEN 3I G code of miller
DASEN 3I G code of lathe
WA G code of lathe
WA M command
WA G code of miller
WA M command
RENHE 32T G code
RENHE 32T M command
SKY 2003N G code
SKY 2003N M command
Page
1
Page
2
Page
3
Explanation
Circular interpolation CW
Circular interpolation CCW
Circular interpolation via intermediate point
Thread cutting with constant pitch
Thread interpolation
Thread interpolation retraction
Transitional circular interpolation with tangent
Rapid moving
Rapid moving
Reference point approach
Fixed-point approach
Lower spindle speed limitation
Upper spindle speed limitation
Pole specification, relative to the last programmed set position
Pole specification, relative to the origin of the current workpiece coordinate system
Pole specification, relative to the POLElast valid
X/Y plane
Page
4
Z/X plane
Y/Z plane
Tool radius compensation OFF
Tool radius compensation left of the contour
Tool radius compensation right of the contour
Settable work offset OFF
1st settable work offset
2st settable work offset
3st settable work offset
4st settable work offset
5st settable work offset
6st settable work offset
Non-modal skipping of the settable work offset
Exact stop
Inch dimension input
Metric dimension data input
Inch dimension data input; also for feedrate F
Metric dimension data input; also for feedrate F
Absolute dimension data input
Incremental dimension data input
Feed F in mm/min
Feedrate F in mm/spindle revolutions
Feed offset on in arc
Feed offset off
Transition circle
Intersection
Interpolation parameters
Interpolation parameters
Interpolation parameters
Intermediate point for circular interpolation
Intermediate point for circular interpolation
Intermediate point for circular interpolation
Subroutine; name and call
Miscellaneous function
Programmed stop
Optional stop
End of program
CW rotation of spindle
CCW rotation of spindle
Spindle stop
Tool change
Block number of an auxiliary block
Block number of a main block
Number of subroutine passes
End of subroutine
Spindle speed, Dwell time in block with G4
Tool number
Axis
Axis
Axis
Indirect cycle call
Chamfer; general use
Chamfer; in the contour definition
Radius for circular interpolation
GoBack instruction
GoForward instruction
Rounding
Page
5
Boring
Drilling with Stop
Endface milling
Long hole
Circular pocket
Square pocket
Milling a slot
Milling a circumferential slot
Page
6
CW rotation of spindle
CCW rotation of spindle
Spindle stop
Tool change
Block number of an auxiliary block
Block numbe
Number of subroutine passes
RET
End of subroutine
S
Spindle speed, Dwell time in block with G4
T
Tool number
X
Axis
Y
Axis
Z
Axis
AR
Aperture angle for circular interpolation
CALL
Indirect cycle call
CHF
Chamfer; general use
CHR
Chamfer; in the contour definition
CR
Radius for circular interpolation
GOTOB GoBack instruction
GOTOF
GoForward instruction
RND
Rounding
Support parameter programming
SIEMENS 801802S/CT 802SeT canned cycle
Cycle
Explanation
LCYC82
Drilling, counterboring
LCYC83
Deep-hole drilling
LCYC840
Tapping with compensating chuck
LCYC84
Tapping with
LCYC85 ut compensating
chuck
Boring
LCYC93
LCYC95
LCYC97
Groove
Cutting with relief cut
Thread cutting
Page
7
Page
8
Group
01
00
16
00
02
08
03
00
07
08
04
00
14
00
12
05
09
03
00
14
Explanation
Positioning(rapid moveing)
Linear interpolation
Circular interpolation/Helical interpolation CW
Circular interpolation/Helical interpolation CCW
Dwell
Imaginary axis appointing
Stop checkout
XpYp plane assignment
XpZp plane assignment
YpZp plane assignment
Input in inch
Input in mm
Pulse equivalent
Mirrorimage open
Mirrorimage close
Return to reference position
Return from reference position
Cutter compensation cancel
Cutter compensation left
Cutter compensation right
Tool length compensation + direction
Tool length compensation direction
Tool length compensation cancel
Zoom off
Zoom on
Local coordinate system setting
Machine coordinate system selection
Workpiece coordinate system 1 selection
Workpiece coordinate system 2 selection
Workpiece coordinate system 3 selection
Workpiece coordinate system 4 selection
Workpiece coordinate system 5 selection
Workpiece coordinate system 6 selection
Uni-directional positioning
Exact stop
Continuous mode
Rotation
Rotation cancel
Peck drilling cycle
Left-spiral cutting circle
Fine boring cycle
Canned cycle cancel
Drilling cycle, spot boring cycle
Counter boring cycle
Deep-hole drilling cycle
Right spin cutting cycle
Boring cycle
Boring cycle
Counter-boring cycle
Boring cycle
Boring cycle
Absolute command
Increment command
Setting for work coordinate system
Feeding per minute
Feeding per round
Page
9
Explanation
Page
10
00
10
Increment command
Setting for work coordinate system
Return to initial point in canned cycle
Return to R point in canned cycle
Page
11
Lubrication off
Subprogram call
Subprogram end
Function
Positioning(rapid moveing)
Linear interpolation
Circular interpolation/Helical interpolation CW
Circular interpolation/Helical interpolation CCW
Dwell, Exact stop
Return to reference position
Thread cutting
Coordinate system setting
Macroprogram command
Finish machining cycle
Excircle rough turn cycle
Endface rough turn cycle
Occlude cutting cycle
Endface deep hole processing cycle
Excircle, inner circle nicking cycle
Excircle, inner circle turning cycle
Thread cutting cycle
Endface cutting cycle
Constant line speed on
Constant line speed off
Feeding per minute
Feeding per round
GSK980T M command
M code
Explanation
M03
Spingdle on CW
M04
Spingdle on CCW
M05
Spingdle stop
M08
Coolant on
M09
Coolant off(no output signal)
M32
Lubrication on
M33
Lubrication off(no output signal)
M10
Standby
M11
Standby tip(no output signal)
M00
Program stop
M30
program end and reset
GSK928 TC/TE G code
G code
G00
*G01
G02
G03
G32
G33
G71
G72
G74
G75
G90
Function
Positioning(rapid moveing)
Linear interpolation
Circular interpolation/Helical interpolation CW
Circular interpolation/Helical interpolation CCW
Tapping cycle
Thread cutting
Excircle rough turn cycle
Endface rough turn cycle
Endface deep hole processing cycle
Excircle, inner circle nicking cycle
Excircle, inner circle turning cycle
Page
12
Explanation
Positioning(rapid moveing)
Linear interpolation
Circular interpolation/Helical interpolation CW
Circular interpolation/Helical interpolation CCW
Dwell
XY plane assignment
XZ plane assignment
YZ plane assignment
Return to orgin
Return from reference point
Cutter compensation cancel
Cutter compensation left
Cutter compensation right
Tool length compensation + direction
Tool length compensation direction
Tool length compensation cancel
Machine coordinate system selection
Workpiece coordinate system 1 selection
Workpiece coordinate system 2 selection
Workpiece coordinate system 3 selection
Workpiece coordinate system 4 selection
Workpiece coordinate system 5 selection
Workpiece coordinate system 6 selection
Peck drilling cycle
Left-spiral cutting circle
Fine boring cycle
Canned cycle cancel
Page
13
03
00
10
GSK990MM command
xplanation
M code
M00
M01
M02
M03
M04
M05
M06
M08
M09
M10
M11
M32
M33
M98
M99
Program stop
Optional stop
End of program
Spindle on CW
Spindle on CCW
Spindle stop
Tool change
Coolant on
Coolant off
Clamp
Unclamp
Lubrication on
Lubrication off
Subprogram call
Subprogram end
GSK928MAG code
G code
Explanation
G00
Positioning(rapid moveing)
G1
Linear interpolation
G02
Circular interpolation/Helical interpolation CW
G03
Circular interpolation/Helical
G04nterpolatio
n CCW
Time delay
G17
G18
G19
G28
G29
*G40
G41
G42
*G43
*G44
G49
*G53
XY plane assignment
XZ plane assignment
YZ plane assignment
Return to orgin
Return from reference point
Cutter compensation cancel
Cutter compensation left
Cutter compensation right
Tool length compensation + direction
Tool length compensation direction
Tool length compensation cancel
Machine coordinate system selection
Page
14
GSK928MAM command
M
Explanation
code
Program stop. spindle stop , coolant off and point to next segment after finish other commands. Stop doing
M0 more procession and wait to press RUN to continue the program running.
Stop doing more procession and wait to press RUN to continue the program running.
End of program. spindle stop, coolant off, cancel G93 coordinate offset and cutter offset, then return to start
M2
program
M3
Spindle on CW
M4
Spindle on CCW
M5
Spindle stop
M8
Cooling pump on
M9
Page
15
00
02
06
00
01
00
07
08
00
12
Group
12
00
13
Page
16
Page
17
00
Page
18
02
06
00
XY Plane selection
ZX Plane selection
YZ Plane selection
Inch instruction
Metric instruction
Reference point revert check
Automatic reference point revert
Revert from reference point
2nd3nd4nd reference poin
umping motivation
01
00
07
00
12
13
09
Thread cutting
Changeable thread cutting
Tool length automatic mensuration
Cutter radius compensation cancel
Cutter radius compensation left
Cutter radius compensation right
Cutter radius compensationautomatic direction selectionON
Local coordinate system selection
Machine coordinate system selection
Workpiece coordinate system selection 1
Workpiece coordinate system selection 2
Work
Page
19
Page
20
Time delay
Feed exact stop
Block mirror image along Y axis
Block mirror image along X axis
Block mirror machining according to origin
Plane selection XY
Plane selection ZX
Plane selection YZ
Subprogram call
Subprogram defining
Subprogram defining end, return called program
Jumping machining
Transfer machining
Endless loop
multiplying power off
G3
G40
G41
G42
G43
G44
G47
G48ate
automatic
transition
Page
21
G90
Absolute value programming
G91
Incremental value programming
G92
Workpiece coordinate system setting
P= parameter variable assignment
WA miller M instruction
M command
Explanation
M00
Program halt
M01
L(K)
M02
Program end and stop
M03
Spindle on CW
M04
Spindle on CCW
M05
Spindle stop
M08
Coolant on
M09
Coolant off
M10
Clamp
M11
Unclamp
M20
Krelay
M21
Kclose relay
M30
Program end and return to start of program
M71M85 Relay pulse output
RENHE 32TG code
G code
G00
Rapid positioning
G01
Linear interpolation
Arc interpolation
G02G03
G04
Time delay
G26G27G28G29 Return to initial point
program loop
G22G80
G23
Rectangle cycle
G37G38G39G36 Return to rigid r
Thread cutting cycle
G82G83 ference
point
Explanation
Page
22
Explanati
program halt
Program end
Spindle stop and program end
Autocycle
Spindle on CW
Spindle on CCW
Spindle stop
Waiting for answer after send message
Send message
Waiting for answer after send message
Program jumping
subroutine call instruction
subroutine return instruction
Group
Type
Function
Rapid positioning
Linear interpolation
Circular interpolation CW
Circular interpolation CCW
Helical interpolation right
Helical interpolation l
01
02
Dwell
04
XY Pl
ZX Plane selection
07
YZ Plane selection
Cutter radius compensation cancel
Cutter radius compensation (left)
Cutter radius compensation (right)
Cutter length compensation
Cutter length compensation
Cutter length compensation cancel
Zoommirrorimage off
Zoommirrorimage on
Workpiece coordinate system 1 selection
Workpiece coordinate system 2 s
08
11
11
14
Workpiece coordinate
G57system 3 selection
Workpiece coordinate system 4 selection
G58
Page
23
03
03
15
Boring cycle
G90
G91
G92
G98
G99
00
05
16
Function
Program stop, program optional stop, program end
Spindle on CW, spindle on CCW, spindle stop
Automatic tool changing
Coolant on, coolant off
Subprogram call, subprogram return
Page
24