I'm operating a large fleet of RUT995s (06.08.6) to gather Modbus parameters over the RS-485 interface. I'm using the Modbus Serial Master function to poll 7 register banks across two Modbus devices on a regular (either 30 or 300 seconds) basis. Then the Data to Server function to post the results of those queries over MQTT to a remote server. In general it works well. However, every now and then it will generate hundreds of MQTT messages per second for several hours.
The MQTT JSON received is coherant, it reports apparently valid data with valid timestamps; those timestamps not being every 30/300 seconds but every second. Between one and four messages will have the same timestamp. The data reported in such groups can be seen to vary and that is not possible. It may be an function of the configuration but all the timesreported are "whole" seconds
- 1678263022000
- 1678263023000
- 1678263024000
I do not know if it is the Modbus Serial Master function generating the raw data or the Data to Server. I think the former would be constrained by the speed Modbus interface and would also not report differing values for the same time. So I'm suspecting it is the Data to Server function.
The Record Format used is : {"E:","%n", "T":%t, "R":%s, "D":%a}
I can't see a pattern in the data to predict which RUT (of hundreds) will next generate the problem, so it'll be difficult to identify a device to upgrade to v7 to see if that cures the problem.
Any ideas?
thanks,
Dominic.