Rockwell Automation 5370-UPK CVIM USER-PAK Option User Manual
Page 100

Chapter 8
Defining Strings for Serial Ports and Viewports
8–24
Selecting the Interval
Once you have defined the event source and source condition, you can
further define the event by specifying an interval for sending the string. You
specify the interval by using the interval box (the box which reads
Every
...) on the Event menu.
What the interval is – When you first access the
Event
menu, the interval box
reads
Print Every 1
. At this setting, the CVIM module checks the event
condition at the completion of each inspection to determine if the string is
sent (see the previous sections, “Selecting Event Source” and “Selecting
Source Condition”). You can specify that the CVIM module does not check
the event (and thus does not send the string) after each inspection, but only
checks the event at some interval – every third inspection, every fifth
inspection, etc. You do this by setting the interval; the range is 1 to 32767.
For example, if you set the interval box (the
Print Every 1 . . .
box in the
diagram) to read
Print Every 5
, the CVIM module does not check the event
for every inspection, but only for every fifth inspection. This checking is
based on the count of processed triggers for the respective toolset.
To set the interval, pick the interval box, then select the interval using the
calculator pad.
Calculator Pad
Print Every ... box
Value Out of Range: If you try to enter a number which is not valid,
such as a number greater than 32767, the calculator pad will flash the
message –
Value Out of Range.
If this happens, pick an appropriate
valid number, and then pick the
Enter
key again.
Special Cases for serial port strings only:
0: Enter the value “0” to transmit the string upon entry to run mode.
–1: Enter the value “–1” to transmit the string upon entry to setup mode.
These two special cases allow you to send messages upon entry to the run
mode and setup mode. You could use these capabilities, for example, to
send a message to a computer, upon entering run mode, which would
open a specific file for data collection. Then, upon entering setup mode,
you could send a message to close the data collection file.