Command 11- get com event counter, Command 12- get com event log, Command 17- report slave id – Honeywell ISM BAND XYR 5000 LINE User Manual

Page 35

Advertising
background image

Subfunction Code

Transmitter Device Status

12 Return Bus Communication Error Count
13 Return Bus Exception Error Count
14 Return Slave Message Count
15 Return Slave No Response Count
16 Return Slave NAK Count
17 Return Slave Busy Count
18 Return Bus Character Overrun Count

19+ NOT

USED

Note that identical information is returned for any device ID that the Base Radio has
control of (i.e. including Transmitters mapped to virtual device IDs when operating in the
device ID mapping mode (See Section 6.2).

6.3.3 Command 11- Get Com Event Counter

This command returns a two-byte status word and the device’s event counter. The status
word will either be 0 or 65535 if the previous command is still being processed. The event
counter is incremented for each successful message received. The counter is not
incremented for commands that return exception responses or commands that fetch
event counters. The event counter will eventually roll over to 0 after reaching a count of
65535. Note that identical information is returned for any device ID that the Base Radio
has control of (i.e. including Transmitters mapped to virtual device IDs when operating in
the device ID mapping mode).

For further details on this command, please consult the Modbus protocol specification.

6.3.4 Command 12- Get Com Event Log

This command returns a status word, communications event counter, message count,
and a field of bytes from the communications event log. The status word and
communications event counter are identical to those returned by Command 11 (Get Com
Event Counter) above. The message count is a count of the total number of messages
received by this device, including messages intended specifically for this device as well
as other devices on the Modbus network. The event log keeps track of information on the
last 7 communications events. Note that identical information is returned for any device
ID that the Base Radio is controlling (including Transmitters mapped to virtual device IDs
when operating in the device ID mapping mode).

For further details on this command, please consult the Modbus protocol specification.

6.3.5 Command 17- Report Slave ID

This command returns the device type, device status, and a run indicator status byte. The
16-bit device type and device status words are identical to those held in the holding
registers. The run indicator status byte is 255 (0xFF hex) if the device is online and 0
(0x00 hex) if the device is offline. Unlike some of the other diagnostics commands,
different information is returned depending on whether the device ID used in this
command corresponds to the Base Radio or one of the Transmitters mapped to a device
ID when operating in the device ID mapping mode.

For further details on this command, please consult the Modbus protocol specification.

28

Advertising