Home
Name Modified Size InfoDownloads / Week
ScreenCasts 2019-10-26
Hash-pyModSlave.txt 2022-01-07 2.0 kB
DEPLOY-INSTRUCTIONS.txt 2022-01-06 158 Bytes
pyModSlave-0.4.4-beta-Win64-exe.zip 2022-01-05 39.0 MB
pyModSlave-0.4.3-2-Win32-exe.zip 2020-12-08 35.6 MB
pyModSlave-code-0.4.3-2.zip 2020-12-08 1.6 MB
pyModSlave-0.4.3-1-Win32-exe.zip 2020-05-23 38.7 MB
pyModSlave-code-0.4.3-1.zip 2020-05-23 1.6 MB
README.txt 2019-10-18 2.1 kB
pyModSlave-code-0.4.3.zip 2019-10-18 1.6 MB
pyModSlave-0.4.3-Win32-exe.zip 2019-10-18 20.1 MB
LICENSE 2019-09-07 35.8 kB
pyModSlave-0.4.2-1-Win32-exe.zip 2019-01-06 11.3 MB
pyModSlave-code-0.4.2-1.zip 2019-01-06 2.5 MB
Totals: 14 Items   152.1 MB 106
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. 

1.Description 
pyModSlave is a free python-based implementation of a ModBus slave application for simulation purposes.
2.Software
pyModSlave is based on modbus-tk <http://code.google.com/p/modbus-tk/>, pySerial <http://pyserial.sourceforge.net/> and PyQt4 or PyQt5 for version 0.4.3 and higher <http://www.riverbankcomputing.co.uk>.
3.Compatibility
Tested with python 2.7 (most probably is compatible with previous versions of python) and python 3.7 for version 0.4.3 and higher.
4.Installation 
- Download and install the latest python 2.x version or python 3.x for version 0.4.3 and higher. 
- Download and install modbus-tk, pySerial and PyQt4 or PyQt5 for version 0.4.3 and higher.
- Download pyModSlave and run using the command : 'python pyModSlave.py' from the installation folder. 
5.Usage
Starts a TCP/RTU ModBus Slave.Builds 4 data blocks (coils,discrete inputs,input registers,holding registers) and sets random values. You can also set values for individual registers.
6.To configure the logging level set the 'LoggingLevel' in pyModSlave.ini file
- CRITICAL : 50
- ERROR : 40
- WARNING : 30 [default]
- INFO : 20
- DEBUG : 10
- NOTSET : 0

For Windows a pre-compiled binary is availiable. It does not require installation, just unzip and run.
You can easily build the standalone 'exe' version using the command : 'pyInstaller pyModSlave.spec' from the installation folder (you will need to install 'pyInstaller' package). 

Source: README.txt, updated 2019-10-18