epsilonrt / mbpoll

command line utility to communicate with ModBus slave (RTU or TCP)
https://epsilonrt.fr
GNU General Public License v3.0
278 stars 70 forks source link

mbpoll timeout #44

Open ATroyasGit9 opened 3 years ago

ATroyasGit9 commented 3 years ago

Hello,

I'm trying to communicate with a RTU current and voltage analizer for Photovoltaic Plants.

I have been able to communicate with it with Modbus Poll in Windows 10 but it has been imposible with mbpoll in ubuntu server 18.04.5. These are the registers I'm trying to read. image

These are my modbus poll parameters.

image image

The ttyoS0 from my Ubuntu Server PC is configured:

image

And I use a cable with this configuration: BPC (DB9) - RTU A+ 2 A+ B- 1 B- GND 5 GND

And this is my mbpoll command. Apparently I'm sending the send bytes as in Modbus Poll with windows.

image

I have also tried with 2 stop bits but without any success,

Do you have any clue. I'm totally lost.

git-developer commented 1 year ago
  1. Are Windows and Ubuntu running on the same machine (using the same BIOS settings above)?
  2. Did you check that the connection parameters (9600 8N1 for mbpoll) match the ones of your Windows configuration?

@ATroyasGit9 This issue is over 2 years old. Please consider closing it if you don't need help anymore.