Journal of Synchrotron Radiation (May 2022)

Better automation of beamline control at HEPS

  • Yu Liu,
  • Xue-Wei Dong,
  • Gang Li

DOI
https://doi.org/10.1107/S160057752200337X
Journal volume & issue
Vol. 29, no. 3
pp. 687 – 697

Abstract

Read online

At the High Energy Photon Source (HEPS; Beijing, People's Republic of China), where up to 90 beamlines can be provided in the future, minimization of workload for individual beamlines and maximization of knowledge about one beamline that can be applied to other beamlines is essential to minimize the total complexity in beamline control. Presented in this paper are our efforts to achieve these goals by composing relatively simple utilities and mechanisms to automate tasks, while always remembering to keep our automation solutions simple and clear. After an introduction to our choice of basic software in EPICS-based beamline control, the issues encountered in introducing package management to EPICS modules, as well as solutions to them, are presented; the design and implementation of the packaging system is concisely discussed. After a presentation of our efforts to reduce the need for self-built multi-device EPICS `input/output controller' (IOC) applications by providing reusable modular IOC executables, implementation of easily maintainable multi-IOC setups through the separation and minimization of each user's IOC configurations is given. The ongoing project of comprehensive beamline services at HEPS to further simplify configuration management on multiple scales, ranging from individual beamline devices to all beamlines at HEPS, is introduced.

Keywords