BACnet object reference · type 56
BACnet Network Port object (type 56): IP, BBMD and MS/TP settings
The BACnet network port object describes one network interface of a device: its type, BACnet network number, MAC address and, for BACnet/IP, the IP address, UDP port and BBMD or foreign device settings.
- Object type
- 56 (network-port)
- Common abbreviation
- NP
- Present_Value
- None
- Commandable
- No
- COV
- No
- In OTDeck
- network-port:1
What it is
Before the network port object, each vendor had its own way of showing and setting a device's network configuration. With it, a client reads (and on most devices writes) the same properties on any device that has one. Newer devices have one network port per interface.
Object type 56 in ASHRAE 135, added by addendum 135-2012az and part of the standard since 135-2016. Older devices do not have it.
Properties
Property identifiers as in ASHRAE 135. Required: present in every Network Port object; blank: optional or required only in some configurations.
| Property | Id | Required | What it means in practice |
|---|---|---|---|
| Network_Type | 427 | yes | ethernet, mstp, ptp, ipv4, ipv6, secure-connect and others. |
| Protocol_Level | 482 | yes | physical, protocol, bacnet-application or non-bacnet-application. |
| Network_Number | 425 | yes | The BACnet network number of this port; 0 when unknown. |
| Network_Number_Quality | 426 | yes | unknown, learned, learned-configured or configured. |
| MAC_Address | 423 | The port's BACnet MAC: 6 bytes (IP and port) on BACnet/IP, 1 byte on MS/TP. | |
| APDU_Length | 399 | yes | The largest APDU on this port. |
| Link_Speed | 420 | yes | Bits per second; the baud rate on MS/TP. |
| Changes_Pending | 416 | yes | TRUE after a configuration write that has not been applied yet. |
| IP_Address | 400 | BACnet/IP | The IPv4 address, as 4 octets. |
| IP_Subnet_Mask | 411 | BACnet/IP | The subnet mask. |
| IP_Default_Gateway | 401 | The default gateway. | |
| BACnet_IP_UDP_Port | 412 | BACnet/IP | Usually 47808 (0xBAC0). |
| BACnet_IP_Mode | 408 | BACnet/IP | normal, foreign (registered with a BBMD) or bbmd. |
| FD_BBMD_Address | 418 | The BBMD a foreign device registers with. | |
| FD_Subscription_Lifetime | 419 | The registration's time to live, in seconds. | |
| BBMD_Broadcast_Distribution_Table | 414 | The BDT of a BBMD: its peer BBMDs. | |
| BBMD_Foreign_Device_Table | 415 | The foreign devices registered with this BBMD. | |
| Max_Master | 64 | MS/TP: the highest master address polled for. | |
| Max_Info_Frames | 63 | MS/TP: frames a master may send per token. |
Commanding
Network port properties are configuration, written directly. A write to them does not take effect at once: Changes_Pending becomes TRUE and the device applies the changes on ReinitializeDevice (activate-changes) or a restart.
COV
Network ports do not report COV.
Typical uses in HVAC and BMS
- Checking the IP address, port and BACnet network number of a controller during commissioning.
- Finding which BBMD a device registers with, or what a BBMD's BDT and FDT hold.
- MS/TP baud rate and Max_Master on a router's MS/TP port.
Field pitfalls
- Two routers with different numbers for the same network, or the same number for two networks: routing breaks. Network_Number and its quality show what each port believes.
- A configuration write that seems lost: Changes_Pending is TRUE until the device is reinitialized with activate-changes.
- Max_Master left at 127 on a small MS/TP trunk: token passing slows down polling for absent masters.
Reading, writing and watching it in OTDeck
- Select network-port:N: OTDeck reads every property in its Property_List, so the IP, BBMD and MS/TP settings of the device are visible in one table.
- OTDeck 0.7 reads network ports; it does not write them. Its own BACnet/IP settings (local interface, UDP port, BBMD registration as a foreign device) are in the connection.
OTDeck is a BACnet/IP and BACnet/SC client for macOS, Windows and Linux; discovering, reading and watching are free for one connection.
FAQ
What is the BACnet network port object?
Object type 56: one per network interface of a device, with the network type, network number, MAC address and the IP, BBMD or MS/TP settings of that interface.
Why does a change to a BACnet network port not apply?
Network port writes are pending (Changes_Pending TRUE) until the device is reinitialized with activate-changes or restarted.
Related object types
Download OTDeck, free for one connection BACnet client All object types
Object type numbers and property identifiers follow ASHRAE 135 (BACnet). Devices differ in which optional properties they implement; read the object's Property_List for the real set. Found a mistake? Write to support@otdeck.com. BACnet is a trademark of ASHRAE; OTDeck is not affiliated with ASHRAE.