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

Page 679

Advertising
background image

L-force | PLC Designer

General Editors

DMS 4.1 EN 03/2011 TD29

677

Declaration Editor in online mode
After log-in to the target system each object which has been opened in a window
already in offline mode, will automatically be displayed in online view.
The online view of the Declaration Editor presents a table like used in watch views. The
header line shows the actual object path "<device name>.<application name>.<object
name>". The table for each watch Expression shows the Type and current Value as well
as - if currently set - a Prepared value for forcing or writing.
To appoint a prepared value to a variable you may either use the Prepare value dialog
or you may click in the assigned field of the column Prepared value and directly type in
the desired value.
In case of a boolean variable the handling is even easier: You can toggle boolean
preparation values by use of the Return or Space key according to the following order:
If the value is TRUE, the preparation steps are FALSE -> TRUE -> nothing; else, if the
value is FALSE, the preparation steps are TRUE -> FALSE -> nothing.
If a watch expression (variable) is an instance, for example of a function block, a plus-
resp. minus-sign is preceded. Usually via a mouse-click on this sign the particular
elements of the instanced object can be additionally displayed (see fbinst in the
following image) resp. hidden (see fbinst2). Icons indicate whether the variable is an
input , output or a "normal" one.
As long as the default setting Replace Constants (Compile Options) is active, constants
are indicated by an symbol preceding the value in the Value column.
When pointing with the cursor on a variable in the implementation part, a tooltip will
show the declaration and comment of the variable. See the following picture:

Abb. 366 Example: Declaration Editor in the upper part of a program object PLC_PRG, online view


Advertising