17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3. Instruction Set<br />

between MC/MCR will operate as the following table.<br />

Instruction type<br />

General purpose timer<br />

Subroutine timer<br />

Accumulative timer<br />

Counter<br />

Coils driven by OUT instruction All OFF<br />

Devices driven by SET/RST<br />

instructions<br />

Application instructions<br />

Explanation<br />

Present value = 0, Coil is OFF, No action on associated contact<br />

Present value = 0, Coil is OFF, No action on associated contact<br />

Coil is OFF, present value and contact status remains<br />

Coil is OFF, present value and contact status remains<br />

Stay intact<br />

All disabled.<br />

The FOR-NEXT nested loop will still execute back and forth for N<br />

times. Instructions between FOR-NEXT will act as other<br />

instructions between MC and MCR.<br />

Note: MC-MCR master-control instruction supports max 8 layers of nest levels. Please use the<br />

instructions in order from N0~ N7.<br />

Program example:<br />

Ladder diagram: Instruction: <strong>Operation</strong>:<br />

X0<br />

LD X0 Load NO contact X0<br />

MC N0 MC N0 Enable N0 nest level<br />

X1<br />

LD X1 Load NO contact X1<br />

Y0<br />

OUT Y0 Drive coil Y1<br />

X2<br />

:<br />

MC N1 LD X2 Load NO contact X2<br />

X3<br />

MC N1 Enable N1 nest level<br />

Y1<br />

LD X3 Load NO contact X3<br />

OUT Y1 Drive coil Y1<br />

MCR N1<br />

:<br />

MCR N1 Reset N1 nest level<br />

X10<br />

MCR N0<br />

:<br />

MCR N0 Reset N0 nest level<br />

MC N0<br />

:<br />

LD X10 Load NO contact X10<br />

X11<br />

MC N0 Enable N0 nest level<br />

Y10<br />

LD X11 Load NO contact X11<br />

OUT Y10 Drive coil Y10<br />

MCR N0 :<br />

MCR N0 Reset N0 nest level<br />

3-9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!