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 ?