Chapter 16 PLC Function Applications
MS300
(High Speed Model)
16-41
Command Function
LDP
Start of forward edge detection action
Operand
X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399
-
The LDP command has the same usage as LD, but its action is different; its function is
to save current content, while also saving the detected state of the rising edge of the
contact to the cumulative register.
Ladder diagram:
X1
Y1
X0
Command
code:
Description:
LDP
X0
Start of X0 forward edge detection
action
AND
X1
Create series connection to
contact A of X1
OUT Y1 Drive
Y1
coil
Please refer to the function specifications table for each device in series for the scope
of usage of each operand.
A rising edge contact will be TRUE after power is turned on if the rising edge contact is
On before power is turned on to the PLC.
Command Function
LDF
Start of reverse edge detection action
Operand
X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399
-
The LDF command has the same usage as LD, but its action is different; its function is
to save current content while also saving the detected state of the falling edge of the
contact to the cumulative register.
Ladder diagram:
X1
Y1
X0
Command code:
Description:
LDF
X0
Start of X0 reverse
edge detection action
AND
X1
Create series
connection to contact A
of X1
OUT Y1
Drive
Y1
coil
Command Function
ANDP
Forward edge detection series connection
Operand
X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399
-
The ANDP command used for a contact rising edge detection series connection.
Ladder diagram:
X1
Y1
X0
Command code:
Description:
LD
X0
Load Contact A of X0
ANDP
X1
X1 Forward edge
detection series
connection
OUT Y1
Drive
Y1
coil
Summary of Contents for VFD11AMS21AFSHA
Page 5: ...IV This page intentionally left blank...
Page 8: ...Chapter 1 Introduction MS300 High Speed Model 1 3 1 2 Model Name 1 3 Serial Number...
Page 20: ...Chapter 3 Installation MS300 High Speed Model 3 3...
Page 21: ...Chapter 3 Installation MS300 High Speed Model 3 4 This page intentionally left blank...
Page 24: ...Chapter 4 Wiring MS300 High Speed Model 4 3 4 1 Wiring...
Page 25: ...Chapter 4 Wiring MS300 High Speed Model 4 4 Figure 1...
Page 27: ...Chapter 4 Wiring MS300 High Speed Model 4 6 4 2 System Wiring Diagram...
Page 43: ...Chapter 6 Control Terminals MS300 High Speed Model 6 6 This page intentionally left blank...
Page 91: ...Chapter 8 Optional Cards MS300 High Speed Model 8 8 Frame F Fig 8 16...
Page 115: ...Chapter 9 Specification MS300 High Speed Model 9 10 This page intentionally left blank...
Page 123: ...Chapter 10 Digital Keypad MS300 High Speed Model 10 8 This page intentionally left blank...
Page 293: ...Chapter 13 Warning Codes MS300 High Speed Model 13 6 This page intentionally left blank...
Page 303: ...Chapter 14 Error Codes MS300 High Speed Model 14 10 This page intentionally left blank...