Logic Machine Forum
Modbus help, multiplier and type - 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: Modbus help, multiplier and type (/showthread.php?tid=4986)



Modbus help, multiplier and type - P_marienborg - 25.09.2023

I need some help with theese values


{ "name": "Device Firmware build", "bus_datatype": "int16", "type": "inputregister", "address": 6003, "writable": 0,  "units": " " },
{ "name": "Temperature Controller method", "bus_datatype": "bool", "type": "register", "address": 5130, "writable": 1,  "units": " " },
{ "name": "Temperature setpoint", "datatype": "int16", "bus_datatype": "float16", "type": "register", "address": 5101, "writable": 1,  "units": "C", "value_multiplier": 0.1 },
{ "name": "Travelling mode temperature drop", "datatype": "int16", "bus_datatype": "float16", "type": "register", "address": 5107, "writable": 1,  "units": "C", "value_multiplier": 0.1 },
{ "name": "Away State Temperature Drop", "datatype": "int16", "bus_datatype": "float16", "type": "register", "address": 5171, "writable": 1,  "units": "C", "value_multiplier": 0.1 },
{ "name": "OperatingModeStatus", "bus_datatype": "int16", "datatype": "int16", "type": "inputregister", "address": 6302, "writable": 0},

3x6003
R
Device Firmware build
0
999

4x5130
RW
Temperature Controller method
0-1
0 = Supply air, 1 = Room air

4x5101
RW
Temperature setpoint
16-23°C
Supply/Room temperature controller setpoint

4x5107
RW
Travelling mode temperature drop
0-10°C
Temperature drop of Setpoint

4x5171
RW
Away State Temperature Drop
0-10°C
Temperature drop of Setpoint

3x6302
R
Ventilation Speed state
0-4
0 = Stopped, 1= Away, 2 = Home, 3 = Boost


RE: Modbus help, multiplier and type - admin - 25.09.2023

Use Read test to confirm that the register addresses are correct. You might need to subtract 1 from each address.


RE: Modbus help, multiplier and type - P_marienborg - 25.09.2023

(25.09.2023, 12:52)admin Wrote: Use Read test to confirm that the register addresses are correct. You might need to subtract 1 from each address.

Seems you are right Smile 

I got some more valid values now. 
Still somethng wrong with this one. 
Value should be 3 something.


RE: Modbus help, multiplier and type - Daniel - 25.09.2023

This object might be a string


RE: Modbus help, multiplier and type - P_marienborg - 25.09.2023

How should I write this one then?
{ "name": "Device Firmware build", "bus_datatype": "int16", "type": "inputregister", "address": 6003, "writable": 0,  "units": " " },


RE: Modbus help, multiplier and type - Daniel - 25.09.2023

Check device documentation what does it say about datatype.I'm just guessing.
https://forum.logicmachine.net/showthread.php?tid=4976&pid=32166#pid32166