Skip to content
Discussion options

You must be logged in to vote

As you can see in the log, you have a tcp/ip connection to the device.

The send contains id=1, but the device responds with id=2, that is wrong, but I cannot tell you why the device does that.

The message is discarded, and the next message is a correct response from id=1, so the app get a proper response.

Since the message is discarded this is clearly an ERROR and not a warning, in your case the normal response comes in the next message so discarding it do not have any consequences.

Pymodbus do provide tracepoints where the app can examine the incoming/outgoing message at byte stream level or at PDU level, so you are able to catch it.

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by janiversen
Comment options

You must be logged in to vote
1 reply
@janiversen
Comment options

Comment options

You must be logged in to vote
6 replies
@seud0nym
Comment options

@janiversen
Comment options

@seud0nym
Comment options

@janiversen
Comment options

@janiversen
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@janiversen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants