Skip to content

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

NameTypeDescription
input_1..input_NboolDynamic 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

NameTypeDescription
outputboolReturns true if any input is true; returns false only if all inputs are false.

Parameters

ParameterDefaultValid valuesTunable
Number of inputs2The whole number (integer) >= 2
Ignore Nothing values as inputsfalsebool
Result when no inputs have valuesfalsebool

Number of inputs

Defines how many boolean input ports the node will provide for evaluation.

Ignore Nothing values as inputs

  • true: Any Nothing value type inputs are ignored.
  • false: If any input is a Nothing value type, the node output is Nothing.

Result when no inputs have values

  • true: When all inputs are Nothing value type, the output is true.
  • false: When all inputs are Nothing value type, the output is false.

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.

Reference:

  • NOR — returns true only if all inputs are 'false'
  • AND — returns true only if all inputs are 'true'
  • Boolean Trigger — blocks or passes data based on an input value (trigger)