Appearance
AND
Overview
The AND node is a logical gate that returns true only when all of its inputs are true. It is commonly used to combine multiple conditions into a single decision point.
Use AND when:
- Multiple criteria must be met before proceeding with an action.
- Requiring several sensor confirmations to trigger an event.
💡 Tip
All connected inputs are evaluated. If even one input is false, the entire node outputs false. Ensure all relevant signals are correctly linked to avoid unexpected flow blocks.
Inputs
| Name | Type | Description |
|---|---|---|
| input_1..input_N | bool | Dynamic boolean inputs to be evaluated. |
⚠️ Warning
All configured input ports must be connected for the node to function correctly. If an input is missing, the node will not produce an output.
Outputs
| Name | Type | Description |
|---|---|---|
| output | bool | Returns true if all inputs are true; otherwise returns false. |
Parameters
| Parameter | Default | Valid values | Tunable |
|---|---|---|---|
| Number of inputs | 2 | The whole number (integer) >= 2 | ❌ |
| Ignore Nothing values as inputs | false | bool | ❌ |
| Result when no inputs have values | false | bool | ❌ |
Number of inputs
Defines how many boolean input ports the node will provide for comparison.
Ignore Nothing values as inputs
- true: Any
Nothingvalue type inputs are ignored. - false: If any input is a
Nothingvalue type, the node output isNothing.
Result when no inputs have values
- true: When all inputs are
Nothingvalue type, the output istrue. - false: When all inputs are
Nothingvalue type, the output isfalse.
Example
Safety interlocking
A machine should only start if the guard is closed AND the operator presses the start button.
Configuration:
- Number of inputs:
2 - Ignore Nothing values as inputs:
false - Result when no inputs have values:
false
Result: When both the guard sensor and start button inputs are true, the output is true, enabling the machine to start.
Related links
Reference:
- NAND — returns
trueif at least one input is false - OR — returns
trueif at least one input is true - NOT — inverts boolean values
- Boolean Trigger — blocks or passes data based on a trigger