TBR255 - Modbus RTU not working, /dev/rs485 missing

Hello,

I’ve tried to setup a modbus RTU client (rs485) on the TBR255 for a while now, but I can’t get it to work.
For this, “Modbus Serial Client” has been used.
The bus have three nodes connected; TBR255, a sensor over modbus, and a USB interface for send/receive. The TBR255 is using half-duple so I have bridged R+ & D+ as well as R- & D-.

I’ve tested this on two separate TBR255 devices, one that had firmware version TRB2_R_00.07.06.03, and one that was upgraded to the latest firmware: TRB2_R_00.07.06.10.

Whenever I try to test the client through the web admin, I get the error: "Failed to test request, check your configuration.

This is the configuration I have currently:

Modbus Device:


With registers

This is what I have tried so far

  • Modbus Serial Server

  • Modbus Serial Client

  • MQTT Modbus Gateway

  • Modbus TCP over Serial Gateway

  • Hooked up a scope to the bus. The TBR255 never puts anything to the bus, nor does it reply to anything when it’s set up as a server.

  • The ubus call modbus_client serial.test can’t be used with {“serial_type”: “/dev/rs485”}. Trying to use /dev/ttyUSB0 does not put anything on the bus.

  • Running ls in the /dev folder returns no rs485 device. rs232 does show up.

Where do I go from here?

1 Like

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