ADC_AutomationControls_PM01 (AutomationDirect) asked a question.

Productivity PROtips: Comment and Ladder Display Options

Using comments is always recommended for software development, but did you know that Productivity Suite also allows you to add comments to tags and structures?

 

Tag Comments

image.pngComplex Structures and communications arrays can be hard to keep track of. Adding comments to these is a great way to keep track of tag functions, as well as communicate intended functions to future programmers.

 

Bit of Word/Array Element Comments

image.png 

When working with tags where each bit signifies something, commenting the function of each bit is accomplished by right-clicking on the tag in Tag Database and selecting ‘Show Bit of Word Details’. The tag will become expandable and comments can be applied to each bit as needed.

 

Instruction comments

image.pngEver look back at a section of ladder and wonder why you (or the last person) used that instruction? Using an instruction comment can eliminate the questions by explaining exactly what you meant to do and why it’s there. These are particularly helpful in complex rungs, where it’s already difficult to follow the logic.

 

Ladder Display Options

All the comments in the world can’t help you if you can’t see them. Take advantage of the customization available in the Ladder Options dialog to improve readability in your programs:

image.png 

Choosing different colors for different comment types can help you more easily discern between an instruction or tag comment, for example. Aligning rung comments to the left can make them easier to notice.

image.png 

Summary

Using comments wherever possible can reduce programming and troubleshooting headaches. Save yourself time and hassle by taking advantage of the customization options that Productivity Suite offers!


ADC Community_02 likes this.
  • ADC Community_02 (Automationdirect.com)

    Productivity PROtips: Comment and Ladder Display Options