164
5 SEQUENCE INSTRUCTIONS
5.1 Contact Instructions
■
ANDP, ANDF
• ANDP is a rising edge pulse series connection instruction and ANDF is a falling edge pulse series connection instruction.
These instructions perform an AND operation with the previous operation result, and output the operation result. The
following table lists the on/off information used by the ANDP and ANDF instructions.
• If the ANDP instruction is used in the program written in ST or FBD/LD language, ENO turns on when the result of AND
operation between EN and the rising edge of the specified bit device (s) is on. EN will not be an execution condition.
• If the ANDF instruction is used in the program written in ST or FBD/LD language, ENO turns on when the result of AND
operation between EN and the falling edge of the specified bit device (s) is on. EN will not be an execution condition.
■
ORP, ORF
• ORP is a rising edge pulse parallel connection instruction and ORF is a falling edge pulse parallel connection instruction.
These instructions perform an OR operation with the previous operation result, and output the operation result. The
following table lists the on/off information used by the ORP and ORF instructions.
• If the ORP instruction is used in the program written in ST or FBD/LD language, ENO turns when the result of OR operation
between EN and the rising edge of the specified bit device (s) is on. EN will not be an execution condition.
• If the ORF instruction is used in the program written in ST or FBD/LD language, ENO turns when the result of OR operation
between EN and the falling edge of the specified bit device (s) is on. EN will not be an execution condition.
Operation error
There is no operation error.
Device specified by ANDP or ANDF
ANDP status
ANDF status
Bit device
Bit-specified word device
Off
On
0
1
On
Off
Off
0
Off
Off
On
1
Off
Off
On
Off
1
0
Off
On
Device specified by ORP or ORF
ORP status
ORF status
Bit device
Bit-specified word device
Off
On
0
1
On
Off
Off
0
Off
Off
On
1
Off
Off
On
Off
1
0
Off
On
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......