Logic Machine Forum
Change the value of Modbus register with KNX Group address - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Change the value of Modbus register with KNX Group address (/showthread.php?tid=5114)



Change the value of Modbus register with KNX Group address - Samer - 26.11.2023

hello Guys. 

I have been facing a problem with changing the value from modbus .controlling set point temperatures through group address 1/1/1
I can read, and write the value, 
However, when I send for example 1    the output on the AC thermostat is 16, 2 the output is 17 ..... 
I found that from modbus side from 1-17 and from knx 16-32 

any help for the script ???


RE: Change the value of Modbus register with KNX Group address - CristianAgata - 26.11.2023

(26.11.2023, 17:37)Samer Wrote: hello Guys. 

I have been facing a problem with changing the value from modbus .controlling set point temperatures through group address 1/1/1
I can read, and write the value, 
However, when I send for example 1    the output on the AC thermostat is 16, 2 the output is 17 ..... 
I found that from modbus side from 1-17 and from knx 16-32 

any help for the script ???

Hi,
Check this file https://openrb.com/docs/modbus.htm
If you're using json file I think that you can do it with this: 
"value_base" : 15
Best regards Cristian