These intellectual property rights may include patents and pending patent applications in the USA and other countries. Anybus ® is a registered trademark of HMS Industrial Networks AB. All other trademarks mentioned in this document are the property of their respective holders. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Signals Tab .........................31 Receive/Send Tab......................34 Diagnostic Tab ......................35 A BACnet Interoperability Building Blocks..............39 B BACnet Service Types ....................42 C BACnet Objects ......................43 D BACnet PICS ........................54 E Technical Data........................ 55 Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
3 (56) Preface About This Document This document describes how to configure and use the Modbus to BACnet Gateway. The instructions in this document require a basic knowledge of BACnet and Modbus technolo- gies and terminology. For additional related documentation and file downloads, please visit www.anybus.com/support.
Caution This instruction must be followed to avoid a risk of personal injury. WARNING This instruction must be followed to avoid a risk of death or serious injury. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Make sure that the power supply is correctly connected and of the recommended type. The Modbus to BACnet Gateway should only be installed by adequately trained personnel and according to applicable safety regulations. The unit should be mounted on a standard DIN rail or screw-mounted onto a flat surface inside a properly grounded metallic enclosure.
Product Description General The Anybus Modbus to BACnet Gateway is intended for integration of Modbus RTU and Mod- bus TCP installations into BACnet MSTP or BACnet IP enabled monitoring and control systems. The gateway acts as a BACnet/IP Server or BACnet MSTP device, allowing other BACnet devi- ces to perform subscription (COV) requests and reads/writes to its internal points.
Installation Procedure These are the main steps when installing and setting up the Modbus to BACnet Gateway. Each step will be described in the following sections of this document. Mount the gateway on a DIN rail or using the screw mounting clips.
Page 10
Can be used to connect a USB flash storage device for storing logfiles. HDD drives are not supported (max. 150 mA load). Console Port (USB Type Mini-B) Used to connect the gateway to a computer for configuration. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
The DIP switches SW A and SW B control internal termination and polarization for ports A / B. Switch Function ON = 120 Ω termination enabled 2, 3 ON = line polarization enabled Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Push the three mounting clips on the back of the unit from the original position to the outer posi- tion. A click indicates when the clip is locked in the outer position. The holes in the mounting clips can now be used for screw mounting. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
If the gateway is installed at one of the ends of the Modbus serial bus, the internal termination switch for the port (DIP switch 1) should be switched on. See DIP Switches, p. Do not use an external termination resistor when internal termination is enabled. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Ethernet network subnet. The gateway uses DHCP as default. The USB port next to the EIA-232 serial port is only intended for making file backups to a USB flash drive and cannot be used for configuration. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
You will be prompted for a location for the installation on your hard disk. Use the default lo- cation if unsure. Fig. 5 Installation wizard Open Anybus Configuration Manager (MAPS) from the Start menu or by double-clicking on the icon on your desktop. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
14 (56) Connection Tab Anybus Configuration Manager (MAPS) can communicate with the gateway either over an Ethernet network or directly via the Console USB port. Projects can be created when the gate- way is offline and then downloaded to the unit once a connection has been established.
Page 17
► Check the USB connections on the gateway and computer. ► Check that the gateway is powered on. ► Open the Windows Device Manager to check for issues with the COM ports. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
The default password is “admin”. To change the password, enter a new password in the text box and download the configuration to the gateway. The IP address, netmask and default gateway will also be used for BACnet/IP communication. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 19
Anybus Configuration Manager (MAPS) 17 (56) Conversions Edit Conversions Allows you to define customized unit conversions and value filters to be used in the integration project. See also Signals Tab, p. Fig. 10 Conversions Manager Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 20
The maximum number of supported BACnet MSTP masters. Max. Info Frames The maximum number of Info frames. Baudrate The BACnet MSTP communication speed. MAC Address The BACnet MSTP MAC address for the gateway. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 21
BACnet interface. Changing the advanced configuration settings may cause problems with BACnet communication. Do not change these settings unless you have a good knowledge of the BACnet communication protocol. Fig. 12 Advanced configuration Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 22
To: The end time for the Notifications Class to be available. • Issue Confirmed Notifications Advanced In this section, ACK for different transitions can be set as required. The priority of the transition ACK can be set from 0 to 255. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 23
Create new state text lists or modify existing lists. Tool Configuration Create a secondary mapping for the states to create custom conversions between the BACnet states received and the values that the gateway will transmit to the BMS protocol. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 24
Week N Day: The rule is applied on specific months, weeks and/or week days. If an * is selected, the rule will apply for all cases. Fig. 17 Calendars (week and day rule) Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 25
Priority BACnet priority to be set on this schedule. Default = 16. Default Value Default value to be applied on this schedule. Effective Period The time period when this schedule applies. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 26
Schedule object configuration Schedules – Weekly Schedule Tab Select one week day and the desired Time Values when the schedule should apply. Only 6 Time Values are allowed. Fig. 20 Weekly schedule configuration Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 27
Create exceptions to the schedules. Up to 16 different expections can be created with up to 6 Time Values for each exception. Fig. 21 Exception events Schedules – Week Schedule Tab Create and modify schedules graphically in a calendar view. Fig. 22 Calendar view Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 28
Set the period when Trend Logs will be active. It can be set as always or in a time frame or range Selected Objects Selection of objects to be included inside a Trend Log. Up to 10 different BACnet Objects can be selected. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Modbus connection over the EIA-485 serial port. Modbus TCP Modbus connection over Ethernet. More than one Modbus master device can be active in this mode. Both Modbus RTU and Modbus TCP connections allowed simultaneously. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 30
Click on Delete to delete the selected device. Device Timeout Time to wait before sending a timeout message if there is no response from the slave device. Fig. 26 Modbus RTU node configuration Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 31
TCP connection is OK. Allowed values: 0 to 30000 ms Time Slave Chg Minimum time of silence when changing from one slave device to another. Allowed values: 0 to 10000 ms Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 32
Sets the maximum number of registers to be grouped in a single Poll Record. Poll Records Preview Summary of the Poll Records to be used according to the current configuration present in the Signals table. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
The number of states for multistate objects. Only applies if Texts is not used. Rel. Def. Defines the Relinquish Default value. Defines the Change Of Value increment. Conversions Defines conversions to apply to the signal. See Conversions, p. Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 34
Unsigned, Signed C2, Signed C1 and ByteOrder The byte order used Address Register signal starting address If using multiple bit (bit fields), indicate the bit you want to read Fig. 30 Modbus signals Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 35
Excel: Exports the signal table in Excel format. The file can then be modified in Excel (or another compatible spreadsheet application) and imported back into Modbus to BACnet Gateway. • EDE: Export BACnet information into an EDE file format. This can be useful for sharing BACnet information with the BACnet BMS integrator to speed up integration time.
Send the current project configuration to the gateway. If the project has not been saved you will be prompted to save it before sending. Fig. 32 Send configuration 5.5.2 Receive Downloads the active configuration from the connected gateway to the Anybus Configuration Manager (MAPS). Fig. 33 Receive configuration Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Records all information present in all viewers and saves it to a zip archive. This file can then be sent to Anybus support to assist troubleshooting. Commands Can be used to send specific commands to the gateway: Requests general information from the gateway.
Page 38
BACnet Server Viewer This viewer displays frames related to BACnet communication. Fig. 36 BACnet Server viewer Modbus Master Viewer This viewer displays frames related to Modbus communication. Fig. 37 Modbus Master viewer Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 39
(if connected). To manually refresh the values, click on . This may be necessary if the gateway has already been running for some time. Fig. 38 Signals viewer Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
AE-ESUM-A Alarm and Event-Enrollment Summary-A GetEnrollmentSummary AE-ESUM-B Alarm and Event-Enrollment Summary-B GetEnrollmentSummary AE-INFO-A Alarm and Event-Information–A GetEventInformation AE-INFO-B Alarm and Event-Information–B GetEventInformation AE-LS-A Alarm and Event-LifeSafety–A LifeSafetyOperation AE-LS-B Alarm and Event-LifeSafety–B LifeSafetyOperation Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Appendix B: BACnet Service Types 42 (56) BACnet Service Types The following BACnet Service Types are supported by the Modbus to BACnet Gateway: Service type Service name Supported Alarm and Event Services AcknowledgeAlarm ConfirmedCOVNotification ConfirmedEventNotification GetAlarmSummary GetEnrollmentSummary SubscribeCOV File Access Services...
Appendix C: BACnet Objects 43 (56) BACnet Objects The following BACnet Objects are supported by the Modbus to BACnet Gateway: Object Type Supported Analog-Input Analog-Output Analog-Value Averaging Binary-Input Binary-Output Binary-Value Calendar Command Device Event-Enrollment File Group Life-Safety-Point Life-Safety-Zone Loop Multistate-Input...
Page 46
BACnetArray[N] of BOOLEAN Manual_Slave_Address_ Binding List of BACnetAddressBinding Auto_Slave_Discovery BACnetArray[N] of BOOLEAN Slave_Address_Binding BACnetAddressBinding Last_Restart_Reason BACnetRestartReason Time_Of_Device_Restart BACnetTimeStamp Restart_Notification_ List of BACnetRecipient Recipients UTC_Time_ Synchronization_ List of BACnetRecipient Recipients Time_Synchronization_ Interval Unsigned Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 47
Analog Output Object Type Property Identifier Property Datatype Value ASHRAE Anybus Object_Identifier BACnetObjectIdentifier (Analog Output, 0) Object_Name CharacterString Configurable through BACnet and Config Tool Object_Type BACnetObjectType ANALOG_OUTPUT (1) Present_Value REAL Description CharacterString Device_Type CharacterString Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 48
BACnetEventState STATE_NORMAL (0) Reliability BACnetReliability NO_FAULT_DETECTED (0) Out_Of_Service BOOLEAN FALSE Update_Interval Unsigned Units BACnetEngineeringUnits Configurable through BACnet and Config Tool Min_Pres_Value REAL Max_Pres_Value REAL Resolution REAL COV_Increment REAL Time_Delay Unsigned Notification_Class Unsigned Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 49
Unsigned Time_Of_Active_Time_Reset BACnetDatetime Time_Delay Unsigned Notification_Class Unsigned Alarm_Value BACnetBinaryPV Event_Enable BACnetEventTransitionBits Acked_Transitions BACnetEventTransitionBits Notify_Type BACnetNotifyType Event_Time_Stamps BACnetArray[N] of BACnetTimeStamp Profile_Name CharacterString * Only available when specific object has a Notification Class configured Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 51
BOOLEAN FALSE Number_Of_States Unsigned Configurable through BACnet and Config Tool State_Text BACnetArray[N] of CharacterString Time_Delay Unsigned Notification_Class Unsigned Alarm_Values List of Unsigned Fault_Values List of Unsigned Event_Enable BACnetEventTransitionBits Acked_Transitions BACnetEventTransitionBits Notify_Type BACnetNotifyType Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Page 55
Unsigned Event_Enable BACnetEventTransitionBits Acked_Transitions BACnetEventTransitionBits Notify_Type BACnetNotifyType Event_Time_Stamps BACnetARRAY[3] of BACnetTimeStamp EventMessageTexts BACnetARRAY[3] of CharacterString Profile_Name CharacterString Logging_Type BACnetLoggingType Status_Flags BACnetStatusFlags * Only available when specific object has a Notification Class configured Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
IP, MSTP Supported Modbus slave device types Modbus RTU (EIA485), Modbus TCP Maximum number of Modbus Slave devices Up to 255 devices per node (RTU and TCP) Up to 5 TCP connections Modbus to BACnet Gateway User Manual SCM-1202-049 1.0...
Need help?
Do you have a question about the Modbus to BACnet Gateway and is the answer not in the manual?
Questions and answers