Comm
Hint: This command can be used in a FOR loop, except for IO boards.
Syntax:
Comm <X|P|S|V|B> <name> <comment>
Arguments:
name : object name
comment : comment text
|
Use the following values for the first argument that specifies the kind of object: X : project In case of a variable, the name must be prefixed by the group namle follosed by the '.' separator. Some examples are attached below. |
Examples:
|
|
|
Argument |
Description |
|
VarName |
A global variable. |
|
RETAIN.VarName |
A RETAIN variable. |
|
ProgName.LocVarName |
A variable local to a program. |
|
UDFBName.ParamName |
A parameter of a UDFB. |
|
StructName.Item |
An item of a data structure. |
|
|
|
|
Tag - Set short comment text (tag) - variables only GetComm - Display a comment text GetTag - Display a short comment text (tag) - variables only
Managing program folders
|
|
Comm |
IEC 61131-3 Automation platform > IEC 61131-3 Programming Environment > Tools > The console > Managing comment texts > Comm |
Created with the Personal Edition of HelpNDoc: Easily create iPhone documentation