Skip to content

Modbus allow word order swap

Summary

When reading 32/64bit float or int values, the order of the 'words' (16bit) might be swapped.

Explain your context

The emonio uses big word endian, while eta-utility only uses little word endian

What is the expected correct behavior? What was your goal?

Choose between word order type

What is the current bug behavior?

big endian word order is assumed

Steps to reproduce

Read a modbus value from the emonio as instructed on the emonio website