Declaration Editor

The declaration editor is used to declare variables of POUs and global variables, for data type declarations, and in the Watch and Receipt Manager. It gives access to the usual Windows functions, and even those of the IntelliMouse can be used if the corresponding driver is installed.

In Overwrite mode, ‘OV’ is shown in black on the status bar; switching between Overwrite and Insert modes can be accomplished with the <Ins> key.

The declaration of variables is supported by syntax coloring Syntax Coloring.

The most important commands are found in the context menu (right mouse button or <Ctrl>+<F10>).

Note

Consider the possibility of using pragmas Pragmas, Overview to affect the properties of a variable concerning the compilation resp. precompilation process.

See also:

Declaration Part

Input Variable

Output Variable

Input and Output Variables

Local Variables

Remanent variables

Constants, Typed Literals

External variables

Keywords

Variables declaration

AT Declaration

‘Insert’ ‘Declaration keywords’

‘Insert’ ‘Type’

Syntax Coloring

Shortcut Mode

Autodeclaration

Line Numbers in the Declaration Editor

Pragma instructions for Initialization, Monitoring, Creation of symbols, Bitaccess, Linking

Declarations as table

‘Insert’ ‘New Declaration’

Declaration Editors in Online Mode