Honeywell XYR 5000 LINE manual Modbus Communication Protocol, Regmode

Page 33

Follow the Base Radio menu map, shown in Figure 6-4,to configure the mapping mode. The factory default is the Device ID mode.

Figure 6-4 Menu Map to Modbus Mapping Mode Setting

6.2Modbus Communication Protocol

The Base Radio connects to the Host (Master) system using Modbus over a serial RS- 485 line. The Base Radio supports Modbus RTU transmission mode at baud rates of 9600, 19200, 38400, 57600, or 115200 baud with even, odd, or no parity and 8 data bits. One stop bit is used if even or odd parity is selected and two stop bits are used if the no parity option is selected to fill out the character frame to a full 11-bit character. Unless modified by the user, default values of 19200 baud, 8 data bits, even parity, and one stop bit are used.

Note This device supports Modbus RTU (Binary) communications. Note that the ASC-II transmission mode is not supported.

The Base Radio is always located at the device ID selected by the DEV ID menu item. Transmitters can be configured either to be assigned to an individual Modbus device ID or to holding registers within the Base Radio device ID through the appropriate selection in the MODMAP menu item. There are two MODMAP modes available: DEVMODE and

REGMODE.

If the device ID mode (DEVMODE) is selected, a Transmitter's data may be accessed with the Modbus Read Holding Register Command (03) by using the Transmitter's equivalent Modbus device ID. The Transmitter's equivalent Modbus device ID is the Base Radio's device ID + the Transmitter's RF ID. For example, if the Base Radio’s device ID was 10 and a Transmitter’s RF ID was 5, the Transmitter would be accessed under Modbus device ID 15. Using the device ID mapping mode adjusts the upper limit of the Base Radio’s device ID to 247 minus the number of Transmitters on the RF network. For example, if 5 Transmitters were on the Base Radio’s network, the maximum Modbus device ID would be 242.

If the register-mapping mode (REGMODE) is selected, a Transmitter’s data may be accessed with the Modbus Read Holding Register command (03) using the Base Radio’s

26

Image 33
Contents XYR 5000 Line 34-XY-25-05 Rev 08/06 Base Radio User GuidePage FCC Certification Base RadioRevision Notes ContactsTelephone Table of Contents Quare R OOT F Unction Table of Figures Overall Wiring SchematicUsing this Manual IntroductionAbout the Device Software Compatibility UnpackingQuick Start Overall Wiring SchematicPage Installation Mechanical InstallationBase Radio Positioning 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 RadioWiring the DB-9 RS-485 Cable to the Base Radio Daisy-Chaining Multiple Base Radios to Single RS-485/PowerUSB Converter’s Male DB-9 Connector USB Driver Un-installationDaisy-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 RadioGeneral Configuration Base Radio Displayed MessagesRead Only Sequence 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 Setup Menu Map to Modbus Baud Rate Setting Modbus Device ID SettingPage Modbus Mapping Mode Setting Modbus Parity SettingRegmode Modbus Communication ProtocolModbus Commands Command 03-Read Holding RegistersCommand 08- Diagnostic Command 11- Get Com Event Counter Command 12- Get Com Event LogCommand 17- Report Slave ID Base Radio Holding Registers Command 43- Read Device IDRegister Address Description Register Type Register Address DescriptionBase Radio Device Status Registers Base Radio Device Type RegistersBase Radio On/Offline Transmitter Registers Value Base Radio Device StatusRegister Mapping Mode Device ID Mapping ModeTransmitter Holding Registers Register AddressValue Device Type Transmitter Device Type Holding RegistersSquare Root Function Alarm Condition WN571 onlyTransmitter Device Status Registers Value Transmitter Device StatusTechnical 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