Logic Machine Forum
DPT 229.001 - 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: DPT 229.001 (/showthread.php?tid=3879)



DPT 229.001 - sims0586 - 16.02.2022

Hi, is DPT 229.001, supported in LM5?


RE: DPT 229.001 - admin - 16.02.2022

The counter value can be extracted via an event script. Change 1/1/1 to the object that will store the converted counter value.
Code:
value = busdatatype.decode(event.datahex:sub(1, 8), dt.int32)
grp.checkupdate('1/1/1', value)