COMMAND PROTOCOL
33
4
4.7 CBX ERROR RESPONSE PACKET STRUCTURE
Below is the packet structure of a CBx error response. Note that the one-byte
Error Code
value is returned in the MSB of the seventh data word.
Error Response Element
MSB
LSB
Overall Length: 2-byte value indicating the number
of “
words
” in the Response Packet. This value will
always be at least
7
words
(6 + 1 for the error
code).
0x00 0x07
Error Flag: 0xFF in the MSB indicates that an error
occurred.
Error Information Byte: 0xFF in the LSB indicates
that a controller-based error occurred. Any value
other than 0xFF indicates that a Gateway-based
error occurred (and indicates the command that
was attempted when the error occurred).
0xFF 0xFF
Instance Counter: This 1-byte value tallies the
number of responses from a given Node ID.
Node ID Echo: The 1-byte LSB value indicates the
Node ID of the controller for which the command
was intended.
<IC> 0x01
Month and Day Timestamp
<Month>
<Day>
Hour and Minute Timestamp
<Hour>
<Minute>
Seconds Timestamp in MSB
Number of Additional Bytes Retrieved in LSB (
0x01
for error responses
)
<Seconds> 0x01
Error Code: 1-byte Error Code in MSB
0x00 in LSB
<Error Code>
0x00
Table 11: CBx Error Response Packet Structure
Summary of Contents for GWY-01-PBS-01
Page 1: ...GWY 01 PBS 01 Reference Manual ...
Page 5: ...v C ASCII CHART 92 ...
Page 101: ...www automation datalogic com ...