Logic Machine Forum
BAcNet to KNX Data types - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: BAcNet to KNX Data types (/showthread.php?tid=5666)



BAcNet to KNX Data types - AlexLV - 14.10.2024

Hi, 

How to select correctly KNX group data type when reading BacNet info and writing to groups for these value's types:

analog input
analog output
analog value
binary input
binary output
binary value
command
device
multi-state input
multi-state output
multi-state value
accumulator
pulse converter
integer value
large analog value
positive integer value

Some additional questions regarding BacNet Scripting:

1. how to check BacNet device status like it is done for ModBus (Device Satus Object) if communication is lost?
2. I need read info from recuperation unit (max 50 parameters), Can I do it every minute with resident script, from communication point of view (connection over IP)?

BR,

Alex


RE: BAcNet to KNX Data types - Daniel - 15.10.2024

I'm guessing you are referring to bacnet client.
It is up to you what group address type is selected, check what value is received and if necessary do a conversion.
1. Every command has result and error, you can monitor error for issues. In modbus we just check if we receive valid result few times in a row, if not device offline is set.
2. It should be fine, use direct connection mode (last example)
https://kb.logicmachine.net/libraries/bacnet-client/