24.06.2024, 07:48
It looks OK but you have to test it. The manuals should clearly define which register is writable and which do not. There is no rule for this but inputregister should be read only. This manual do not explain it well so ether contact manufacture or try and test. The bus_datatype is just your choice of dpt in LM you want the data to be used. If you use different "datatype" and "bus_datatype" then LM will convert it.
------------------------------
Ctrl+F5
Ctrl+F5