digitalpetri Modbus documentation

digitalpetri Modbus provides Java 17 client and server APIs for Modbus TCP, Modbus TCP Security, Modbus RTU over serial, and Modbus RTU over TCP. Choose a how-to guide to build or operate an integration, a concept page for the underlying model, or a reference page for exact library behavior.

New to this library? Read in this order: the Modbus mental model, then Installation and modules, then Read and write over Modbus TCP. To try the client without device hardware, run the local server from Expose data over Modbus TCP first and point the client example at it.

How-to guides

Clients

Servers

Operations

Concepts

Reference

See Installation and modules for published versions and Maven coordinates.