Offsets in the coordinate system
If a new coordinate system is defined and activated, the offsets in this coordinate system are initially ZERO. Programmed offsets in subordinate coordinate systems remain effective.
Additional offsets can be programmed in the new current CS. Their effect is additive to all previously active subordinate offsets but they are only valid until the current CS is deselected (local) and they are not saved.
The following shifts are locally possible for each coordinate system:
- Zero offsets (G53, G55...)
- Reference point offsets (G92)
- Position presets (#PSET)
Notice
Tool-specific axis offsets are not valid for each coordinate system but are always valid globally.
The relative addition of axis offsets for each coordinate system applies to main axes (first three channel axes of the coordinate system) and for all other axes in the channel, the tracking axes (channel axes after the 3 main axes, rotary axes, etc.)
The effectiveness of the tracking axis offsets can be activated either using the following #CS MODE option either for the current CS or globally. The values of the offsets in the display then change accordingly.
Syntax of Managing axis offsets in tracked axes | |
#CS MODE ON [ AXES_OFFSETS_LAYER_SPECIFIC ] | Active offsets in the current CS |
#CS MODE OFF [ AXES_OFFSETS_LAYER_SPECIFIC ] | Offsets globally active. No relative addition. |
The default setting can be configured with channel parameter P-CHAN-00397.
Example
Development of offsets values in the CS if:
A: Offsets are active locally in the CS
B:Offsets are globally active
N10 X0 Y0 Z0 A0 B0
N20 G92 B100 ;A: X=0, B=100
;B: X=0, B=100
:
N100 #CS ON [ICS][50,50,0]
N120 G92 X100 B200
N110 X1 B1 ;A:X=50+100+1=151, B=100+200+1=301
;B:X=50+100+1=151, B=200+1=201
:
N200 #CS ON [PCS][20,20,0]
N220 G92 X200 B400
N210 X2 B2 ;A: X=50+100+20+200+2=372, B=100+200+400+2=702
;B: X=50+100+20+200+2=372, B=400+2=402
:
N300 #CS DEL
N310 X3 B3 ;A: X=50+100+3=153, B=100+200+3=303
;B: X=50+100+3=153, B=200+3=203
:
M30