Different BACnet networks support. #513
-
Does BACpypes support communication with devices on different BACnet networks from one BACpypes instance? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
Am not the expert here but yeah it should. What is your use case? Are you on an IP LAN network with many different BACnet MSTP subnetworks behind different BACnet routers or something? |
Beta Was this translation helpful? Give feedback.
-
An on IP LAN and the same physical network as other controllers, just different BACnet networks. I am using a BIPSimpleApplication; is there anything I need to setup to be able to talk to other networks? For example, I want to talk to devices on network 1,2, and 3 from one application |
Beta Was this translation helpful? Give feedback.
-
Being on the same physical network isn't quite enough information; you can have multiple IPv4 networks and multiple BACnet networks in the same IPv4 network by using different port numbers (usually 47808, 47809, ...). In general BACnet devices that are not routers (a.k.a. what I called "simple" and what the standard calls "normal") do not know what BACnet network they are "on" (What-Is-Network-Number and Network-Number-Is are relatively recent additions to the standard). The If your application is on network 1 and you have routers to networks 2 and 3 then they are all part of the same intranet and everything works as usual. I'm going to dig around and see what I've got to help running multiple applications (in BACpypes3). |
Beta Was this translation helpful? Give feedback.
-
You are correct. If your application is on network 1 and there is a router from 1 -> 2 and 1 -> 3 (they might be the same device or different devices, and it might be 2 -> 3) then you have an intranet and you only need to be on one of the three at a time. Some controllers will be "local" (on the same network you are on) and some will be "remote" (one or more hops through routers). Grab an address on one of the networks, do a global broadcast Who-Is, and see what you get back:
There are cases where there are multiple intranets, groups of BACnet networks that don't talk to each other, but it can be handy to prowl around them using one application. For that rare case I made this application which might be instructive, or overkill! It's the curse of seeing lots of strange things in the real world. |
Beta Was this translation helpful? Give feedback.
-
@JoelBender in what applications would someone use the I do get a bit confused on where a BBMD could be used (to route between different UDP ports or networks?) or using the |
Beta Was this translation helpful? Give feedback.
You are correct. If your application is on network 1 and there is a router from 1 -> 2 and 1 -> 3 (they might be the same device or different devices, and it might be 2 -> 3) then you have an intranet and you only need to be on one of the three at a time. Some controllers will be "local" (on the same network you are on) and some will be "remote" (one or more hops through routers). Grab an address on one of the networks, do a global broadcast Who-Is, and see what you get back:
There are cases where there are multiple intranets, groups of BACnet networks that don't talk to each other, but it can be handy to prowl around the…