Skip to content

Logic Operation

Overview

The Logic Operation node is a configurable logic gate that evaluates one or more boolean inputs.

⚠️ Warning

The node's name, icon, and I/O ports adapt based on node configuration.

Use Logic Operation when:

  • You need to use a logical operation node.
  • You want to invert a signal or perform a conditional exclusion like XOR.

Inputs

NameTypeDescription
input_1..NboolOne or more boolean values to be evaluated.

Outputs

NameTypeDescription
outputboolThe boolean result of the selected operation.

Parameters

ParameterDefaultValid valuesTunable
Operatorandand, nand, or, nor, xor, not
Number of inputs2int

Operator

Determines the boolean logic applied to the incoming signals.

  • and/nand/or/nor/xor behavior provides standard truth table results for the combined inputs.
  • not behavior ignores all but the first input and returns its inverse.

Number of inputs

Defines the number of dynamic input ports available on the node.

  • Lower values result in fewer inputs, suitable for simple binary logic.
  • Higher values allow for evaluating many conditions simultaneously.

⚠️ Warning

The node switches to a single-output configuration when the NOT logical operation is set.

Example

Conditional Process Control

You have two mandatory criteria that must be satisfied before the inspection begins. This setup prevents the system from running unnecessary checks on empty space or when the detection logic is intentionally deactivated.

Configuration:

  • Operator: and
  • Number of inputs: 2

Result: The output returns true only if both input_1 (Product Present) and input_2 (Check Enabled) are confirmed as true. This output triggers the start of the defect detection process.

Reference:

  • AND — returns true only if all inputs are 'true'
  • NAND — returns true if at least one input is false
  • OR — returns true if at least one input is true
  • NOR — returns true only if all inputs are 'false'
  • XOR — returns true only if the inputs are different
  • NOT — inverts boolean values