Skip to main content

A Modbus Simulator

Project description

Project generated with PyScaffold https://gitlab.com/nee2c/mbsim/badges/master/pipeline.svg Documentation Status

mbsim

A Modbus Simulator

This is the command line to to control mbsim. There is a addon system for mbsim.

Usages

mbsim [-h] [-l {DEBUG,INFO,ERROR,WARNING,CRITICAL}] {sim,ui} …

mbsim ui {ui1,ui2,…} # a ui addon need to be installed for this command

mbsim sim [-h] {tcp,udp,rtu} …

mbsim sim tcp [-h] [-a SIM_ADDRESS] [-p SIM_PORT]

mbsim sim udp [-h] [-a SIM_ADDRESS] [-p SIM_PORT]

mbsim sim rtu [-h] [-b SIM_BUAD] [–bytesize SIM_BYTE]

[-s SIM_STOPBITS] [-p {N,O,E}] [-t SIM_TIMEOUT] [-x {0,1}] [-r {0,1}] [path]

Addons

mbsim looks for the following entry points under the group mbsim_command and mbsim_ui.

Under mbsim_ui will call the function to start the ui

Under mbsim_command will call the function and pass parser from argparse and expect a function to be returned that is expecting a Namespace from argparse

For examples see sim and ui

Note

This project has been set up using PyScaffold 4.3.1. For details and usage information on PyScaffold see https://pyscaffold.org/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mbsim-0.1.0.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mbsim-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file mbsim-0.1.0.tar.gz.

File metadata

  • Download URL: mbsim-0.1.0.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for mbsim-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b9a75a4d4fe59864c96c8c4b2ca0f194f6966c3b6df10c8d00373f948f0bd3e0
MD5 741fbb522a5f2240f88411a360d7ff71
BLAKE2b-256 8625dd3199f2957424a8d5410f545b3b809411379a2f09151bb6bd0dd8b75bcf

See more details on using hashes here.

File details

Details for the file mbsim-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mbsim-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for mbsim-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 509ab56fbe7a6ced3614a47f472c9c3f1b822fcb833ff5fb048af3a39cce29cb
MD5 214ee0409a1f34feb53cb6cfea31f39f
BLAKE2b-256 335e755e63e9edebd0e628dcc2555f8cb89db6a26cb71266aa8e0dbb2c5585fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page