beautypg.com

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

Page 67

background image

Appendix C Use of Basic Instructions|DOP-EXIO Series

C-2

Revision March, 2008, Doc. Name: 2007PDD23000014

Explanation:
The AND instruction is used in the series connection of A contact. The functions are to read out the
status of present specific series connection contacts and perform the “AND” operation with the logical
operation result obtained. The final result will be store in the accumulative register.

Program Example:
Ladder diagram:

Instruction code:

Operation:

LDI

X1

Loading in contact B of X1

AND

X0

Connecting to contact A of X0 in series

X0

X1

Y1

OUT

Y1

Driving Y1 coil

Mnemonic Functions

ANI

Series Connection- B Contact

X0~X17 Y0~Y17

M0~M1279

S0~S127

T0~T127 C0~C254

D0~D599

Operand

9

9

9

9

9

9

-

Explanation:
The ANI instruction is used in the series connection of B contact. The functions are to read out the
status of present designated series connection contacts and perform the “AND” operation with the
logical operation result obtained. The final result will be store in the accumulative register.

Program Example:
Ladder diagram:

Instruction code:

Operation:

LD

X1

Loading in contact A of X1

ANI

X0

Connecting to contact B of X0 in series

X0

X1

Y1

OUT

Y1

Driving Y1 coil

Mnemonic Functions

OR

Parallel Connection- A Contact

X0~X17 Y0~Y17

M0~M1279

S0~S127

T0~T127 C0~C254

D0~D599

Operand

9

9

9

9

9

9

-

Explanation:
The OR instruction is used in the parallel connection of A contact. The functions are to read out the
status of present designated parallel connection contacts and perform the “OR” operation with the
logical operation result obtained. The final result will be store in the accumulative register.