How to Make Comments in PAC Software
In program comments can be made severals ways with IEC programming within PAC software depending upon the language for the POU.
Â
Structured Text ST:
(* Everything inbetween parentheses with star is a commentÂ
and can be a multiline commentÂ
These will automatically change to italic green font by default*)
Â
This method is a good way to comment out multilines of Structured Text programs during debug quickly.
Â
Â
Â
// Â Single line comments can be started with two forward slashes
Â
example:
Â
Â
Ladder Logic LD:
Â
Right-click to add a label and within the label either the // or the (* *) format can be used:
Â
Network rungs can be commented out by right-clicking and selecting Toggle Network Comment State. Note this is done on the left side with the network rung number.
Â
Â
Â
Continuous Function Chart CFC:
Comments can be made using a comment box:
Â
Â
Â
Â
1/15jh