Andp, Andf – Delta Electronics Extension Digital I/O Module DOP-EXIO14RAE User Manual
Page 75
![background image](/manuals/79046/75/background.png)
Appendix C Use of Basic Instructions|DOP-EXIO Series
C-10
Revision March, 2008, Doc. Name: 2007PDD23000014
Mnemonic Functions
LDF
Falling-edge Detection Operation
X0~X17 Y0~Y17
M0~M1279
S0~S127
T0~T127 C0~C254
D0~D599
Operand
9
9
9
9
9
9
-
Explanations:
The method of using LDF is the same as using LD, but the actions of the two instructions differ. LDF
saves the current content and store the detected status of falling-edge to the accumulative register.
Program Example:
Ladder diagram:
Instruction code:
Operation:
LDF
X0
Starting X0 falling-edge detection
AND
X1
Series connecting A contact of X1
X0
X1
Y1
OUT Y1
Driving
Y1
coil
Mnemonic Functions
ANDP
Riding-edge Series Connection
X0~X17 Y0~Y17
M0~M1279
S0~S127
T0~T127 C0~C254
D0~D599
Operand
9
9
9
9
9
9
-
Explanations:
ANDP instruction is used in the series connection of the contacts’ rising-edge detection.
Program Example:
Ladder diagram:
Instruction code:
Operation:
LD
X0
Loading in A contact of X0
ANDP
X1
X1 rising-edge detection in series
connection
X1
X0
Y1
OUT Y1
Driving
Y1
coil
Mnemonic Functions
ANDF
Falling-edge Series Connection
X0~X17 Y0~Y17
M0~M1279
S0~S127
T0~T127 C0~C254
D0~D599
Operand
9
9
9
9
9
9
-
Explanations:
ANDF instruction is used in the series connection of the contacts’ falling-edge detection.