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

Appendix C
ASCII Commands for the Color USER–PAK Option
C – 2
When the command is invoked for a viewport string, the specified string is
displayed immediately, given the following conditions:
•
The specified viewport is currently displayed.
•
For the last displayed inspection, the
Event
conditions defined for the
specified string are true.
Force Print for Serial Port Strings
For serial port strings, the Force Print command takes this format:
>OF, p, s
Where: p = letter of serial port (A or B)
s
= number of string
When the command is invoked for a serial port string, the specified string is
immediately transmitted, if, for the most recently processed inspection, the
Event
conditions defined for the specified string are true. Otherwise, the
string will not be transmitted.
Write String Data Command
The Write String Data command can be used to enable, disable, or change
the string text, and/or the string color (for viewport strings) for a specified
string which is defined within the configuration.
The Write String Data command takes this format:
>OW, p, s Ax Cx, text
(
Ax
,
Cx
, and
text
fields each are optional)
Where: p = number of viewport (or letter of serial port)
s
= number of string
Ax= enables or disables a string, where:
x=x
Disable string
x=1
Enable string
Cx assigns
the
Color
, where x = 1-8:
x=1
Green
x=5
Orange
x=2
Yellow
x=6
Brown
x=3
Red x=7
Black
x=4
Blue
x=8
Clear
(This field has no effect for serial port strings)
text
follows the third comma in the command.
This field contains the new text, if any.