Modbus TCP simulator Windows/Linux

15,020

Solution 1

You can try Modbus protocol tester (master) which is free for download from here:https://www.rtipsonline.com/WebPages/download.html

 

For a slave, you can find a Modbus RTU and TCP slave implementation in 'C' source code form at https://www.rtipsonline.com 

Since the implementation is in ANSI 'C' you can port it easily to any controller. 

Slave supports following 11 function codes.

Read Coils(0x01),

Read Discrete Input(0x02),

Read Holding register(0x03),

Read Input register(0x04),

write single coil(0x05),

write multiple coils(0x0F),

write multiple registers(0x10),

write single register(0x06),

Read exception status(0x07),

Report slave ID(0x11),

Read/write multiple registers(0x17)

They also provide porting services for getting library ported to your board and working at minimal cost.

Using Modbus Protocol tester (master) and WIN32(C source code) Modbus slave, you can establish client/server Modbus communication between two different PCs.

Solution 2

http://www.modbustools.com/download.html
They have both Modbus poll and Modbus slave simulator. Free for trial.

Solution 3

In case future users are landing on this page looking for something cross platform and open source, I was faced with a similar problem as OP a while back.

I ended up creating a Java based GUI for troubleshooting Modbus RTU and TCP, which is now known as ModbusMechanic.

It has both a master and slave simulator, TCP->RTU gateway, RTU node scanner, RTU bus sniffer, and can act as a bridge between Ethernet/IP and Modbus.

https://modbusmechanic.scifidryer.com

Share:
15,020
AlexP
Author by

AlexP

Always curious about new technologies.

Updated on June 22, 2022

Comments

  • AlexP
    AlexP about 2 years

    I am looking for a good Modbus over TCP simulator with GUI to try on two separate pcs( one a master other as slave). I found only SimplyModbus,but this one acts only as master. Any reccomendations?

  • James Newton
    James Newton about 4 years
    Appears to be Windows only.
  • James Newton
    James Newton about 4 years
    No longer available.
  • Kar.ma
    Kar.ma about 3 years
    I found it here, it looks like Colway Solutions is now Colway Libraries: rtipsonline.com/WebPages/modbus-protocol-tester.html I haven't tried it yet, though.