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-TUPD100 |
|---|---|
| Title | Development of EPICS device support on the MELSEC iQ-R embedded Linux controller |
| Authors |
|
| Abstract | At the RIKEN Radioactive Isotope Beam Factory (RIBF), commercial PLCs are used in various accelerator subsystems. Among them, the Yokogawa FA-M3 series with a Linux CPU module running EPICS IOC has been successfully adopted. Following this model, and in response to user requests, we implemented a similar architecture using the embedded Linux controller (RD55UP12-V) of Mitsubishi Electric’s MELSEC iQ-R series. Conventional MELSEC-based integration with EPICS has relied on asynchronous device support communicating over TCP/IP (e.g., MC protocol). These approaches often face reliability issues, such as socket disconnections and failed reconnections after network disruptions. To address these problems, we developed a native EPICS device support that runs directly on the MELSEC Linux CPU. A Python-based prototype using PyDevice was first created for rapid development and verification, incorporating a thread-safe worker architecture. Based on its success, we re-implemented the support in C++ using the asynPortDriver class of the EPICS asynDriver module. The C++ version provides improved performance, robust multithreading, and better maintainability. This paper presents the development process, differences between the Python and C++ implementations, and results from system integration within the RIBF control environment. |
| Paper | download: TUPD100.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 | 08 September 2025 |
| Revised | 26 September 2025 |
| Accepted | 29 October 2025 |
| Issued | 25 November 2025 |
| DOI | 10.18429/JACoW-ICALEPCS2025-TUPD100 |
| Pages | 728-731 |
| 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. |