festo-edcon-0.9.0
توضیحات
Library to issue profidrive tasks for Festo specific electrical drives
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | festo-edcon-0.9.0 |
| نام | festo-edcon |
| نسخه کتابخانه | 0.9.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Elias Rosch |
| ایمیل نویسنده | elias.rosch@festo.com |
| آدرس صفحه اصلی | https://gitlab.com/festo-research/electric-automation/festo-edcon |
| آدرس اینترنتی | https://pypi.org/project/festo-edcon/ |
| مجوز | MIT |
# festo-edcon
`festo-edcon` is a python package which bundles modules to facilitate operation of Festo electric drives (currently via EtherNet/IP and Modbus) using PROFIDRIVE. Documentation can be found [here](https://festo-research.gitlab.io/electric-automation/festo-edcon) and in the [examples](./examples) directory
## Installation
### Release
The latest release is available in the public PyPi repo.
Install via pip:
```
pip install festo-edcon
```
### From git repo
You can also install directly from the git repo.
1. Clone the repository
```
git clone <git-url> <destination>
```
2. Change into the clone directory
```
cd <destination>
```
3. Install via pip
```
pip install .
```
## Usage
### [MotionHandler](https://festo-research.gitlab.io/electric-automation/festo-edcon/features/edrive.html#edrive-motionhandler) - [`edrive.motion.MotionHandler`](https://festo-research.gitlab.io/electric-automation/festo-edcon/edcon.edrive.html#module-edcon.edrive.motion_handler)
The motion module which aims to replicate the function set of the Siemens SinaPos function block (both using telegram 111).
### [ComModbus](https://festo-research.gitlab.io/electric-automation/festo-edcon/features/edrive.html#commodbus) - [`edrive.com_modbus.ComModbus`)](https://festo-research.gitlab.io/electric-automation/festo-edcon/edcon.edrive.html#module-edcon.edrive.com_modbus)
The Modbus/TCP communication driver used for transmitting modbus traffic between host and drive.
### [ComEthernetip](https://festo-research.gitlab.io/electric-automation/festo-edcon/features/edrive.html#comethernetip) - [`edrive.com_modbus.ComEthernetip`](https://festo-research.gitlab.io/electric-automation/festo-edcon/edcon.edrive.html#module-edcon.edrive.com_ethernetip)
The EtherNet/IP communication driver used for transmitting EtherNet/IP traffic between host and drive.
### [Profidrive](https://festo-research.gitlab.io/electric-automation/festo-edcon/features/profidrive.html) - [`profidrive`](https://festo-research.gitlab.io/electric-automation/festo-edcon/edcon.profidrive.html#module-edcon.profidrive)
Contains telegram definitions that are currently supported by EDrives running PROFIDRIVE via Modbus/TCP and EtherNet/IP:
1. Telegram 1
2. Telegram 9
3. Telegram 102
4. Telegram 111
### [CLI](https://festo-research.gitlab.io/electric-automation/festo-edcon/features/cli.html) - [`cli`](https://festo-research.gitlab.io/electric-automation/festo-edcon/edcon.cli.html#module-edcon.cli)
`festo-edcon` is the main entry point to the CLI.
It supports various subcommands which execute some basic functions.
For more information use the help flag (`festo-edcon -h`).
#### Subcommands
- `position` is a subcommand to execute very basic positioning tasks.
- `pnu` is subcommnad to read or write PNUs.
- `tg1` is subcommnad to run a test sequence using telegram 1.
- `tg9` is subcommnad to run a test sequence using telegram 9.
- `tg102` is subcommnad to run a test sequence using telegram 102.
- `tg111` is subcommnad to run a test sequence using telegram 111.
نیازمندی
| مقدار | نام |
|---|---|
| <3.0.0 | pymodbus |
| - | ethernetip |
| - | rich |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >= 3.10 | Python |
نحوه نصب
نصب پکیج whl festo-edcon-0.9.0:
pip install festo-edcon-0.9.0.whl
نصب پکیج tar.gz festo-edcon-0.9.0:
pip install festo-edcon-0.9.0.tar.gz