Appendix f – Rockwell Automation AutoMax Enhanced Ladder Editor User Manual

Page 85

Advertising
background image

FĆ1

Appendix F

Converting Ladder Programs Created

Using an Older Version of AutoMax

You must convert any ladder program that was created using an AutoMax

Executive earlier than V4.X before you can edit it using the V4.X ladder editor

and the enhanced ladder instruction set. Once you convert the program, you

cannot use it with an earlier PC editor.
You can convert ladder programs by doing any of the following:

D selecting a preĆV4.0 system from the System Configurator
D copying a system, section rack or program
D opening a program from the Editor

See Opening Programs," section 1.2.
The software prompts you to convert the system, which includes converting old

ladder programs. Any conversion warnings are posted in a log file. If the

programs are converted when a system, section, or rack is converted, the

warnings are placed in the file UPDATE.LOG. If you convert an individual

program from the Editor, the warnings are placed in the file program_name.LOG.

You can find UPDATE.LOG in the system directory, and program_name.LOG in

the rack directory.
At the dialog box prompting you to convert the program, choose Yes. The Editor

does the following:

D replaces the old ladder instructions with the corresponding ones from the

enhanced ladder instruction set

D converts any remark sequences into a rung consisting of one coil

The coil names are those of the keywords from the old remarks. These

new variables are local variables. The remark text becomes the rung

description for the new rung. Any tabs in the remark sequences are

converted to single space characters.

D copies any variable description text to the new program and truncates the

text to 40 characters

D renumbers the rungs starting at number one
D preserves any preset values for timers and counters
D creates new timer and counter data structures by using the variable name

of the current timer or counter value as the name of the new timer or

counter data structure
The EN input of the new counter instruction is connected to the power rail.

D converts the task time (in seconds) to the equivalent number of ticks as

defined for the Processor within which the program is slated to run

D deletes any descriptions associated with individually defined array

elements
These descriptions are not carried over to the converted program.

D converts shift instructions to a Shift Left Instruction. See About How Shift

Instructions Are Converted into the Ladder Editor" in this Appendix.

To save the converted file, choose the Save command. If you quit the Editor or

close the converted program before saving the program, the original,

unconverted program is unchanged.

Advertising