Skip to content

Read Write present value

Aidan P edited this page Aug 11, 2022 · 2 revisions
### Read AI instance present value
$ BACNET_IFACE=eth1 BACNET_IP_PORT=47809 ./bin/bacrp 1234 0 0 85 --mac 10.104.0.11:47808
0.000000


### Write AI instance present value
$ BACNET_IFACE=eth1 BACNET_IP_PORT=47809  ./bin/bacwp 1234 0 0 85 0 -1 4 101.81 D 10.104.0.11:47808
WriteProperty Acknowledged!

$ BACNET_IFACE=eth1 BACNET_IP_PORT=47809 ./bin/bacrp 1234 0 0 85 --mac 10.104.0.11:47808
101.810000


AO (Analog Output)
==================
### Read AO instance object name
$ BACNET_IFACE=eth1 BACNET_IP_PORT=47809 ./bin/bacrp 1234 1 0 77 --mac 10.104.0.11:47808
"ANALOG OUTPUT 0"


### Write AO instance object name
$ BACNET_IFACE=eth1 BACNET_IP_PORT=47809  ./bin/bacwp 1234 1 0 77 0 -1 7 "AO instance-0" D 10.104.0.11:47808
WriteProperty Acknowledged!

$ BACNET_IFACE=eth1 BACNET_IP_PORT=47809 ./bin/bacrp 1234 1 0 77 --mac 10.104.0.11:47808
"AO instance-0"


### Read AO instance present value
$ BACNET_IFACE=eth1 BACNET_IP_PORT=47809 ./bin/bacrp 1234 1 0 85 --mac 10.104.0.11:47808
0.000000


### Write AO instance present value
$ BACNET_IFACE=eth1 BACNET_IP_PORT=47809  ./bin/bacwp 1234 1 0 85 0 -1 4 50.81 D 10.104.0.11:47808
WriteProperty Acknowledged!

$ BACNET_IFACE=eth1 BACNET_IP_PORT=47809 ./bin/bacrp 1234 1 0 85 --mac 10.104.0.11:47808
50.810000

Clone this wiki locally