The jModbus project is a Java based master &
slave implementation of the ModbusASCII,
ModbusRTU, and ModbusTCP protocols. The code is
designed with a modular architecture to enable
users to add extension like SEMI over ModbusTCP,
and to swap transport mechanisims and encoding
easily.