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 select
    Add 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, from
    Toolbox
    , drag Add description button to the language editor.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal