24.02.2021, 10:42
Use dt.raw datatype to send raw data as is:
Code:
value = string.char(0x12, 0x34, 0x56, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80)
grp.write('5/4/0', value, dt.raw)