![]() |
|
w4k fails reading modbus rtu float32 - Printable Version +- LogicMachine 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: w4k fails reading modbus rtu float32 (/showthread.php?tid=6390) |
w4k fails reading modbus rtu float32 - cgn - 15.04.2026 I've a eastron sdm72d modbus meter and I use the following lua code: Code: require('luamodbus')I get the following result: Code: * arg: 1So in general the code seems to work. Why do I get a 0 for value? The modbus register can be found here: https://data.xn--stromzhler-v5a.eu/manuals/eastron_sdm72dmv2.pdf RE: w4k fails reading modbus rtu float32 - admin - 15.04.2026 Use mb:readinputregistervalue(). It's highly recommended to use profiles instead of scripts. |