MS Tech CNC G-Code Lists

MS-Tech’s G-Codes are Fanuc G-code compatible and thus there is no need to have a special post. Our control includes built-in G-Code lists with every purchase that not only indicates format and structure of said G-Codes, but also function, description, and usage only a mouse-click away.

CodeDescriptionGroup No.
G00*Rapid positioning01
G01Linear interpolation01
G02Circular interpolation CW01
G03Circular interpolation CCW01
G04Dwell, Exact stop00
G09Exact stop00
G10Programmable data input00
G11*Programmable data input cancel00
G17*XY plane selection02
G18ZX plane selection02
G19YZ plane selection02
G20Select inch unit06
G21Select metric unit in mm06
G27Reference point return check00
G28Return to reference point00
G29Return from reference point00
G30Return to 2 nd reference point00
G33Thread Cutting01
G40*Cutter compensation cancel07
G41Cutter compensation left07
G42Cutter compensation right07
G43Tool length compensation in +Z08
G44Tool length compensation in -Z08
G49*Tool length compensation cancel08
G50.1Mirror image cancel18
G51.1Mirror image on18
G52Local coordinate system setting00
G53Positioning in machine coordinate00
G54*Work coordinate system 1 select14
G55Work coordinate system 2 select14
G56Work coordinate system 3 select14
G57Work coordinate system 4 select14
G58Work coordinate system 5 select14
G59Work coordinate system 6 select14
G61Exact stop mode15
G64*Cutting mode15
G65Macro call00
G66Macro modal call12
G67Macro modal call cancel12
G73High speed peck drilling cycle09
G74Counter tapping cycle09
G76Fine boring cycle09
G80* Canned cycle cancel09
G81 Drilling cycle, spot boring09
G82 Drilling cycle, counter boring09
G83 Peck drilling cycle09
G84 Tapping cycle09
G84.2 Rigid tapping cycle09
G85 Boring cycle09
G86 Boring cycle09
G87 Back boring cycle09
G88 Boring cycle09
G89 Boring cycle09
G90*Select absolute command03
G91Select incremental command03
G92Programming of absolute zero point00
G93Inverse time feed05
G94*Per minute feed05
G95Per revolution feed05
G96Constant surface speed control13
G97*Constant surface speed control cancel13
G98*Return to initial point in canned cycle10
G99Return to R point in canned cycle10

Notes:
1. For all milling type machines, G17 is default.
2. For detailed descriptions, please refer to G-Code Usage Description.

Set-ASet-BSet-CDescriptionGroup No.
G00*G00*G00*Rapid positioning01
G01G01G01Linear interpolation01
G02G02G02Circular interpolation CW01
G03G03G03Circular interpolation CCW01
G04G04G04Dwell, Exact stop00
G09G09G09Exact stop00
G10G10*G10*Programmable data input00
G11*G11*G11*Programmable data input cancel00
G17G17G17XY plane selection if applicable02
G18*G18*G18*ZX plane selection02
G19G19G19YZ plane selection if applicable02
G20G20G70Select inch unit06
G21G21G71Select metric unit in mm06
G27G27G27Reference point return check00
G28G28G28Return to reference point00
G29G29G29Return from reference point00
G30G30G30Return to 2 nd reference point00
G32G33G33Thread Cutting01
G40*G40*G40*Cutter compensation cancel07
G41G41G41Cutter compensation left07
G42G42G42Cutter compensation right07
G50.1G50.1G50.1Mirror image cancel18
G51.1G51.1G51.1Mirror image on18
G52G52G52Local coordinate system setting00
G53G53G53Positioning in machine coordinate00
G54*G54*G54*Work coordinate system 1 select14
G55G55G55Work coordinate system 2 select14
G56G56G56Work coordinate system 3 select14
G57G57G57Work coordinate system 4 select14
G58G58G58Work coordinate system 5 select14
G59G59G59Work coordinate system 6 select14
G61G61G61Exact stop mode15
G64*G64*G64*Cutting mode15
G65G65G65Macro call00
G66G66G66Macro modal call12
G67*G67*G67*Macro modal call cancel12
G68G68G68Turret image on04
G69*G69*G69*Turret image off04
G70G70G72Finishing cutting cycles00
G71G71G73Stock removal in turning00
G72G72G74Stock removal in facing00
G73G73G75Pattern repeating cycle00
G74G74G76End face peck drilling00
G75G75G77Outer/Internal diameter drilling00
G76G76G78Multiple threading cycle00
G90G77G20Internal/External cutting cycle01
G92G78G21Thread cutting cycle01
G94G79G24Face cutting cycle01
G80*G80*G80* Canned cycle cancel09
G83G83G83 Face drilling cycle09
G84G84G84 Face tapping cycle09
G85G85G85 Face boring cycle09
G87G87G87 Side drilling cycle09
G88G88G88 Side tapping cycle09
G89G89G89 Side boring cycle09
---G90*G90*Select absolute command03
---G91G91Select incremental command03
G50G92G92Programming of absolute zero point00
G98G94G94Per minute feed05
G99G95*G95*Per revolution feed05
G96G96 G96G96 Constant surface speed control on13
G97*G97*G97* Constant surface speed control off13
---G98*G98*Return to initial point in canned cycle10
---G99G99Return to R point in canned cycle10

Notes:
1. Three G-code sets for turning type machines are available, and to be set by system integrators. Default setting is G-code set B, but your machine may be set differently.
2. G-code descriptions for turning type machines in this manual are based on set B. Please use the table as a cross reference. For example, for description on G70 in set C, one should read the description on G20 of set B.
3. For all turning type machines, G18 is default.
4. For G20 and G21, the G-code before turning power off remains.
5. For detailed description on each G code, please refer to G-Code Usage Description.

CodeDescriptionGroup No.
G00*Rapid positioning01
G01Linear interpolation01
G02Circular interpolation CW01
G03Circular interpolation CCW01
G04Dwell, Exact stop00
G09Exact stop00
G10Programmable data input00
G11*Programmable data input cancel00
G17*XY plane selection02
G18ZX plane selection02
G19YZ plane selection02
G20Select inch unit06
G21Select metric unit in mm06
G27Reference point return check00
G28Return to reference point00
G29Return from reference point00
G30Return to 2 nd reference point00
G33Thread Cutting01
G40*Cutter compensation cancel07
G41Cutter compensation left07
G42Cutter compensation right07
G43Tool length compensation in +Z08
G43.1Tool length compensation for 5-axis pivot point control NC programs (re: page 59)08
G43.4Tool length compensation for 5-axis tool tip point control NC programs (re: page 60)08
G44Tool length compensation in -Z08
G49*Tool length compensation cancel08
G50.1Mirror image cancel22
G51.1Mirror image on22
G52Local coordinate system setting00
G53Positioning in machine coordinate00
G54*Work coordinate system 1 select14
G55Work coordinate system 2 select14
G56Work coordinate system 3 select14
G57Work coordinate system 4 select14
G58Work coordinate system 5 select14
G59Work coordinate system 6 select14
G61Exact stop mode15
G64*Cutting mode15
G65Macro call00
G66Macro modal call12
G67*Macro modal call cancel12
G68Coordinate rotation/three–dimensional coordinate conversion16
G69*Coordinate rotation/conversion cancel16
G73Peck drilling cycle09
G74Counter tapping cycle09
G76Fine boring cycle09
G80* Canned cycle cancel09
G81 Drilling cycle, spot boring09
G82 Drilling cycle, counter boring09
G83 Peck drilling cycle09
G84 Tapping cycle09
G85 Boring cycle09
G86 Boring cycle09
G87 Back boring cycle09
G88 Boring cycle09
G89 Boring cycle09
G90*Select absolute command03
G91Select incremental command03
G92Programming of absolute zero point00
G93Inverse time feed05
G94*Per minute feed05
G95Per revolution feed05
G96 Constant surface speed control13
G97* Constant surface speed control cancel13
G98*Return to initial point in canned cycle10
G99Return to R point in canned cycle10

Notes:
1. For all milling type machines, G17 is default.
2. For detailed descriptions, please refer to G-Code Usage Description.