JLibModbus is an implementation of the Modbus protocol v1.1b in java language.
The library supports the most popular communication libraries (jssc, rxtx, jSerialComm, purejavacomm, java comm api);
Maven dependency:
<dependency>
<groupId>com.intelligt.modbus</groupId>
<artifactId>jlibmodbus</artifactId>
<version>1.2.9.7</version>
</dependency>
Implemented MODBUS functions:
0x01 Read Coils
0x02 Read Discrete Inputs
0x03 Read Holding Registers
0x04 Read Input Registers...