Number of devices on a BACnet MSTP chain

by Svetlana Lyons January 03, 2014

What is a reasonable device number on a BACnet MSTP chain?

Scenario:

A site reported 50 MSTP devices attached to a BACnet/IP to MSTP router (like our Cimetrics B6000). Device chain response was slow…taking as much as three or four minutes to get under ten points from each device.

Background:

MSTP and many RS485 communications networks allow 250 addresses with data rates up into the 100 kBaud range and line lengths to a maximum of 1200 m. But having all of these maximums at once is almost never practical.

BACnet MSTP itself only allows 127 master devices in its address space. But even approaching that number would generally be problematic for the protocol and the underlying RS485 data-link.

The RS485 data-link as a bus topology needs proper wire type and proper biasing and termination to perform properly. RS485 transceivers have a loading factor which limits how many can be connected to the bus. For full-load transceivers more than about 16 are not a good idea, and even with modern quarter or sixteenth load transceivers, there can be problems. Reliable operation of nodes is often specified at moderate data rates around 10 kBaud and moderate line length of around 100m. These and other factors make it reasonable to stay within a 32 device limit. One can see such device number limits due to underlying RS485 issues with networks like JCI N2 and Siemens P1 as well.

Even when one has good RS485 wiring at reasonable speeds and distances and one has a reasonable number of nodes (say around 16), one can still get sluggish performance with MSTP with poorly tuned time-outs and MAX_MASTER.

Staying away from address 0 and 1 is nowhere a part of any standard, but it helps avoid defaults configuration and other implementation issues. If one has sixteen devices then put any router at 2 (or MAX) and number the devices 3,4,5…through MAX-1) and THEN set MAX_MASTER at MAX+3 for a little (bit not too much) headroom.

Advice:

For an MSTP segment with 50 devices subdivide into at least two MTSP RS485 segments by adding routers like the Cimetrics B6000s. And for that matter for Modbus chains like connected with a Cimetrics B6030. Staying below 16 nodes per segment is safest. Check your RS485 wiring for good characteristics and keep your speeds and lengths moderate. Understand timing and MAX_MASTER issues.  

And when you think that you are experiencing MS/TP performance problems, a network protocol analyzer such as the Cimetrics BAS-o-matic can help you to diagnose the problems.




Svetlana Lyons
Svetlana Lyons

Author



Leave a comment

Comments will be approved before showing up.


Also in Cimetrics News

Cimetrics Professional Services Delivers the Promise of Analytics
Cimetrics Professional Services Delivers the Promise of Analytics

by Anto Budiardjo June 12, 2017

Combining cloud-based analytics with professional services to keep smart buildings performing.

Read More

A New Deal for Buildings - An Initiative for 21st Century Facilities
A New Deal for Buildings - An Initiative for 21st Century Facilities

by Anto Budiardjo May 31, 2017

Cimetrics is pleased to announce its support for a new industry initiative: A New Deal for Buildings.

Read More

Mass Innovation Nights #98: IoT at MITRE
Mass Innovation Nights #98: IoT at MITRE

by Svetlana Lyons May 11, 2017

Cimetrics had an honor to participate in the Mass Innovation Nights at MITRE last week in Bedford.

Read More

cimetrics.com Legal Terms and Conditions

June 29, 2016

cimetrics.com (the "Site") is owned by Cimetrics Inc. ("Cimetrics").

PLEASE READ THESE TERMS AND CONDITIONS CAREFULLY BEFORE USING THIS SITE.  YOU MAY NOT USE THIS SITE IF YOU DO NOT ACCEPT THE TERMS AND CONDITIONS.

Terms of Use

The information herein provided is for general informative purposes only, and no warranties or representations are made with respect thereto. The information may contain inaccuracies or typographical errors.  The information provided is subject to change at any time, and without notice. Changed information may include, but is not limited to, technical specifications and pricing. Binding declarations are only given after detailed enquiries.

BECAUSE THE INFORMATION IS NOT WARRANTED, ALL LIABILITY FOR THE ACCURACY OF THE INFORMATION IS EXPRESSLY EXCLUDED.

IN NO EVENT SHALL CIMETRICS, ITS OFFICERS, DIRECTORS, EMPLOYEES, PARENTS, AFFILIATES, SUCCESSORS OR ASSIGNS, BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OR PERFORMANCE OF THE CIMETRICS SITE, WITH THE DELAY OR INABILITY TO USE THE CIMETRICS SITE OR RELATED SERVICES, THE PROVISION OF OR FAILURE TO PROVIDE SERVICES, OR FOR ANY INFORMATION, SOFTWARE, PRODUCTS, SERVICES AND RELATED GRAPHICS OBTAINED THROUGH THE CIMETRICS SITE, OR OTHERWISE ARISING OUT OF THE USE OF THE CIMETRICS SITE, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF CIMETRICS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES. BECAUSE SOME STATES/JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE ABOVE LIMITATION MAY NOT APPLY TO YOU. IF YOU ARE DISSATISFIED WITH ANY PORTION OF THE CIMETRICS SITE, OR WITH ANY OF THESE TERMS OF USE, YOUR SOLE AND EXCLUSIVE REMEDY IS TO DISCONTINUE USING THE CIMETRICS SITE.

Passwords

If you have been given a Password in order to gain access to certain information on this Site, or any other affiliates’ website, then you agree, as a condition of receiving said Password, that you shall keep the Password confidential. You shall only disclose the Password to your employees or agents who have a need to know. You are solely responsible for all activities that occur using your Password.

If you become aware of any unauthorized use of your Password, you agree to notify Cimetrics immediately.  Cimetrics reserves the right to revoke your Password access at any time for any reason whatsoever.

Copyrights and Trademarks

All information provided on the web pages of Cimetrics.com is protected by copyright. It is prohibited to copy, process, modify or commercially distribute this information without the express written permission of Cimetrics.

Analytika, Infometrics, Metermetrics, BACstac, BACstac/DN, and BAS-o-matic are trademarks or registered trademarks of Cimetrics.  The Analytika, Cimetrics, Infometrics and Metermetrics logos are trademarks or registered trademarks of Cimetrics.  All other trademarks are owned by their respective companies.

Links to Other Websites

This Site may from time to time contain links to other websites ("Linked Site") or other Internet information sources ("Third Party Source"). These links are provided solely as a convenience to users of this Site and do not constitute an endorsement, sponsorship or recommendation by Cimetrics.  Each Third Party Source or Linked Site may have its own terms of use and privacy policy. Cimetrics is not responsible for the content, availability, or policies of any Linked Site or Third Party Source, or any additional links contained therein.

Privacy

Please read the privacy policy for this Site, which is incorporated into these Terms and Conditions by reference.