Rockwell Automation 5370-CUPK Color CVIM USER-PAK Option User Manual

Page 130

Advertising
background image

Chapter 8

Defining Strings for Serial Ports and Viewports

8 – 41

Setting the

Repeat String

Parameters

Recall that the

Repeat String

feature allows you to repeatedly display a

string. This is accomplished through the use of an “index” number, which is
incremented through a range of values – you define this range using the

Repeat String

menu.

In order to use the

Repeat String

feature, you must define the range (that is,

the

Start

,

End

, and

Increment

values) using the

Repeat String

menu:

Figure 8.16 Example of setting the

Repeat String

parameters

Repeat String box

Repeat String menu

In configuring the repeat range for a string, you set the

Start

, the

End

, and

the

Increment

values.

Start value

End value

Increment value

During operation in the run mode, when the string is to be displayed, the
index is set to the

Start

value, then:

(1) If the

End

value is greater than or equal to the

Start

value, the string

is displayed.

(2) The index is incremented (according to the

Increment

value).

The string is displayed for each index value, until the index value exceeds
the

End

value.

Advertising