beautypg.com

Placing rung comments – Rockwell Automation 9323-PA2E APS SLC 500 Import/Export Utility User Manual User Manual

Page 83

background image

Creating an ASCII Documentation File

6-5

Placing Rung Comments

A rung comment is a text string, (up to six lines long, 80 characters each), which
provides notes or remarks for an output instruction/address pair. Rung comments
help identify rungs. The following rules apply to rung comments:

Rung comments should follow the instruction/address pair on the same line.
Start rung comments with opening quotation marks (“) followed by a carriage
return and end with closing quotation marks (”).

If you want a carriage return to appear in the comment, use a back slash (\).
(Note that this back slash is considered a character in the 80–character limit.)

If you enter a quotation mark in the middle of a rung comment, use two
adjacent quotation marks. The initial and ending quotation marks are not
included in the comment. (One of the quotation mark is considered part of the
80–character limit.)

If you enter a back slash in a rung comment, precede the back slash with a tilde
(

).

The following are example rung comments:

Keyword

ASCII Programming Instructions

ASCII Instruction Addresses

ASCII Rung Comment

RC OTE

N7:10/0

“(carriage

return)

This is an example of a rung comment with quotation
marks and carriage returns at the beginning and end.
This comment is three lines long.”

RC JMP

2:LBL5

“(carriage

return)

And here is an example of “ ” and\ a back slash (use the
~ to print a back slash) without a comment:
~\IPDS~\ATTACH~\SLC500. This comment is four lines
long.”