Allows to create a new variable, after entering a new variable name.

The dialog occurs, if a variable name has been changed in the main window.

Hint: Only available, if the property Ask for declaration when new variable inserted is activ.

You will find this property in the Options dialog of the menu bar entry Tools,Options..., Diagrams.

If a new variable will be declared in the main window, this variable will be added in the variable list too.

Parameter

Description

Rename the variable

For renaming variables.

This option is deactivated.

Declare a new variable

For declaration of a new variable.

Type

Definition of variable datatype via a dropdown menu.

Example: BOOL

Where

Definition of variable source via a dropdown menu:

  • Program (which contains the variable)
  • GLOBAL
  • RETAIN

Description

Textfield to enter additional information.

Declaration dialog

IEC 61131-3 Automation platform > IEC 61131-3 Programming Environment > The Workspace > Menu bar > Tools > Declaration dialog

Previous chapterNext chapter


Created with the Personal Edition of HelpNDoc: Effortlessly Spot and Fix Problems in Your Documentation with HelpNDoc's Project Analyzer