11. Logical operators
This section is intended for users who have basic knowledge of
logical operators.
Status high: 1
Status low: 0.
Related information
11.1 AND operator
The "AND" function is used when both sources must be active
(status high = 1) for the output signal to change its status (0 to 1). If
just one of the source signals changes to low (1 to 0), the output
signal also changes to low (1 to 0).
See the figure below.
1st source
1st source
Output signal
0
1
0
1
0
0
1
1
1
0
0
0
1
2
3
4
5
6
&
TM046713
Logical AND function
Pos.
Description
1
1st source
2
2nd source
3
1st source
4
2nd source
5
Output signal
6
Output signal
11.2 OR operator
The "OR" function is used when only one of the sources must be
active (status high = 1) for the output signal to change its status (0
to 1). If both sources are activated, the output signal remains
unchanged (1).
See the figure below.
1st source
2nd source
Output signal
0
1
1
1
0
1
1
1
1
0
0
0
1
2
3
4
5
6
x ≤ 1
TM046714
Logical OR function
Pos.
Description
1
1st source
2
2nd source
3
1st source
4
2nd source
5
Output signal
6
Output signal
72
English (GB)