Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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

  • No labels