Add comments
When creating user-defined function blocks, you can add comments about the functionality defined in the function block. Comments are for documentation purposes and are not acted upon by the program.
To add comments
- To add comments to a ladder diagram program, right-click a rung, and then selectAdd rung comment.
- To add comments to a structured text program, use the following syntax:(* This is a comment *)
- To add comments to a function block diagram program, fromToolbox, drag
to the language editor.
Provide Feedback