Posts: 8
Threads: 2
Joined: Nov 2022
Reputation:
0
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?
Posts: 8
Threads: 2
Joined: Nov 2022
Reputation:
0
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?
Posts: 8861
Threads: 48
Joined: Jun 2015
Reputation:
507
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.
Posts: 8861
Threads: 48
Joined: Jun 2015
Reputation:
507
You can specify poll interval for each Modbus device. This value controls how often all Modbus datapoints that are mapped to group addresses are read. Increasing the poll interval lowers the overall system load.
"Value send delta" option should be configured correctly for all registers. Increasing this value reduces the number of object writes.