Journals of Accelerator Conferences Website (JACoW)
JACoW
is a publisher in Geneva, Switzerland that publishes the
proceedings of accelerator conferences held around the world
by an international collaboration of editors.
| URL | https://doi.org/10.18429/JACoW-ICALEPCS2025-TUPD024 |
|---|---|
| Title | A Python-based serial communication framework for legacy PMAC controllers |
| Authors |
|
| Abstract | Many beamlines at BESSY-II still operate using VME-crate-based PMAC motor controllers that rely on proprietary Windows software for communication and configuration. However, these programs often require old licenses and are not compatible with modern operating systems, making maintenance increasingly difficult. To address this, we have developed an open-source Python tool that communicates with legacy PMAC controllers over serial interfaces. The tool uses a modular manager-client architecture where multiple client programs can send commands concurrently without conflicts, using a managed queue and locking system. Dedicated clients have been created for terminal interaction, batch upload of command files, watch window monitoring and plotting of PMAC variables with configurable fetch and display intervals. The programs are lightweight, installed via Python package management, and accessible through simple command-line interfaces. While the serial communication is not real-time, it is sufficient for configuration, monitoring, and motion program uploads. Extensive logging is provided for traceability. A muti-tabbed GUI with plotting and data saving feature is implemented for better usability. Future developments include integration into the broader framework to support newer motor controllers. This tool provides a modern, open-source alternative for maintaining legacy motion control systems and ensures continued support without reliance on outdated commercial software. |
| Paper | download: TUPD024.pdf |
| Cite | BibTeX, LaTeX, Text/Word, RIS, EndNote |
| Conference | 20th Int. Conf. Accel. Large Exp. Phys. Control Syst. (ICALEPCS'25) |
| Series | |
| Location | Chicago, IL, USA |
| Date | 20-26 Sep 2025 |
| Publisher | JACoW Publishing, Geneva, Switzerland |
| Editorial Board | Kent Wootton (ANL), Jeffery Biss (FNAL), Gustavo Bruno (ANL), Jeff Kirchman (ANL), Kelly Jaje (ANL), Denise Skiadopoulos (ANL), SuYin Grass Wang (ANL) |
| Online ISBN | 978-3-95450-255-4 |
| Online ISSN | 2226-0358 |
| Received | 04 September 2025 |
| Revised | 17 September 2025 |
| Accepted | 18 September 2025 |
| Issued | 25 November 2025 |
| DOI | 10.18429/JACoW-ICALEPCS2025-TUPD024 |
| Pages | 582-586 |
| Copyright | Published by JACoW Publishing under the terms of the Creative Commons Attribution 4.0 license. Any further distribution of this work must maintain attribution to the author(s), the published article's title, publisher, and DOI. |