Endianness & Byte-Swapping
Introduction
Across various brand and utilization of the Modbus protocol, endianness and byte-swapping has been introduced. To better support the variations across Modbus, SIA Connect allows you to configure the reading of Modbus registers. A register has the size of a single word, 2 bytes.
Endianness
Endianness is applied when reading values that span across more than one register - eg. INT32, FLOAT, DWORD, etc.
You can choose between big endian and little endian.
Big endian | Little endian |
---|---|
|
|
Byte-Swapping
Byte-swapping is applied for each individual register being read. You can choose between First Byte High and First Byte Low
First byte high | First byte low |
---|---|
|
|