Comment

User comments must be enclosed in the special symbol sequences (* and *). Example: (*This is a comment.*)

  • Comments are allowed in all text editors, at any location desired, that is in all declarations, in the Instruction List (IL) and Overview languages and in self-defined data types. If the project is printed out using a template, the comment that was entered during variable declaration appears in text-based program components after each variable.

  • In the Function Block Diagram (FBD) and Ladder Diagram (LD) graphic editors, comments can be entered for each network. To do this, search for the network on which you wish to comment and activate ‘Insert’ ‘Comment’.

  • Besides that comments always can be added where variable names are inserted.

    Example in FBD for a network comment and for a comment placed behind an input variable:

../_images/53b0f9dfbeda2a360a317f344b28acbb

In KOP a comment also can be added to each contact resp. each coil, if this is configured accordingly in the display options in menu ‘Extras’ ‘Options’.

Nested comments are also allowed if the appropriate option in the Options for Build dialog is activated.

In Online mode, if you rest the mouse cursor for a short time on a variable, the type and if applicable the address and comment of that variable are displayed in a tooltip.