69
After the execution of an MCS instruction, the bus line (LD, LDI) moves to a point after
the MCS instruction. An MCR instruction resets this to the original bus line.
MCS, MCR instructions should use in pair.
The bus line can be nesting. Use MCS, MCR instructions between MCS, MCR instructions.
The nesting level increase with the using of MCS instruction. The max nesting level is ten.
When executing MCR instruction, go back to the last level of bus line.
When use flow program, bus line management could only be used in the same flow. When
the flow ends, it must go back to the main bus line.
Note: The MCS and MCR instructions can not be written directly in the ladder diagram of
XD/XL series PLC programming software. They can be constructed by horizontal and
vertical lines.
3-10. [ALT]
Mnemonic
Function
Format and Devices
ALT
(Alternate)
Alternate the coil
M0
ALT
Coil:
X,Y,M,HM,SM,S,HS,T,HT,C,HC,Dn.m
LD
X1
MCS
LD
X2
OUT
Y0
LD
M1
MCS
LD
M3
OUT
Y1
LD
M2
OUT
Y2
MCR
MCR
Program
Mnemonic and Function