Sometime I received an Exception Response: IllegalFunction | IllegalAddress | GatewayNoResponse #2389
-
Hi all, I'm using pymodbus to read values from a bunch of devices via modbus tcp. Looking at the log, I see that sometime the device raise some exceptions. SLAVE 1
SLAVE 2
and SLAVE 3
As you can see the requests are not raised every 30s and indeed I'm acquiring some data! :-) What can explain this nondeterministic device's behavior? How can I further investigate this issue? Here a single request raising an
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
As you can see from the debug log, it is your device that reports IllegalFunctiomRequest, so pymodbus is ok. Looking at the previous send, it is a legal modbus message, but maybe your device do not like the address or the amount of data you requiere. |
Beta Was this translation helpful? Give feedback.
As you can see from the debug log, it is your device that reports IllegalFunctiomRequest, so pymodbus is ok.
Looking at the previous send, it is a legal modbus message, but maybe your device do not like the address or the amount of data you requiere.