Structured Text Programming
Structured Text
Components: Comments
See also
Structured Text Components: Assignments
Structured Text Components: Expressions
Structured Text Components: Instructions
Structured Text Components: Constructs
Structured Text Components: 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.
To add comments to your structured text:
To add a comment
on a single line
at the end of a line of structured text
within a line of structured text
that spans more than one line
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
on
page 510
on
page 513
on
page 519
on
page 520
on
page 509
Use one of these formats
//comment
(*comment*)
/*comment*/
(*comment*)
/*comment*/
(*start of comment. . .end of comment*)
/*start of comment. . .end of comment*/
Chapter 10
509