beautypg.com

Rockwell Automation 5370 CVIM Communications Manual User Manual

Page 119

background image

Chapter 5

Using the RS-232 Ports

5–49

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 CVIM module is in the setup mode. After
writing to the CVIM module, the 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 CVIM module will respond with a DLE NAK
and the command will not be executed.

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

Note: We recommend that you check the discrete bit ‘‘Configuration Fault’’
after loading a configuration. Refer to Appendix B. Since no data is returned
with this command, the load operation may fail and you could detect this by
checking the fault bit. You can check this bit by using the read discrete bit
results command for toolset #1.