Skip to content

Variable to save (espide_pv_variable)

What it does: Adds one project variable to the list inside the save variables to file block.

espide_pv_variable

Options and connections

Select an existing variable in the drop-down list. Connect more of these items together. It belongs to entry variables of the storage block; they do not store or return a value in the program separately.

The value is saved at the time the parent save block is executed. Thus, selecting a variable is not a continuous monitoring of its changes.

Tips and pitfalls

  • Without the preceding section block, the settings section is used.
  • Repetitions of the same variable in the same section are merged into one item during generation.
  • Do not store different values in multiple sections under the same name expecting to create separate variables. Loading writes all sections to common global variables.