You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The target device can normally read the value of each register by the modbus poll software of the Windows system. But only the part of the coil can be read through this modbus-cli program。
This problem also occurs in modbus_exporter and telegraf modbus input plugin modules, the error contents are as follows:
response data size '1' does not match count '2'
I have tried various types of combination configurations, but still cannot achieve normal data collection。
The above error messages will not generally appear on the equipment, but on individual equipment, such as circuit breakers in electrical equipment. The registers simulated by the simulator are normal after testing.
The text was updated successfully, but these errors were encountered:
what brand and model of breaker are you seeing this with? I see you're reading input registers. If you try reading holding registers, does that help in any way? You can read holding registers with rh::
instead of ri::.
My hunch is that the target device doesn't properly implement the modbus/tcp protocol and returns short or non-compliant data instead. This is something I've seen multiple times with RTU devices, for sure.
modbus-cli
![image](https://user-images.githubusercontent.com/96378503/220827496-93a727ee-e7a8-45d0-bcdc-25d5ea720f5c.png)
The target device can normally read the value of each register by the modbus poll software of the Windows system. But only the part of the coil can be read through this modbus-cli program。
This problem also occurs in modbus_exporter and telegraf modbus input plugin modules, the error contents are as follows:
response data size '1' does not match count '2'
I have tried various types of combination configurations, but still cannot achieve normal data collection。
Reference link:
modbus_exporter: https://github.com/RichiH/modbus_exporter
telegraf.inputs: https://github.com/influxdata/telegraf/blob/release-1.24/plugins/inputs/modbus/README.md
The above error messages will not generally appear on the equipment, but on individual equipment, such as circuit breakers in electrical equipment. The registers simulated by the simulator are normal after testing.
The text was updated successfully, but these errors were encountered: