Ldpi, Ldfi; Andpi, Andfi; Orpi, Orfi - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

Function

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.
Device Specified in LDPI or LDFI
Bit Designated for
Bit Device
Word Device
OFF
to
ON
OFF
ON
ON to OFF

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.
Device Specified in ANDPI or ANDFI
Bit Designated for
Bit Device
Word Device
OFF
ON
to
OFF
ON
ON to OFF

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.
Device Specified in ORPI or ORFI
Bit Designated for
Bit Device
Word Device
OFF
ON
to
OFF
ON
ON to OFF
Operation Error
(1) There is no operation error in the LDPI, LDFI, ANDPI, ANDFI, ORPI, or ORFI instruction.
LDPI State
0 to 1
OFF
0
ON
1
ON
1 to 0
ON
LDPI State
0 to 1
OFF
0
ON
1
ON
1 to 0
ON
ORPI State
0 to 1
OFF
0
ON
1
ON
1 to 0
ON
LDPI, LDFI, ANDPI, ANDFI, ORPI, ORFI
LDFI State
ON
ON
ON
OFF
LDFI State
ON
ON
ON
OFF
ORFI State
ON
ON
ON
OFF
1
2
3
4
5
6
7
8
129

Advertisement

Table of Contents
loading

Table of Contents