Modifying variables

Use the Modify variable command to change the properties of an existing variable. Modifying the identifier of the variable will create a new variable.

The following procedure requires that the Variables pane be opened.

  1. Use the sorting and filter settings to expedite programming
  2. Select the variable you want to modify
  3. Select Modify variable from the context menu
  4. Modify the current settings in the dialog
  5. After modifying the identifier select OK

Updating all POUs automatically

  1. Select Auto update of changed declarations under Extras > Options > Program options > Editors > Declaration editors to globally adopt changes made to variables in the global variable list or in POU headers. The changes will be adopted in all POU headers and POU bodies of the current project in which the variables are used. All changes take effect as soon as you save the changes in the global variable list or in the POU header.
NOTE

Global variables must be changed in the global variable list. Otherwise, auto-update has no effect.

Related topics:

Modified on: 2020-09-22Feedback on this pagePanasonic hotline