At a Glance

The functions below apply to the following variables:

  • Located and unlocated variables

  • Public and Privates variables of DFBs

Update Init Value with Current Value

The Update Init value with Current Value function is used to replace the initial values in the PLC of these variables with their current values if their Save attribute is checked.

When the initial values are updated in the PLC, a "*" is displayed in the status bar to indicate that the initial values in the PLC are different from the initial values displayed in the variable editor.

Use PLC > Update Init Values with Current Values to activate this function.

Update Local Init Values with PLC Init Values

When the Initial values have been modified by the function Update Init value with Current Value or by using %S94 in the application, the Update Local Init Values with PLC Init Values function updates the initial values on the PC in the variable editor.

After using this function "*" is no longer displayed in the status bar.

Use PLC > Update Local Init Values with PLC Init Values to activate this function.

NOTE: to be taken in account in the code a build change is needed.
NOTE: when disconnecting the PLC from Control Expert, to update the STU file with the same values as the PLC, you have to answer Yes, confirm modification, backup the PLC project, connect the PLC again, make a build changes and save the STU file.