T3-Nano: How to send Modbus Hex commands (Function 06)

Hi everyone,

I am using a T3-Nano controller and I need to control a 16-channel relay module (R4D3B16). This device operates via Modbus RTU, but requires specific hexadecimal commands for its operations.

For example, to operate Relay 1 at Slave ID 1:

  • Turn ON (Open): 01 06 00 01 01 00 (hex)
  • Turn OFF (Close): 01 06 00 01 02 00 (hex)

My question is: Is the T3-Nano capable of sending these raw hexadecimal strings directly over RS485? Or is there a specific way to configure these “Custom Commands” within the T3-Nano logic or programming environment?

Could someone guide me or provide an example of how to program this data transmission from the T3-Nano?

Thanks in advance for your help!