Data to Server: Modbus input segment count limit

Hi,

I currently have a RUT206 reading 23 energy meters on a 15 minute interval via the Modbus Serial Client. For each meter I am reading three registers which produces a total of 69 data points.

The Segment Count is seemingly limited to 64 data points. Is there any way to have all data points sent or somehow increase this value above 64?

I know on older Teltonika devices/RUTOS there was the ability to put ‘all’ in the segment count, has that functionality been removed?

Hello,

From the WebUI - no, you wouldn’t be able to bypass this limit, as it’s hardcoded to be that and that only.

You could, however, try to meddle with the config file from within the devices SSH to manually edit it to be a bigger number, but I can’t promise that this won’t break things, or that it will work.

Here are the steps to getting there:

  1. Access the SSH: Command Line Interfaces - Teltonika Networks Wiki
  2. Write vi /etc/config/data_sender
  3. Press i on your keyboard to start editing
  4. Go to the line of option modbus_segments '64'
  5. Change the number to the one you want:
  6. Press ESC (escape) on your keyboard to stop editing
  7. Write :wq to save the changes and exit out of the editor
  8. Afterwards, I suggest restarting the Data to server service by writing /etc/init.d/data_sender restart
  9. Changes will probably not be visible within the WebUI, but they should be changed (as we did them within the config).

Simply test right after and if it works, it works.

Regards,
M.

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