Logic Machine Forum
BACnet Client and Server - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: BACnet Client and Server (/showthread.php?tid=3436)



BACnet Client and Server - eirik - 23.06.2021

Hi 

Is it possible to change BACnet-port on the BACnet-client, and at the same time run BACnet-server on standard port?
 
BR
Eirik


RE: BACnet Client and Server - admin - 23.06.2021

Are you using client app or scripts?


RE: BACnet Client and Server - eirik - 23.06.2021

At the moment I'm testing the app.
Can easily change to script, as there is only a few datapoints I'm planning to read out from the device on port 47809(?) bac1.

Tried script, but got error on packages.
which package is the correct when using script?


RE: BACnet Client and Server - admin - 25.06.2021

For scripts you need the genohm-scada-bacnet package. There you can change port like this:
Code:
require('bacnet')
bacnet.port = 0xBAC1
bacnet.write(127001, 'binary value', 2305, true)

I don't see an option of changing the port in the BACnet client app.