Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need modbus Java library [closed]

Tags:

java

modbus

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 ?

like image 586
Damir Avatar asked Jan 14 '11 08:01

Damir


People also ask

Is Modbus open source?

Introduction. libmodbus is an Open Source library to communicate with Modbus devices: RTU (serial) and TCP (Ethernet) support. available for Linux (packaged), FreeBSD, Mac OS and Windows.

Is Modbus open?

Modbus is an open protocol, meaning that it's free for manufacturers to build into their equipment without having to pay royalties.

What is Modbus library?

A library that allows your Arduino board to communicate via Modbus protocol, acting as a master, slave or both. Supports network transport (Modbus TCP) and Serial line/RS-485 (Modbus RTU). Supports Modbus TCP Security for ESP8266/ESP32.

Is Modbus free?

Modbus TCP,RTU Master Software.QModMaster is a free Qt-based implementation of a ModBus master application. A graphical user interface allows easy communication with ModBus RTU and TCP slaves.


3 Answers

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

like image 63
jassuncao Avatar answered Sep 18 '22 13:09

jassuncao


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.

like image 36
Juvanis Avatar answered Sep 21 '22 13:09

Juvanis


  • FieldKit is paid and open source, and haves support for several languages including Java

  • jModbus Project

  • j2mod is a fork of jamod

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.

like image 31
jacktrades Avatar answered Sep 19 '22 13:09

jacktrades