Comments – Rockwell Automation Logix5000 Controllers Structured Text Programming Manual User Manual
Page 37
Advertising
Publication 1756-PM007D-EN-P - November 2012
37
Program Structured Text Chapter 1
Comments
To make your structured text easier to interpret, add comments to it.
•
Comments let you use plain language to describe how your structured
text works.
•
Comments do not affect the execution of the structured text.
Structured text comments are downloaded into controller memory and are
available for upload. To add comments to your structured text:
To add a comment
Use one of these formats
On a single line
//comment
(*comment*)
/*comment*/
At the end of a line of structured
text
Within a line of structured text
(*comment*)
/*comment*/
That spans more than one line
(*start of comment . . . end of comment*)
/*start of comment . . . end of comment*/
Advertising