Modbus String encoding


I can read Strings (ASCII-Z) from Modbus registers with HRS as expected. Unfortunately I can’t represent extended ASCII characters (ISO-8859-1) in Labels. I’ve tried to fix it by encoding them in UTF-8 but still no results, nor directly in ISO-8859-1, neither in UTF-8.

An example of the things I’ve tried when converting to UTF-8 could be this:
ó -> & oacute; (without the space in between)
ó -> 0xC3 0xB3

as stated here

Any hint?


1 Like