3. Instruction Set

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

Stay intact

instructions

 

 

 

 

All disabled.

Application instructions

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

 

LD

X0

Load NO contact X0

 

 

 

 

 

 

 

 

MC

N0

 

 

 

 

 

 

 

 

 

MC

N0

Enable N0 nest level

 

 

 

 

 

 

X1

 

 

 

LD

X1

Load NO contact X1

 

 

 

 

 

 

Y0

 

OUT

Y0

Drive coil Y1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X2

 

:

 

 

 

 

 

 

 

 

MC

N1

LD

X2

Load NO contact X2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X3

 

MC

N1

Enable N1 nest level

 

LD

X3

Load NO contact X3

 

 

 

 

 

 

Y1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OUT

Y1

Drive coil Y1

 

 

 

 

 

 

MCR

N1

:

 

 

 

 

 

 

 

 

 

 

 

MCR

N1

Reset N1 nest level

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MCR

N0

:

 

 

 

 

 

 

 

 

MCR

N0

Reset N0 nest level

 

X10

 

 

 

:

 

 

 

 

 

 

 

 

MC

N0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LD

X10

Load NO contact X10

 

X11

 

 

 

MC

N0

Enable N0 nest level

 

 

 

 

 

 

Y10

 

LD

X11

Load NO contact X11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MCR

N0

OUT

Y10

Drive coil Y10

 

 

 

 

 

 

:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MCR

N0

Reset N0 nest level

3 - 9

Page 125
Image 125
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Mcr