140
••••
7 - Documentation
Simatic 505 SoftShop
Documenting in Ladder
In addition to editing and creating new documentation in the
Documentation Window, you can also edit and create new
documentation in the logic program as you enter and edit your logic. The
Documentation Window can also be used to help you program your
logic.
In the logic editor, these features are available:
•
Assign Tags.
•
Assign Addresses.
•
Edit and Create Documentation in Ladder.
•
Look up tags and use them in ladder.
These items are discussed in the following sections.
Assign Tags
The Assign Tags option allows you to assign tags, descriptions, and
comments to an undocumented address that you are currently using in
your ladder program. For example, if you enter an address in an ADD
instruction and that address does not have a tag or description, the Edit
Documentation window in Figure 7.7 will automatically appear when
you move off the address. Enter a tag, description, and comment, and
press OK to save the documentation. This allows you to document
undocumented addresses as you program without leaving the ladder
editor.
To use this feature, select Options, Program Setup (Alt-O, P). Then
select the Logic tab dialog. Select Ladder from the Options for drop
down window. Then check the Assign Tag in the selection check box.
Assign Addresses
The Assign Addresses option allows you to assign addresses,
descriptions, and comments to tags as you use them in your ladder
program. For example, if you enter the tag NEW_TAG (and NEW_TAG
doesn't exist), the Edit Documentation window in Figure 7.7 will
automatically appear with the tag filled in. You can enter the address,
description, comment, and press OK to save the documentation. This
allows you to assign addresses to tags as you program without leaving
the ladder editor.
To access the Assign Address feature, select Options, Program Setup
(Alt-O, P). Then select the Logic tab dialog. Select Ladder from the
Options for drop down window. Then check the Assign Address in the
selection check box.
Editing Documentation in Ladder Editor
You can automatically assign documentation and edit existing
documentation by pressing Ctrl L on an address in your ladder program.
For example, if you would like to change the documentation for the
address 00001 that is used on a contact, move the cursor to that location
and press Ctrl L. The Edit Documentation window in Figure 7.7
automatically appears. Enter the tag, description, and comment, and
press OK to save the documentation.