Delta Electronics Extension Digital I/O Module DOP-EXIO14RAE User Manual
Page 79
Appendix C Use of Basic Instructions|DOP-EXIO Series
C-14
Revision March, 2008, Doc. Name: 2007PDD23000014
Mnemonic Functions
INV
Inverting Operation
Operand None
Explanations:
The logical operation result before INV instruction will be inverted and stored in the accumulative
register.
Program Example:
Ladder diagram:
Instruction code:
Operation:
LD
X0
Loading in A contact of X0
INV
Inverting the operation result
X0
Y1
OUT
Y1
Driving Y1 coil
Mnemonic Functions
P
Pointer
Operand P0~P63
Explanations:
Pointer P is used in 00 CJ and 01 CALL instructions. The use of P does not need to start from No. 0,
and the No. of P cannot be repeated; otherwise, unexpected errors may occur.
Program Example:
Ladder diagram:
Instruction code:
Operation:
LD
X0
Loading in A contact of X0
CJ
P10
From instruction CJ to P10
:
P10
Pointer P10
LD
X1
Loading in A contact of X1
X0
Y1
CJ
P10
X1
P10
OUT Y1
Driving
Y1
coil
Mnemonic Functions
STL
Step Transition Ladder Start Command
X0~X17 Y0~Y17
M0~M1279
S0~S127
T0~T127 C0~C254
D0~D599
Operand
- - - 9
- - -
Explanations:
STL Sn constructs a step. When STL instruction appears in the program, the program will enter a step
ladder diagram status controlled by steps. The initial status has to start from S0 ~ S9. RET instruction