EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 139

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 SEQUENCE INSTRUCTIONS
5.1 Contact Instructions
137
5
ANDPI, ANDFI
ANDPI is a rising edge pulse NOT series connection, and ANDFI is a falling 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
ORPI is a rising edge pulse NOT parallel connection, and ORFI is a falling 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
There is no operation error in the LDPI, LDFI, ANDPI, ANDFI, ORPI, or ORFI instruction.
Program example
The following program stores 0 into D0 when X0 is on, off, or turns from on to off, or M0 is on, off, or turns from off to on.
The following program stores 0 into D0 when X0 is on and b10 (bit 11) of D0 is on, off, or turns from on to off.
Device specified in ANDPI or ANDFI LDPI state LDFI state
Bit device Word device bit designation
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 Word device bit designation
OFF to ON 0 to 1 OFF ON
OFF 0 ON ON
ON 1 ON ON
ON to OFF 1 to 0 ON OFF
[Ladder Mode] [List Mode]
[Ladder Mode] [List Mode]
Step
Instruction Device
Step
Instruction Device

Table of Contents

Related product manuals