Author: Wright, G.
Paper Title Page
WPO001 Integrating Siemens PLCs and EPICS over Ethernet at the Canadian Light Source 31
 
  • R. Tanner, S. Hu, G. Wright
    CLS, Saskatoon, Saskatchewan, Canada
  • E. D. Matias
    Mighty Oaks, Victoria, BC, Canada
 
  The Canadian Light Source (CLS) is a 3rd-generation synchrotron light source on the University of Saskatchewan Campus in Saskatoon, SK, Canada. The control system is based on the Experimental Physics and Industrial Controls System (EPICS) toolkit. A number of systems delivered to the CLS arrived with Siemens, PLC-based automation. EPICS integration was initially accomplished circa 2003 using application-specific hardware; communicating over Profibus. The EPICS driver and IOC application software were developed at the CLS. The hardware has since been discontinued. To minimize reliance on specialized components, the CLS moved to a more generic solution, using readily-available Siemens Ethernet modules, CLS-generated PLC code, and an IOC using the Swiss Light Source (SLS) Siemens/EPICS driver. This paper will provide details on the implementation of that interface. It will cover detailed functionality of the PLC programming, custom tools used to streamline configuration, deployment and maintenance of the interface. It will also describe handshaking between the devices and lessons learned. It will conclude by identifying where further development and improvement may be realized.