Program code Comment
N110 G1 ...
N120 GEOAX(3,Z1) ; Channel axis Z1 acts as 3rd geometry axis (Z).
...
Example 2: Changing over the geometry axes for six channel axes
A machine has six channel axes with the names XX, YY, ZZ, U, V, W.
The basic setting of the geometry axis configuration via machine data is:
Channel axis XX = 1st geometry axis (X axis)
Channel axis YY = 2nd geometry axis (Y axis)
Channel axis ZZ = 3rd geometry axis (Z axis)
Program code Comment
N10 GEOAX() ; The basic configuration of the geometry axes is ef-
fective.
N20 G0 X0 Y0 Z0 U0 V0 W0 ; All axes in rapid traverse to position 0.
N30 GEOAX(1,U,2,V,3,W) ; Channel axis U becomes the first (X), V the second
(Y)
; and W the third geometry axis (Z).
N40 GEOAX(1,XX,3,ZZ) ; Channel axis XX becomes the first (X), ZZ the third
; geometry axis (Z). Channel axis V remains the second
; geometry axis (Y).
N50 G17 G2 X20 I10 F1000 ; Full circle in the X/Y plane. Channel axes
; XX and V traverse.
N60 GEOAX(2,W) ; Channel axis W becomes the second geometry (Y).
N80 G17 G2 X20 I10 F1000 ; Full circle in the X/Y plane. Channel axes
; XX and W traverse.
N90 GEOAX() ; Reset to the initial state.
N100 GEOAX(1,U,2,V,3,W) ; Channel axis U becomes the first (X), V the second
; (Y) and W the third geometry axis (Z).
N110 G1 X10 Y10 Z10 XX=25 ; Channel axes U, V, W each traverse to
; position 10. XX as special axis traverses to posi-
tion 25.
N120 GEOAX(0,V) ; V is removed from the geometry axis group.
; U and W remain the first (X) and third
; geometry axis (Z).
; The second geometry (Y) axis remains unassigned.
N130 GEOAX(1,U,2,V,3,W) ; Channel axis U remains the first (X), V becomes
; the second (Y), W remains the third geometry axis
(Z).
N140 GEOAX(3,V) ; V becomes the third geometry axis (Z), whereby W
; is overwritten and therefore removed from the geom-
etry
; axis group. The second geometry axis (Y)
; still remains unassigned.
Work preparation
3.15 Axis functions
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 879