Mitsubishi MELSEC Q Series Programming Manual page 150

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

LDPI,LDFI,ANDPI,ANDFI,ORPI,ORFI
(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.
Operation Error
(1) There are no operation errors with LDPI, LDFI, ANDPI, ANDFI, ORPI, or ORFI instruction.
5-8
Device Specified in LDPI or LDFI
Bit Designated for
Bit Device
Word Device
OFF
to
ON
0 to 1
OFF
0
ON
1
ON to OFF
1 to 0
Device Specified in ANDPI or ANDFI
Bit Designated for
Bit Device
Word Device
OFF
to
ON
0 to 1
OFF
0
ON
1
ON to OFF
1 to 0
Device Specified in ORPI or ORFI
Bit Designated for
Bit Device
Word Device
OFF
ON
0 to 1
to
OFF
0
ON
1
ON to OFF
1 to 0
LDPI State
LDFI State
OFF
ON
ON
ON
ON
ON
OFF
ON
LDPI State
LDFI State
OFF
ON
ON
ON
ON
ON
OFF
ON
ORPI State
ORFI State
OFF
ON
ON
ON
ON
ON
OFF
ON

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents