Control Network Newsletter

Newsletter Archives

Troubleshooting BACnet Networks with the BASrouter Status Screen

May 2012 – The BASrouter Status Screen is accessed via a button on the right side of the unit's main configuration page. This screen lists a variety of parameters that are updated when you manually refresh the page. Some parameters are for use by our engineers and are displayed only so you can take a screen capture of these values to send to us for study. Other parameters in the list can help you – even if you have little or no knowledge of the BACnet standard. Let's take a look these and discuss how they can help you gain insight into your network performance.

The first eight lines of the Status Screen report packet counts. Obviously, the number and frequency of messages received and transmitted for each supported network can tell you that data is successfully passing through the router – this is the fundamental benefit of these packet reports. Rarely will an Incoming and Outgoing packet count equal each other, but certain counts should be similar – as shown in our example and discussed below.

Troubleshooting with BASrouterThe primary BACnet/IP port is abbreviated BIP 1 and the secondary port is BIP 2. BIP 2 is only used in the uncommon situation in which the BASrouter must pass data between two BACnet/IP networks – but if that is the case, BIP 1 and BIP 2 packet counts should both be considered. In most situations these counts are similar, but sometimes they are not. If you are routing from BIP 1 to BIP 2, then most messages will be routed from one BIP network to the other – but some messages may be sent only to the router (for example, to read its properties) and are not destined for the other network. If your system is not reading the router properties, but you still see a large count discrepancy – then you may have an issue with your BACnet client and routing. We have seen some clients discover MSTP devices via our router – but then fail to use this routing information and try to read a discovered device's properties directly from our router. Our router holds only its own properties – it holds no properties for any other device.

Most BACnet communication over Ethernet employs the BACnet/IP protocol. Although rare, there are still instances in which the older BACnet/Ethernet protocol (ISO 8802-3) is used. Our routers allow these two protocols to communicate. BACnet/Ethernet uses Ethernet MAC addresses for station addressing – unlike BACnet/IP which targets stations by their Internet Protocol (IP) addresses.

If the BACnet/Ethernet network number is left at its default value of 0, the BACnet/Ethernet function will be disabled and both BACnet/Ethernet counts for Incoming and Outgoing packets should be 0. BACnet/Ethernet and BACnet/IP devices use unique network numbers and the two cannot communicate unless their messages pass through a router. NOTE: To prevent erratic traffic due to message loops, an IP subnet must have only one router enabled for BACnet Ethernet! If you are routing between BACnet/IP and BACnet/Ethernet, the BIP 1 and BACnet/Ethernet packet counts should be similar. If they are not similar, a server device may not be responding to messages – or the client may be ignoring routing information.

The most common use of the BASrouter is to route between a BACnet/IP network and an MSTP network. In such cases, the BIP 1 and MSTP packet counts should be similar. If they are not similar, a server device may not be responding to messages or the client may be ignoring routing information.

Available Memory (at the bottom of the list) is the amount of RAM remaining after buffers have been allocated. If a network is temporarily offline and another attempts to communicate with it, the available memory may drop very low until the offline network returns to an online condition. This value should reflect minimal change each time the screen is refreshed.

The remaining six reports deal with the instantaneous MSTP state of the BASrouter and are explained in the BACnet standard. These reports are mainly for our engineers, but you can observe changes and sometimes gain insight into the MSTP network condition (as seen by the BASrouter). These six reports are the following:

SilenceTimer should count up and then reset to 0. If the count exceeds 500, the BASrouter must think it is the only device on the network.

The EventCount and RFSM reports are only for study by our engineering group.

MNSM (Master Node State Machine) state can give some information about what is occurring. The states are:


  • Idle
  • Answer Data Request
  • Wait for Reply
  • Use Token
  • Done with Token
  • Poll For Master
  • Pass Token
  • No Token

MNSM will cycle through these states as you refresh the screen. Usually the state is Idle, but you should periodically see one of the four token messages – confirming the BASrouter is passing the token to other devices. However, if you only see Idle and Poll For Master, the router must think there are no other devices. If other MSTP devices are present, check for one of the following possibilities:

  • mismatched data rates
  • bad wiring
  • the BASrouter SC pin is not properly connected
  • improper termination at either end of the network*
  • unresponsive MSTP devices
  • only MSTP slaves are present (which do not participate in the token pass)

* The BASrouter can terminate one end, but you must terminate the opposite end.

Next Station is the MSTP MAC address of the device to which the router will next pass the token. This can change when the router searches for devices and if devices leave or enter the network. Once the network is stable, this value normally does not change – but if it does change, then the device next in sequence after the BASrouter (its neighbour) is having an issue and is dropping out of the token pass. You may see this value report the BASrouter's neighbour, then the BASrouter's neighbour's neighbour and then back to the BASrouter's neighbour as the neighbour leaves and rejoins the token pass. Once out of the token pass, a device cannot be discovered – but communications with it may still be possible if your client supports such communication.

Poll Station is the next MAC address the BASrouter will invite into the network. If there is a gap between the router's MAC address and the next logical MAC address on the network, the router will send a Poll For Master to the non-existing MAC address. It will try every address in this gap. For example, if the router is at 0 and the next device has an address of 10, you will see the Poll Station increment from 1 through 9. If the Poll Station value equals that of a device on the network, then this device has fallen out of the token pass.

 

Previous Story

 

Next Story