LogicMachine Forum
Modbus help - Printable Version

+- LogicMachine 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: Modbus help (/showthread.php?tid=6402)



Modbus help - nisan - 22.04.2026

When using LM5 for Modbus communication, if the resident script queries the register status while the event script is writing to the register, it may not be possible to write to the register. How can this be better resolved?


RE: Modbus help - admin - 22.04.2026

Use profiles.


RE: Modbus help - nisan - 22.04.2026

(22.04.2026, 09:36)admin Wrote: Use profiles.

Are there any examples for reference?


RE: Modbus help - admin - 22.04.2026

Profiler app: https://forum.logicmachine.net/showthread.php?tid=5911
Profile reference: https://kb.logicmachine.net/misc/modbus-profile/
Profile examples: https://forum.logicmachine.net/showthread.php?tid=839


RE: Modbus help - nisan - 28.04.2026

I use a JSON file to map MODBUS. At first, I couldn't actively read it; it could only automatically send values to KNX when they changed. Is there any solution?


RE: Modbus help - admin - 28.04.2026

What do you mean by "actively read it"? In Modbus device settings you specify poll interval - all registers that are mapped to group addresses will be read every X seconds. Mapped group address values will be updated if the Modbus value differs from the current value.