Detailed description
2.2 Metric /inch measuring system
Basic logic functions: Velocities, Setpoint/Actual Value Systems, Closed-Loop Control (G2)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
23
Synchronized actions
In order to prevent the current parts program context from changing the positioning behavior
of a synchronized action arbitrarily in response to asynchronous trigger conditions, the
measuring system must be defined at the time of interpretation. This is the only way to
achieve a defined and reproducible positioning behavior of a synchronized action.
Example 1:
N100 R1=0
N110 G0 X0 Z0
N120 WAITP(X)
N130 ID=1 WHENEVER $R1==1 DO POS[X]=10
N140 R1=1
N150 G71 Z10 F10
;Z=10 mm X=10 mm
N160 G70 Z10 F10
;Z=254 mm X=254 mm
N170 G71 Z10 F10
;Z=10 mm X=10 mm
N180 M30
Example 2:
The definition is made here by programming G71 in the synchronized action.
N100 R1=0
N110 G0 X0 Z0
N120 WAITP(X)
N130 ID=1 WHENEVER $R1==1 DO G71 POS[X]=10
N140 R1=1
N150 G71 Z10 F10
;Z=10 mm X=10 mm
N160 G70 Z10 F10
;Z=254 mm X=10 mm (X posit. always at 0 mm)
N170 G71 Z10 F10
;Z=10 mm X=10 mm
N180 M30