beautypg.com

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

Page 78

background image

Appendix C Use of Basic Instructions|DOP-EXIO Series

Revision March, 2008, Doc. Name: 2007PDD23000014

C-13

Timing Diagram:

1 scan time

X0

M0

Y0

Mnemonic Functions

END

Program End

Operand None

Explanations:
END instruction has to be placed in the end of a ladder diagram or instruction program. DOP-EXIO
series will start to scan from address 0 to END instruction and return to address 0 to restart the scan.

Program Example:
Ladder diagram:

Instruction code:

Operation:

LD X0

Loading in B contact of X0

AND X1

Series connecting A contact of X1

OUT Y1

Driving Y1 coil

X0

X1

Y1

END

END

Program end

Mnemonic Functions

NOP

No Operation

Operand None

Explanations:
NOP instruction does not conduct any operations in the program; therefore, after the execution of NOP,
the existing logical operation result will be kept. If the user wants to delete a certain instruction without
altering the length of the program, the user can use NOP instruction. If the user wants to delete a
certain instruction temporarily, the user can also use NOP instruction.

Program Example:
Ladder diagram:

Instruction code:

Operation:

LD

X0

Loading in B contact of X0

NOP

No operation

X0

Y1

NOP

NOP instruction will be

omitted in the ladder diagram

OUT

Y1

Driving Y1 coil