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.

Installation

To install mbsim you can install from gitlab package registry

or

use pip pip install 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.2.tar.gz (23.0 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.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mbsim-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c77035341aca1a5a4713587566d4b66ae22e924d56c20d12e0f420fbbde4677f
MD5 07301b5a1eade9fd85c00fd35349be85
BLAKE2b-256 c616d07e4f2eb79af937bd94ec5fbc0864a3c65d3cb4f789a24c300902b4e7ff

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mbsim-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9a5e395001542491e32343613531d4397c9e26c620068352683cadf40428d398
MD5 e82d856065e3153aa608a131aa2a318a
BLAKE2b-256 c4089d414684e3ffa4e30217fd327f7087d2e01f05f7be7216ec8d887980019c

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