Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance 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

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /