beautypg.com

3 basic instructions, 1 basic instructions and step ladder instructions – Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 155

background image

3 Basic Instructions

DVP-PLC Application Manual

3-1

3.1 Basic Instructions and Step Ladder Instructions

Basic Instructions

Execution speed (us)

Instruction

Code

Function

Operands

ES

SA

EH

STEP Page

LD

Loading in A contact

X, Y, M, S, T, C

3.8

3.8

0.24 (0.56) 1~3

3-3

LDI

Loading in B contact

X, Y, M, S, T, C

3.88

3.88 0.24 (0.56) 1~3

3-3

AND

Series connection- A contact

X, Y, M, S, T, C

2.32

2.32 0.24 (0.56) 1~3

3-3

ANI

Series connection- B contact

X, Y, M, S, T, C

2.4

2.4

0.24 (0.56) 1~3

3-4

OR

Parallel connection- A contact

X, Y, M, S, T, C

2.32

2.32 0.24 (0.56) 1~3

3-4

ORI

Parallel connection- B contact

X, Y, M, S, T, C

2.4

2.4

0.24 (0.56) 1~3

3-5

ANB

Series connection- loop blocks

N/A

1.76

1.76

0.24 1~3

3-5

ORB

Parallel connection- loop blocks

N/A

1.76

1.76

0.24 1~3

3-6

MPS

Store the current result of the internal
PLC operations

N/A 1.68

1.68

0.24 1~3

3-6

MRD

Reads the current result of the
internal PLC operations

N/A 1.6

1.6

0.24 1

3-6

MPP

Pops (recalls and removes) the
currently stored result

N/A 1.6

1.6

0.24 1

3-6

Output instructions

Execution speed (us)

Instruction

Code

Function

Operands

ES

SA

EH

STEP Page

OUT

Output coil

Y, M, S

5.04

5.04 0.24 (0.56) 1~3

3-7

SET

Latched(On)

Y, M, S

3.8

3.8

0.24 (0.56) 1~3

3-7

RST

Clear the contacts or the registers

Y, M, S, T, C, D, E, F

7.8

7.8

0.24 (0.56)

3

3-8

Timers, Counters

Execution speed (us)

API

Instruction

Code

Function

Operands

ES

SA

EH

STEP Page

96 TMR

16-bit timer

T-K or T-D

10.6

10.6

9.6 4

3-8

97 CNT

16-bit counter

C-K or C-D (16 bits)

9.7

9.7

12.8 4

3-9

97 DCNT

32-bit counter

C-K or C-D (32 bits)

10.3

10.3

14.3 6

3-9

Main control instructions

Execution speed (us)

Instruction

Code

Function

Operands

ES

SA

EH

STEP Page

MC

Master control start

N0 ~ N7

5.6

5.6

5.6

3

3-10

MCR

Master control reset

N0 ~ N7

5.7

5.7

5.7

3

3-10