Latch
Applicable to OS V1.0-1.4
The Latch component temporarily latches the Out slot value based on the Clock slot value–if the Clock slot is set to true, the Out slot value is latched, regardless of changes to the In slot. The component has the Reset action, which brings the Clock slot value back to false.
The Latch component has the following slots:
- Status: indicates the current status of the component (OK, Fault).
- Out: the output value transferred from the In slot;
- In: the input value;
- Clock: latches the Out value if the Clk value changes from false to true;
- Reset: allows to reset the Clock slot value back to false, which releases the Out slot value from latching.
The Latch component has the following action:
- Reset: allows to reset the Clock slot value back to false, which releases the Out slot value from latching.
ActionTrigger Extension
The ActionTrigger extension is designed to invoke any action that is available for the component. The extension triggers an action selected in the Action Name on the rising edge of the Action Trigger slot. If the action has parameters to set, the parameter is taken from a relevant slot automatically added to the extension (Analog Value/Binary Value/String Value).
It is possible to add more than one ActionTrigger extension to the component (for example, one for each action in the component).
The extension is added from the context menu of the component.
![](../../__attachments/542375967/41%20Action%20Trigger.png?inst-v=99fab5a7-671f-4b8f-9877-4c441fa1b4fd)
The ActionTrigger extension has the following slots:
Action Name: allows to select an action to invoke;
Action Trigger: triggers an action selected in the Action Name slot;
Action Analog Value/Action Binary Value/Action String Value: a slot added automatically to the extension if an action selected in the Action Name slot has any specific parameters to set (depending on the type of action and its parameters, the relevant type of value is matched).