Logic Operations

This function block provides various logical operations that can be applied to input data. It simplifies decision-making processes based on boolean or numerical inputs, making it an essential component for logic-based scenarios.

πŸ“₯ Inputs

  • Input 1: This is a generic input that can take any data type (boolean, number, etc.) to perform operations on.

  • Input 2: A second generic input for comparison or logic operations.

πŸ“€ Outputs

  • Boolean: The output will yield a boolean result based on the selected logical operation applied to the inputs.

πŸ•ΉοΈ Controls

Select Logic Method A dropdown menu allowing the user to choose from various logic operations, such as AND, OR, GREATER, SMALLER, and EQUALS.

🎨 Features

Multiple Logic Operations This block supports various logic functions including AND, OR, GREATER, SMALLER, and EQUALS, enhancing flexibility in decision making.

Dynamic Evaluation The results are dynamically evaluated based on inputs and the selected operation, providing real-time feedback.

πŸ“ Usage Instructions

  1. Connect Inputs: Link two data sources that you wish to evaluate logically to the input sockets.

  2. Select Operation: Choose the desired logical operation from the dropdown menu.

  3. Evaluate: Run the block to obtain the boolean output based on the selected operation and input data.

πŸ“Š Evaluation

When executed, this function block will perform the logical operation defined by the user's selection on the connected inputs, returning the result as a boolean value.

πŸ’‘ Tips and Tricks

Combining Logic Operations

You can use multiple instances of this block in succession to create complex logical expressions or conditions based on various inputs.

Utilizing with Number Comparisons

For numerical inputs, combining GREATER and SMALLER operations can efficiently handle comparisons for setting thresholds.

πŸ› οΈ Troubleshooting

No Output

If you do not get any output, verify that both input sockets have been filled appropriately and that the selected operation corresponds to the input types.

Unexpected Results

Ensure that the correct logical operation is selected. If the comparison logic is not behaving as expected, double-check the input values for compatibility.

Last updated