Make your own free website on

Package  Installation

It was created a java package called "FreeModbus.Util" that contain a modbus class that can be used to comunicate directly with Modbus/TCP slaves connected in a TCP/IP network or you can use a TCP/IP - Serial port interface as explained in Configuring TCP Server.

  1. Install a http server in your computer, there are some freeware http servers. You can find some at

  2. When extracting the source code you will find a directory called java\ModbusMonitor. This directory contain the java applet sample that must be called from "ModbusMonitor.html" html page.

  3. Configure you http server to have access to directory mentioneted above and create an alias for this directory , for instance, /Modbus . You do not need two computers to test the applet, use your http server at loopback IP address

  4. Configure the modbus server as explained in Configuring TCP Server ( TCP/IP - Serial port interface ). It's important that http server and this modbus server use the same IP address.

  5. Now , if http server and Modbus TCP Server are working you can try the applet. Start your browser, IE or Netscape, and type (This is valid if you use IP Address , and use /Modbus for installation directory alias). Now , you can read and write modbus regs and coils.