beautypg.com

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

Page 160

background image

3 Basic Instructions

DVP-PLC Application Manual

3-6

Mnemonic Function Program

steps

ORB

Parallel connection- loop blocks

1

Controllers

ES

EX

SS

SA

SX

SC

EH

SV

Operand

N/A

Explanations:

To perform the “OR” operation of the preserved logic results and content in the accumulative register.

Program Example:

Ladder diagram:

Instruction code:

Operation:

LD

X0

Loading in contact A of X0

ANI

X1

Connecting to contact B of X1 in series

LDI

X2

Loading in contact B of X2

AND

X3

Connecting to contact A of X3 in series

ORB

Connecting circuit block in parallel

X0

X2

Y1

X1

X3

ORB

Block A

Block B

OUT Y1

Driving

Y1

coil

Mnemonic Function

Program

steps

MPS

Store the current result of the
internal PLC operations

1

Controllers

ES

EX

SS

SA

SX

SC

EH

SV

Operand

N/A

Explanations:

To save the content in the accumulative register into the operational result (the pointer of operational result will plus

1).

Mnemonic Function

Program

steps

MRD

Reads the current result of the
internal PLC operations

1

Controllers

ES

EX

SS

SA

SX

SC

EH

SV

Operand

N/A

Explanations:

To read the operational result and store it into the accumulative register (the pointer of operational result stays intact)

.

Mnemonic Function

Program

steps

MPP

Pops (recalls and removes) the
currently stored result

1

Controllers

ES

EX

SS

SA

SX

SC

EH

SV

Operand

N/A

Explanations:

To retrieve the previous preserved logical operation result and store it into the accumulative register (the pointer of

operational result will minus 1)

.