Appearance
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
| Name | Type | Description |
|---|---|---|
| input_1..N | bool | One or more boolean values to be evaluated. |
Outputs
| Name | Type | Description |
|---|---|---|
| output | bool | The boolean result of the selected operation. |
Parameters
| Parameter | Default | Valid values | Tunable |
|---|---|---|---|
| Operator | and | and, nand, or, nor, xor, not | ❌ |
| Number of inputs | 2 | int | ❌ |
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.
Related links
Reference: