18 declaration editor in online mode, 19 comment, Declaration editor in online mode – Lenze DDS v2.3 User Manual

Page 141: Comment, Drive plc developer studio

Advertising
background image

Drive PLC Developer Studio

Editors

7-19

l

DDS EN 2.3

7.2.18

Declaration editor in online mode

In online mode, the declaration editor is a monitor window.

Every line contains a variable followed by an equal sign (=) and the variable value.

Three question marks (???) will appear if the variable has not been defined yet.

Multi-element variables

Multi-element variables are identified with a plus sign.

Press <Enter> or double-click the variable to open it and to list all components. The variable
will then be identified with a minus sign.

Double-click or press <Enter> again to hide the components and to return the plus sign.

Single-element variables

Press <Enter> or double-click a single-element variable to open the dialog box for writing a variable.
The current variable value can be changed by entering a new value. In the case of Boolean variables,
the value will be toggled without dialog box display.

The new value (now represented in a different colour) will not be written to the control immediately.

Thus any number of variables can be modified and then written to the control in one go
(cycle-consistent).

7.2.19

Comment

User comments must start and end with the special character sequences (* and *).

Comments are allowed in all text editors and there at any location, such as declarations, IL and ST
and user-defined data types.

Use Project

WOptions Category Build options to activate or deactivate nested comments.

FBD, LD and CFC allow comments to be entered for every network.

Find the network to be commented and select the command Insert

Comment.

In SFC, comments for the step can be entered under

Edit step attributes.

Tip!

Positioning the mouse pointer briefly over a variable in online mode will display a tool tip with the
variable’s type and any comments.

Only the variable type is displayed in offline mode.

Show/Hide Bookmarks

Advertising