5 SEQUENCE INSTRUCTIONS
5.1 Contact Instructions
101
5
■LDP, LDF
• The LDP instruction is the rising edge pulse operation start instruction, and becomes conductive (ON) only at the rising
edge (OFF to ON) of the specified bit device. When word devices are specified by bits, this instruction becomes conductive
(ON) only when the status of the specified bit changes to 01. When only the LDP instruction is programmed, operation is
the same as the conversion of the instruction under execution to pulse instruction (P).
• The LDF instruction is the falling edge pulse operation start instruction, and becomes conductive (ON) at the falling edge
(ON to OFF) of the specified bit device. When word devices are specified by bits, this instruction becomes conductive only
when the status of the specified bit changes to 10.
■ANDP, ANDF
• The ANDP instruction is the rising edge pulse series connection instruction, and the ANDF instruction is the falling edge
pulse series connection. These instructions AND with the operation result so far, and uses the result as the operation result.
The table below shows the ON/OFF information used by these instructions.
■ORP, ORF
• The ORP instruction is the rising edge pulse parallel connection instruction, and the ORF instruction is the falling edge
pulse parallel connection instruction. These instructions OR with the operation result so far, and use the result as the
operation result. The table below shows the ON/OFF information used by these instructions.
There is no operation error.
Device specified by ANDP, ANDF ANDP status ANDF status
Bit device Bit specification of word
device
OFF to ON 01ONOFF
OFF 0 OFF OFF
ON 1 OFF OFF
ON to OFF 10OFFON
Device specified by ORP, ORF ORP status ORF status
Bit device Bit specification of word
device
OFF to ON 01ONOFF
OFF 0 OFF OFF
ON 1 OFF OFF
ON to OFF 10OFFON
D0
X0
X0
X0
X0
M0
MOVP K0D0MOV K0
PLS M0
Circuit using LDP instruction Circuit not using LDP instruction