beautypg.com

12 generating task cross reference files, 13 generting a pc listing, 14 resequencing a task – Rockwell Automation 47C626 AutoMax Programming Executive V4.2 User Manual

Page 135: 13 generating a pc listing

background image

8Ć13

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.

8.13

Generating a PC Listing

Select Generate PC Listing from the Task menu in the Task Manager

to generate .LST files for selected PC tasks. These files will be written

to the rack subdirectory, and can be viewed using the text editor. Use

the following procedure to generate .LST files.
Step 1.

Select one or more PC tasks from the tasks list.

Step 2.

Select Generate PC Listing. .LST files will be generated for

the selected PC tasks. These files will have the same name

as the source PC files, with a .LST extension. Listing files

will be identical to the listing provided when a PC task is

printed (excluding page headers and page breaks).

8.14

Resequencing a Task

Resequence is used to resequence the line numbers within a task

program. To resequence Control Block (BLK) and BASIC (BAS) files,

follow the procedure below.
Step 1.

Select the task you want to resequence.

Step 2.

Select Resequence from the Task menu.

Step 3.

Enter old first sequence number, old last sequence

number, the new starting sequence number, and the

increment. The first and last sequence numbers are

inclusive.