ncw
asked on
Read serial data using Modbus protocol on Linux
How can I read data from an external device connected to the com port using the Modbus protocol on Linux. I'm a VB6 developer who's done a bit of java, C, and C++ a while ago, some treat me as a beginner, certainly with Linux! I need to run the exe or script from Cricket:
http://cricket.sourceforge.net/
Info found so far:
http://modbus.control.com/dev/1026196999/index_html
http://cricket.sourceforge.net/
Info found so far:
http://modbus.control.com/dev/1026196999/index_html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Well if you use Java and Cricket, you're going to have to go through two interpreters (Java + Perl) before you even get at anything.
>>Would I be better to create an interface with Perl?
Possibly - you're far more likely to find a Perl interpreter on a Linux box than a Java one, but i suppose it also depends on your degree of familiarity with each of the two
>>Would I be better to create an interface with Perl?
Possibly - you're far more likely to find a Perl interpreter on a Linux box than a Java one, but i suppose it also depends on your degree of familiarity with each of the two
you can use jamod to access the port and have cricket use the output.
might also find something useful at:
http://www.modbus.pl/
might also find something useful at:
http://www.modbus.pl/
ASKER
Any example code?
:-)
Sorry - i can't give you any code - i'm completely unfamiliar with the APIs. There should be samples in the downloads though
Sorry - i can't give you any code - i'm completely unfamiliar with the APIs. There should be samples in the downloads though
ASKER
Thanks for the link anyway.
ASKER