General
Modbus is generally big-endian based.
The only exceptions are the commands with function codes 43 (2Bh), 101 (65h) and 102 (66h), which are based on CANopen. For the data values of these commands, the little-endian format applies. The remainder of the Modbus message is, on the other hand, based on big-endian.
Example |
Command 2Bh: With this command, the value
|