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

Page 153

Advertising
background image

Appendix C

ASCII Commands for the Color USER–PAK Option

C – 3

Read String Data Command

The Read String Data command can be used to obtain the defined attributes
and string text of the specified string.

The Read String Data command takes this format:

>OR, p, s

Where: p = number of viewport (or letter of serial port)

s

= number of string

The response from the Color CVIM module takes this format:

Ax

Cx, text

For content definition of the response fields, refer to the Write String Data
parameter descriptions.

Suspend / Resume Serial Port Output Command

The Suspend / Resume Serial Port Output command can be used to disable or
enable USER-PAK serial port output for a specified serial port.

The command takes this format:

>OS, p, st

Where: p = letter of serial port (A or B)

st = status of serial port, where st = 0 or 1:

st=0 disable USER-PAK serial port output
st=1 enable USER-PAK serial port output

The default setting for each serial port is st=1 (USER-PAK output enabled).

When USER-PAK output is suspended, no USER-PAK serial messages will
be transmitted automatically at the completion of an inspection. The Force
Print command can still be used to cause a message to be transmitted (see
“Force Print Command” in this appendix).

Advertising