Logic Machine Forum
Modbus profile datatype conversion - 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 profile datatype conversion (/showthread.php?tid=6051)



Modbus profile datatype conversion - jmir - 17.07.2025

Hi,

I've seen that when converting to bool value on knx side, each time that the register is read from modbus it's uptdated at knx side (even if it has the same value).
Is there any way to uptade it only on change?
Code:
       {"name": "Input2_Type_[R/W]",
    "bus_datatype": "bool",
    "type": "register",
    "datatype": "uint16",
    "address": 108,
    "read_offset": 0,
    "read_count": 5,
    "writable": true,
    "value_delta": 2,
    "value_multiplier": 1,
    "value_custom": {
        "0": "Current",
        "1": "Voltage"
            }    
    },

I've tried disabling write, and read individualliy (read_count: 1) but it's updated on each polling...


RE: Modbus profile datatype conversion - admin - 17.07.2025

It's a known bug. Try this package:
https://dl.openrb.com/pkg/genohm-scada-modbus_20250509_imx6.ipk
https://dl.openrb.com/pkg/genohm-scada-modbus_20250509_imx6.sig


RE: Modbus profile datatype conversion - jmir - 17.07.2025

(Yesterday, 12:05)admin Wrote: It's a known bug. Try this package:
https://dl.openrb.com/pkg/genohm-scada-modbus_20250509_imx6.ipk
https://dl.openrb.com/pkg/genohm-scada-modbus_20250509_imx6.sig

Ok thanks!