Motion synchronous actions
10.4 Actions in synchronized actions
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
10-27
In path control mode, an exact stop is always triggered at the beginning of the block with
RDISABLE in synchronized actions, regardless of whether RDISABLE is active or not.
Example
Start the program in interpolation cycles dependent on external inputs.
...
WHENEVER $A_INA[2]<7000 DO RDISABLE ;If the voltage 7V is not reached at
;input 2, the program is stopped
;(1000= 1V).
N10 G1 X10 ;When the condition is fulfilled,
;the read-in disable is active at the
;end of N10
N20 G1 X10 Y20
...
10.4.4 Cancel preprocessing stop (STOPREOF)
Function
In the case of an explicitly programmed preprocessing stop STOPRE or a preprocessing
stop implicitly activated by an active synchronized action, STOPREOF cancels the
preprocessing stop after the next machining block as soon as the condition is fulfilled.
Note
STOPREOF must be programmed with the keyword WHEN and non-modally (without
ID number).
Example
Fast program branch at end of block.
WHEN $AC_DTEB<5 DO STOPREOF
;Cancel the preprocess stop when distance to
;block end is less than 5mm.
G01 X100
;The preprocessing stop is canceled after
;execution of the linear interpolation.
IF $A_INA[7]>500 GOTOF MARKE1=X100 ;If the voltage 5V is exceeded at input 7,
;jump to label 1.