JACoW logo

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.


BiBTeX citation export for TUPV040: A Python Package For Generating Motor Homing Routines

@inproceedings{palaha:icalepcs2021-tupv040,
  author       = {A.S. Palaha and T.M. Cobb and G. Knap},
  title        = {{A Python Package For Generating Motor Homing Routines}},
  booktitle    = {Proc. ICALEPCS'21},
  pages        = {497--500},
  eid          = {TUPV040},
  language     = {english},
  keywords     = {HOM, PLC, controls, interface, status},
  venue        = {Shanghai, China},
  series       = {International Conference on Accelerator and Large Experimental Physics Control Systems},
  number       = {18},
  publisher    = {JACoW Publishing, Geneva, Switzerland},
  month        = {03},
  year         = {2022},
  issn         = {2226-0358},
  isbn         = {978-3-95450-221-9},
  doi          = {10.18429/JACoW-ICALEPCS2021-TUPV040},
  url          = {https://jacow.org/icalepcs2021/papers/tupv040.pdf},
  abstract     = {{Diamond Light Source uses hundreds of Delta Tau Turbo PMAC2 based motion controllers that control motors with precision and repeatability. Homing is critical to these requirements; it safely moves axes to a well-known position using a high-precision device for detection, leaving the overall system in a well-known state and ready for use. A python package called ’pmac_{m}otorhome’ has been developed to generate homing routines for multiple motors across multiple motion controllers, allowing the user to write a script that is terse for standard/typical routines but allows for customisation and flexibility where required. The project uses jinja templates as ‘snippets’ to generate the homing routine code written in Delta Tau PLC notation. The snippets can be re-ordered and grouped together, supporting the design of homing routines for multi-axis systems with mechanical limitations that require an orchestrated approach to safely home the axes. The python script using the package is kept terse using a context manager and can group axes together to the same homing group easily.}},
}