Position offsets in the PCS
Manual mode offset (PCS) | |
Description | Current manual mode offset. |
Signal flow | CNC → PLC |
ST path | gpCh[channel_idx]^.bahn_state.coord_r[axis_idx].man_offset_r |
Data type | DINT |
Unit | 0,1 µm |
Access | PLC reads |
Total offset (PCS) | |
Description | Sum of all active offsets TotalOffset = - Offsets + Tool |
Signal flow | CNC → PLC |
ST path | gpCh[channel_idx]^.bahn_state.coord_r[axis_idx].total_offset_r |
Data type | DINT |
Unit | 0,1 µm |
Access | PLC reads |
Special features | Offsets are included in the total as negative values.
For 2.5 D machining: TotalOffset = - Offset_G92 - Offset_NP - + WZ_Achsversätze
Calculation of PCS coordinates based on ACS coordinates: PCS = ACS + TotalOffset
Example program:
%total_offset N00 X100 (ACS = 100mm) N10 G92 X11 (total_offset = -11mm) N20 X200 (ACS = 211mm) N30 D1 (total_offset = 64mm,) ( bei wz[1].ax_versatz[0] 750000[0.1μm]) N40 V.G.WZ_AKT.V[0]=55 (total_offset = 44mm) N30 X300 (-> ACS coordinate = 256 mm) M30
|