Modbus mqtt gateway and data to server

Hello,
i have a TRB255 as a modbus RTU master with 2 slaves connected.
I would like the TRB to perform automated readings on the 2 slaves and then send the data to a mqtt broker in json format. The only way i found to do so is via the “data to server” function.
The problem i have is that i also need to send commands to the 2 slaves via mqtt, so i need also the “modbus mqtt gateway” function, which can’t be activated becaus of conflicts on the serial device.
There’s a solution or a workaround? I tried with the modbus TCP over serial function but without success.
In alternative, there’s a way to have the TRB to send data to the mqtt broker in json without using automated readings and data to server?

Thank you

This topic was automatically closed after 15 days. New replies are no longer allowed.