Chapter 7 Second Development Platform VP3000
284
X0
MC
N0
X1
Y0
X2
MC
N1
X3
Y1
MCR
N1
MCR
N0
X10
MC
N0
X11
Y10
MCR
N0
OUT Y1 Drive Coil Y1
⁞
MCR N1
Remove the
connection of the N1
common serial
contacts
⁞
MCR N0
Remove the
connection of the N0
common serial
contacts
⁞
LD X10
Load X10 (the contact
A)
MC N0
The connection of the
NO common serial
contacts
LD X11
Load X11 (the contact
A)
OUT Y10 Drive Coil Y10
⁞
MCR N0
Remove the
connection of the N0
common serial
contacts
Instruction Function
LDP Rising edge detection
Operand
X0–X17 Y0–Y17 M0–M799 T0–159 C0–C79 D0–D399
-
Description
The method of using LDP is the same as using LD, but the actions of the two instructions
differ. LDP saves the current content and store the detected status of rising-edge to the
accumulative register.
Example
Ladder diagram:
X1
Y1
X0
Instruction code Operation
LDP X0
Rising edge of X0
detection starts
AND X1
Connect X1 (the contact
A) in serial
OUT Y1 Drive Coil Y1
Remark
See the specification of each model for the range of operands.
If the status of a designated rising-edge is ON before the PLC is powered, the contact of
the rising-edge is TRUE after PLC is powered.