AND (1)
AND (1)
ID 1
Application: |
PLC |
SIM |
Group: LOGIC
Short description:
The function performs the operation of a multi-input AND gate.
Inputs (1-10):
no. |
type |
impulse |
mark |
notes |
1 |
B |
no |
IN1 |
Binary input no. 1 |
2 |
B |
no |
IN2 |
Binary input no. 2 |
… |
… |
… |
… |
… |
10 |
B |
no |
IN10 |
Binary input no. 10 |
Outputs (1):
no. |
type |
Impulse |
mark |
notes |
1 |
B |
no |
OUT |
Output function value |
Settings:
no. |
type |
name |
notes |
1 |
I |
Inputs |
Number of function inputs |
Function operation:
Function performs the operation of a multi-input AND logic gate. The following is the truth table for the AND function for the two input signals X and Y. When creating a function block, specify the number of function inputs (in the range 2 to 10).
Truth table for the AND block
Y X |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
According to the presented truth table, the function returns a high state on the OUT output, only when there is a high state on all its IN inputs. When a low state appears on any of the IN inputs, the function returns a low state.
R registers and M markers used: none