12 generating task cross reference files – Rockwell Automation 57C620 AutoMax Programming Executive Version 3.8 User Manual

Page 139

Advertising
background image

8Ć11

Creating and Editing Tasks with the Task Manager

Selecting Task Print will print out the following for each of the tasks

selected:
D Task title page (task name, description, engineer, slot, priority,

critical, reconstructible, utility).

D Task documentation file
D Task source code
D Task cross reference file
If you deĆselect (unĆcheck) Task Print, the Custom Print options will

be enabled.
Select Source to print the source code (or ladder diagrams for PC

tasks).
Select Documentation to print the task documentation file.
Select Task Cross Reference to print the cross reference file for the

selected task(s).
Select Use Existing Cross Reference Files if you know that the

cross reference files are current. Selecting this option will save time

since new files will not be generated before printing. If cross

reference files do not already exist, they will be generated and

printed. Note that cross reference files generated by the print routine

will be deleted after printing.
Select Generate Log to create a log file that will list any errors that

may occur during the print job. The log file will exist under the rack

directory and will be named _PRINT.LOG. If there are no errors, the

log file will simply list the files that were printed.

8.12

Generating Task Cross Reference Files

Use the Generate Task Cross Reference command to create a cross

reference file for each of the selected AutoMax and UDC application

tasks. The cross reference listing will include the following for each

variable used in the task: the line on which the variable is defined, the

variable type (local, tunable, or reserved for the system), the

hardware address (slot, drop, remote slot, register, and bit), the

description assigned when the variable was configured (either the

!Ćtype comment on the application task line on which the variable is

first referenced, or the 40Ćcharacter element description in PC/Ladder

Logic tasks), and the line cross reference. The task cross reference

then lists the following errors or warnings for the task: minor

compilation errors, undefined variables, unconfigured variables, local

variables read but not written to, unused variables, and local

variables written to but not read. AutoMax will assign cross reference

files a .XRF extension. Cross reference files can then be printed by

using the Print command (see section 8.11).
Step 1.

Select the task(s) for which you want to create a cross

reference.

Step 2.

Select Generate Task Cross Reference from the Task

menu.

Advertising