beautypg.com

3 basic instructions – Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 156

background image

3 Basic Instructions

DVP-PLC Application Manual

3-2

Instructions for detecting the contacts of rising-/falling-edge

Execution speed (us)

API

Instruction

Code

Function

Operands

ES

SA

EH

STEP Page

90 LDP

Rising-edge detection operation

X, Y, M, S, T, C

5.1

5.1

0.56 (0.88)

3

3-11

91 LDF

Falling-edge detection operation

X, Y, M, S, T, C

5.1

5.1

0.56 (0.88)

3

3-12

92 ANDP

Rising-edge series connection

X, Y, M, S, T, C

4.9

4.9

0.56 (0.88)

3

3-12

93 ANDF

Falling-edge series connection

X, Y, M, S, T, C

4.9

4.9

0.56 (0.88)

3

3-12

94 ORP

Rising-edge parallel connection

X, Y, M, S, T, C

4.9

4.9

0.56 (0.88)

3

3-13

95 ORF

Falling-edge parallel connection

X, Y, M, S, T, C

4.9

4.9

0.56 (0.88)

3

3-13

Rising-/falling-edge output instructions

Execution speed (us)

API

Instruction

Code

Function

Operands

ES

SA

EH

STEP Page

89 PLS

Rising-edge output

Y, M

7.8 7.8 9.92 3

3-13

99 PLF

Falling-edge output

Y, M

7.8 7.8 10.16

3

3-14

End instruction

Execution speed (us)

Instruction

Code

Function

Operands

ES

SA

EH

STEP Page

END

Program ends

N/A 5

5

0.24

1

3-14

Other instructions

Execution speed (us)

API

Instruction

Code

Function

Operands

ES

SA

EH

STEP Page

NOP No

operation

N/A

0.88

0.88

0.16 1

3-15

98 INV Inverting

operation

N/A

1.6

1.6

0.24 1

3-15

P

Pointer

P0 ~ P255

0.88

0.88

- 1

3-15

I

Interruption program marker

I□□□

0.88

0.88

- 1

3-16

Step ladder instructions

Execution speed (us)

Instruction

Code

Function

Operands

ES

SA

EH

STEP Page

STL

Step transition ladder start instruction

S

11.6 10.6 0.56 1 4-1

RET

Step transition ladder return instruction

N/A 7.04

6.04

0.24

1 4-1

Note 1: ES includes ES/EX/SS; SA includes SA/SX/SC; EH includes EH/EH2/SV.

Note 2: For EH series MPU, the execution speed in the brackets ( ) refers to the execution speed of designated

operand M1536 ~ M4095.