Appearance
OR
Overview
The OR node is a logical gate that returns true if at least one of its inputs is true. It is useful for triggering actions from multiple independent sources.
Use OR when:
- Any one of several conditions should trigger an event.
- Combining various error or warning signals into a single notification flag.
💡 Tip
Unlike the AND node, the OR node will output true as soon as any single input is true, regardless of the state of the other inputs.
Inputs
| Name | Type | Description |
|---|---|---|
| input_1..input_N | bool | Dynamic boolean input ports 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 any input is true; returns false only if all inputs are 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 evaluation.
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
Multi-point emergency stop
A production line can be stopped by any of three emergency stop buttons distributed along the belt.
Configuration:
- Number of inputs:
3 - Ignore Nothing values as inputs:
false - Result when no inputs have values:
false
Result: If any of the three emergency button inputs becomes true, the OR output becomes true, signaling the line to stop.
Related links
Reference:
- NOR — returns
trueonly if all inputs are 'false' - AND — returns
trueonly if all inputs are 'true' - Boolean Trigger — blocks or passes data based on an input value (trigger)