Comment types and symbols – Rockwell Automation 9323-PA1E USER MANUAL APS 6.0 User Manual

Page 118

Advertising
background image

Preface

Advanced Programming Software User Manual

7–2

Comment Types and Symbols

This section discusses the types of comments and/or symbols you can add to your
ladder program and their unique characteristics.

Rung Comments

A rung comment explains the purpose of an individual rung or group of rungs. The
rung comment can consist of up to 6 lines, with up to 80 ASCII characters in each
line. A rung comment is internally associated with the output instruction of the
rung.

Rung comments are associated with the top-most or first output instruction and
address on the rung; they are not tied to the rung number. Therefore, if you use the
same output instruction and address on more than one rung, each of those rungs has
the same rung comment. If you want a unique rung comment for rungs with the
same instruction and operand pair, an OTE instruction with a unique bit address on
each rung must be programmed. If the rung contains output branches, the comment
is associated with the output instruction in the top line of the branch.

A rung comment need not be unique. If the instruction has more than one address,
the comment is tied to the control or destination address for that instruction.

Instruction Comments

The instruction comment can consist of up to 5 lines, with up to 10 ASCII
characters in each line.

These are associated with the instruction type and its address. All instructions with
the same combination of instruction type and address will automatically have the
same instruction comment.

If the input instruction has more than one address, the instruction comment is
associated with the instruction type and source A or the test value address. If the
output instruction has more than one address, the instruction comment is associated
with the instruction type and the control or destination address.

An instruction comment need not be unique. The same comment can be applied to
instructions having different address/instruction type combinations.

Advertising