beautypg.com

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

Page 167

background image

3 Basic Instructions

DVP-PLC Application Manual

3-13

Mnemonic Function Program

steps

ORP

Rising-edge parallel connection

1

Controllers

ES

EX

SS

SA

SX

SC

EH

SV

X0 ~ X377

Y0 ~ Y377 M0 ~ M4095 S0 ~ S1023

T0 ~ T255

C0 ~ C255

D0 ~ D9999

Operand

9

9

9

9

9

9

-

Explanations:

The ORP instructions are used in the parallel connection of the contact’s rising-edge detection.

Program Example:

Ladder diagram:

Instruction code:

Operation:

LD

X0

Loading in A contact of X0

ORP

X1

X1 rising-edge detection in parallel connection

X0

X1

Y1

OUT Y1

Driving

Y1

coil

Mnemonic Function Program

steps

ORF

Falling-edge parallel connection

1

Controllers

ES

EX

SS

SA

SX

SC

EH

SV

X0 ~ X377

Y0 ~ Y377 M0 ~ M4095 S0 ~ S1023

T0 ~ T255

C0 ~ C255

D0 ~ D9999

Operand

9

9

9

9

9

9

-

Explanations:

The ORP instructions are used in the parallel connection of the contact’s falling-edge detection.

Program Example:

Ladder diagram:

Instruction code:

Operation:

LD

X0

Loading in A contact of X0

ORF

X1

X1 falling-edge detection in parallel connection

X0

X1

Y1

OUT Y1

Driving

Y1

coil

Mnemonic Function Program

steps

PLS

Rising-edge output

1

Controllers

ES

EX

SS

SA

SX

SC

EH

SV

X0 ~ X377

Y0 ~ Y377 M0 ~ M4095 S0 ~ S1023

T0 ~ T255

C0 ~ C255

D0 ~ D9999

Operand

-

9

9

-

-

-

-

Explanations:

When X0 goes from Off to On (rising-edge trigger), PLS instruction will be executed and S will send out pulses for

once of 1 scan time.