beautypg.com

Read string data command, Suspend / resume serial port output command, Write display command (enhancement) – Rockwell Automation 5370-UPK CVIM USER-PAK Option User Manual

Page 135

background image

Appendix C

ASCII Commands for the 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 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).

Write Display Command (Enhancement)

The Write Display command, currently available with the base CVIM
module operating system, is enhanced when the USER–PAK option is
installed (refer to the Select Image Displayed command in the CVIM
Communications Manual
). The Write Display command is enhanced to
allow the selection of the page number, along with the selection of the
display page.