Sets the target boolean variable to FALSE, clearing a previously latched value.
The RESET instruction forces the target variable to FALSE when the action activates. It is the counterpart to SET and is used to clear latched signals.
Just like SET, the effect persists after the step deactivates - the variable stays FALSE until another instruction changes it.
RESETis typically paired with aSETinstruction on the same variable in a different step. Make sure everySEThas a correspondingRESETpath in your program.
ActionQualifier.R (defaults to ActionInstruction.RESET)
ActionInstruction.RESETis the default instruction for theActionQualifier.Rqualifier and can be omitted.
{GIF:HERE} - Screenshot showing a step named "StepName" with an action on "variable_name" using the R qualifier and RESET instruction in the visual sequence editor
from automation_machine import Sequence, StepType, ActionQualifier
class Example(Sequence):
def setup(self):
step = self.add_step(StepType.INITIAL, name="StepName")
step.add_action("variable_name", "Description", qualifier=ActionQualifier.R)