-
sample code
Im trying to write a single register (with write_registers since the Hardware needs it that way). 3.6.9 throwed:
3.7.0 is throwing:
more simplified Code:
Traceback:
output with debug logging:
Any Ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
Your call to write_registers is not correct, please read the documentation or at least follow the parameter definitions. |
Beta Was this translation helpful? Give feedback.
-
I am just controlling your different statements:
Please make a proper debug log (pymodbus_apply_debug) with 3.7.0, I think your problem might be that your device responds wrongly. |
Beta Was this translation helpful? Give feedback.
-
The response:
Is by far too large ! The standard defines 7 bytes header + 5 bytes response. |
Beta Was this translation helpful? Give feedback.
just to clarify it -> the wrong (too much) response data is than leading to
?
(so i can mark this question/discussion as answered )