Set - Reset

This function block provides a simple mechanism for controlling a boolean output based on incoming set and reset signals. It acts logically to maintain state based on user-defined conditions.

πŸ“₯ Inputs

Set This input is a boolean signal that, when activated (set to True), triggers the output to become True.

Reset This input is a boolean signal that, when activated (set to True), resets the output to False.

πŸ“€ Outputs

Boolean This output will reflect the state resulting from the set and reset inputs.

πŸ•ΉοΈ Controls

This function block does not have additional interactive controls.

🎨 Features

Persistent State Management The block retains the previous output state unless explicitly reset, allowing for conditional logic implementations in scenarios.

πŸ“ Usage Instructions

  1. Connect Inputs: Connect the appropriate boolean signals to the Set and Reset inputs.

  2. Trigger Set/Reset: Activate the Set input to change the output to True, or activate the Reset input to set the output to False.

  3. Evaluate: Run the block to see the updated output based on the input signals.

πŸ“Š Evaluation

When executed, the block evaluates the connected signals. The output will be True if the Set signal is active, False if the Reset signal is active, or retains its previous state if neither is active.

πŸ’‘ Tips and Tricks

Chaining Logic Operations

You can connect the output of this block into other logical operations like And, Or, or Not to create more complex behavior based on a straightforward set/reset mechanism.

Combining with Timers or Delays

You can use this block in conjunction with blocks like Delay Step, ON Delay, or OFF Delay to create conditions where the output must remain True or False for a specified period before subsequent actions are triggered.

πŸ› οΈ Troubleshooting

Sustained Output Unexpected

If you notice that the output does not change as expected, check the signals connected to the Set and Reset inputs. Ensure they are being controlled correctly and sending the appropriate boolean states.

Output Not Retained

If you are expecting the output to persist but it is not, ensure that neither the Set nor Reset inputs are being triggered at the same time, which may cause unintended resets.

Last updated