Parameters: X Y Z I J V T

Every motion command is a command word followed by lettered parameters. Each parameter is a single capital letter with a number attached and no space between them, such as X492.923 or T43.

Syntax

<letter><number>   e.g. X492.923  Z-81.000  T43

VerifiedReproduced byte for byte from a machine-proven file.

Parameters

XX coordinate of the end point in millimetresoptional
YY coordinate of the end point in millimetresoptional
ZZ depth in millimetresoptional
IX coordinate of the arc centreoptional
JY coordinate of the arc centreoptional
VFeed rateoptional
TTool numberoptional

How it is written to PGM

X, Y, I and J are distances, written as 32-bit integers in hundredths of a millimetre, most significant byte first throughout. Z is the working depth and is written the same way. V is a 16-bit feed, a numbered class on the older controllers and millimetres per minute in Xilog Plus. S is a 16-bit spindle speed. T names every spindle taking part and becomes a twelve-byte array of bits.

Bytes in the PGM: 4

Example

G0 X492.923 Y221.021 Z-81.000 T43

This line is taken from the machine-proven reference program.

Notes

  • Numbers are parsed as single-precision floats, multiplied by 100 and rounded half up, reproducing the original compiler including its rounding quirks.
  • T must be a whole number. Distances may carry decimals and a leading sign.
  • A parameter may appear only once per line, and only these seven letters are accepted.

Messages this command can produce

Related commands