Publication 1752-UM001A-EN-P - October 2006
144 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 using the In/Out Setting tab in the
Function Block Properties dialog. The default setting is 2 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.
Truth Table for One-input AND Evaluation
Input 1 Output 1
0 0
1 1
Truth Table for Two-input AND Evaluation
Input 1 Input 2 Output 1
0 x 0
x 0 0
1 1 1
Truth Table for Three-input AND Evaluation
Input 1 Input 2 Input3 Output 1
0 x x 0
x 0 x 0
x x 0 0
1 1 1 1
Output 1Input 1
Input 2