Lesson · 22 min
BAS protocols, gateways & secure integration
Recognize the framework, network and protocol; validate a gateway point; and explain which links are actually secured.
Name each layer before choosing a tool
Niagara is a software framework that can host drivers and applications; it is not a wire protocol equivalent to BACnet or Modbus. RS-485 describes a physical electrical interface, while Ethernet describes a different network technology. BACnet MS/TP and Modbus RTU can both use RS-485, but they cannot share a trunk merely because the terminals look alike. Identify the exact controller, firmware, enabled driver and licensed tool before planning an integration.
- BACnet organizes information as objects and properties; Modbus exposes a register/coil data model whose meanings come from the equipment map.
- Recognize an existing LonWorks channel and its transceiver/cabling requirements; use the installed product's documentation rather than a universal devices-per-channel number.
- A driver, protocol router and application gateway solve different problems. Document what each installed device actually translates or forwards.
Distinguish BACnet/IP, MS/TP and Secure Connect
Classic BACnet/IP uses UDP. BACnet/SC is a separate BACnet datalink built on Secure WebSockets and TLS, with participating devices, certificates and hub connections. A router can connect a secure segment to an existing BACnet/IP or MS/TP segment; the downstream legacy segment does not become encrypted. On MS/TP, 32 RS-485 unit loads is an electrical loading concept, not a universal 32-device maximum. Receiver loading, addressing, cable layout, controller/engine limits and performance all matter.
- For a serial trunk, follow the exact manufacturer's daisy-chain, cable, shield/reference, termination, baud-rate and device-count instructions.
- Keep the IP address, BACnet device instance, BACnet network number and MS/TP address distinct in the commissioning record.
- Plan certificate issuance, trust, renewal, replacement and recovery with the site owner; encrypted transport still requires correct sensor data and point mapping.
Check what the security configuration actually enables
Ordinary Modbus TCP does not gain encryption because it uses Ethernet. The separate Modbus Security profile uses TLS and X.509 certificates, conventionally on TCP port 802 rather than ordinary Modbus TCP's 502, and requires endpoint support. MQTT can use TLS and authentication, with broker permissions limiting who can publish or subscribe to each topic. OPC UA provides selectable security modes; None, Sign and SignAndEncrypt are different choices. Native UA TCP and HTTPS/WebSocket mappings do not all secure traffic in the same way.
- Verify endpoint identity and certificate trust as well as whether a connection succeeds. Credentials alone do not prove confidentiality.
- For OPC UA, verify the enabled policy/mode, application trust and user permissions. Select SignAndEncrypt where confidentiality is required and supported under the site's policy.
- For MQTT, validate broker identity, authenticated client access, topic permissions and behavior when the source stops publishing. A connected broker is not proof of a fresh measurement.
Commission the meaning of every mapped point
A successful read proves only part of an integration. Trace one point from the equipment source through the driver/gateway to the BAS graphic and trend. Record its source identity, destination identity, units, scaling already applied, enumerated-state meaning, timestamp, quality and expected update interval. Compare it with the local controller and a suitable independent measurement. Establish how the integration marks stale, invalid, offline or substituted data so that plausible cached values are not mistaken for current evidence.
- Use the equipment's approved point map; do not infer an engineering unit or writable function from a convenient display label.
- For writable points, document the permitted range, commanding owner, arbitration/priority behavior, release method and result after communication loss.
- Confirm the equipment response using command, feedback and physical evidence. A gateway echo of a write is not proof that an actuator moved.
Agree on access and failure behavior with the site
Commission integrations on an isolated simulator or authorized test network first. For a site, work with the responsible controls and IT staff to define segmented networks, necessary routes and ports, approved remote access, accounts and logs. A VLAN label alone does not establish filtering or authorization. Identify who owns backups, software/firmware compatibility, certificates and the point map. Test the approved behavior during gateway restart, lost communication and restoration before relying on supervisory data or commands.
- Keep only the required communication paths open and use the site's managed remote-access method.
- Retain a known working configuration and a documented rollback route before an authorized production change.
- Keep equipment protection and necessary local control available when an upstream integration is unavailable, according to the approved sequence.
Choose a path by the actual endpoints.
Niagara is an integration framework with licensed drivers and services. The rows below describe communication protocols; Ethernet and RS-485 describe different network layers.
| Protocol | Transport | Security boundary | Typical role |
|---|---|---|---|
| BACnet MS/TP | Token passing on an RS-485 trunk | Classic MS/TP has no native encryption. Follow the exact trunk manual for wiring, electrical loads and device limits. | Local controller and zone networks |
| BACnet/IP | BACnet over UDP/IP | Classic BACnet/IP does not encrypt traffic. Restrict routing and remote access at managed boundaries. | Controllers, supervisors and routers |
| BACnet/SC | Secure WebSockets with TLS | Compatible endpoints, trusted certificates and hub planning are required. It does not encrypt a downstream MS/TP wire. | Secure BACnet IP connectivity |
| Modbus RTU / TCP | Serial register exchange / TCP register exchange | Ordinary Modbus does not encrypt traffic. The separate Modbus Security profile adds TLS and certificate authentication when supported. | Meters, drives and equipment gateways |
| LonWorks | Channel-dependent control networking | Identify the exact transceiver, channel, network management and gateway. Security and device limits are implementation-specific. | Installed control and lighting networks |
| OPC UA | Client/server or PubSub; transport varies | Confirm security mode, policy, trust and user permissions. Encryption is not implied by the OPC UA name. | Historian, SCADA and enterprise interfaces |
| MQTT | Broker-based publish/subscribe over TCP | Configure TLS, broker identity, authenticated clients and topic permissions. Credentials alone do not encrypt messages. | Telemetry and analytics |
Gateway connectivity is only the start. Verify point identity, units, scaling, timestamp, quality, command ownership and the local value before using integrated data.
Field exercise
A BAS supply-air temperature appears too warm after a gateway replacement. These observations are fictional. What should the technician establish next?
Knowledge check
Answer all four questions. Pass the field exercise and at least three questions to complete this lesson.
Sources and scope
These original exercises draw on the sources below. For equipment settings and field actions, use the exact model, firmware, approved sequence and site procedure. Sources reviewed October 20, 2026.