Manual

Coordinate System Offsets
Chapter 11
11-8
The third method, and the one described in this section, alters the work
coordinate system table through G10 programming. Changing the values
in the table using any of these methods does not cause axis motion. It does
immediately shift the active coordinate system by the amount entered. The
format for altering the work coordinate systems using G10 is:
G10 L2 P__ O__ X__ Z__;
Important: The order of the words in this program block is important.
The L, P, and O words must be programmed before any axis words are
programmed in the G10 block. Failing to follow this order can result in
data being misinterpreted and loaded into the table incorrectly.
Where : Is :
L2 tells the controlthat you want toalter thecoordinate system tables.
P__ specifies which coordinatesystem (G54through G59.3) youwant to workon. P1
through P9 correspond to thework coordinate systems G54 throughG59.3.
P1 = G54work coord. system P6 = G59work coord. system
P2 = G55work coord. system P7 = G59.1work coord. system
P3 = G56work coord. system P8 = G59.2work coord. system
P4 = G57work coord. system P9 = G59.3work coord. system
P5 = G58work coord. system
O__ specifies whether thevalue enteredfor the diameteraxis isa radiusor diameter
value. (O is non-modal.)
O1=value entered for thediameter axis isa radius value.
O2=value entered for thediameter axis isa diameter value.
Important: If you program O1 or O2in aG10 code, theG10 codeis not
affectedby apreviously programmedG07 orG08 (radius/diameter
programming). However, if no O-codeis specified, or if theO-code isout of
range (for example, O3), then theG10 codeis affected bya G07/G08.
X_Z_ specify thelocation of thezero point of thespecified workcoordinate system
relative to machine coordinate system.
Important: G10 blocks cannot be programmed when TTRC is active.
Incremental/Absolute Mode and the G10L2 Command
When youprogram in: Then:
incremental mode(G91) any valuesentered intothe workcoordinate systemtable using
the G10 command are added tothe currently active work
coordinate system values.
absolute mode (G90) any valuesentered intothe work coordinate systemtable using
the G10 command replace the currentlyactive work
coordinate system values.
Example 11.3 and Figure 11.7 illustrate how the work coordinate system is
shifted by using G10.