beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 294

background image

AĆ22

Step 5.

Use the following table to determine your next step:

If the variable is:

Do the following:

not an element of an array

D In the Initial Value field, enter a

value that you want to use as the

initial value. A value of 0 is the

default value.

In the case of a timer or counter data

structure, the value in the Initial Value

field is the timer's or counter's preset

value. A preset value cannot be a

negative number.

an element of an array

Step A.

In the Array Index list box,

select the element whose

initial value you want to

change. The element's

current value is displayed

next to the array element.

Step B.

In the Initial Value field,

enter a value that you want

to use as the initial value.

Zero is the default value.

Step 6.

To accept the change, click OK or Apply.

When changing the initial value of a variable using Retained Value initialization during

an online editing session, a dialog box prompts you to decide if the changed value

should be sent to the rack. Choosing Yes immediately sends the change to the rack.

The variable's value is immediately changed. When you save the program from the

Processor, the newly changed initial value replaces the original value. Choosing No

cancels the change.