Position:Home>Solutions> Common G codes

Common G codes

FANUC G code of lathe

FANUC G code of miller

SIEMENS G code of miller

SIEMENS802S/CM canned cycle

SIEMENS802DM/810/840DM canned cycle

SIEMENS G code of lathe

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 M command

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

FANUC G code of lathe

G code

Explanation

G00

Positioning

G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

Dwell

G09

Exact stop

G20

Input in inch

G21

Input in mm

G22

Stored stroke check function on

G23

Stored stroke check function off

G27

Check reference point return

G28

Automatic return to reference position

G29

Automatic return from reference position

G30

2nd reference position return

G32

Thread cutting

G40

Cutter compensation cancel

G41

Cutter compensation left

G42

Cutter compensation right

G50

Scaling cancel

G52

Local coordinate system setting

G53

Machine coordinate system selection

G70

Finish maching cycle

G71

Inside and outside diameter rough cutting cycle

G72

Step rough cutting cycle

G73

Pattern repeating

G74

Peck dring cycle-Z axis

G75

Grooving in X axis

G76

Thread cutting cycle

G80

Canned cycle cancel

G83

Peck drilling cycle

G84

Tapping cycle

G85

Boring cycle

G87

Back drilling cycle

G88

Back tapping cycle

G89

Back boring cycle

G90

Cutting cycle 'A'

G92

Thread cutting cycle

G94

(step)cutting cycle

G96

Constant surface speed control

G97

Constant surface speed control cancel

G98

Feed per minute

G99

Feed per rotation

Support macro programming

FANUC G code of mille

G code

Explanation

G00

Positioning(rapid moveing)

G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

Dwell

G15/G16

Polar coordinates command

G17

XpYp plane selection

G18

ZpXp plane selection

G19

YpZp plane selection

G28

Return to reference position

G30

2nd, 3rd and 4th reference position return

*G40

Cutter compensation cancel

G41

Cutter compensation left

G42

Cutter compensation right

*G43

Tool length compensation + direction

*G44

Tool length compensation – direction

G49

Tool length compensation cancel

*G53

Machine coordinate system selection

G54

Workpiece coordinate system 1 selection

G55

Workpiece coordinate system 2 selection

G56

Workpiece coordinate system 3 selection

G57

Workpiece coordinate system 4 selection

G58

Workpiece coordinate system 5 selection

G59

Workpiece coordinate system 6 selection

G73

Rapid deep drilling cycle

G74

Left-spiral cutting circle

G76

Fine boring cycle

*G80

Canned cycle cancel

G81

Drilling cycle, spot boring

G82

Counter boring cycle

G83

Deep hole drilling cycle

G84

Right Helical cutting cycle

G85

Boring cycle

G86

Boring cycle

G87

Counter boring cycle

G88

Boring cycle

G89

Boring cycle

*G90

Absolute command

G91

Increment command

G92

Setting for work coordinate system

*G98

Return to initial point in canned cycle

*G99

Return to R point in canned cycle

G50

G51

Zoom

G68

G69

Coordinate rotation

Support macro programming

FANUC M operation code

M code

Explanation

M00

Program stop

M01

Optional stop

M02

End of program

M03

Spindle on CW

M04

Spindle on CCW

M05

Spindle stop

M06

Tool change

M08

Coolant on

M09

Coolant off

M30

Program end and reset

M48

Cancel M49

M49

Bypass Override

M94

Mirror image cancel

M95

Mirrorimage of X axis

M96

Mirrorimage of Y axis

M98

Subprogram call

M99

Subprogram end

SIEMENS G code of miller

Address

Explanation

D

Tool offset number

F

Feedrate(Dwell time block with G4)

G

G function (preparatory function)

G0

Linear interpolation at rapid traverse rate

G1

Linear interpolation

G2

Circular interpolation CW

G3

Circular interpolation CCW

CIP

Circular interpolation via intermediate point

G33

Thread cutting with constant pitch

G331

Thread interpolation

G332

Thread interpolation – retraction

CT

Transitional circular interpolation with tangent

G4

Rapid moving

G63

Rapid moving

G74

Reference point approach

G75

Fixed-point approach

G25

Lower spindle speed limitation

G26

Upper spindle speed limitation

G110

Pole specification, relative to the last programmed set position

G110

Pole specification, relative to the origin of the current workpiece coordinate system

G120

Pole specification, relative to the POLElast valid

G17*

X/Y plane

G18

Z/X plane

G19

Y/Z plane

G40

Tool radius compensation OFF

G41

Tool radius compensation left of the contour

G42

Tool radius compensation right of the contour

G500

Settable work offset OFF

G54

1st settable work offset

G55

2st settable work offset

G56

3st settable work offset

G57

4st settable work offset

G58

5st settable work offset

G59

6st settable work offset

G53

Non-modal skipping of the settable work offset

G60*

Exact stop

G70

Inch dimension input

G71*

Metric dimension data input

G700

Inch dimension data input; also for feedrate F

G710

Metric dimension data input; also for feedrate F

G90*

Absolute dimension data input

G91

Incremental dimension data input

G94*

Feed F in mm/min

G95

Feedrate F in mm/spindle revolutions

G901

Feed offset "on" in arc

G900

Feed offset "off"

G450

Transition circle

G451

Intersection

I

Interpolation parameters

J

Interpolation parameters

K

Interpolation parameters

I1

Intermediate point for circular interpolation

J1

Intermediate point for circular interpolation

K1

Intermediate point for circular interpolation

L

Subroutine; name and call

M

Miscellaneous function

M0

Programmed stop

M1

Optional stop

M2

End of program

M3

CW rotation of spindle

M4

CCW rotation of spindle

M5

Spindle stop

M6

Tool change

N

Block number of an auxiliary block

:

Block number of a main block

P

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

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

SIEMENS802S/CM canned cycle

Cycle

Explanation

LCYC82

Drilling, counterbore machining

LCYC83

Deep-hole drilling

LCYC840

Thread cutting with compensate clamp

LCYC84

Thread cutting without compensate clamp

LCYC85

Boring

LCYC60

Linearity holes permutation

LCYC61

Arc holes permutation

LCYC75

Rectangular channel,keyway,rotundity groove milling

SIEMENS802DM/810/840DM canned cycle

Cycle

Explanation

CYCLE82

Drilling, counterboring

CYCLE83

Deep-hole drilling

CYCLE84

Rigid tapping

CYCLE85

Reaming1 (boring-out 1)

CYCLE86

Boring

CYCLE88

Drilling with Stop

CYCLE71

Endface milling

LONGHOLE

Long hole

POCKET4

Circular pocket

POCKET3

Square pocket

SLOT1

Milling a slot

SLOT2

Milling a circumferential slot

SIEMENS G code of lathe

Address

Explanation

D

Tool offset number

F

 

F

Feedrate(Dwell time block with G4)

G

G function (preparatory function)

G0

Rapid traverse

G1

Linear interpolation

G2

Circular interpolation CW

G3

Circular interpolation CCW

G33

Thread cutting with constant pitch

G4

Rapid moving

G63

Rapid moving

G74

Reference point approach

G75

Fixed-point approach

G17

(when center-drilling, TRANSMIT milling required)

G18*

Z/X plane

G40

Tool radius compensation OFF

G41

Tool radius compensation left of the contour

G42

Tool radius compensation right of the contour

G500

Settable work offset OFF

G54

1st settable work offset

G55

2st settable work offset

G56

3st settable work offset

G57

4st settable work offset

G58

5st settable work offset

G59

6st settable work offset

G53

Non-modal skipping of the settable work offset

G70

Inch dimension input

G71*

Metric dimension data input

G90*

Absolute dimension data input

G91

Incremental dimension data input

G94*

Feed F in mm/min

G95

Feedrate F in mm/spindle revolutions

I

Interpolation parameters

I1

Intermediate

K1

Intermediate

L

Subroutine; name and call

M

Miscellaneous function

M0

Programmed stop

M1

Optional stop

M2

End of program

M30

 

M17

 

M3

CW rotation of spindle

M4

CCW rotation of spindle

M5

Spindle stop

M6

Tool change

N

Block number of an auxiliary block

:

Block number of a main block

P

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 801、802S/CT、 802SeT canned cycle

Cycle

Explanation

LCYC82

Drilling, counterboring

LCYC83

Deep-hole drilling

LCYC840

Tapping with compensating chuck

LCYC84

Tapping without compensating chuck

LCYC85

Boring

LCYC93

Groove

LCYC95

Cutting with relief cut

LCYC97

Thread cutting

SIEMENS 802D、810D/840D canned cycle

Cycle

Explanation

CYCLE71

Face milling

CYCLE82

Drilling, counterboring

YCLE83

Deep-hole drilling

CYCLE84

Rigid tapping

CYCLE85

Reaming

CYCLE86

Boring

CYCLE88

Boring with stop

CYCLE93

Groove

CYCLE94

Undercut DIN76 (forms E and F), finishing

CYCLE95

Cutting with relief cut

CYCLE97

Thread cutting

HNC G code of lathe

G code

Explanation

G00

Positioning

G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

Dwell

G09

Exact stop

G20

Input in inch

G21

Input in mm

G22

Stored stroke check function on

G23

Stored stroke check function off

G27

Reference position return check

G28

Return to reference position

G29

Return from reference position

G30

2nd reference position return

G32

Thread cutting

G36

Diameter programming

G37

Radius programming

G40

Cutter compensation cancel

G41>

Cutter compensation left

G42

Cutter compensation right

G53

Machine coordinate system selection

G54—G59

Coordinate system selection

G71

Inside and outside diameter rough cutting cycle

G72

Step rough cutting cycle

G73

Pattern repeating

G76

Thread cutting cycle

G80

Inside and outside diameter cutting cycle

G81

Face cutting canned cycle

G82

Thread cutting canned cycle

G90

Absolute command

G91

Increment command

G92

Setting for work coordinate system

G96

Constant surface speed control

G97

Constant surface speed control cancel

G94

Feeding rate per minute

G95

Feeding rate per round

Support parameter and macro programming

HNC G code of miller

G code

Group

Explanation

*G00

01

Positioning(rapid moveing)

G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

00

Dwell

G07

16

Imaginary axis appointing

G09

00

Stop checkout

*G17

02

XpYp plane assignment

G18

XpZp plane assignment

G19

YpZp plane assignment

G20

08

Input in inch

*G21

Input in mm

G22

Pulse equivalent

G24

03

Mirrorimage open

*G25

Mirrorimage close

G28

00

Return to reference position

G29

Return from reference position

*G40

07

Cutter compensation cancel

G41

Cutter compensation left

G42

Cutter compensation right

G43

08

Tool length compensation + direction

G44

Tool length compensation – direction

*G49

Tool length compensation cancel

*G50

04

Zoom off

G51

Zoom on

G52

00

Local coordinate system setting

G53

Machine coordinate system selection

*G54

14

Workpiece coordinate system 1 selection

G55

Workpiece coordinate system 2 selection

G56

Workpiece coordinate system 3 selection

G57

Workpiece coordinate system 4 selection

G58

Workpiece coordinate system 5 selection

G59

Workpiece coordinate system 6 selection

G60

00

Uni-directional positioning

*G61

12

Exact stop

G64

Continuous mode

G68

05

Rotation

*G69

Rotation cancel

G73

09

Peck drilling cycle

G74

Left-spiral cutting circle

G76

Fine boring cycle

*G80

Canned cycle cancel

G81

Drilling cycle, spot boring cycle

G82

Counter boring cycle

G83

Deep-hole drilling cycle

G84

Right spin cutting cycle

G85

Boring cycle

G86

Boring cycle

G87

Counter-boring cycle

G88

Boring cycle

G89

Boring cycle

*G90

03

Absolute command

G91

Increment command

G92

00

Setting for work coordinate system

*G94

14

Feeding per minute

G95

Feeding per round

*G98

10

Return to initial point in canned cycle

G99

Return to R point in canned cycle

Support parameter and macro programming

HNC M commands

M code

Explanation

M00

Program stop

M01

Optional stop

M02

End of program

M03

Spindle on CW

M04

Spindle on CCW

M05

Spindle stop

M06

Tool change

M07

Coolant on

M09

Coolant off

M98

Subprogram call

M99

Subprogram end

KND100 G code of miller

G code

Group

Explanation

G00

01

Positioning (rapid moving)

G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

00

Dwell

G17

02

XpYp plane selection

G18

ZpXp plane selection

G19

YpZp plane selection

G28

00

Return to reference position

G29

Return from reference position

*G40

07

Cutter compensation cancel

G41

Cutter compensation left

G42

Cutter compensation right

*G43

08

Tool length compensation + direction

*G44

Tool length compensation – direction

G49

Tool length compensation cancel

*G53

14

Machine coordinate system selection

G54

Workpiece coordinate system 1 selection

G55

Workpiece coordinate system 2 selection

G56

Workpiece coordinate system 3 selection

G57

Workpiece coordinate system 4 selection

G58

Workpiece coordinate system 5 selection

G59

Workpiece coordinate system 6 selection

G73

09

Peck drilling cycle

G74

Left-spiral cutting circle

G76

Fine boring cycle

*G80

Canned cycle cancel

G81

Drilling cycle, spot boring cycle

G82

Drilling cycle

G83

Peck drilling cycle

G84

Tapping cycle

G85

Boring cycle

G86

Drilling cycle

G87

Counter boring cycle

G88

Boring cycle

G89

Boring cycle

*G90

03

Absolute command

G91

Increment command

G92

00

Setting for work coordinate system

*G98

10

Return to initial point in canned cycle

*G99

Return to R point in canned cycle

KND100 G code of lathe

G code

Group

Explanation

G00

01

Positioning

G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

00

Dwell

G10

Deviant setting

G20

06

Input in inch

G21

Input in mm

G27

00

Reference position return check

G28

Return to reference position

G29

Return from reference position

G31

Jumping feature

G32

01

Thread cutting

G36

 

Automatic work offset measurement of X axis

G37

 

Automatic work offset measurement of Z axis

G40

07

Cutter compensation cancel

G41

Cutter compensation left

G42

Cutter compensation right

G50

00

Coordinate system setting

G54

Workpiece coordinate system

G55---G59

Workpiece coordinate system

G70

00

Finish maching cycle

G71

Inside and outside diameter rough cutting cycle

G72

Step rough cutting cycle

G73

Pattern repeating

G74

Peck dring cycle-Z axis

G75

Inside and outside circle cutting cycle

G76

Thread cutting cycle

G90

01

Inside and outside diameter cutting cycle

G92

Thread cutting cycle

G94

Step cutting cycle

G96

12

Constant surface speed control

G97

Constant surface speed control cancel

G98

05

Feed per minute

G99

Feed per rotation

KND100 M command

M code

Explanation

M00

Program stop

M01

Optional stop

M02

End of program

M03

Spindle on clockwise(CW)

M04

Spindle on counterclockwise(CCW)

M05

Spindle stop

M06

Tool change

M08

Coolant on

M09

Coolant off

M10

clamp

M11

unclamp

M32

Lubrication on

M33

Lubrication off

M98

Subprogram call

M99

Subprogram end

GSK980 G code of lathe

G code

Group

Function

G00

01

Positioning(rapid moveing)

*G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

00

Dwell, Exact stop

G28

Return to reference position

G32

01

Thread cutting

G50

00

Coordinate system setting

G65

Macroprogram command

G70

00

Finish machining cycle

G71

Excircle rough turn cycle

G72

Endface rough turn cycle

G73

Occlude cutting cycle

G74

Endface deep hole processing cycle

G75

Excircle, inner circle nicking cycle

01

Excircle, inner circle turning cycle

G92

Thread cutting cycle

Endface cutting cycle

G96

02

Constant line speed on

G97

Constant line speed off

*G98

03

Feeding per minute

G99

Feeding per round

Support parameter and macro programming

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

Function

G00

Positioning(rapid moveing)

*G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G32

Tapping cycle

G33

Thread cutting

G71

Excircle rough turn cycle

G72

Endface rough turn cycle

G74

Endface deep hole processing cycle

G75

Excircle, inner circle nicking cycle

G90

Excircle, inner circle turning cycle

G92

Thread cutting cycle

G94

External and internal cone face cycle

G22

Local loop start

G80

Local loop end

*G98

Feeding per minute

G99

Feeding per round

G50

Set absolute coordinate system of workpiece

G26

X、Z axis return to reference point

G27

X axis return to reference point

G29

Z axis return to reference point

Support parameter and macro programming

GSK928 TC/TE M command

M code

Explanation

M03

Spindle on CW

M04

Spindle on CCW

M05

Spindle 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

GSK990M G code

G code

Group

Explanation

G00

01

Positioning(rapid moveing)

G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

00

Dwell

G17

02

XY plane assignment

G18

XZ plane assignment

G19

YZ plane assignment

G28

00

Return to orgin

G29

Return from reference point

*G40

07

Cutter compensation cancel

G41

Cutter compensation left

G42

Cutter compensation right

*G43

08

Tool length compensation + direction

*G44

Tool length compensation – direction

G49

Tool length compensation cancel

*G53

14

Machine coordinate system selection

G54

Workpiece coordinate system 1 selection

G55

Workpiece coordinate system 2 selection

G56

Workpiece coordinate system 3 selection

G57

Workpiece coordinate system 4 selection

G58

Workpiece coordinate system 5 selection

G59

Workpiece coordinate system 6 selection

G73

09

Peck drilling cycle

G74

Left-spiral cutting circle

G76

Fine boring cycle

*G80

Canned cycle cancel

G81

Drilling cycle, spot boring cycle

G82

Drilling cycle

G83

Peck drilling cycle

G84

Tapping cycle

G85

Boring cycle

G86

drilling cycle

G87

Counter bring cycle

G88

Boring cycle

G89

Boring cycle

*G90

03

Absolute command

G91

Increment command

G92

00

Setting for work coordinate system

*G98

10

Return to initial point in canned cycle

*G99

Return to R point in canned cycle

GSK990M M command

M code

Explanation

M00

Program stop

M01

Optional stop

M02

End of program

M03

Spindle on CW

M04

Spindle on CCW

M05

Spindle stop

M06

Tool change

M08

Coolant on

M09

Coolant off

M10

Clamp

M11

Unclamp

M32

Lubrication on

M33

Lubrication off

M98

Subprogram call

M99

Subprogram end

GSK928MA G code

G code

Explanation

G00

Positioning(rapid moveing)

G1

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

Time delay

G17

XY plane assignment

G18

XZ plane assignment

G19

YZ plane assignment

G28

Return to orgin

G29

Return from reference point

*G40

Cutter compensation cancel

G41

Cutter compensation left

G42

Cutter compensation right

*G43

Tool length compensation + direction

*G44

Tool length compensation – direction

G49

Tool length compensation cancel

*G53

Machine coordinate system selection

G54

Workpiece coordinate system 1 selection

G55

Workpiece coordinate system 2 selection

G56

Workpiece coordinate system 3 selection

G57

Workpiece coordinate system 4 selection

G58

Workpiece coordinate system 5 selection

G59

Workpiece coordinate system 6 selection

G73

Peck drilling cycle

G74

Left-spiral cutting circle

G80

Canned cycle cancel

G81

Peck drilling cycle

G82

Drilling cycle

G83

Peck drilling cycle

G84

Right-spiral tapping circle

G85

Broing cycle

G86

Dring cycle

G89

Broing cycle

*G90

Absolute command

G91

Increment command

G92

Setting for work coordinate system

*G98

Return to initial point in canned cycle

*G99

Return to R point in canned cycle

G10 G11

Groove inner-rough mill for groove of circle

G12 G13

Full circle inner-finish mill

G14 G15

Excircle finish mill

G22

System parameter operation(mode)

G23

Parameter values jumping judgement

G27

Mechanical zero detection

G28

Rapid fixing to program via mesial point

G31

Rapid returning to R reference face

G34 G35

Rectangle groove inner- finish milling

G38 G39

Rectangle outside- finish milling

GSK928MA M command

M code

Explanation

M0

Program stop. spindle stop , coolant off and point to next segment after finish other commands. Stop doing 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.

M2

End of program. spindle stop, coolant off, cancel G93 coordinate offset and cutter offset, then return to start program

M3

Spindle on CW

M4

Spindle on CCW

M5

Spindle stop

M8

Cooling pump on

M9

Cooling pump off

M12

Dwell : continue running till press “run”

M30

Program end

M32

Lubrication on;

M33

Lubrication off;

M98

Subprogram call

M99

Subprogram end

Mitsubishi E60 miller G code

G code

Group

Explanation

※G00

01

Positioning(rapid moveing)

*G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

00

Dwell, Exact stop

G05

High-speed processing mode

G09

Exact stop check

G10

Program parameter input /repair input

G11

Program parameter input cancel

G12

Circle cutting CW

G13

Circle cutting CCW

*G17

02

Plane selection X-Y

※G18

Plane selection Z-X

G19

Plane selection Y-Z

※G20

06

Inch instruction

G21

Metric instruction

G27

00

Reference origin check

G28

Reference origin revert

G29

Initial point revert

G30

2nd~4nd reference origin revert

G31

Jumping motivation

G33

01

Thread cutting

G37

00

Tool length automatic mensuration

G38

Positive value of cutter radius compensation appointing

G39

Tool diameter offset and corner arc offset

*G40

07

Cutter radius compensation cancel

G41

Cutter radius positive compensation left

G42

Cutter radius positive compensation right

G43

08

Positive quantity of cutter length compensation(+)

G44

Positive quantity of cutter length compensation(-)

*G49

Positive quantity of cutter length compensation cancel

G52

00

Local coordinate system setting

G53

Machine coordinate system selection

*G54

12

Workpiece coordinate system 1 selection

G code

Group

Explanation

G55

12

Workpiece coordinate system 2 selection

G56

 

Workpiece coordinate system 3 selection

G57

 

Workpiece coordinate system 4 selection

G58

 

Workpiece coordinate system 5 selection

G59

 

Workpiece coordinate system 6 selection

G60

00

Position fixing in single direction

G61

13

Exact stop check mode

G62

 

Auto adjusting for corner feed

G63

 

Taping mode

*G64

 

Cutting mode

G73

09

Canned cycle(stepping cycle)

G74

 

Canned cycle(reverse taping)

G76

 

Canned cycle(finish boring)

*G80

 

Canned cycle cancel

G81

 

Canned cycle(drill/lead hole)

G82

 

Canned cycle(drill / counting boring)

G83

 

Canned cycle(gun drilling)

G84

 

Canned cycle(taping)

G85

 

Canned cycle(boring)

G86

 

Canned cycle(boring)

G87

 

Canned cycle(counter boring)

G88

 

Canned cycle(boring)

G89

 

Canned cycle(boring)

*G90

03

Absolute value instruction

*G91

 

Incremental value instruction

G92

00

Machine coordinate system setting

G93

05

Feed CCW

*G94

 

Un-synchronization cutting (feed per minute)

*G95

synchronization cutting(feed per round)

*G96

17

Round speed control on

*G97

 

Round speed control off

*G98

10

Canned cycle initial point revert

G99

Canned cycle R point revert

Support parameter and macro programming

DASEN 3I miller G code

G code

Group

Explanation

※G00

01

Positioning(rapid moveing)

*G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

00

Dwell

G05

High-speed processing mode

G09

Exact stop check

G10

Program parameter input /repair input

G11

Program parameter input cancel

G12

Circle cutting CW

G13

Circle cutting CCW

*G17

02

Plane selection X-Y

※G18

Plane selection Z-X

G19

Plane selection Y-Z

※G20

06

Inch instruction

G21

Metric instruction

G27

00

Reference origin check

G28

Reference origin revert

G29

Initial point revert

G30

2nd~4nd reference origin revert

G31

Jumping motivation

G33

01

Thread cutting

G37

00

Tool length automatic mensuration

G38

Cutter radius compensation appointting

G39

Cutter radius offset and corner arc offset

*G40

07

Cutter radius offset cancel

G41

Cutter radius offset left

G42

Cutter radius offset right

G43

08

Cutter length offset(+)

G44

Cutter length offset(-)

*G49

Cutter length offset cancel

G52

00

Local coordinate system setting

G53

Machine coordinate system selection

*G54

12

Workpiece coordinate system 1 selection

G55

12

Workpiece coordinate system 2 selection

G56

 

Workpiece coordinate system 3 selection

G57

 

Workpiece coordinate system 4 selection

G58

 

Workpiece coordinate system 5 selection

G59

 

Workpiece coordinate system 6 selection

G60

00

Position fixing in single direction

G61

13

Exact stop check mode

G62

 

Auto adjusting for corner feed

G63

 

Taping mode

*G64

 

Cutting mode

G73

09

Canned cycle(stepping cycle)

G74

 

Canned cycle(reverse taping)

G76

 

Canned cycle(finish boring)

*G80

 

Canned cycle cancel

G81

 

Canned cycle(drill/lead hole)

G82

 

Canned cycle(drill / counting boring)

G83

 

Canned cycle(gun drilling)

G84

 

Canned cycle(taping)

G85

 

Canned cycle(boring)

G86

 

Canned cycle(boring)

G87

 

Canned cycle(counter boring)

G88

 

Canned cycle(boring)

G89

 

Canned cycle(boring)

*G90

03

Absolute value instruction

*G91

 

Incremental value instruction

G92

00

Machine coordinate system setting

G93

05

Feed CCW

*G94

 

Un-synchronization cutting(feed per minute)

*G95

 

Synchronization cutting(feed per round)

*G96

17

Round speed control on

*G97

 

Round speed control off

*G98

10

Canned cycle initial point revert

G99

Canned cycle R point revert

Support parameter and macro programming

DASEN 3I lathe G code

G code

Group

Explanation

※G00

01

Positioning(rapid moveing)

※G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation  (CCW)

G04

00

Dwell

G09

Exact stop check

G10

Program parameter input /repair input

G11

Program parameter input /repair input cancel

※G17

02

X-Y Plane selection

※G18

Z-X Plane selection

※G19

Y-Z Plane selection

※G20

06

Inch instruction

※G21

Metric instruction

G27

00

Reference point revert check

G28

Automatic reference point revert

G29

Revert from reference point

G30

2nd,3nd,4nd reference point revert

G31

umping motivation

G33

01

Thread cutting

G34

Changeable thread cutting

G37

00

Tool length automatic mensuration

*G40

07

Cutter radius compensation cancel

G41

Cutter radius compensation left

G42

Cutter radius compensation right

G46

Cutter radius compensation(automatic direction selection)ON

G52

00

Local coordinate system selection

G53

Machine coordinate system selection

※G54

12

Workpiece coordinate system selection 1

G55

Workpiece coordinate system selection 2

G56

Workpiece coordinate system selection 3

G57

Workpiece coordinate system selection 4

G58

Workpiece coordinate system selection 5

G59

Workpiece coordinate system selection 6

G61

13

Exact stop check mode

G62

Auto adjusting for corner feed

G63

Taping mode

*G64

Cutting mode

G70

09

Finish cutting cycle

G71

Straight turning rough machining cycle

G72

Face rough cutting cycle

G73

Spindle mesa moving in rough machining cycle

G74

Face cutting cycle

G75

Straight turning cycle

G76

Thread cutting double-cycle

G77

Appurtenant cutting cycle

G78

Tooth turning canned cycle

G79

Face cutting canned cycle

*G80

Hole machining cycle instruction cancel

G83

Gun drilling cycle(Z axis)

G84

Taping cycle(Z axis)

G85

Boring cycle(Z axis)

G87

Deep hole drilling cycle(X axis)

G88

Taping cycle(X axis)

G89

Boring cycle(X axis)

※G90

03

Absolute value instruction

※G91

Incremental value instruction

G92

00

Machine coordinate system setting

※G94

05

Un-synchronization cutting (feed per minute)  

※G95

Synchronization cutting(feed per round)  

※G96

17

Round speed control on

※G97

Round speed control off

*G98

10

Canned cycle initial point revert

G99

Canned cycle R point revert

Support parameter and macro programming

WA lathe G code

G code

Explanation

G00

Rapid positioning

G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

Time delay

G09

Feed exact stop

G20

Independency subprogram call

G22

Independency subprogram defining

G24

Independency subprogram defining end, return called program

G25

Jumping machining

G26

Block calls subprogram in machining program

G27

Endless loop

G30

Multiplying power off

G31

Multiplying power defining

G47

Short space rate automatic transition

G48

Cancel

G54~G59

Workpiece coordinate system selection

G71

Inside and outside diameter cutting compound cycle

G72

Face cutting compound cycle

G73

Close shape compound cycle

G74

Return to reference point

G75

Return to presetting point

G76

Return to start point

G77

Recover current coordinate system

G81

Excircle machining cycle

G82

Face machining cycle

G85

Inch rigid tapping cycle

G86

Metric thread machining cycle

G87

Inch screw thread machining cycle

G90

Absolute value programming

G91

Incremental value programming

G92

Set zero point of program

G96

Constant surface speed control

G97

Constant surface speed control cancel

G98

Feed per round cancel

G99

Feed per round setting

P= parameter variable assignment

WA lathe M instruction

M command

Explanation

M01

Conditional stop

M02

Program end and stop

M03

Spindle on CW

M04

Spindle on CCW

M05

Spindle stop

M06

Coolant on

M07

Coolant off

M08

Clamp

M09

Unclamp

M10

appointed relay on

M11

appointed relay off

M20

Tool compensation number setting

M21

Program end and return to start of program

M71~M85

Relay pulse output

WA miller G code

G code

Explanation

G01

Linear interpolation

G02

Circular interpolation/Helical interpolation CW

G03

Circular interpolation/Helical interpolation CCW

G04

Time delay

G09

Feed exact stop

G11

Block mirror image along Y axis

G12

Block mirror image along X axis

G13

Block mirror machining according to origin

G17

Plane selection X-Y

G18

Plane selection Z-X

G19

Plane selection Y-Z

G20

Subprogram call

G22

Subprogram defining

G24

Subprogram defining end, return called program

G25

Jumping machining

G26

Transfer machining

G27

Endless loop

G30

multiplying power off

G31

multiplying power defining

G40

Cutter radius compensation cancel

G41

Cutter radius compensation(+) (left)

G42

Cutter radius compensation(-) (right)

G43

Cutter length compensation founding

G44

Cutter length compensation cancel

G47

Short space rate automatic transition

G48

cancel

G54~G59

Workpiece coordinate system selection

G73

Rapid deep hole machining cycle

G74

Return to reference point

G75

Return to presetting point

G76

Return to start point

G78

Finish boring cycle

G81

Centre drilling cycle with pause

G82

Centre drilling cycle with pause

G83

Deep hole processing cycle

G84

Metric rigid tapping cycle

G85

Inch rigid tapping cycle

G86

Boring cycle(selfrecovery)

G87

Counter boring cycle

G88

Boring cycle(manual return)

G89

Boring cycle with pause

G90

Absolute value programming

G91

Incremental value programming

G92

Workpiece coordinate system setting

P= parameter variable assignment

WA miller M instruction

G code

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

K××relay

M21

K××close ××relay

M30

Program end and return to start of program

M71~M85

Relay pulse output

RENHE 32TG code

G code

Explanation

G00

Rapid positioning

G01

Linear interpolation

G02、G03

Arc interpolation

G04

Time delay

G26、G27

G28、G29

Return to initial point

G22、G80

program loop

G23

Rectangle cycle

G37、G38

G39、G36

Return to rigid reference point

G82、G83

Thread cutting cycle

G46、G47

G48、G49

Return soft reference point

G96、G97

Constant liner speed cutting

RENHE 32T M command

M command

Explanation

M00

program halt

M02

Program end

M30

Spindle stop and program end

M20

Autocycle

M03

Spindle on CW

M04

Spindle on CCW

M05

Spindle stop

M06

Waiting for answer after send message

M26

Send message

M21

Waiting for answer after send message

M97

Program jumping

M98

subroutine call instruction

M99

subroutine return instruction

SKY 2003N M G codes

G code

Group

Type

Function

G00

01

1

Rapid positioning

G01

 

 

Linear interpolation

G02

 

 

Circular interpolation CW

G03

 

 

Circular interpolation CCW

G02+Z

 

 

Helical interpolation right

G03+Z

 

 

Helical interpolation left

G04

02

2

Dwell

G17

04

1

XY Plane selection

G18

 

1

ZX Plane selection

G19

 

 

YZ Plane selection

G40

07

1

Cutter radius compensation cancel

G41

 

 

Cutter radius compensation(+) (left)

G42

 

 

Cutter radius compensation(-) (right)

G43

08

 

Cutter length compensation(+)

G44

 

 

Cutter length compensation(-)

G49

 

 

Cutter length compensation cancel

G50

11

 

Zoom、mirrorimage off

G51

11

 

Zoom、mirrorimage on

G54

14

 

Workpiece coordinate system 1 selection

G55

 

 

Workpiece coordinate system 2 selection

G56

 

 

Workpiece coordinate system 3 selection

G57

 

 

Workpiece coordinate system 4 selection

G58

 

 

Workpiece coordinate system 5 selection

G59

 

 

Workpiece coordinate system 6 selection

G68

03

 

Coordinate rotating

G69

03

 

Coordinate rotating cancel

G73

15

 

Stepping cycle

G74

 

 

counter tapping cycle(machining center)

G76

 

 

Finish boring cycle(machining center)

G80

 

 

Canned cycle cancel

G81

 

 

Drilling、spot-facing cycle

G82

 

 

Drilling、reverse boring cycle

G83

 

 

Depth drill cycle

G84

 

 

Taping cycle

G85/G86

 

 

Boring cycle

G87

 

 

Counter boring cycle

G88/G89

 

 

Boring cycle

G90

00

 

Absolute value programming

G91

 

 

Incremental value programming

G92

05

 

Coordinate system setting

G98

16

 

Return to initial plane

G99

 

 

Return to R point plane

SKY 2003N M M command

Group

M code

Function

A

M00,M01,M02

Program stop, program optional stop, program end

B

M03,M04,M05

Spindle on CW, spindle on CCW, spindle stop

C

M06

Automatic tool changing

D

M08,M09

Coolant on, coolant off

E

M98,M99

Subprogram call, subprogram return