Home All Groups Group Topic Archive Search About

Suggestion for Modbus control?

Author
28 Jun 2009 9:38 AM
John Dann
Can anyone recommend a cost-effective Modbus control for use under
..Net?

Requirements are very simple - I just need to be able to read a few
Modbus registers from within an application, so nothing elaborate
needed at all. But because it's just a small part of the app, I don't
want to spend more than is strictly necessary. I'm guessing that
there's nothing free (haven't been able to spot anything anyway) but
low cost would be very appealing, provided the control is reliable.

JGD

Author
29 Jun 2009 11:32 PM
Tom Shelton
On 2009-06-28, John Dann <n***@prodata.co.uk> wrote:
> Can anyone recommend a cost-effective Modbus control for use under
> .Net?
>
> Requirements are very simple - I just need to be able to read a few
> Modbus registers from within an application, so nothing elaborate
> needed at all. But because it's just a small part of the app, I don't
> want to spend more than is strictly necessary. I'm guessing that
> there's nothing free (haven't been able to spot anything anyway) but
> low cost would be very appealing, provided the control is reliable.
>
> JGD

Here is some C# code from code project:

http://www.codeproject.com/KB/trace/modbuscs.aspx

A quick glance suggests they are just using the .NET serial port stuff, and
then implementing the protocol on top of that.  Anyway, maybe it has what you
need in there :)

--
Tom Shelton
Author
30 Jun 2009 5:49 PM
Dick Grier
Tom's suggestion is fine.  Translating this to VB should be straight
forward.

AFAIK, it should work with no problems, but I don't have any MODBUS hardware
to work with right now.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.