SPEAR EPICS
PLC Interfaces
Programmable Logic Controllers (PLCs) are used to control and monitor the SPEAR, injector, booster RF SSA, and beamline machine protection system (MPS), SPEAR and booster kickers, MS1-BDBLK bend dipole bulk power supply, and booster RF circulator control. In addition, they are used to monitor the personal protection system (PPS) and provide limited control, in combination with the control room foot pedal. They also provide camera screen and power control but without status readback. The logic in the PLCs is described and maintained elsewhere. This page describes the interface between the PLCs and the SPEAR control system.For MPS, kicker, and MS1-BDBLK PLCs, communication with EPICS go through EtherNet/IP modules residing in the SPEAR MPS and MS1-BLBLK AB-1756 chasses in B118, other chasses in B120 (beamline MPS), and B140 (injector MPS, booster RF, and booster kickers). To control and monitor the SPEAR kickers (except timing), a special "bridge" PLC in the B118 chassis communicates with the EtherNet/IP module in the SPEAR Kicker AB-1788 FlexIO chassis, also in B118.
For PPS, communication with EPICS is direct to the Siemens S7 PLC via a NIC card in the same chassis. See this schematic. PPS EPICS displays are used in various procedures:
- SPEAR Global Certification
- SSRL Booster PPS Certification
- SSRL SPEAR PPS Certification
- SPEAR Remote Control
For camera control and booster RF SSA MPS, communication with EPICS is direct to the CompactLogix PLC using the same protocol as the EtherNet/IP modules.
Records associated with the PLC interface include:
- SPEAR MPS (soft-iocmpsspr)
- Injector MPS (soft-iocmpsinj)
- Beamline MPS (soft-iocmpsbl)
- Injector LCW (soft-iocmpsspr)
- SPEAR LCW (soft-iocpskick)
- SPEAR Kickers (soft-iocpskick)
- Booster Kickers (soft-iocpskick)
- MS1-BDBLK Status (soft-iocpskick)
- Injector PPS (soft-iocpps)
- SPEAR PPS (soft-iocpps)
- Camera Control (soft-ioccam-watcher)
Tag lists (memory locations on the PLC) associated with EPICS records:
There are a handful of control records, most of which are binary open, close, reset, and enable requests. The only analog control points are the voltages for the SPEAR kicker system. SPEAR kicker control is described in the Kicker Operations presentation by Chris Pappas and the Kicker Overview presentation by Jim Sebek. The SPEAR kicker power supply system manager page is also a good reference. The booster kicker control is described in the Booster Kicker Upgrade presentation by Fernando Rafael.
- SPEAR MPS PLC
- SPEAR BRIDGE PLC
- BEAMLINE BRIDGE PLC
- INJECTOR BRIDGE PLC
- MS1-BDBLK PLC
- Booster Kicker PLC
- Injector PPS PLC (Inputs)
- Injector PPS PLC (Outputs)
- SPEAR PPS PLC
- Camera Control PLC
- Draft Spreadsheet for Booster RF MPS PLC
The SPEAR kicker voltages are calibrated so both the setpoint and readback are shown in kV on the EPICS kicker display. Nominal values as of Oct 2016:
SPEAR Kicker Voltage Setpoint (kV) K1 1.547 K2 1.453 K3 1.757
SPEAR EPICS | EPICS Home | SPEAR Home | SSRL Home | SLAC Home
Contact: Stephanie Allison
Last Modified: Oct 12, 2016