Honeywell XYR 5000 LINE manual Command 11- Get Com Event Counter, Command 12- Get Com Event Log

Page 35

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

Image 35
Contents XYR 5000 Line 34-XY-25-05 Rev 08/06 Base Radio User GuidePage FCC Certification Base RadioTelephone Revision NotesContacts Table of Contents Quare R OOT F Unction Table of Figures Overall Wiring SchematicAbout the Device Using this ManualIntroduction Software Compatibility UnpackingQuick Start Overall Wiring SchematicPage Base Radio Positioning InstallationMechanical Installation General Layout Electrical Specifications Electrical InstallationTerminal Block Labels Wiring RS-485 to the Base Radio Wiring Power to the Base RadioWiring RS-485 to the Base Radio Wiring the RS-485/232 Converter to the Base RadioUSB Driver Installation Wiring the RS-485/USB Converter to the Base RadioUSB Driver Un-installation Daisy-Chaining Multiple Base Radios to Single RS-485/PowerWiring the DB-9 RS-485 Cable to the Base Radio USB Converter’s Male DB-9 ConnectorDaisy-Chaining RS-485 to Multiple Base Radios Daisy-Chaining Power to Multiple Base RadiosDaisy-Chaining RS-485 to Multiple Base Radios Terminating Communications Wiring to the Base RadioHigh Gain Antenna Grounding the Base RadioRead Only Sequence General ConfigurationBase Radio Displayed Messages Read Only Sequence Overall Configuration Menu MapMenu Map to Password Setting Setting the User PasswordRF Channel Selection Configuring the RF CommunicationsRF Baud Rate Selection Menu Map to RF Baud Rate SettingHigh Rfid Setting High RF ID SettingModbus Baud Rate Setting Base Radio SetupMenu Map to Modbus Baud Rate Setting Modbus Device ID SettingPage Modbus Mapping Mode Setting Modbus Parity SettingRegmode Modbus Communication ProtocolCommand 08- Diagnostic Modbus CommandsCommand 03-Read Holding Registers Command 17- Report Slave ID Command 11- Get Com Event CounterCommand 12- Get Com Event Log Register Address Description Command 43- Read Device IDBase Radio Holding Registers Register Address Description Register TypeValue Base Radio Device Status Base Radio Device Type RegistersBase Radio Device Status Registers Base Radio On/Offline Transmitter RegistersRegister Address Device ID Mapping ModeRegister Mapping Mode Transmitter Holding RegistersValue Device Type Transmitter Device Type Holding RegistersValue Transmitter Device Status Alarm Condition WN571 onlySquare Root Function Transmitter Device Status RegistersTechnical Specifications Overall Base Radio Dimensions Appendix a Navigating the Menus Figure A- 1 Base Radio Menu Map Appendix B Base Radio Menu MapAppendix C Modbus Register Definitions Page Page Page Honeywell