Motion synchronous actions
10.4 Actions in synchronized actions
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
577
Example
Program code Comments
WHEN $AA_IW[Q1]>5 DO M172 H510 ;
f the actual value of the Q1 axis exceeds
5 mm, output help functions M172 and H510
at the PLC.
10.4.3 Set read-in disable (RDISABLE)
Function
Using RDISABLE, when the condition is fulfilled, the additional block processing is held in the
main program. Programmed synchronized motion actions are still executed, the following
blocks are still prepared.
An exact stop is initiated at the end of the block containing
RDISABLE irrespective of whether
or not the read-in disable is still active. The exact stop is also triggered, if the control is in the
continuous-path mode (G64, G641 ... G645).
Application
RDISABLE can be used, for instance, to start the program in the interpolation cycle as a
function of external inputs.
Example
Program code Comment
WHENEVER $A_INA[2]<7000 DO RDISABLE ;
rogram processing is stopped if the
voltage at input 2 drops to below 7
V (assuming that the value 1000
corresponds to 1 V).
...
N10 G01 X10 ; RDISABLE acts at the end of N10,
when the condition is fulfilled
during its processing.
N20 Y20
...