Skip to content

How to set word order in the simulator #1593

Answered by janiversen
Fredo70 asked this question in Q&A
Discussion options

You must be logged in to vote

The modbus protocol is pr definition big endian, so devices that are little endian convert before sending a message.

The datastore simulator (which is used in pymodbus.simulator), does convert the configured number to big endian automatically.

If you use pymodbus in your client big endian is also done automatically.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Fredo70
Comment options

@janiversen
Comment options

@janiversen
Comment options

@Fredo70
Comment options

@Fredo70
Comment options

Answer selected by janiversen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants