User Manual Anybus BACnet to Modbus Gateway Doc: HMSI-27-274 Rev. 1.00 Connecting DevicesTM HALMSTAD • CHICAGO • KARLSRUHE • TOKYO • BEIJING • MILANO • MULHOUSE • COVENTRY • PUNE • COPENHAGEN HMS Industrial Networks Mailing address: Box 4126, 300 04 Halmstad, Sweden Visiting address: Stationsgatan 37, Halmstad, Sweden E-mail: info@hms-networks.com www.anybus.
Important User Information This document is intended to provide a good understanding of the functionality offered by the Anybus BACnet to Modbus Gateway. The document only describes the features that are specific to the Anybus BACnet to Modbus Gateway. The reader of this document is expected to be familiar with high level software design, and communication systems in general. Liability Every care has been taken in the preparation of this manual.
Table of Contents Table of Contents Important User Information Liability........................................................................................................................................... 2 Intellectual Property Rights............................................................................................................... 2 Trademark Acknowledgements.........................................................................................................
Preface P. About This Document For more information, documentation etc., please visit the HMS website www.anybus.com. P.1 Related Documents Document Anybus BACnet to Modbus Gateway Installation Guide Author SDa P.2 Document History Revision List Revision 1.00 Date Author(s) September 2014 SDa Chapter(s) Description First official release P.
Chapter 1 1. Introduction The Anybus BACnet to Modbus Gateway is housed in a metal case that mounts on 35-mm DIN-rail. Power is from a 24 VAC/VDC (± 10%) source. The half-wave rectified power supply allows sharing of power with other half-wave devices. The optically-isolated serial port allows for connection to either 2-wire or 3-wire RS-485 networks, using a removable 5-pin terminal block. Up to 30 RS-485 Modbus devices can share the serial bus at data rates 2.4 to 115.2 kbps.
Chapter 2 2. Configuration Configuration of the Anybus BACnet to Modbus Gateway is via the built-in web pages, as depicted in the following illustrations. Anybus BACnet to Modbus Gateway User Manual Doc: HMSI-27-274, Rev: 1.
Configuration 7 Anybus BACnet to Modbus Gateway User Manual Doc: HMSI-27-274, Rev: 1.
Configuration 8 2.1 Accessing the Configuration Pages The configuration pages can be accessed via a standard web browser using Java 6 or later. The Anybus BACnet to Modbus Gateway is shipped with a default private IP address, which is 192.168.92.68. Enter this address in the browser to begin configuration. There are 3 main areas that require configuration. 2.1.
Configuration 9 Mapping Modbus Points to BACnet Modbus data is considered as divided in four memory blocks - coils, discrete inputs, input registers and holding registers. Discrete inputs and coils are considered 1-bit points, while input registers and holding registers are 16-bit points. So, 1-bit points would be assigned either a BACnet BI or BO object type, while 16-bit points would be either an AI or AO. If the point was read-only, then it would be considered a BACnet input.
Chapter 3 3. Managing Modbus Devices Once the Anybus BACnet to Modbus Gateway is properly configured, Modbus device profiles can be added for each connected Modbus device. The process for adding devices is similar for Modbus Serial or Modbus TCP devices. 3.1 Adding a Device By clicking on the Mapping Configuration tab you will be presented with a Configured Devices box showing all Modbus devices that are currently being assessed by the Anybus BACnet to Modbus Gateway.
Managing Modbus Devices 11 3.3 Mapping Status By clicking on Mapping Status you can determine the number of Modbus devices that are online, by observing the Unit Status box. To view a particular device, go to the Device Instance drop-down box and select the device. The Modbus address will automatically appear to the right of the device instance. Modbus TCP devices will appear as a combination of IP address and Modbus slave address.
Chapter 4 4. Using Virtual BACnet Routing In the BACnet protocol, physical BACnet devices are assigned unique device instances. In this way, any BACnet device on the same BACnet internetwork can be uniquely identified. Accommodations must be made for non-BACnet compliant devices such as Modbus devices, but the ability to uniquely identify each Modbus device within the BACnet internetwork can be retained thanks to virtual networking.
Chapter 5 5. Applications The following are examples of how the Anybus BACnet to Modbus Gateway can be used in various scenarios. 5.1 Application #1 - Two Virtual Networks A common application is adding one or more Modbus serial networks to a BACnet system. Each Modbus serial network must be configured for the same Modbus serial protocol (RTU or ASCII), the same data rate (2400-115200 baud), and the same parity (ODD, EVEN or NONE).
Applications 14 5.2 Application #2 - Mixing Modbus TCP and Serial A single Anybus BACnet to Modbus Gateway can handle Modbus TCP devices and Modbus RTU devices simultaneously, as long as the 30 device/1000 polled point limit is maintained. In this application the Modbus TCP connection is known as a "one-armed gateway," because both Modbus TCP and BACnet/IP messages transfer through the same Ethernet port. Configuration is similar to that of a Modbus serial device.
Applications 15 5.3 Application #3 - Modbus Serial to TCP Routing The Anybus BACnet to Modbus Gateway will function inherently as a Modbus serial to Modbus TCP router. This mode requires no mapping configuration, since BACnet is not involved. Modbus TCP devices can function as clients, servers or as client/servers. When a Modbus TCP server device is configured, it must be assigned a slave address as well as an IP address.
Applications 16 5.4 Application #4 - Sub-netted IP Network When using IP networks, BACnet client devices, the Anybus BACnet to Modbus Gateway and Modbus TCP devices can all reside on different subnets, interconnected through IP routers. The gateway will still operate under these conditions. Shown below are a BACnet client with BBMD capability and Modbus TCP servers on subnet 1, with the Anybus BACnet to Modbus Gateway and other Modbus TCP servers on subnet 2.
Appendix A A. Technical Specifications Power Requirements: 24 VAC ±10% 10 VA 47–63 Hz, or 24 VDC ±10% 6W Operating Temp: 0°C to +60°C Storage Temp: -40°C to +85°C Relative Humidity: 10–95%, non-condensing Ingress Protection: IP30 Communication Ethernet RS-485 Compliance: IEEE 802.3 Modbus V1.02 Protocols supported: Modbus TCP RTU Master BACnet/IP ASCII Master Data rate: 10 Mbps, 100 Mbps 2.4, 4.8 9.6, 19.2, 38.4, 57.6, 115.