Skip to content
A high-performance and ease-of-use implementation of the Modbus protocol written in Java. Supports ASCII, RTU, TCP, and UDP transports as slave or master, automatic request partitioning and response data type parsing.
Java
Branch: master
Clone or download
terrypacker Optionally validate slave ID in responses.
Defaults to enabled for Ascii, RTU and Encapsulated TCP, disabled for
Tcp and Udp
Latest commit f622c60 Jul 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings Cleanup after moving files, to see file history in some cases it may be Jul 20, 2018
lib-opt moving to root of repo Jul 20, 2018
release/2.0.2 moving to root of repo Jul 20, 2018
src-opt/com/serotonin/modbus4j/logs moving to root of repo Jul 20, 2018
src/com/serotonin/modbus4j Optionally validate slave ID in responses. Jul 12, 2019
src_cdc moving to root of repo Jul 20, 2018
src_test Fixes for serial port support Feb 2, 2019
.classpath Cleanup after moving files, to see file history in some cases it may be Jul 20, 2018
.gitignore Cleanup after moving files, to see file history in some cases it may be Jul 20, 2018
.project
README.md Update README.md Oct 26, 2018
README.txt moving to root of repo Jul 20, 2018
RELEASE-NOTES Optionally validate slave ID in responses. Jul 12, 2019
build-cdc.xml moving to root of repo Jul 20, 2018
build.xml moving to root of repo Jul 20, 2018
license.txt moving to root of repo Jul 20, 2018
pom.xml [maven-release-plugin] prepare for next development iteration Jun 27, 2019

README.md

modbus4j

A high-performance and ease-of-use implementation of the Modbus protocol written in Java by Infinite Automation Systems and Serotonin Software. Supports ASCII, RTU, TCP, and UDP transports as slave or master, automatic request partitioning and response data type parsing.

For support and general help please see our Forum

Commercial licenses are available from https://infiniteautomation.com/modbus4j-open-source-modbus-library/

A public Maven Repository is now available with the latest builds add this to your pom.xml

<repositories>
    <repository>
        <releases>
            <enabled>false</enabled>
        </releases>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
        <id>ias-snapshots</id>
        <name>Infinite Automation Snapshot Repository</name>
        <url>https://maven.mangoautomation.net/repository/ias-snapshot/</url>
    </repository>
    <repository>
        <releases>
            <enabled>true</enabled>
        </releases>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
        <id>ias-releases</id>
        <name>Infinite Automation Release Repository</name>
        <url>https://maven.mangoautomation.net/repository/ias-release/</url>
    </repository>
</repositories>

The dependency information is:

<dependency>
    <groupId>com.infiniteautomation</groupId>
    <artifactId>modbus4j</artifactId>
    <version>3.0.3</version>
</dependency>
You can’t perform that action at this time.