Read results command (cont’d) – Rockwell Automation 5370 Color CVIM Communications Manual User Manual

Page 117

Advertising
background image

Chapter 5
Using the RS–232 Ports

5–49

This command reads the Color CVIM module status (2 data bytes returned).

Note: Refer to Appendix B, Table B.1, RS–232 word 0 for a definition of
Color CVIM module status.

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 and
return the data. If the command structure is invalid, the Color CVIM module
will not execute the command or respond.

The format of the requested data is an ASCII representation of the specified
block(s) in bytes.

Figure 5.10
Results Block Returned Data Format*

61 01 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 CC

Refer to Appendix C for Block Descriptions

* The example above is valid as shown for
DF1 Return Data mode. In ASCII mode
there are no spaces.

Figure 5.11
Discrete Bit Results Returned Data Format

*

Refer to Appendix B for a description of Returned Bytes

*We have added spaces for clarity; data is returned without spacing.

Read Results Command
(cont’d)

Advertising