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

Chapter 8
Defining Strings for Serial Ports and Viewports
8 – 29
The string is sent for each index value, until the index value exceeds the
End
value.
For example, to repeat a string 5 times, you can set the
Start
value to 1, the
End
value to 5, and the
Increment
to 1. The index will increment through
values 1 to 5. Or, you can set the
Start
value to 6, the
End
value to 10, and
set the
Increment
to 1, so the index will increment from 6-10, and so forth.
You can use the
#
(index) character in a string; when the
#
is placed in the
string text, the Color CVIM module replaces the
#
with the current index
value when the string is transmitted or displayed (see also “Example of
Using the Repeat String and Index Character” in this chapter).
Setting Repeat String Parameters
To set the
Repeat String
parameters:
•
Pick the
Repeat String
box on the
Define String
menu to display the
Repeat String
menu:
Repeat String menu
With the
Repeat String
menu displayed, you can set the
Start
,
Increment
,
and
End
values.
•
Set the
Start
,
Increment
, and
End
values by picking the respective box
for each; when you pick any of these items, a calculator keypad appears
which you must use to enter the respective value (see Figure 8.8).