Modbus Simulator Github, OpenModSim is open source and can be built from source code.