TRB145 - Modbus RTU - RS485 - MQTT

Hello All

I am working with the TRB145 connected to Electricity/Energy meters via 2wire RS485/Modbus RTU.

I usually use Robustel devices where I have put together a Modbus Pointtable detailing:
TAG
Connection Type(RTU or TCP)
Modbus ID(As set in the meter)
Function Code(always use 3(Read Holding Registers))
Register Address(As pulled from register from meter manufacturer)
Divisor(used to alter scale of displayed measurement)

And then send this data to a platform via MQTT.

My issue is that I am struggling to find/see/understand where I can input the Register Address and other information in order to provide me with the values/data that is needed.

Secondly, Would I be best to export via the MQTT option or the Data to Server option?

I would like to transition across to the Teltonika products as I have heard mostly good things about the functionality but also the overall design.

Thanks

Hello,

Thank you for reaching out. To read Modbus serial client data on your TRB145 device, you’ll need to configure the Modbus serial client. Below are the steps to achieve this:

  1. Modbus Serial Device Configuration: Please follow the guidelines in the official Teltonika wiki article for detailed instructions: TRB145 Modbus Configuration. In brief, through the device’s WebUI:
  • Navigate to ModbusModbus Serial Client.
  • Add a new instance for the Serial Device and the Modbus Device.
  • In the Modbus Device Configuration page, scroll down to the Request Configuration section.
    • Select the appropriate Data Type (If it’s not provided in the Robustel manual, try testing with various types).
    • Set the Function to “Read Holding Registers (3)”.
    • Enter the First Register Number and Count values, as specified in the Robustel’s documentation, depending on the parameter data you wish to read.
  1. Data Export Options: This data can be exported using either the MQTT Gateway or the Data to Server feature.

Feel free to reach out if you have any further questions or need assistance with any step.

Best Regards,

Hi Martynas

Thank you for your help.

I am now having trouble getting values from the Energy Meter. I believe it to be that Teltonika Networks uses Modbus Register Number and the Energy Meter that i am trying to extract data from uses Modbus Register Address.

I have attached a screenshot of 1 page of the Modbus Data Table.

Thank you for your assistance
Best Regards

Hello,

Apologies for the delayed response.

I’m not entirely sure, but it should work if you use the Data Address as the first register number. Have you tried entering 7680 in the first register number field and setting the Register Count/Values to 1? If not, could you please try that and provide the output?

Also, try selecting the Data type as 16-bit INT, and if that doesn’t work, test with other data types. If you still don’t receive any data from your energy meter, this could indicate a incorrect wiring issue.

Please let us know if you have any additional questions or need further assistance.

Best regards,

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