G10 - Settings

Syntax

G10 L1 <X..W> <D or R>
G10 L10 <X..W> <D or R>

Set tool in tool table.

L1 will set tool offset as entered.
L10 will set offset so that current working position becomes entered value.

Parameters

P Tool number.
X..W Tool offset. (optional)
D Tool diameter. (optional)
R Tool radius. (optional)

Syntax

G10 L2 P <X..W> <R>
G10 L20 P <X..W> <R>

Set coordinate system.

L2 will set coordinate system offset as entered.
L20 will set offset so that current working position becomes entered value.

Optionally coordinate system rotation in XY plane is set with R word.

1000 different coordinate systems are available.

Parameters

P Coordinate system number.
X..W Coordinate system offset. (optional)
R Rotation in XY plane. (optional)

Syntax

G10 L3 X Y Z A B C U V W I J K

Set transformation parameters.

If any of XYZABCUVWIJK words are missing or values are invalid transformation is reset.
Reset state is A0=1, B0=0, C0=0, A1=0, B1=1, C1=0, A2=0, B2=0, C2=1, A3=0, B3=0, C3=0.

Parameters

X Transformation A0 parameter.
Y Transformation B0 parameter.
Z Transformation C0 parameter.
A Transformation A1 parameter.
B Transformation B1 parameter.
C Transformation C1 parameter.
U Transformation A2 parameter.
V Transformation B2 parameter.
W Transformation C2 parameter.
I Transformation A3 parameter.
J Transformation B3 parameter.
K Transformation C3 parameter.

Syntax

G10 L9 <X..W>

Set Controller Position.

Set controller position without move. Controller will set its current machine position to this value. Same as G09.

Parameters

X..W Controller Position. (optional)

Examples

Set tool 3 offset to 5

G10 L1 P3 Z5

Set coordinate system 3 offset to X100

G10 L2 P3 X100

Set transformation to identity.

G10 L3 X1 Y0 Z0 A0 B1 C0 U0 V0 W1 I0 J0 K0

Set machine position to X100, Y-50.

G10 L9 X100 Y-50

See also

G09