Skip to main content

procaaso-eip

A Python library for EtherNet/IP (EIP) communication with industrial automation controllers.

Overview

procaaso-eip provides a comprehensive communication driver for EtherNet/IP protocol, enabling Python applications to interface with industrial controllers including VFDs (Variable Frequency Drives), motor controllers, and I/O modules.

Features

  • EtherNet/IP Protocol: Full CIP (Common Industrial Protocol) implementation
  • Multiple Controller Support: Pre-built drivers for various industrial hardware
  • EDS File Parser: Parse and utilize Electronic Data Sheet files
  • Type-Safe: Built with Pydantic for robust data validation

Supported Hardware

This library includes hardware interfaces for:

  • PowerFlex 750/753 Variable Frequency Drives
  • Nanotec motor controllers (C5-E-1-11, C5-E-2-11)
  • Moxa I/O modules (E1212, E1242)
  • Kollmorgen servo drives (AKD series)
  • Mettler Toledo devices (ACT350)

Installation

pip install procaaso-eip

Or with Poetry:

poetry add procaaso-eip

Quick Start

from eip.controller_libraries.powerflex_750_controller.factory import PowerFlexFactory

# Connect to a PowerFlex VFD
controller = PowerFlexFactory.create_controller(
    address="192.168.1.10",
    port=44818,
    model="753"
)

# Control the drive
controller.set_speed_units("RPM")
controller.set_motor_np_rpm(1750)
controller.set_run(True)

Command-Line Tools

The package includes an EDS file parser:

eds-parser --help

Controllers

This library has a number of hardware interfaces that will use ethernet/IP to communicate

Running Tests

For testing changes to this library, install the required modules, then do the following:

For general tests, navigate to the tests folder and eneter the following style, referencing your specific hardware:

python -m tests.test_motor_controller

How to touch a PowerFlex device remotely

  1. Ensure that the firewall is open sudo ufw allow 2244/tcp

  2. Open up the wire guard connection Make sure you can ping

  3. Bring up the ssh tunnel ssh -p 2244 -N -L 3301:195.168.1.11:44818 consynsys@< IP Address of the edge device > -o ExitOnForwardFailure=yes -o ServerAliveInterval=30 -o ServerAliveCountMax=3

  4. Activate your VM

  5. Run the tester

    python -m eip.controller_libraries.tests.powerflex_tests.UnifiedControllerTester
    

Metadata

Release files for procaaso-eip 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for procaaso-eip 0.1.11
File Size Uploaded Provenance Actions
procaaso_eip-0.1.11.tar.gz 12.6 MB Without provenance Details for procaaso_eip-0.1.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for procaaso-eip 0.1.11
File Interpreter ABI Platform Actions
procaaso_eip-0.1.11-py3-none-any.whl Python 3 none any Details for procaaso_eip-0.1.11-py3-none-any.whl

Total release size: 25.2 MB

Release files / procaaso_eip-0.1.11.tar.gz

Download URL procaaso_eip-0.1.11.tar.gz
Size 12.6 MB
Tags Source
SHA-256 checksum
How to use checksums
9f7d62a5f3a194131880faaa656ee20552da77880e6ff2eced52ee298e56e425
BLAKE2b-256 checksum
How to use checksums
2d23bfd5c4bf95ded7f6b5ba6687979a220c58f38d2be98f7b32cfb0180b3cd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.11 Windows/10

Release files / procaaso_eip-0.1.11-py3-none-any.whl

Download URL procaaso_eip-0.1.11-py3-none-any.whl
Size 12.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
39e13ef56d842e6580a1bbab6c466971d549187bf93e2d3b9f968267af284669
BLAKE2b-256 checksum
How to use checksums
f6e44a6a0cd194c975f54680cf6f84ee3cd2c505786250f453208054c2beab5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.11 Windows/10

Security for procaaso-eip 0.1.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page