Read configuration blocks – Rockwell Automation 5370 Color CVIM Communications Manual User Manual

Page 82

Advertising
background image

Chapter 5
Using the RS–232 Ports

5–14

Use the read configuration command to read configuration data for the
specified blocks (Upload Configurations). The command has the following
structure:

>RC,CBn [CR]

Where n = 1 to 213

(individual blocks)

X – Y

(range of blocks X through Y)

*

(all of the blocks)

This function can only be executed once per command.

Refer to Appendix C for a description of the configuration blocks. You
cannot use this command while the Color CVIM module is in the SETUP
mode.

Examples:

>RC,CB135 [CR]

Reads configuration block 135.

>RC,CB99,CB7,CB1[CR]

Reads configuration blocks
1, 7, then 99.

>RC,CB1–213[CR]

Reads all of the configuration
blocks .

After executing a command, the Color CVIM module will return: [CR][LF]
followed by the data. If you do not have the proper command structure, the
Color CVIM module will return: ?[CR][LF]. The format of the requested
data is in an ASCII representation of the specified block(s) in bytes. Each
byte is represented by two hexadecimal characters (00 through FF) followed
by a space. The first two words are the signature word indicating block type
and number (refer to appendix D). Twenty bytes of data are transmitted in a
line terminated with a [CR][LF]. The size of the configuration block(s)
determines the number of lines that are returned.

Read Configuration Blocks

Advertising