CONTROL SOLUTIONS BB2-7030 User Manual

Bacnet gateway and router

Advertisement

 
 
 
 
 
 
User Guide

Babel Buster 2

Model BB2-7030
BACnet Gateway and Router
Rev. 1.0 – September 2010
 
 
 

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BB2-7030 and is the answer not in the manual?

Questions and answers

Summary of Contents for CONTROL SOLUTIONS BB2-7030

  • Page 1: Babel Buster

                    User Guide   Babel Buster 2 Model BB2-7030 BACnet Gateway and Router Rev. 1.0 – September 2010...
  • Page 2: Babel Buster

    © 2010 Control Solutions, Inc. BACnet® is a registered trademark of American Society of Heating, Refrigerating and Air-Conditioning Engineers (ASHRAE). Babel Buster® is a registered trademark of Control Solutions, Inc., Minnesota, USA. All other trademarks mentioned in this document are the property of their respective owners.
  • Page 3: Table Of Contents

    5. Using the BB2-7030 as a BACnet Server ..................... 12  6. Using the BB2-7030 as a BACnet Client ...................... 16  7. Using the BB2-7030 as an MS/TP to BACnet IP gateway ................25  8. Configuring the BB2-7030-01 as a Modbus TCP Server ................26 ...
  • Page 4: Introduction

    1. Introduction  The Babel Buster BB2-7030 is a BACnet gateway and router. It may be used as either or both, in various ways for different applications. In its simplest form as a router, it will route a single MS/TP network to a single BACnet IP network. It may be used as a router to interconnect multiple BACnet MS/TP via IP networks.
  • Page 5 The BB2-7030 may also be used as a gateway to connect BACnet MS/TP or BACnet IP to either Modbus TCP or SNMP. There are two variations of the BB2-7030. The BB2-7030-01 may be used as a gateway to connect BACnet MS/TP or BACnet IP to Modbus TCP.
  • Page 6: Connecting The Bb2-7030 For The First Time

    PC’s IP address for 1.2.3.4. This generally works, but if this fails, you will need to temporarily change your computer’s IP address to a fixed address that starts with 10.0.0. and ends with anything but 101. BB2-7030 User Guide – Rev. 1.0 Page 3...
  • Page 7 “root” using password “buster”. You should log in as “root” if you will be changing the IP address. (g) To can change the IP address of the BB2-7030, go to the Local Host page under System :: Setup. The following page should appear. Change the IP address, and subnet mask and gateway if applicable.
  • Page 8 RAM copy of the configuration file. To make your changes other than IP address permanent, you must click Save on the Config File page (System :: Setup :: Config File). BB2-7030 User Guide – Rev. 1.0 Page 5...
  • Page 9: Minimum Bb2-7030 Gateway/Router Setup

    The BB2-7030 requires only minimal configuration to be useful in its simplest form. First, you must assign a device instance to the BB2-7030, and you do this via the BACnet IP Port page. You may leave all other settings at their default. You could leave the device instance at its default as well.
  • Page 10 The last item that should be configured on the above page is Hop Count. If you are only connecting MS/TP to BACnet IP locally, set that count to at most 2 since you will not need to make any additional router hops. If there are additional routers in your system, the hop count needs to be the maximum number of routers that a message must hop to reach the final destination.
  • Page 11 The primary use of hop count is to force packets on the network to be discarded faster, particularly in the event of router misconfiguration that results in a continuous loop. BB2-7030 User Guide – Rev. 1.0 Page 8...
  • Page 12: Using The Bb2-7030 As A Bacnet Router

    Who-Is-Router. You may enter the remote router's address as an MS/TP MAC address, or an IP address optionally with port number. If no port number is given, the BB2-7030's own local port number will be used. IP should be given in the form of 192.168.1.199:47808 (for example) or just 192.168.1.199.
  • Page 13 It should also be noted that if some external BACnet network management tool sends a router table initialize message to this device, the entire page shown here will be replaced. After a delay of a few minutes, the new contents of this page will be auto-saved to the XML configuration file for subsequent reload.
  • Page 14 The networks listed as “Connected” in the diagram are the locally connected network numbers. The remaining networks are router table entries. Each entry tells the local router which network the given net number will be found on. BB2-7030 User Guide – Rev. 1.0 Page 11...
  • Page 15: Using The Bb2-7030 As A Bacnet Server

    Data may be placed in the local objects by other devices writing to the BB2-7030, or by the BB2-7030 querying other devices. When the BB2-7030 is configured to query other devices, these operations are defined by “read maps”...
  • Page 16 Out of Service means any polling of the slave device will stop. While out of service, the present value may be written by the BACnet client. Data may be forced via this web page at any time, but will be overwritten by the next poll unless the object is out of service.
  • Page 17 BACnet object. The designation R means read from external device, and W means write to external device. The destination of data for an Analog Output object will be writing to another BACnet device, or to a Modbus device. The external device will be updated upon change of source data and/or periodically as defined by the Write Map.
  • Page 18 Value window, check Force, and click Update. Out of service means the external device will not be written. Values written by the BACnet client will be retained, but only applied when this object is placed back in service. At that time, the highest priority value will be written to the external device.
  • Page 19: Using The Bb2-7030 As A Bacnet Client

    The BACnet client is used to query other BACnet devices, obtain their Present Value data, and store a copy of that data in the BB2-7030’s own local objects. From there, the data may be accessed by Modbus TCP or SNMP devices, or other BACnet devices when application specific reasons make this approach more preferred than direct routing.
  • Page 20 Note that 47808 is the default 0xBAC0 port number. If no port number is given, the port configured on the BACnet IP Port page will be used (the BB2-7030's own port). Map number simply tells you where you're at on the list of register maps. Click "next" and "prev"...
  • Page 21 Local Object is internally a coded number consisting of BACnet object type multiplied by 1000, then added to the object number starting from #1. These are translated into abbreviations that are easy to interpret on the web page as follows:...
  • Page 22 Map number simply tells you where you're at on the list of register maps. Click "next" and "prev" to scroll through the list. To advance directly to a specific map, enter the desired number in the "Showing" box, then click Update. BB2-7030 User Guide – Rev. 1.0 Page 19...
  • Page 23 Unused maps at the end of the list will always show none as the type. Local Object is internally a coded number consisting of BACnet object type multiplied by 1000, then added to the object number starting from #1. These are translated into abbreviations that are...
  • Page 24 Delete will remove the rule number shown in the "Map #" box. Insert will insert a new map before the map number shown, and is used for placing maps between existing maps. It is not BB2-7030 User Guide – Rev. 1.0 Page 21...
  • Page 25 If the displayed maps are used up and you need more, increase the enabled number. Errors for BACnet IP client read maps are shown on this page. Only those maps with errors to report are listed. Refer to the code and class lists below for interpretation.
  • Page 26 30 = ERROR_CODE_TIMEOUT /* Error Class - Services */ 5 = ERROR_CODE_FILE_ACCESS_DENIED 7 = ERROR_CODE_INCONSISTENT_PARAMETERS 10 = ERROR_CODE_INVALID_FILE_ACCESS_METHOD 11 = ERROR_CODE_ERROR_CODE_INVALID_FILE_START_POSITION 13 = ERROR_CODE_INVALID_PARAMETER_DATA_TYPE 14 = ERROR_CODE_INVALID_TIME_STAMP 16 = ERROR_CODE_MISSING_REQUIRED_PARAMETER 22 = ERROR_CODE_PROPERTY_IS_NOT_A_LIST BB2-7030 User Guide – Rev. 1.0 Page 23...
  • Page 27 29 = ERROR_CODE_SERVICE_REQUEST_DENIED 43 = ERROR_CODE_COV_SUBSCRIPTION_FAILED 46 = ERROR_CODE_INVALID_CONFIGURATION_DATA 48 = ERROR_CODE_DUPLICATE_NAME 49 = ERROR_CODE_DUPLICATE_OBJECT_ID BB2-7030 User Guide – Rev. 1.0 Page 24...
  • Page 28: Using The Bb2-7030 As An Ms/Tp To Bacnet Ip Gateway

    (This definition of proxy is not what is meant on the Slave Proxy page.) The BACnet client, or master, in the case of a gateway would treat the BB2-7030 as a single device having some number of objects containing data. The main reason one would use the BB2- 7030 as a gateway for BACnet to BACnet data transfer is to permit some sort of data filtering or manipulation or alternate form of representation as the data is passed through.
  • Page 29: Configuring The Bb2-7030-01 As A Modbus Tcp Server

    The Modbus TCP server is simply a collection of registers that may contain data. The source of that data in the case of Babel Buster BB2-7030 can be any of several possible sources. It may be read from another Modbus device. Another Modbus device could have put it there by writing to the BB2-7030.
  • Page 30 BACnet, and Read from Output objects to receive output from BACnet. Attempting to write a BACnet Output object from Modbus will not work properly. You must think of your Modbus device as the physical I/O being accessed from BACnet. If you want to make your Modbus device write to an Output object on another BACnet device, use the BACnet client mapping to translate a local Input to remote Output on the BACnet side.
  • Page 31 Local registers written as coils will be set to 0 or 1. BB2-7030 User Guide – Rev. 1.0 Page 28...
  • Page 32 "a/b" where a=0 is an available connection and b is a code indicating its reason for closing (may be normal TCP close). A code where a>0 and b=0 is an active connection. BB2-7030 User Guide – Rev. 1.0 Page 29...
  • Page 33: Configuring The Bb2-7030-01 As A Modbus Tcp Client

    9. Configuring the BB2­7030­01 as a Modbus TCP Client  The BB2-7030-01 can be a Modbus client or server. As a client (master) you can read Modbus data from, or write Modbus data to, other Modbus servers (slaves). The BB2-7030 will periodically poll the other Modbus devices according to register maps you set up. The Modbus server (slave) devices that you will read/write are defined on the Devices page.
  • Page 34 Rules entered on this page only read data from remote devices. Go to the Client Write Map to write data to those devices. The full parameter set is different for read versus write. BB2-7030 User Guide – Rev. 1.0 Page 31...
  • Page 35 Unused rules at the end of the list will always show none as the type. Local Object is internally a coded number consisting of BACnet object type multiplied by 1000, then added to the object number starting from #1. These are translated into abbreviations that are...
  • Page 36 It is not necessary to use Insert to add rules to the bottom of the list or to define any rule presently having zero for a source object or "none" for remote type. BB2-7030 User Guide – Rev. 1.0 Page 33...
  • Page 37 Units default to no_units, but you may select any of the available BACnetEngineeringUnits values. This value will simply be read by the BACnet client when the units property is requested from the object this Modbus register maps to. The units have no bearing on calculations performed.
  • Page 38 Unused rules at the end of the list will always show none as the type. Local Object is internally a coded number consisting of BACnet object type multiplied by 1000, then added to the object number starting from #1. These are translated into abbreviations that are...
  • Page 39 If the destination is the same, data types are 16-bit (integer or unsigned), bit masks are nonzero, and the rules are sequential, BB2-7030 User Guide – Rev. 1.0 Page 36...
  • Page 40 Units default to no_units, but you may select any of the available BACnetEngineeringUnits values. This value will simply be read by the BACnet client when the units property is requested from the object this Modbus register maps to. The units have no bearing on calculations performed.
  • Page 41 When A is code 2 indicating an exception code was returned, B indicates the exception as follows: 1 = Illegal function code 2 = Illegal data address (the requested register does not exist in the device) 3 = Illegal data value BB2-7030 User Guide – Rev. 1.0 Page 38...
  • Page 42: Using The Bb2-7030-01 As A Bacnet To Modbus Tcp Gateway

    The BB2-7030 can be “slave” on both BACnet and Modbus sides at the same time. The BB2- 7030 can also be “master” on both BACnet and Modbus sides at the same time. To be a slave on both sides, no client functions need to be configured (no read/write maps entered). To be a master on both sides, both the BACnet client and Modbus client need to be configured.
  • Page 43: Using The Bb2-7030-02 As An Snmp Server (Agent)

    11. Using the BB2­7030­02 as an SNMP Server (Agent)  The BB2-7030-02 can act as an SNMP agent or server. You select which BACnet objects are to show up in the MIB, and the MIB is created dynamically as you fill out the list of objects. Once the MIB is created, any standard v1 or v2 SNMP manager can access the data. Integer data is most universally recognized by SNMP.
  • Page 44 Unused rules at the end of the list will always show none as the type. Local Object is internally a coded number consisting of BACnet object type multiplied by 1000, then added to the object number starting from #1. These are translated into abbreviations that are...
  • Page 45 Repeat time is in seconds. Example: If repeat count is set to 3, and repeat time is set to 60 seconds, then three trap messages will be sent in a burst and this burst will be repeated once every minute. BB2-7030 User Guide – Rev. 1.0 Page 42...
  • Page 46 SNMP client. The local community is the name that must be used by the remote SNMP client to write to this device. The name "public" is accepted for reading. BB2-7030 User Guide – Rev. 1.0 Page 43...
  • Page 47: Using The Bb2-7030-02 As An Snmp Client (Manager)

    12. Using the BB2­7030­02 as an SNMP Client (Manager)  The BB2-7030 has the ability to be an SNMP client. In “master/slave” terms, this would be the master. Configuring the SNMP client starts with defining one or more SNMP devices that will be queried. Then, like the other possible client functions in the BB2-7030, you set up read and write maps.
  • Page 48 Unused rules at the end of the list will always show none as the type. Local Object is internally a coded number consisting of BACnet object type multiplied by 1000, then added to the object number starting from #1. These are translated into abbreviations that are easy to interpret on the web page as follows: BB2-7030 User Guide –...
  • Page 49 The name is optional and used only for display purposes (but will also be returned as the object name to the BACnet client). BB2-7030 User Guide – Rev. 1.0 Page 46...
  • Page 50 Units default to no_units, but you may select any of the available BACnetEngineeringUnits values. This value will simply be read by the BACnet client when the units property is requested from the object this OID maps to. The units have no bearing on calculations performed. You must select appropriate scale and offset values to make any required translation between SNMP units and BACnet units.
  • Page 51 Unused rules at the end of the list will always show none as the type. Local Object is internally a coded number consisting of BACnet object type multiplied by 1000, then added to the object number starting from #1. These are translated into abbreviations that are easy to interpret on the web page as follows: BB2-7030 User Guide –...
  • Page 52 This time period will be referred to as the "maximum quiet time". BB2-7030 User Guide – Rev. 1.0 Page 49...
  • Page 53 Units default to no_units, but you may select any of the available BACnetEngineeringUnits values. This value will simply be read by the BACnet client when the units property is requested from the object this OID maps to. The units have no bearing on calculations performed. You must select appropriate scale and offset values to make any required translation between SNMP units and BACnet units.
  • Page 54 Other error codes are possible but improbable. Codes in the 80-120 range indicate socket errors; however, because SNMP uses UDP/IP, which is "connectionless", socket errors would indicate something internal is seriously broken. BB2-7030 User Guide – Rev. 1.0 Page 51...
  • Page 55: Using The Bb2-7030-02 As A Bacnet To Snmp Gateway

    The BB2-7030 can be “slave” on both BACnet and SNMP sides at the same time. The BB2-7030 can also be “master” on both BACnet and SNMP sides at the same time. To be a slave on both sides, only the SNMP MIB needs to be set up under the SNMP Agent tab. To be a master on both sides, both the BACnet client and SNMP client need to be configured.
  • Page 56: Using The Bb2-7030 Proxy Support

    Who-Is is received. Traffic subsequently received from the above devices will be routed as applicable. Therefore the BB2-7030 can be a proxy for a BACnet IP device responding to a Who-Is from an MS/TP device, and vice versa.
  • Page 57 All proxy configuration in the BB2-7030 is manual, fixed in the sense that they are not automatically removed for any reason, and are retained through power cycle provided the Save was used on the Config File page.
  • Page 58: Using The Bb2-7030 Bbmd Support And Wan Routing

    The above screen image shows how all but one device in the BBMD set would be configured (using your own applicable IP address). The image below shows how the one device in the middle would be configured, and also shows the list of devices currently registered. BB2-7030 User Guide – Rev. 1.0 Page 55...
  • Page 59 Static IP address. If your Internet connection uses your ISP’s DHCP to get an address, it is not suitable for BACnet via WAN use. If you are serious about BACnet over WAN, you probably need to get your IT people involved.
  • Page 60 The screen shot below shows port forwarding set up for BACnet coming in from WAN to our BACnet BBMD device at 192.168.1.100. Additional configuration of the LAN and WAN are required – simply follow manufacturer’s instructions. The following screen shot shows the VPN setup page in a DIR-130 DLink VPN router. The local and remote domains must be different, even though they are “local”...
  • Page 61 BB2-7030 User Guide – Rev. 1.0 Page 58...
  • Page 62 The following is an illustration of a BACnet network distributed over a wide area via standard Internet connection. It uses WAN routers (either with or without secure VPN) and BBMD enabled on one device at each location. BB2-7030 User Guide – Rev. 1.0...
  • Page 63: Miscellaneous System Setup

    Config File page and click Save. If you save your configuration to some file other than BootConfig.xml, you will need to select that file in Boot window if you want the BB2-7030 to default to using that configuration at power-up.
  • Page 64 PC, and re-upload the same file, the browser may send the old file. Again, you will need to find the button inside your browser options that lets you delete the cached files from your PC. BB2-7030 User Guide – Rev. 1.0 Page 61...
  • Page 65: Hardware Guide

    17. Hardware Guide  Wire the BB2-7030 as illustrated above. Follow all conventional standards for wiring of EIA-485 networks when connecting the MS/TP EIA-485 (RS485) network. This includes use and termination of shield, termination of the network, and grounding. IMPORTANT: Although EIA-485 (RS485) is thought of as a 2-wire network, you MUST include a third conductor connected to GND or common at each device so that all devices are operating at close to the same ground potential.
  • Page 66 If so, count the flash code and report it to tech support. When the BB2-7030 is powered up, there is a pause of a couple of seconds while the red LED is on. Red at power up means the window is open for coprocessor firmware update.
  • Page 67: Trouble Shooting

    Also, be sure the EIA-485 wiring is “clean”, and that the BB2-7030 is not on a long “stub” off the main network. Recheck wiring polarity as well if adding the BB2-7030 took the network down.
  • Page 68: Bacnet Object Properties

    Unsigned (multi-state objets) (no index) (priority required when writing commandable objects) (input objects writeable only when out of service) Status_Flags (111) BACnetStatusFlags BIT STRING: fault(1), out-of-service(3) Event_State (36) BACnetEventState ENUMERATED: normal(0), fault(1) BB2-7030 User Guide – Rev. 1.0 Page 65...
  • Page 69: Device Object Properties

    BACnetEngineeringUnits (analog objects only) 19.2 Device Object Properties   The following properties are found in the Device object of the BB2-7030. In addition to standard Device properties, configuration properties that apply at a system level to the whole device are included here. Property...
  • Page 70 Unsigned Protocol_Services_Supported (97) BACnetServicesSupported Protocol_Object_Types_Supported (96) BACnetObjectTypesSupported Object_List (76) BACnetARRAY[N] of BACnetObjectIdentifier Max_APDU_Length_Accepted (62) Unsigned Segmentation_Supported (107) BACnetSegmentation APDU_Timeout (11) Unsigned Number_Of_APDU_Retries (73) Unsigned Device_Address_Binding (30) List of BACnetAddressBinding Database_Revision (155) Unsigned BB2-7030 User Guide – Rev. 1.0 Page 67...
  • Page 71: Modbus Slave Register Mapping

    When using the server map to create a virtual device, you can also access BACnet objects as coils, discrete inputs, or input registers (writing is supported only for coils and holding registers).
  • Page 72: Modbus Function Codes Recognized By Bb2-7030

    -99 to indicate room temperature if the BB2-7030 is unable to read the MS/TP sensor. 20.3 Modbus Function Codes Recognized by BB2-7030   The following function codes are used by BB2-7030 as Modbus TCP master, and are also recognized by BB2-7030 when functioning as a slave.

This manual is also suitable for:

Babel buster 2 bb2-7030

Table of Contents