C# Modbus RTU problem


4 posts
by HerpaMoTeH » Mon Nov 05, 2012 9:42 am
Hi guys,
I have the following problem. When I try to connect to a USB to serial Converter the Rpi freezes. The library I'm using is nmodbus. Has someone been able to connect with a Modbus rtu device and if yes using what library?
Posts: 26
Joined: Tue Apr 17, 2012 7:14 am
by HerpaMoTeH » Mon Nov 05, 2012 11:57 am
After some tests I found out that the Rpi freezes when you try to connect to the USB converter.
Posts: 26
Joined: Tue Apr 17, 2012 7:14 am
by rickthenick » Fri Nov 09, 2012 1:22 am
Yes, I am using libmodbus-3.0.3 with raspbian and FTDI USB-RS485 Cable.

It works fine, but there is something wrong with the USB driver that hangs thi pi. You can read more about this on http://www.raspberrypi.org/phpBB3/viewtopic.php?t=8010&p=210013
Posts: 3
Joined: Sun Nov 04, 2012 7:50 pm
by HerpaMoTeH » Fri Nov 09, 2012 6:58 am
Edit: The problem doesn't seem to be the power consumption of the converter, since it only draws 20 to 25 mA from the USB.
Posts: 26
Joined: Tue Apr 17, 2012 7:14 am