-
G10: Set work and tool offsets
Overview
- G10 Command is used to set the Tool Data or Work Coordinate System data depending on the L.. parameter.
- There are three G10 modes:
-
WCS Setting mode (L2)
: the selected WCS (P..) origin point is updated using parameters X.. Y.. Z.. and the 3D rotation settings are updated using parameters I.. J.. K..
-
Tool Setting mode (L1)
: the selected Tool (P..) diameter is updated using parameter D.. and Tool length is updated using parameter Z..
-
Tool Wear Setting mode (L11)
: the selected Tool (P..) diameter wear is updated using parameter D.. and Tool length wear is updated using parameter Z..
- G10 command only updates the WCS and Tools offsets table, but does not activate the offsets or update any currently active offsets.
- Therefore, updating the currently activated offset requires a two command sequence:
- A G10 command is issued to update the values in the offset table.
- A switch offset command (
G54 G59 Work Coordinate Systems
) is issued to apply the updated offset values.
Command Format
-
Syntax:
G10 L... P... D... X... Y... Z... I... J... K...
-
G10 Mode Selection
L...
-
L1
- Set Nominal tool diameter and length offset
-
L11
- Set Tool length diameter and length wear
- D… Diameter Wear
- Z… Length Wear
-
L2
- Set Work CS offset
- X/Y/Z… Offset of WCS within MCS along the specified axis (in system units)
- I/J/K… 3D rotational offset of WCS about the specified axis of MCS (in degrees)
-
Tool number (P1 - P6) or Work Coordinate System (G54.0 - G59.2) Selection
P...
- In WCS Setting mode:
-
P1 - WCS1 / G54 (G54.0)
- P100 - G54.0
- P101 - G54.1
- P102 - G54.2
- P2 - WCS2 / G55 (G55.0)
- P200 - G55.0
- …
- P6 - WCS6 / G59 (G59.0)
- P600 - G59.0
- P601 - G59.1
- P602 - G59.2
- In Tool Setting mode:
WCS Offset Examples
-
G10 L2 P1 X3700 Y1550 Z17.5
- Sets WCS#1 (G54) offset to [3700, 1550, 17.5].
-
G10 L2 P102 X3700 Y1550 Z17.5 K180
- Sets WCS#1 (G54) Subframe #2 offset to [3700, 1550, 17.5] with coordinate rotation of 180 degrees around the Z axis.
-
G10 L2 P5 X75 Y75
- Sets WCS#5 (G58) Subframe #0 offset to [75, 75, 0].
Tool Examples
-
G10 L1 P5 R2.5 Z98.05
- Sets Tool #5 (T5) Radius to 2.5 and length to 98.05
-
G10 L1 P101 R4.75 Z124.048
- Sets Tool #101 (T101) Radius to 4.75 and length to 124.048
See Also: