Skip to main content

Install SOMANET motion drive package to an EtherCAT slave

Project description

SOMANET Package Installer

Install SOMANET motion drive package to an EtherCAT slave.

Prerequisite

The Linux OS on which this script is going to be executed must have IgH EtherCAT Master installed and running and slaves have to be powered on. XMOS tools must be added to PATH if you want to erase flash and install bootloader.

Install

$ python3 -m pip install somanet-package-installer

Usage

usage: somanet-package-installer [-h] [-p position] [-a package] [-e] [-c]
                                [-s path secret] [-b bin bsp] [-v]

Install SOMANET motion drive package to an EtherCAT slave.

optional arguments:
-h, --help            show this help message and exit
-p position, --position position
                        slave selection, default is 0.
-a package, --package package
                        package in zip format.
-e, --esi             print ESI content to stdout.
-c, --clear           optionally remove cogging_torque.bin, config.csv and
                        plant_model.csv.
-s path secret, --stack_info path secret
                        write stack_info.json to slave.
-b bin bsp, --bootloader bin bsp
                        erase all memory on the flash device and install
                        bootloader.
-v, --version         show program's version number and exit

Packaging

Generating distribution archives

$ python3 -m pip install --user --upgrade setuptools wheel
$ python3 setup.py sdist bdist_wheel

Uploading the distribution archives

$ python3 -m pip install --user --upgrade twine
$ twine upload --repository-url https://test.pypi.org/legacy/ dist/*

Installing the uploaded package

$ python3 -m pip install --index-url https://test.pypi.org/simple/ somanet-package-installer
$ python3 -m pip --no-cache-dir install --index-url https://test.pypi.org/simple/ somanet-package-installer==0.0.9

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

somanet-package-installer-0.0.9.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file somanet-package-installer-0.0.9.tar.gz.

File metadata

  • Download URL: somanet-package-installer-0.0.9.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for somanet-package-installer-0.0.9.tar.gz
Algorithm Hash digest
SHA256 2cae00a8a109a553e776dc7911f96db606bf08fa2af8e2fcabe3da7da5c9683f
MD5 4be7d2deacd49241e564e0264d85bb4b
BLAKE2b-256 dff5be8dbc4741078481ca1459b265f905a14501485a484fe560f231e25ff1ea

See more details on using hashes here.

File details

Details for the file somanet_package_installer-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: somanet_package_installer-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for somanet_package_installer-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7004c3c4b88e709654986b84afa74d865ca5cfe7669faa28a069dc8d2cb1f9d2
MD5 731c76a6265273174a302c031bc22d14
BLAKE2b-256 567259f49774e55819bfdc72a8fd9e371745adf67458fa6dc8c4c23bf258bd9c

See more details on using hashes here.

Supported by

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