java lib for Modbus communication

.. we are opening the source code.

It was some kind of the weekend project, but it’s real, up and running now. The MODBUS/TCP client library (which has been included in IQarium) is available on GutHub. You are free to download it and use it as you wish.

Link to the git repository: https://github.com/kleniu/MODBUSLIB.git

For your convenience I made a simple CLI wrapper to communicate with the PLC using command line. Just download compiled java archive (mbcli.jar) from https://github.com/kleniu/MODBUSLIB/blob/master/mbcli.jar and use your favourite java runtime to set/read modbus coils or registers from command line.

To run the app and display the usage help message just do:

java -jar mbcli.jar -h

have fun …
p.s. with FATEK plc works great

Advertisements

One thought on “java lib for Modbus communication

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s