beautypg.com

Rockwell Automation 5370 Color CVIM Communications Manual User Manual

Page 94

background image

Chapter 5
Using the RS–232 Ports

5–26

This function can only be executed once per command.

Refer to Appendix D for a description of the configuration blocks. You
cannot use this command when the Color CVIM module is in the setup
mode. When the Color CVIM module is receiving configuration blocks from
a Host, the Color CVIM module will leave the active run mode and ignore
any input triggers (setup menu option is also disabled). After receiving one
or more new configuration blocks, the Color CVIM module will validate the
entire configuration since many of the operating parameters are interrelated.

Example:

>W,CB1 [CR] 00__F1__

etc

This example writes the
data 00, F1, etc into
configuration block #1.
“_” = space character.

Example:

>WC,CB1,CB30–35,CB21[CR](data)*

This example
writes the data
into the specified
blocks.

*All blocks and lines of data are separated by a [CR], and a response of [CR][LF] is sent for

every command and data block.

After executing the command, the Color CVIM module will return:
[CR][LF]. No data is returned. If you do not have the proper command
structure, the Color CVIM module will return: ?[CR][LF].

Note: We recommend that you first read Module Busy low, then send the
configuration. When you’re finished downloading the configuration, check
to make sure the “Configuration Fault” bit has not been set. Refer to
Appendix B. You can check this bit by using the read inspection results
command (>RR,S [CR]). No other ports should be active.

Write Configuration (W)
Write Configuration (WC)
(cont’d)