Class IsoKeywords
ISO/RS274 standard G-code and M-code constants. Shared across Fanuc, Mazak, Okuma, and other ISO-compatible controllers. Brand-specific codes belong in their own keyword classes (e.g., FanucKeywords, Siemens, Heidenhain).
public static class IsoKeywords
- Inheritance
-
IsoKeywords
- Inherited Members
Fields
CannedCycleCodes
All canned cycle codes.
public static readonly string[] CannedCycleCodes
Field Value
- string[]
G00
Rapid positioning — moves all axes at maximum traverse rate to the target.
public const string G00 = "G00"
Field Value
G01
Linear interpolation — moves in a straight line at the programmed feedrate.
public const string G01 = "G01"
Field Value
G02
Circular interpolation clockwise — arc motion in the active plane at the programmed feedrate. Center defined by I/J/K offsets or R radius.
public const string G02 = "G02"
Field Value
G03
Circular interpolation counter-clockwise — arc motion in the active plane at the programmed feedrate. Center defined by I/J/K offsets or R radius.
public const string G03 = "G03"
Field Value
G28
Reference point return — moves through an intermediate point, then to the machine reference (home) position.
public const string G28 = "G28"
Field Value
G43
Tool length compensation (+) — applies positive-direction tool height offset from the offset table.
public const string G43 = "G43"
Field Value
G44
Tool length compensation (−) — applies negative-direction tool height offset from the offset table.
public const string G44 = "G44"
Field Value
G49
Tool length compensation cancel — deactivates G43/G44 tool height offset.
public const string G49 = "G49"
Field Value
G52
Local coordinate system — sets a temporary coordinate offset relative to the active work coordinate system.
public const string G52 = "G52"
Field Value
G53
Machine coordinate selection — non-modal, one-shot. Axis values specify machine coordinates directly, bypassing all work offsets.
public const string G53 = "G53"
Field Value
G53p1
Tool axis direction control — non-modal, one-shot. Positions rotary axes to align with the active tilted work plane (G68.2). Requires G68.2 active.
public const string G53p1 = "G53.1"
Field Value
G54
Work coordinate system 1 — first standard work offset (most commonly used).
public const string G54 = "G54"
Field Value
G54Series
All standard work coordinate offsets: G54–G59 plus extended offsets G59.1–G59.9.
public static readonly string[] G54Series
Field Value
- string[]
G55
Work coordinate system 2.
public const string G55 = "G55"
Field Value
G56
Work coordinate system 3.
public const string G56 = "G56"
Field Value
G57
Work coordinate system 4.
public const string G57 = "G57"
Field Value
G58
Work coordinate system 5.
public const string G58 = "G58"
Field Value
G59
Work coordinate system 6.
public const string G59 = "G59"
Field Value
G68
Coordinate rotation — rotates the XY program coordinate system around a center point by an angle R.
public const string G68 = "G68"
Field Value
G68p2
Tilted work plane (5-axis) — defines an inclined coordinate system via Euler angles (I/J/K) and an origin (X/Y/Z).
public const string G68p2 = "G68.2"
Field Value
G69
Coordinate rotation / tilted work plane cancel — deactivates G68 or G68.2.
public const string G69 = "G69"
Field Value
G73
High-speed peck drilling cycle — drills in increments of Q with partial retract (chip breaking).
public const string G73 = "G73"
Field Value
G74
Left-hand tapping cycle — feed to Z with CCW spindle, reverse to CW, feed retract.
public const string G74 = "G74"
Field Value
G76
Fine boring cycle — feed to Z, oriented spindle stop, tool shift Q, rapid retract, shift back.
public const string G76 = "G76"
Field Value
G80
Canned cycle cancel — deactivates G81–G89.
public const string G80 = "G80"
Field Value
G81
Drilling cycle — rapid to R, feed to Z, rapid retract.
public const string G81 = "G81"
Field Value
G82
Drilling cycle with dwell — same as G81 plus dwell P seconds at bottom.
public const string G82 = "G82"
Field Value
G83
Peck drilling cycle — drills in increments of Q with full retract to R between strokes.
public const string G83 = "G83"
Field Value
G84
Right-hand tapping cycle — feed to Z with CW spindle, reverse to CCW, feed retract.
public const string G84 = "G84"
Field Value
G85
Boring cycle — rapid to R, feed to Z, feed retract.
public const string G85 = "G85"
Field Value
G86
Boring cycle — rapid to R, feed to Z, spindle stop, rapid retract.
public const string G86 = "G86"
Field Value
G87
Back boring cycle — OSS + shift, rapid to Z, shift back, spindle on, feed up to R, OSS + shift, retract.
public const string G87 = "G87"
Field Value
G89
Boring cycle with dwell — rapid to R, feed to Z, dwell P, feed retract.
public const string G89 = "G89"
Field Value
G90
Absolute positioning — axis values specify the target position directly.
public const string G90 = "G90"
Field Value
G91
Incremental positioning — axis values specify the distance to move from the current position.
public const string G91 = "G91"
Field Value
G94
Feed per minute — feedrate F is in mm/min (or inch/min).
public const string G94 = "G94"
Field Value
G95
Feed per revolution — feedrate F is in mm/rev (or inch/rev), synchronized to spindle speed.
public const string G95 = "G95"
Field Value
G98
Canned cycle return to initial level.
public const string G98 = "G98"
Field Value
G99
Canned cycle return to R-point level.
public const string G99 = "G99"
Field Value
M03
Spindle ON clockwise — starts spindle rotation in the CW direction.
public const string M03 = "M03"
Field Value
M04
Spindle ON counter-clockwise — starts spindle rotation in the CCW direction.
public const string M04 = "M04"
Field Value
M05
Spindle stop — halts spindle rotation.
public const string M05 = "M05"