DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
Mnemonic
Operands Function Program steps
SS2
SX2
MC/MCR N0~N7
Master control
Start/Reset
3
Explanations:
MC is the master-control start instruction. When MC instruction executes, the program execution
turns to the designated nest level and executes the instructions between MC and MCR. However,
MCR is the master-control reset instruction placed at the end of the designated nest level and no
drive contact is required before MCR. When MC/MCR is not active, devices and instructions
between MC/MCR will operate as the following table.
Instruction type Explanation
General purpose timer Present value = 0, Coil is OFF, No action on associated contact
Subroutine timer Present value = 0, Coil is OFF, No action on associated contact
Accumulative timer Coil is OFF, present value and contact status remains
Counter Coil is OFF, present value and contact status remains
Coils driven by OUT instruction All OFF
Devices driven by SET/RST
instructions
Stay intact
Application instructions
All disabled.
The FOR-NEXT nested loop will still execute back and forth for N
times. Instructions between FOR-NEXT will act as other
instructions between MC and MCR.
Note: MC-MCR master-control instruction supports max 8 layers of nest levels. Please use the
instructions in order from N0~ N7.
Program example:
Ladder diagram: Instruction: Operation:
X0
Y0
MC
N0
X1
X2
Y1
MC
N1
X3
MCR
N1
MCR
N0
X10
MC
N0
LD X0 Load NO contact X0
MC N0 Enable N0 nest level
LD X1 Load NO contact X1
OUT Y0 Drive coil Y1
:
LD X2 Load NO contact X2
MC N1 Enable N1 nest level
LD X3 Load NO contact X3
OUT Y1 Drive coil Y1
:
MCR N1 Reset N1 nest level