DVP - ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming

STL diagram. However, there are restrictions on some of the instructions. Care should be taken when using the instructions listed in the table below.

Basic Instructions Applicable in a Step

 

Basic instruction

LD/LDI/LDP/LDF

 

 

 

 

 

AND/ANI/ANDP/ANDF

ANB/ORB

 

 

Step point

 

OR/ORI/ORP/ORF

MPS/MRD/MPP

 

INV/OUT/SET/RST

 

 

 

 

Primary step point/ General step point

Yes

Yes

 

 

 

 

Diverging step

General output

Yes

Yes

 

point/

 

 

 

 

 

 

Converging

Step point transfer

Yes

Yes

 

step point

 

 

 

 

 

 

 

MC/MCR

No

No

No

1.DO NOT use MC/MCR instruction in the step.

2.DO NOT use STL instruction in a general subroutine or interruption subroutine.

3.CJ instruction can be used in STL instruction, however this is not recommended because the actions will thus become more complicated.

4.Position of MPS/MRD/MPP instruction:

Ladder diagram:

 

Instruction code:

Explanation:

 

 

LD X0

 

 

 

 

 

 

 

 

STL

Sn

MPS/MRD/MPP instruction

 

 

 

 

 

 

 

 

 

 

LD

X0

cannot be used directly on

 

 

S n X0 MPS X1

 

 

 

 

MPS

 

 

 

S

 

 

 

 

 

 

 

 

Y1

 

the new bus. You have to

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AND

X1

 

 

 

 

 

 

 

 

X2

 

execute LD or LDI

 

 

 

 

 

 

 

 

M0

OUT

Y1

 

 

 

 

 

 

 

 

 

 

 

 

BUS

MRD

 

 

 

instruction first before

 

 

 

 

 

X3

 

MRD

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Y2

AND

X2

applying MPS/MRD/MPP.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MPP

 

 

 

 

 

OUT

M0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MPP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AND

X3

 

 

 

 

 

 

 

 

 

 

 

 

 

OUT

Y2

 

Other Points to Note:

1.The instruction used for transferring the step (SET S□ or OUT S□) are suggested to be executed after all the relevant outputs and actions in the current step are completed.

The execution results by the PLC are the same. However, if there are many conditions or actions in S10, it is recommended to modify the diagram in the left into the diagram in the right, which executes SET S20 after all actions are completed. The sequence will be more understandable and clear with this modification.

5 - 8

Page 630
Image 630
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE Ld/Ldi/Ldp/Ldf And/Ani/Andp/Andf Anb/Orb, Or/Ori/Orp/Orf Mps/Mrd/Mpp Inv/Out/Set/Rst