140
5 SEQUENCE INSTRUCTIONS
5.5 Master Control Instruction
• If an instruction (e.g. LD, LDI) to be connected to the bus is not programmed following the MC instruction, a ladder error
(error code: 33E0) occurs.
• These instructions cannot be used in FOR to NEXT, P to RET (SRET), and I to IRET. Also, do not block by I, IRET, FEND,
END, RET (SRET), etc. Addition by write during RUN mode results in an error.
• Nesting up to 15 levels (N0 to N14) is possible. When nesting instructions, the MC instruction is used starting from the
smallest (N) number and the MCR instruction is started starting from the biggest number. Programming in reverse order
does not produce a nested structure and hence the CPU module cannot execute operations properly.
• When the MCR instruction is nested at a single location, all master controls can be ended by just one nesting (N) number,
the smallest number.
There is no operation error.
MC N0 M15
MC N1 M16
MC N2 M17
MCR
N2
MCR N0
N0 M15
N1 M16
N2 M17
X1
X2
X3
MCR N1
MC N0 M15
MC
N1
M16
MC
N2 M17
MCR N0
N0 M15
N1 M16
N2 M17
X1
X2
X3