How to Make Comments in PAC320 Software

How to Make Comments in PAC320 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.

 

comment_multiline_3209-20240521-001000.jpg

 

 

//  Single line comments can be started with two forward slashes

 

example:

comment_single_line_3210-20240521-001000.jpg

 

 

Ladder Logic LD:

 

Right-click to add a label and within the label either the // or the (* *) format can be used:

comment_ladder_3211-20240521-001000.jpg

 

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.

comment_network_ld_3212-20240521-001000.jpg

 

 

 

Continuous Function Chart CFC:

Comments can be made using a comment box:

comment_cfc_3213-20240521-001000.jpg

 

 

 

 

1/15jh