beautypg.com

Delta Electronics Extension Digital I/O Module DOP-EXIO14RAE User Manual

Page 77

background image

Appendix C Use of Basic Instructions|DOP-EXIO Series

C-12

Revision March, 2008, Doc. Name: 2007PDD23000014

Mnemonic Functions

PLS

Rising-edge Output

X0~X17 Y0~Y17

M0~M1279

S0~S127

T0~T127 C0~C254

D0~D599

Operand

-

9

9

- - - -

Explanations:
When X0 goes from Off to On (rising-edge trigger), PLS instruction will be executed and M0 will send
out pulses for once of 1 scan time.

Program Example:
Ladder diagram:

Instruction code:

Operation:

LD X0 Loading in A contact of X0
PLS

M0

M0 rising-edge output

LD M0 Loading in contact A of M0

X0

M0

PLS

M0

Y0

SET

Timing Diagram:

X0

M0

Y0

1 scan time

SET Y0 Y0 latched (On)

Mnemonic Functions

PLF

Falling-edge Output

X0~X17 Y0~Y17

M0~M1279

S0~S127

T0~T127 C0~C254

D0~D599

Operand

-

9

9

- - - -

Explanations:
When X0 goes from On to Off (falling-edge trigger), PLF instruction will be executed and M0 will send
out pulses for once of 1 scan time.

Program Example:
Ladder diagram:

Instruction code:

Operation:

LD

X0

Loading in A contact of X0

PLF

M0

M0 falling-edge output

LD

M0

Loading in contact A of M0

X0

M0

PLF

M0

Y0

SET

SET

Y0

Y0 latched (On)