MS/TP that stays up - termination, biasing, shields and what the meter should read
BACnet MS/TP is still the bus that connects most field controllers in UK buildings. It is cheap, it runs a long way on a single pair, and when it is installed well it runs for years without anyone thinking about it. When it is not, it produces the most frustrating calls in controls work: devices dropping off and coming back, graphics freezing for seconds at a time, and a front end that blames the network while the network blames the front end.
This article is for integrators and the installers who wire for them. Many MS/TP problems turn out to be physical or settings, and the checks that find them are simple. What follows is a checklist you can hand to a wiring team, and the readings to expect when you go fault finding. Figures come from the BACnet standard, the RS-485 electrical standard behind it and published design guidance; where makers differ, the controller maker's instructions win.
How the bus works, in two paragraphs
MS/TP runs over RS-485, a balanced pair where the receiver reads the difference between the two wires rather than either wire against earth. That is what lets it run for hundreds of metres through a noisy plant room. Only one device can talk at a time, so the master devices pass a token between them in address order. Whoever holds the token may send its frames, then passes it on. Slaves never hold the token; they only answer when asked.
That gives two kinds of failure. Electrical faults corrupt frames, so the token is lost and the bus pauses while a master regenerates it. Settings faults - two devices on one address, one device at the wrong speed - make the token dance between devices that should not answer. Either way, the symptom at the front end looks the same: slow, patchy, then gone. The standard behind both is ANSI/ASHRAE 135, the BACnet standard.
Wiring that stays up
- Use the right cable. BACnet asks for shielded twisted pair of about 100 to 130 ohms impedance with low capacitance between the conductors and to the shield. Makers often publish their own approved cable lists and tighter length limits, and they disagree about general data cable - follow the controller maker.
- Daisy chain, end to end. Run the pair in to each device and out to the next, landing directly on the terminals. No stars, no spurs, no tee joints in a ceiling void. Every branch is a stub that reflects the signal back down the line.
- Terminate the two physical ends, and only the ends. A resistor of about 120 ohms (matching the cable) across the pair at each end absorbs the signal rather than reflecting it. A terminator in the middle loads the bus; a missing one lets reflections through. Many devices have a terminator switch or jumper, so check every one, not just the ends.
- Know where the bias is. Biasing holds the idle line in a known state so receivers do not read noise as data. BACnet describes bias resistors at the network ends and also allows light biasing at each node. Find out what each device on the bus provides: no bias at all can mean false frames on some older transceivers, and too many bias sets load the bus.
- One earth on the shield. Unless the maker says otherwise, carry the shield continuously through the bus, insulated at each device, and earth it at one point. Earth it at every device and you build loops for plant-room currents to flow in.
- Keep the common-mode range in mind. RS-485 receivers tolerate a limited difference in ground potential, about -7 V to +12 V in the TI RS-485 design guide. Long runs between panels on different supplies, and especially between buildings, can exceed it. Where devices are isolated, a reference conductor tying their commons together is the usual answer; between buildings, use isolation or fibre.
- Keep polarity consistent. The A and B labels are not used the same way by every maker. Keep plus to plus all the way along and write down what each device calls its terminals.
- Count the load and the traffic. A classic RS-485 driver supports 32 unit loads; lighter-load transceivers allow more devices. In practice traffic usually limits an MS/TP bus before electrical load does, so use the controller maker's device count, and split a busy bus with a router rather than a repeater - a repeater extends the same network, a router makes a new one with its own traffic.
Settings that keep the token moving
- Addresses. Masters sit at MAC addresses 0 to 127. Every address on a bus must be unique, and it helps to number masters consecutively from the bottom: a master with a gap above it periodically polls the gap looking for new devices, and every unanswered poll costs time. A DIP switch read the wrong way round is a common cause of a duplicate.
- Max_Master. This tells each master the highest address to look for. Set it below the highest master on the bus and that device may never be found; leave it at 127 on a small bus and the polling of empty addresses slows everything a little.
- Baud rate. Every device on one bus runs at the same rate. BACnet requires support for 9600 and 38400 bit/s in newer devices and lists others as optional, so check an older device's data before raising the speed. One device left at the wrong rate disturbs the whole bus.
- Max_Info_Frames. How many frames a master may send before passing the token. Routers and front ends often need more than the default, but every extra frame makes everyone else wait - use the maker's advice.
What the meter should read
With the bus powered down and isolated safely - follow your safe isolation procedure and the HSE's guidance on electrical safe working - measure resistance across the pair at any point.
- About 60 ohms - two 120 ohm terminators in parallel. Healthy.
- About 120 ohms - only one terminator. Find the missing end.
- About 40 ohms - three terminators. Find the extra one.
- Close to zero - a short.
Bias resistors and device inputs can pull the reading down a little, so treat it as a guide rather than a pass mark. On a live, idle bus, makers publish expected DC voltages across the pair and from each wire to earth; the figures differ with the biasing used - we have seen published idle figures from about 0.2 V to 0.5 V across the pair - so check the device maker's expected readings rather than carrying one sheet's numbers to another site. A meter tells you nothing about signal quality: a bus that reads perfectly can still be full of retries.
Finding the fault
1. Sort the symptom. Nothing at all on the bus points to a short, a reversed pair or the router port. Slow or patchy points to addresses, baud rate, termination, noise or overload. One device missing points to that device - its power, terminals, address, instance or Max_Master. 2. Check the paperwork against the bus. Address list, baud rates and instance numbers, read from every device. 3. Split the bus. Break it in the middle and test the half still connected to the router. Clean? The fault is further out. Not clean? It is nearer. Halve again. Remember the half under test has lost its far terminator. 4. Look at the terminals as you go. Loose cores and long shield tails are common finds. 5. Capture the traffic. An RS-485 adaptor with a protocol analyser shows the token, retries, and which address is causing trouble. Errors that follow a drive starting point to earthing, segregation or the reference wire.
Record what you find - the reading at each end, the address list as found and as left - so the next visit starts from evidence.
For where MS/TP sits beside BACnet/IP, Modbus and the other buses, see Building protocols explained. Once the bus is up, a point that still will not obey is usually being held higher in the BACnet priority array - the next place to look.
Sources mentioned: ANSI/ASHRAE Standard 135 (BACnet), including its MS/TP and cabling clauses; TIA-485-A; T. Kugelstadt, The RS-485 Design Guide (Texas Instruments, SLLA272); S. Karg, Improving BACnet MS/TP (BACnet Today, ASHRAE Journal supplement, 2010, listed in the BACnet bibliography); D. Fisher, Best Practices for MS/TP Wiring (2016); HSE HSG85. Device limits, voltages and cable lists vary by maker - use the installation guide for the exact device fitted.
More info
- MS/TP and BACnet basics - a tecTraining course
Sign in to go straight to the lessons.
Try the tool
- MS/TP and IP planner - in tecTools
- DIP switch address - in tecTools