Skip to main content

Command: Storage → Set

Shortcut: S

Function: The command extends the selected element to include the Set functionality. This is possible with a coil, but also with certain block outputs and outputs.

As soon as the input signal becomes TRUE, this state will be saved. The value remains TRUE until it is reset by an element with Reset functionality (R) assigned to the same variable.

Whether or not the value persists through a controller restart or a power failure depends on the variable being configured as remanent (RETAIN or PERSISTENT).

Call: Context menu

Requirement: A valid element is selected.

Example 21. Example
_c4ld_img_tutorial_prg_setreset.png


The Modification → Remove command (- key) will cancel the storage function.