User Manual
204 Rockwell Automation Publication 1752-UM001E-EN-P - June 2014
Appendix C Logic Functions Command Reference
AND Instruction
The output is the logical AND of up to eight input conditions. The number of
inputs can be set by using the In/Out Setting tab in the Function Block
Properties dialog box. The default setting is two inputs.
AND Instruction Diagram
AND Instruction Truth Tables
In the truth table, 0 is off and 1 is on. Lowercase x is don’t care.
Table 34 - Truth Table for One-input AND Evaluation
Input 1 Output 1
00
11
Table 35 - Truth Table for Two-input AND Evaluation
Input 1 Input 2 Output 1
0x0
x00
111
Table 36 - Truth Table for Three-input AND Evaluation
Input 1 Input 2 Input3 Output 1
0xx0
x0x0
xx00
1111
Output 1Input 1
Input 2