8 verifying tasks, 9 editing the documentation file for a task – Rockwell Automation 47C626 AutoMax Programming Executive V4.2 User Manual
Page 130

8Ć8
8.8
Verifying Tasks
Use the Verify command to check that all the variables defined in the
selected task(s) are used, that the configuration for the rack is valid,
and that no syntax errors are present in the selected task(s).
The Verify procedure will first compile the rack configuration file,
referred to as _CONF.CNF on the screen during the compilation
procedure. A log file will be created to store errors, as well as
compilation statistics. The log file is named _CONF.LOG. If there are
any errors, an object file will not be created. Refer to Appendix D for
configuration file size limits.
Note that the configuration log file errors will be displayed in the form
of statements with line numbers, which are used by the operating
system only. Ignore the line numbers and statement format. Use the
descriptive error message immediately underneath the line number
to determine the error. For example, the message symbol already
defined" will be displayed when a duplicate variable name is found in
the rack configuration and the offending variable will be clearly
marked on the screen. You can view a log file by using Edit Any File
from the Commands menu, and you can print it by using the text
editor print command.
After the configuration file is compiled, the selected task(s) is
compiled and a log file is generated for the task to store any errors
and compilation statistics. The log file created has the same name as
the task and a .LOG extension. If there are errors, an object file will
not be created. Refer to Appendix D for application task size limits.
The Verify procedure also generates a crossĆreference file for each
task selected. The cross reference has the same name as the task
and an .XRF extension. The cross reference will list any undefined
symbols (declared COMMON in the task, but not found in the
configuration generated) and any unused symbols (defined in the
rack configuration, but not used anywhere in the task cross
referenced). This cross reference can be printed out. See section
8.12 for more information on the rack cross reference.
Follow the steps below to verify tasks.
Step 1.
Select the task(s) you want to verify.
Step 2.
Select Verify from the Task menu.
Step 3.
Correct any errors indicated in the configuration .LOG file,
the application task .LOG file(s), and the cross reference
file.
8.9
Editing the Documentation File for a Task
Use the following procedure to edit the documentation file for the
selected task. Refer to section 2.1 for more information on
documentation files.
Step 1.
Select the task for which you want to edit the
documentation file.
Step 2.
Select Document from the Task menu to access the text
editor.