This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

LogicalMachine as BACNet Server and as BACNet Client
#1
Hi! We have a problem and I ask you help
We have one LM as BACNetServer (port 47808). Can we use this LM as BACNet Client also? I do in script: bacnet.port =0xBAC1  but  function bacnet.readvalue return nil
Reply
#2
If you use a different port then all other devices must use the same port as well. This is a limitation of BACnet that's not possible to change.
Reply
#3
(27.04.2020, 07:49)admin Wrote: If you use a different port then all other devices must use the same port as well. This is a limitation of BACnet that's not possible to change.
We need use two LM. So?
Reply
#4
If you want to use client and server on default port 47808 then the only solution is 2 LMs. What system do you use to connect to LM BACnet server? Maybe you can run server on a different port and use default port for client.
Reply
#5
Hi,

Why not create all the bindings in the client that already connects to the server, from that client you can interface to the second server and exchange data between the 2 servers that is setup in your client. This way the controller does not need to be server and client at the same time. Depending on the 3th party server you might even setup p2p between the two servers by using consumer or producer objects (If available in your server), this is how a BACnet network  should be build. 

BR,

Erwin
Reply
#6
thank you!
Reply


Forum Jump: