beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Editor User Manual

Page 87

background image

FĆ3

F.2

Correcting Ladder Program Conversion

Warnings and Errors

This section lists some of the warning messages generated when you convert

an old ladder program to a V4.0 or later program and describes what you can

do to fix them. The messages are posted in the file UPDATE.LOG or

program_name.LOG.

Message:

What the message

means:

Resolution:

In old Rung number xx

(new Rung number xx),

the old global preset

variable is no longer used.

The variable assigned

to the PN parameter in

the old timer or

counter instruction was

a global integer

variable.

To use a global

variable as a timer or

counter preset, define

the timer or counter

data structure as a

global, double integer

array by using the

Variable Configurator.

For more information

about preset values,

see About Timer

Variables" and About

Counter Variables."

In old Rung number xx

(new Rung number xx),

the old global current

value variable is used.

The variable assigned

to the CN parameter in

the old timer or

counter instruction was

a global integer

variable.

To use a global

variable to store a

timer's or counter's

current value, define

the timer or counter

data structure as a

global, double integer

array by using the

Variable Configurator.

For more information

about current values,

see About Timer

Variables" and About

Counter Variables."

In old Rung number xx

(new Rung number xx), a

preset variable is used that

was also used on another

rung.

In older ladder

programs, you could

use the same preset

variable on multiple

timers or counters in

the same program.

Now, each timer or

counter instruction in a

program must have a

unique data structure

assigned to it.

To use the same preset

variable on multiple

timers or counters, add

MOVE instructions to

copy the preset value

from one of the

timer/counter data

structures to another

timer/counter data

structure.