Skip to main content

Python ME Utility

Project description

pymeu

PyMEU (Python ME Utility) is a library for interfacing with Rockwell Automation 2711P PanelView Plus terminals.
See Compatibility for more details. Use at your own risk.

See dmroeder's pymeu_gui for a standalone desktop application.

Installation

To install from pip:

pip install pymeu

To upgrade from pip:

pip install pymeu --upgrade

Basic Examples

Use the download function to transfer a *.MER file to the remote terminal:

from pymeu import MEUtility
meu = MEUtility('YourPanelViewIpAddress')
meu.download('C:\\YourFolder\\YourProgram.mer')

Use the upload function to transfer a *.MER file from the remote terminal:

from pymeu import MEUtility
meu = MEUtility('YourPanelViewIpAddress')
meu.upload('C:\\YourFolder\\YourProgram.mer')

Use the upload all function to transfer all *.MER files from the remote terminal:

from pymeu import MEUtility
meu = MEUtility('YourPanelViewIpAddress')
meu.upload_all('C:\\YourFolder')

Use the reboot function to restart the remote terminal:

from pymeu import MEUtility
meu = MEUtility('YourPanelViewIpAddress')
meu.reboot()

Bug Reports

If filing bug reports, please include this terminal info report. Output should be generated similar to below:

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

"""
Terminal product type: 24.
Terminal product code: 51.
Terminal product name: PanelView Plus_6 1500.
Terminal helper version: 11.00.00.
Terminal ME version: 11.00.25.230.
Terminal major version: 11.
Terminal minor version: 1.
Terminal has 75040768 free bytes.
Terminal has MED files: ['Redacted'].
Terminal has MER files: ['Redacted', 'Redacted', 'Redacted'].
Terminal startup file: Redacted.
"""

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.2.tar.gz (35.1 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.2-py3-none-any.whl (43.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymeu-0.4.2.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for pymeu-0.4.2.tar.gz
Algorithm Hash digest
SHA256 96a57e8d2a4b732d4ce97247ee5c3daa51875fd0d5902ed8438d4b220b57971f
MD5 387aadd642c8e127e72b57c21f9d2606
BLAKE2b-256 369a96dbb267683580cab2120f51f304d2d48bb4ffd05bcc3a5a968f199d7605

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymeu-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 43.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for pymeu-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6b4db0acf552c6a18a9b21ffbe761d8826e8195931d58eff706c90a9a05204f4
MD5 be323deee92d1ef5fc066ade805ecf86
BLAKE2b-256 e8f1ea716d47ca6b79e769a8327d7514cfd1fd34a6e7b67c4d02221e4b0cce27

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