Posts: 52
Threads: 13
Joined: Feb 2020
Reputation:
0
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
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
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.
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
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.
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
27.04.2020, 08:46
(This post was last modified: 27.04.2020, 08:50 by Erwin van der Zwart.)
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