Skip to content

Modbus simulation command line version (supports both TCP and RTU)

License

Notifications You must be signed in to change notification settings

dhoomakethu/modbus_sim_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modbus TCP/RTU device simulation tool

Install

$ python setup.py install

Usage

$ modbus_simulator -h
usage: Modbus Simulator [-h] -c str
                        [--console-log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
                        [--enable-file-logging]
                        [--file-log-level {debug,info,warning,error,critical}]
                        [--log-file LOG_FILE] [--version] [-D]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

modbus_simu
~~~~~~~~~~

Modbus simulator CLI version based on Modbus tk

optional arguments:
  -h, --help            show this help message and exit
  -c (str), --simu-config (str)
                        Default configuration file to be used for modbus simulation script
  --console-log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        Monitor console log level, overides value from configuration file
  --enable-file-logging
                        Enable file logging
  --file-log-level {debug,info,warning,error,critical}
                        Simulator file log level, overides value from configuration file
  --log-file LOG_FILE   Default simulation log file
  --version             show program's version number and exit
  -D, --debug           Turn on to enable tracing

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

To run

modbus_simulator -c <PATH_TO_Config_File>

sample simulation config

conf.yml

About

Modbus simulation command line version (supports both TCP and RTU)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages