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

Chapter 8
Defining Strings for Serial Ports and Viewports
8 – 45
master range passes (the part passes). Otherwise, once PART REJECTED is
displayed, it remains on screen, even though parts are not failing inspections.
The string text for the PART REJECTED message is simply this:
In order to display the message only when the master range fails, we need to
set the
Event
menu so that
Master Range
and
Print on FAIL
are selected:
Figure 8.19 Example of custom runtime displays (viewports)
Event Menu
Print on FAIL selected
Master Range selected
Recall that we also need to create a second string which will have the effect
of erasing the PART REJECTED string when the inspection passes. One
way to do this is to use the
Copy
and
Paste
features to copy the PART
REJECTED string to another string. This way both the string text, and the
exact string position, are copied.
Once the PART REJECTED string is copied to another string, we change the
Event
setting on this new string so that
Master Range
and
Print on PASS
are selected. Next we change the color on the
Color Selection
menu to
Clear
. This way, when the clear string is “displayed” (it will not actually
appear on the screen), it will have the effect of erasing the PART REJECTED
message.