You are on page 1of 1

G/M CODE FORMAT

G Code Syntax
Comp.Parameters Description
G0
GXYZUV
----Rapid traverse.
G1
GXYR
----Linear interpolation.
G2
GXYIJR
IJ
Clockwise circular interpolation.
G3
GXYIJR
IJ
Counter clockwise circular interpolation.
G4
GT
T
Dwell in seconds.
G5
G
----X-Mirror.
G6
G
----Y-Mirror.
G8
G
----X-Y Exchange.
G9
G
----Cancellation of mirror exchange codes.
G13
G
----Reference return on.
G14
G
----Reference return off.
G22
G
----Stored stroke limits on.
G23
G
----Stored stroke limits off.
G26
GAXY
AXY
Pattern rotation on.
G27
G
----Pattern rotation off.
G40
G
----Wire diameter compensation off.
G41
GD
D
Wire diameter compensation LEFT.
G42
GD
D
Wire diameter compensation RIGHT.
G46
G
----CRK application on.
G47
G
----CRK application off.
G48
GR
R
Constant corner radius on.
G49
G
----Constant corner radius off.
G50
G
----Taper cutting mode off.
G51
GAWZ
AWZ
Taper cutting mode (LEFT) on.
G52
GAWZ
AWZ
Taper cutting mode (RIGHT) on.
G53
G
----Absolute machine reference.
G54
G
----Activate WCS or define WCS origin 1.
G55
G
----Activate WCS or define WCS origin 2.
G56
G
----Activate WCS or define WCS origin 3.
G57
G
----Activate WCS or define WCS origin 4.
G58
G
----Activate WCS or define WCS origin 5.
G59
G
----Activate WCS or define WCS origin 6.
G70
G
----Data input in INCH units.
G71
G
----Data input in MM units.
G74
GBTZ
BTZ
Complex machining mode on.
G75
G
----Complex machining mode off.
G80
GB
B
Edge Find.
G81
GX/GY
X/Y
Shift until limits.
G84
GIWZB
IWZB
Auto wire verticality.
G85
GB
B
Center Find.
G86
GIJAB
IJAB
Align Edge Find.
G87
GIJAB
IJAB
Align Center Find.
G88
GIJPQABC
IJPQABC
3 Point Center Find.
G90
G
----Absolute program mode.
G91
G
----Incremental program mode.
G92
GXYUV
XY
Define global offset.
G93
G
----Align mode ON.
G94
G
----Align mode OFF.
G95
G
----Simultaneous X-Y mirror.
G96
G
----Cancellation of mirror & exchange codes.
G100
GUV
----Rapid traverse for U-V table,complex cutting mode.
G101
GUV
----Linear interpolation for U-V table,complex cutting mode.
G102
GUVPQ
UV
Clockwise circular interpolation for U-V table.
G103
GUVPQ
PQ
Counter clockwise circular interpolation for U-V table.
==============================================================================================
M Code format
M Code Syntax
Comp.Parameters Description
M0
M
----Program stop.
M1
M
----Optional stop.
M2
M
----Program end.
M6
M
----Index the rotary table.
M20
M
----Cut the wire.
M21
M
----Thread the wire.
M98
MPL
PL
Call subprogram.
M99
M
----End subprogram.

You might also like