- 162 -
Chapter 9. Standard Input/ Output Signal
9.3 Example of using an MC input/output flag for automatic operation
1) Starting of automatic operation
Start automatic operation when the input contact X0.7 changes to ‘0’´‘1’.
LOADP X0.7
SET M0.0
LOAD M0.0
AND NOT M50.8 ´ M50.8[AUTO] automatic mode state bit
OUT M80.8 ´ M80.8[AUTO] automatic mode command bit
LOAD M0.0
AND M50.8 ´ M50.8[AUTO] automatic mode state bit
OUT M80.2 ´ M80.2[ST] automatic operation start signal
LOAD M50.4 ´ M50.4[STL] automatic operation start state bit
OR M80.1 ´ M80.1[ERS] RESET command bit
OR M50.3 ´ M50.3[AL] ALARM state bit
RST M0.0
The above functions can be replaced by a PLC motion related application command as follows:
LOAD X0.7
START
Durin