5.6. ANDΒΆ

Purpose
To perform a logical AND operation.
Mathematical description
The output becomes TRUE (=1) if all logical input signals are TRUE. If at least one input signal is FALSE, the output will become FALSE (=0).
Parameters
None.
Remarks
None.
Examples
Table 1 presents the possible output values that can result from two input signals. Table 2 presents the possible output values that can result from three input signals.
Table 1: Possible output values for two input signals
Scenario |
input 1 |
input 2 |
Output |
1 |
TRUE |
TRUE |
TRUE |
2 |
TRUE |
FALSE |
FALSE |
3 |
FALSE |
TRUE |
FALSE |
4 |
FALSE |
FALSE |
FALSE |
Table 2: Possible output values for three input signals
Scenario |
input 1 |
input 2 |
input 3 |
Output |
1 |
TRUE |
TRUE |
TRUE |
TRUE |
2 |
TRUE |
TRUE |
FALSE |
FALSE |
3 |
TRUE |
FALSE |
TRUE |
FALSE |
4 |
FALSE |
TRUE |
TRUE |
FALSE |
5 |
TRUE |
FALSE |
FALSE |
FALSE |
6 |
FALSE |
TRUE |
FALSE |
FALSE |
7 |
FALSE |
FALSE |
TRUE |
FALSE |
8 |
FALSE |
FALSE |
FALSE |
FALSE |