Skip to main content

Python ME Utility

Project description

pymeu

PyMEU (Python ME Utility) is a Python tool to interface with Rockwell Automation 2711P PanelView Plus terminals. Use at your own risk.

See dmroeder's pymeu_gui for a standalone desktop application.

Capabilities

The public classes in pymeu provide the following capabilities:

MEUtility

MEUtility provides the following standard functions for ME terminals (i.e. PanelView Plus products):

  • Get Terminal Info (report info on terminal identity, version, files, etc)
  • Download (transfer *.MER file from local device to terminal)
  • Upload (transfer *.MER file from terminal to local device)
  • Upload All (transfer all *.MER files from terminal to local device)
  • Reboot

It also offers extended functions for native ME terminals (i.e. no PanelView Plus 7 Series B):

  • Create Firmware Card (transfer *.FUP within local device to specified path) (experimental)
  • Flash Firmware (transfer *.FUP from local device to terminal) (experimental)
  • Stop (close ME station) (experimental)

CFUtility

CFUtility provides the following standard functions for PanelView Plus 7 Series B terminals only:

  • Flash Firmware (transfer *.DMK from local device to terminal) (experimental)

Other internal classes and functions in pymeu may provide interesting capabilities, but are subject to more change over time.

Getting Started

Installation

To install from pip, run one of the following commands to install pymeu only, pymeu with pylogix as the communications driver, or pymeu with pycomm3 as the communications driver. At least one communications driver is required.

pip install pymeu
pip install pymeu[pylogix]
pip install pymeu[pycomm3]

To upgrade to the latest release:

pip install pymeu --upgrade

Examples

A good low-risk example to start with is generating a terminal info report:

from pymeu import MEUtility
meu = MEUtility(comms_path='YourPanelViewIpAddress')
meu.get_terminal_info(print_log=True)

See the Examples section for more code samples.

Bug Reports

If filing bug reports, please include a copy of the terminal info report show in the example above.

Contributing

Contributions welcome!
Ideas, code, hardware testing, bug reports, etc

Acknowledgements

dmroeder for pylogix, inspiring the creation of this tool, python guidance, and various direct contributions for better functionality and compatibility.
ottowayi for pycomm3 and various CIP reference materials.

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

pymeu-0.4.8.tar.gz (38.4 kB view details)

Uploaded Source

Built Distribution

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

pymeu-0.4.8-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

Details for the file pymeu-0.4.8.tar.gz.

File metadata

  • Download URL: pymeu-0.4.8.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for pymeu-0.4.8.tar.gz
Algorithm Hash digest
SHA256 c25fa9f991a66eed794d80aeaeae5d654e3bd991d59c9a5cf52a5fb7346b5833
MD5 e177c509a45dbe1f15e3143d9f8eacde
BLAKE2b-256 cb9680320302cbbd35b5a1ae3cd2a4588d638f0681a3fb9581cdf9bed4fc5997

See more details on using hashes here.

File details

Details for the file pymeu-0.4.8-py3-none-any.whl.

File metadata

  • Download URL: pymeu-0.4.8-py3-none-any.whl
  • Upload date:
  • Size: 46.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for pymeu-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 919fd11572d4cc6bde5f9b7d0a443461f29efee46bbbd954c5cfa994ebc6fe38
MD5 2f0c0e3488ad291908c7638f1b640a27
BLAKE2b-256 08001c95cf77cfeba8f5fb20eae86766d4b89b9072a7a6e35cc7cbeecfe3250d

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