Delta DVP-ES2 User Manual
Page 125
3 . I n s t r u c t i o n S e t
3 - 9
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:
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
:
MCR
N0
Reset N0 nest level
:
LD
X10
Load NO contact X10
MC
N0
Enable N0 nest level
LD
X11
Load NO contact X11
OUT Y10 Drive
coil
Y10
:
X0
Y0
MC
N0
X1
X2
Y1
MC
N1
X3
MCR
N1
MCR
N0
X10
MC
N0
Y10
X11
MCR
N0
MCR
N0
Reset N0 nest level