Modbus communication with HEX codes

I am trying to setup a simple flow where I would like to send a HEX code to a device attached to a TCP modbus gate. I have a function that creates a message and payload which connects to a flex modbus getter using configured server. What I can see on the modbus serial is that always the gate recieves the 12 bytes code and when I interact manually with the device I am sending 8 bytes codes.
Sending codes to this device: https://www.waveshare.com/wiki/Modbus_RTU_IO_8CH#Read_Input_Channel_Status

Code example: "01 02 00 00 00 08 79 CC"

I tried creating buffer, using plain json as in docs and some other internet examples. Please let me know what I am doing wrong, maybe I should not be using modbus plugin ?

Show us what you tried and what the result was (that is, what it looked like in a debug node).

Ideally please share you flow code here and then we can better understand what you're doing.

It's hard to pinpoint your errors by just reading summaries of tasks!