5 SEQUENCE INSTRUCTIONS
5.1 Contact Instructions
135
5
■ANDP, ANDF
• ANDP is a rising edge pulse series connection instruction, and ANDF is a falling edge pulse series connection instruction.
They perform an AND operation with the operation result to that point, and take the resulting value as the operation result.
The ON/OFF data used by ANDP and ANDF are indicated in the table below:
■ORP, ORF
• ORP is a rising edge pulse parallel connection instruction, and ORF is a falling edge pulse serial connection instruction.
They perform an OR operation with the operation result to that point, and take the resulting value as the operation result.
The ON/OFF data used by ORP and ORF are indicated in the table below:
• There is no operation error in the LDP, LDF, ANDP, ANDF, ORP, or ORF instruction.
• The following program executes the MOV instruction at input X0, or at the rising edge of b10 (bit 11) of data register D0.
*1 Word device bit designation is performed in hexadecimal.
Bit b10 of D0 will be D0.A.
Device specified in ANDP or ANDF ANDP state ANDF state
Bit device Word device bit designation
OFF to ON 0 to 1 ON OFF
OFF 0 OFF
ON 1
ON to OFF 1 to 0 ON
Device specified in ORP or ORF ORP state ORF state
Bit device Word device bit designation
OFF to ON 0 to 1 ON OFF
OFF 0 OFF
ON 1
ON to OFF 1 to 0 ON
[Ladder Mode] [List Mode]