Unslave Modbus Simulator 2.0.2 Released - Added TCP Support

Unserver on unslave -

Unslave 2.0.2 Summary

  • Modbus TCP support added
  • Minor bug fixes
  • Added README

Download Unslave 2.0.2

Using Unslave as a Modbus TCP Simulator

A concept of mode has been introduced. Unslave can now operate either in RTU or TCP mode. In RTU mode it will function as a Modbus RTU slave and listen to the serial port specified in config.json:

{
    "mode": "RTU",
    "port":{
        "name":"COM1"

        ...
    }
}

To activate TCP, simply change mode to TCP. The serial port settings will be ignored and Unslave will operate as a Modbus TCP node:

{
    "mode": "TCP"
    ...
}

Unslave uses the default Modbus TCP port - 502, unless you specify a different tcpPort in config.json:

{
    "mode": "TCP",
    "tcpPort": 9000
    ...
}


Never Miss an Update

If you enjoy our products or posts, please subscribe. You will get our best content via email.
Unsubscribe at any time. Don't worry - we don't spam.