Skip to content

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

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

NameTypeDescription
outputboolReturns true if all inputs are true; otherwise returns 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 comparison.

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

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.

Reference:

  • NAND — returns true if at least one input is false
  • OR — returns true if at least one input is true
  • NOT — inverts boolean values
  • Boolean Trigger — blocks or passes data based on a trigger