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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DVP</strong>-<strong>ES2</strong><strong>EX2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

5.1 Step Ladder Instruction [STL], [RET]<br />

Mnemonic Operands Function Program steps<br />

STL S0~S1023 Starts STL program 1<br />

Controllers<br />

<strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SA2</strong> <strong>SX2</strong><br />

Explanation:<br />

STL Sn constructs a step point. When STL instruction appears in the program, the main program will<br />

enter a step ladder status controlled by steps. The initial STL program has to start from S0 ~ S9 as<br />

initial step points. The No. of Step points cannot be repeated.<br />

Mnemonic Operands Function Program steps<br />

RET None Ends STL program 1<br />

Controllers<br />

<strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SA2</strong> <strong>SX2</strong><br />

Explanation:<br />

RET instruction indicates the end of a step ladder program starting from S0 ~ S9, i.e. the execution<br />

returns to main program after RET is executed. Maximum 10 initial steps (S0 ~ S9) can be applied<br />

and every initial step requires a RET instruction as an end of STL program. With the step ladder<br />

program composed of STL/RET instructions, SFC can perform a step by step control process.<br />

Program Example:<br />

Step ladder diagram:<br />

M1002<br />

S0<br />

S<br />

S20<br />

S<br />

S30<br />

S<br />

S40<br />

S<br />

X0<br />

X1<br />

X2<br />

X3<br />

ZRST S0 S127<br />

SET<br />

SET<br />

Y0<br />

SET<br />

Y1<br />

SET<br />

Y2<br />

S0<br />

RET<br />

END<br />

S0<br />

S20<br />

S30<br />

S40<br />

SFC:<br />

M1002<br />

S0<br />

X0<br />

S20<br />

X1<br />

S30<br />

X2<br />

S40<br />

X3<br />

S0<br />

Y0<br />

Y1<br />

Y2<br />

5.2 Sequential Function Chart (SFC)<br />

In the application of automation control, a seamless combination between electrical control and<br />

mechanical control is required for completing an automation process. The sequential control of<br />

automation process can be divided into several steps (states). Each step is designated with own<br />

5-2

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

Saved successfully!

Ooh no, something went wrong!