문제

I need simple modbus Java library with source code. I found on google but there is .jar file and doesn't have strong using manual. Can anybody suggest me modbus library with using manual or source code ?

도움이 되었습니까?

해결책

Try this one:

http://sourceforge.net/projects/jamod/files/jamod/1.2/

By the way, you can use JDGUI to see the sources of any jar file.

다른 팁

You can try Jamod. I never used it, but a colleague of mine used it sometime ago and he was pleased with it.

If you are using Modbus RTU (Serial) Java Communications API is needed; stolen from FieldKit documentation:

The Java Communication API is available from different sources:

  1. Sun Microsystems is publishing versions for the Solaris and the Windows platform at http://java.sun.com/products/javacomm/.
  2. Keane Jarvi publishes a LGPL licensed Linux and cross-platform COMM API at http://www.rxtx.org/.
  3. An excellently performing package for a large variety of platforms is the SerialPort package from Solutions Consulting at http://www.serialio.com. Using this package, poll cycles of less than 10 ms can be achieved!

Perhaps jSSC is a good javax.comm implementation too.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top