ST comments
Comment | Description | Sample: |
---|---|---|
Single line | Starts with // and ends at the end of the line. |
|
Multi-line | Starts with (* and ends with *). |
|
Nested | Starts with (* and ends with *). Additional (*.... *) comments can be contained within this comment. |
|
In addition, one or more marked lines can be commented in/out with a menu command or a shortcut:
Tooltips comments
You can create a tooltip for a POU by inserting a comment above the declaration of the POU.
Sample:
// Das ist ein Beispiel-Funktionsbaustein
FUNCTION_BLOCK FB_Sample
VAR_INPUT
END_VAR