Rockwell Automation 5370 Color CVIM Communications Manual User Manual

Page 127

Advertising
background image

Chapter 5
Using the RS–232 Ports

5–59

This function can only be executed once per command.

Each configuration block is sent in a separate data packet
(Header/Data/Trailer).

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. After writing to the Color CVIM module, the Color CVIM module
will validate all of the configuration blocks (refer to Chapter 4 for a
description of memory validation).

Example:

This example writes the data into configuration block #3.

If the BCC is not valid, the Color CVIM module will respond with a DLE
NAK and the command will not be executed.

If the BCC is valid, the Color CVIM module will respond with a DLE ACK.
Then the Color CVIM module will validate the command structure. If the
command is valid, the Color CVIM module will execute the command. If the
command structure is invalid, the Color CVIM module will not execute the
command or respond.

Note: We recommend that you first read the Module Status word to make
sure the Module Busy bit is inactive (0). After writing the blocks, check the
discrete bit “Configuration Fault” after loading a configuration. Refer to
Appendix B.1 Since no data is returned with this command, the load
operation may fail and you could detect this by checking the fault bit. No
other ports should be active.

Write Configuration Blocks
(cont’d)

Advertising