When and Why Do We Need an End of Line Termination?

By Matthew Scheffel

End of Line Termination Concept Most of the buses we use are specified with end of line termination in mind. In the field these terminations are not always present, especially in short runs. Do we need them? Here’s an analogy I like that illustrates why we need end of line terminations: a bus behaves like a rope held between two…

What is a BACnet Instance Number?

By Matthew Scheffel

A BACnet Instance Number Is a Globally-unique Address An often misunderstood and neglected topic is the BACnet instance number of a BACnet device. Neglecting to think about this number at installation might not bite you today, but it remains as technical debt that complicates future work. It’s a number that identifies a device uniquely on the entire interconnected BACnet network.…

RS-422 – The Other Bus-meat

By Matthew Scheffel

I encountered an RS-422 bus for the first time recently and it threw me through a bit of a loop! The device was a Modbus/RTU slave device and so I anticipated a RS-485 connection as per usual, but that was not the case. It’s the same cable, and the same essential signalling standard, but if you try to interface with…

RS-485 Bus Details

By Matthew Scheffel

Low-voltage communication buses are critical to networked automation systems and when they fail they are a pain to troubleshoot. We use them because the cables are cheap and you don’t need expensive switches, but what you save in parts you may pay in labor later. Ethernet/IP based communication is on the rise, but is still expensive as an up-front cost.…

IP-based Protocols and Building Automation Security

By Matthew Scheffel

When installers build automation systems getting it working is their main focus. They see building automation security as an obstacle to overcome rather than the goal. If authentication is getting in the way, they disable it. When firewalls are blocking communication, they disable that too. Even more problematic is the fact that several popular automation protocols do not even support…

Interview with AutomatedBuildings.com!

By Matthew Scheffel

I submitted a link to this site to AutomatedBuildings.com and Ken Sinclair got back to me with an interview request! You have find the interview in their April 2016 issue, here. In it we discuss in broad terms what this site is about and my plan for it going forward. Here’s a snippet: Sinclair:  Is there enough content to cover…

Visual Look at RS-485 Without Termination

By Matthew Scheffel

RS-485 bus grounding and termination seems like a magical ritual. Some people get lazy with the details of termination because buses often work even when termination is done incorrectly. I had some untwisted, shielded AWG22 lying around, so I used it to show a quick comparison between bus wiring in a controlled environment. I used a single MS/TP BACnet controller…

What is a BBMD, and Why Do We Need It?

By Matthew Scheffel

BACnet networks are getting big. Their network infrastructure is getting complicated. BACnet is used to connect campuses, not just buildings. When you connect several networks together, a BACnet/IP Broadcast Management Device (BBMD) is necessary to bridge them. They’re important, but often misunderstood. Use them wrong, and you’ll get a broadcast storm. What Are Broadcasts? Broadcasts are efficient. Broadcasts are public.…

Modbus Is Hard, Then Tedious

By Matthew Scheffel

Modbus is one of the simpliest protocols you’ll find in the field. It’s the closest protocol “to the metal” of the chip on a controller since it often just directly exposes the controller’s memory. There’s no point discovery here; there are no point names or descriptions to help you integrate. All you have are datasheets and fat-finger data entry. There…

A Case Study on the Importance of RS-485 Grounding

By Matthew Scheffel

RS-485 grounding is frequently missing from commercial automation installations. It’s especially egregious when you are using your shield as your signal reference, because that reference is now noisy as heck. The shield’s job to collect interference. It’s up to you to make sure that interference goes somewhere. The Case Study I was looking at the RS-485 (MS/TP BACnet) buses for…