
6.MACRO EXECUTOR FUNCTION B-63943EN-2/01
- 224 -
Presetting relative coordinates
- Format
G310 Aa Qq ;
a : Controlled-axis number to be subjected to presetting (1 to the
number of controlled axes in the path), or axis ID No. (110 to
117)
q : Coordinate to be preset
Address Q specifies the coordinate to be preset.
Q = -999999999 to +999999999
Executing this control code presets the relative coordinate.
Example
To preset the relative coordinate of the first axis to
-123.45, issue:
G310 A1 Q-123450 ;
or
G310 A110 Q-123450 ;
-Caution
CAUTION
1 If a value other than 1 to the maximum number of
controlled axes in the path and axis ID Nos. (110 to
117) in address A, or address A is not specified,
the specification of G310 is ignored.
2 The unit of address Q is the least input increment
of the specified axis.