beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 293

background image

AĆ21

A.6.7

Defining the Initial Value of a Variable

You can define the value that a variable contains when a program is downloaded to the

Processor or placed into run. You can also define an initial value for individual elements

of an array. The list of available elements and their current values appears in the

variable's Variable Properties tab.
The initial value applies to User Specified Value or Retained Value initialization.
To define the initial value of a variable
Step 1.

In an offline or online program, select the instruction containing the variable

whose initial value you want to change.

Step 2.

From the File menu, choose Properties. The Instruction Properties dialog box

is displayed.

Step 3

Choose the Variable Properties tab, and select the variable whose initial

value you want to change.

Step 4.

Make sure that the selected initialization method is the one you want to use.