Table of Contents

Class IsoKeywords

Namespace
Hi.NcParsers.Keywords.Generic
Assembly
HiMech.dll

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

string

G01

Linear interpolation — moves in a straight line at the programmed feedrate.

public const string G01 = "G01"

Field Value

string

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

string

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

string

G28

Reference point return — moves through an intermediate point, then to the machine reference (home) position.

public const string G28 = "G28"

Field Value

string

G43

Tool length compensation (+) — applies positive-direction tool height offset from the offset table.

public const string G43 = "G43"

Field Value

string

G44

Tool length compensation (−) — applies negative-direction tool height offset from the offset table.

public const string G44 = "G44"

Field Value

string

G49

Tool length compensation cancel — deactivates G43/G44 tool height offset.

public const string G49 = "G49"

Field Value

string

G52

Local coordinate system — sets a temporary coordinate offset relative to the active work coordinate system.

public const string G52 = "G52"

Field Value

string

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

string

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

string

G54

Work coordinate system 1 — first standard work offset (most commonly used).

public const string G54 = "G54"

Field Value

string

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

string

G56

Work coordinate system 3.

public const string G56 = "G56"

Field Value

string

G57

Work coordinate system 4.

public const string G57 = "G57"

Field Value

string

G58

Work coordinate system 5.

public const string G58 = "G58"

Field Value

string

G59

Work coordinate system 6.

public const string G59 = "G59"

Field Value

string

G68

Coordinate rotation — rotates the XY program coordinate system around a center point by an angle R.

public const string G68 = "G68"

Field Value

string

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

string

G69

Coordinate rotation / tilted work plane cancel — deactivates G68 or G68.2.

public const string G69 = "G69"

Field Value

string

G73

High-speed peck drilling cycle — drills in increments of Q with partial retract (chip breaking).

public const string G73 = "G73"

Field Value

string

G74

Left-hand tapping cycle — feed to Z with CCW spindle, reverse to CW, feed retract.

public const string G74 = "G74"

Field Value

string

G76

Fine boring cycle — feed to Z, oriented spindle stop, tool shift Q, rapid retract, shift back.

public const string G76 = "G76"

Field Value

string

G80

Canned cycle cancel — deactivates G81–G89.

public const string G80 = "G80"

Field Value

string

G81

Drilling cycle — rapid to R, feed to Z, rapid retract.

public const string G81 = "G81"

Field Value

string

G82

Drilling cycle with dwell — same as G81 plus dwell P seconds at bottom.

public const string G82 = "G82"

Field Value

string

G83

Peck drilling cycle — drills in increments of Q with full retract to R between strokes.

public const string G83 = "G83"

Field Value

string

G84

Right-hand tapping cycle — feed to Z with CW spindle, reverse to CCW, feed retract.

public const string G84 = "G84"

Field Value

string

G85

Boring cycle — rapid to R, feed to Z, feed retract.

public const string G85 = "G85"

Field Value

string

G86

Boring cycle — rapid to R, feed to Z, spindle stop, rapid retract.

public const string G86 = "G86"

Field Value

string

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

string

G89

Boring cycle with dwell — rapid to R, feed to Z, dwell P, feed retract.

public const string G89 = "G89"

Field Value

string

G90

Absolute positioning — axis values specify the target position directly.

public const string G90 = "G90"

Field Value

string

G91

Incremental positioning — axis values specify the distance to move from the current position.

public const string G91 = "G91"

Field Value

string

G94

Feed per minute — feedrate F is in mm/min (or inch/min).

public const string G94 = "G94"

Field Value

string

G95

Feed per revolution — feedrate F is in mm/rev (or inch/rev), synchronized to spindle speed.

public const string G95 = "G95"

Field Value

string

G98

Canned cycle return to initial level.

public const string G98 = "G98"

Field Value

string

G99

Canned cycle return to R-point level.

public const string G99 = "G99"

Field Value

string

M03

Spindle ON clockwise — starts spindle rotation in the CW direction.

public const string M03 = "M03"

Field Value

string

M04

Spindle ON counter-clockwise — starts spindle rotation in the CCW direction.

public const string M04 = "M04"

Field Value

string

M05

Spindle stop — halts spindle rotation.

public const string M05 = "M05"

Field Value

string