Festo Кабели и принадлежности User Manual
Page 335
7. Description of the commands
7−69
Festo P.BE−SPC200−EN en 0901d
The selected nominal value input is deactivated again with
command M12. It is deactivated automatically:
ć
during a stop status (controlled stop)
ć
if enable is missing (0−signal at ENABLE input).
If there is a 1−signal again at the relevant input after a stop or
missing enable, the nominal value input will be activated
again automatically.
Example mode 0
Constant position adjustment
....
N010 M11 X100 ;Offset 100 mm
N011 M13 X0 ;Set mode 0
;Move constantly
N012 M10 X30 ;Activate nominal value input
;Scaling factor = 30 mm/V
N013 #TNI0.0 013 ;Wait until I0.0 supplies a
;1–signal
N014 M12 X ;Deactivate nominal value
;input
...
N020 M30 ;Program end with
;repeat
In this example the analogue input remains active until input
I0.0 supplies a 1−signal. If the input supplies a 1−signal, the
program will be continued in line N014 and the analogue
input therefore deactivated.