Declaration editor, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 675

Advertising
background image

L-force | PLC Designer

General Editors

DMS 4.1 EN 03/2011 TD29

673

13.6

Declaration Editor
The textual declaration editor is provided by plug-in 'Variable Declaration Object' and
serves to create the declaration part of a POU object. With plug-in
'TablularDeclarationEditor' it can be supplemented by a tabular view. Any modification
made in one of the views always is immediately applied to the other one.
Depending on the current settings in the Declaration editor options either only the
textual or only the tabular view will be available, or you can switch between both via
buttons (Textual / Tabular) at the right border of the editor window.
Usually the declaration editor is used in combination with the programming language
editors, that means it will be placed in the upper part of the window which opens
when you are going to edit or view (monitor) an object in offline or online mode. The
declaration header describes the POU type (for example PROGRAM, FUNCTION_BLOCK,
FUNCTION ...) and might be extended by POU-global pragma attributes.
The online mode of the declaration editor is structured like that of a watch view.
Variable declaration also is done in for example Global Variable Lists and Data Unit
Types, which however are created in separate editors.
Regard the general information on variables' declaration.

Textual declaration editor

Abb. 361 Textual editor view

Behaviour and appearance are determined by the respective current text editor
settings in the Options and Customize dialogs. There you can define the default
settings for highlight coloring, line numbers, tabs, indenting and many more. The
usual Windows functions are available and even those of the IntelliMouse can be used
if the corresponding plug-in is installed. Notice that block selection is possible by
pressing <Alt> while selecting the desired text area with the mouse.

Advertising