Skip to content

NOT

Overview

The NOT node inverts a boolean input. It is used to negate logic, such as turning a true signal into false.

Use NOT when:

  • Reversing a condition (e.g., triggering an action when a sensor is NOT active).
  • Toggling states or creating complementary logic.

💡 Tip

This node only supports a single input. To handle multiple inputs with inversion, consider using NAND or NOR nodes.

Inputs

NameTypeDescription
inputboolThe boolean value to be inverted.

Outputs

NameTypeDescription
outputboolThe negated result of the input.

Parameters

This node does not have any configuration parameters.

Example

Empty Conveyor Belt Detection

The conveyor belt is allowed to move only when no product is present on it. This NOT node inverts the output from the model to ensure the belt moves only when no product can be inspected.

Configuration:

  • No parameters.

Result: If the input is false (no product detected on the conveyor belt), the NOT output is true, allowing the conveyor belt to move. If the input is true (product presence detected), the output is false, preventing movement while a product is being checked.

Reference:

  • AND — returns true 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