129
LDPI, LDFI, ANDPI, ANDFI, ORPI, ORFI
1
2
3
4
5
6
7
8
5.1
C
ontact Instructions
5.1.3
LDPI, LDF
I, ANDPI, AND
F
I, ORPI, ORF
I
F
unct
io
n
LDPI, LDFI
(1) LDPI is the leading edge pulse NOT operation start instruction that is on only at the leading edge of the specified bit
device (when the bit device goes from on to off) or when the bit device is on or off. If a word device has been specified,
LDPI is on only when the specified bit is 0, 1, or changes from 1 to 0.
(2) LDFI is the trailing edge pulse NOT operation start instruction that is on only at the trailing edge of the specified bit device
(when the bit device goes from off to on) or when the bit device is on or off. If a word device has been specified, LDFI is
on only when the specified bit is 0, 1, or changes from 0 to 1.
ANDPI, ANDFI
(1) ANDPI is a leading edge pulse NOT series connection, and ANDFI is a trailing pulse NOT series connection. ANDPI and
ANDFI execute an AND operation with the previous operation result, and take the resulting value as the operation result.
The on or off data used by ANDPI and ANDFI are indicated in the table below.
ORPI, ORFI
(1) ORPI is a leading edge pulse NOT parallel connection, and ORFI is a trailing pulse NOT parallel connection. ORPI and
ORFI execute an OR operation with the previous operation result, and take the resulting value as the operation result.
The on or off data used by ORPI and ORFI are indicated in the table below.
O
perat
io
n
E
rr
o
r
(1) There is no operation error in the LDPI, LDFI, ANDPI, ANDFI, ORPI, or ORFI instruction.
Device Specified in LDPI or LDFI
LDPI State
LDFI State
Bit Device
Bit Designated for
Word Device
OFF to ON
0 to 1
OFF
ON
OFF
0
ON
ON
ON
1
ON
ON
ON to OFF
1 to 0
ON
OFF
Device Specified in ANDPI or ANDFI
LDPI State
LDFI State
Bit Device
Bit Designated for
Word Device
OFF to ON
0 to 1
OFF
ON
OFF
0
ON
ON
ON
1
ON
ON
ON to OFF
1 to 0
ON
OFF
Device Specified in ORPI or ORFI
ORPI State
ORFI State
Bit Device
Bit Designated for
Word Device
OFF to ON
0 to 1
OFF
ON
OFF
0
ON
ON
ON
1
ON
ON
ON to OFF
1 to 0
ON
OFF