diff --git a/docs/2._Services_Portfolio/Tools/ilk.md b/docs/2._Services_Portfolio/Tools/ilk.md new file mode 100644 index 00000000..39916acc --- /dev/null +++ b/docs/2._Services_Portfolio/Tools/ilk.md @@ -0,0 +1,20 @@ +# ILK (Interlock Control Application) +The Interlock Control Application is a software designed to support daily operation of the Machine Protection Systems (MPS) at the HIPA and PROSCAN facilities. + +Acting as a bridge between human operators/external systems and distributed interlock hardware, it helps configure protection modes, diagnose and clear faults, and monitor system health as PSI transitions from older RPS-IP modules to newer USI2 FPGA-based hardware. + +## Core FunctionsFacility +- **Mode Configuration:** Lets operators set up the MPS for required operating modes across both legacy RPS-IP modules and new USI2 modules. +- **Interlock Diagnosis, Clearing, and Bridging:** Enables operators and facility users to inspect, clear, and temporarily override ("bridge") interlocks based on signal type and access permissions. +- **Monitoring, Consistency Checks, and Alerts:** Continuously monitors MPS hardware state, verifies configuration consistency across connected modules/signals, and provides audible alerts when operator attention or beam inhibition is needed. +- **QA Checks and Fault Investigation:** Supports periodic quality assurance checks, detailed technical diagnostics, and viewing event/engineering logs for fault root-cause and downtime statistics. +- **Facility-Specific Features:** PROSCAN-only: Provides an API for the Beam Allocator (Ball) to set operating modes according to patient treatment needs. +- **HIPA-only: Assists with beam "ramp-up"** (such as master reset functions) and provides automatic interlock reset and beam restore where possible. + +## Users & Scope Boundaries +- **Primary Users:** Machine Operators, PROSCAN/HIPA Facility Users, MPS Technical Experts, Software Developers/Maintainers, and the Operations Team. +- **Machine Protection vs. Safety Systems:** The software focuses on protecting equipment/facilities from damage (and maintaining availability), not hard real-time beam shutoff. Personnel safety and patient safety are handled separately by PSI's PSYS and PaSS systems. + +## System Environment & Interfaces +- **Hardware & Protocols:** Runs on Linux (mostly RHEL7) operator workstations and communicates with interlock hardware/IOCs via EPICS Channel Access, reading configuration files and writing interlock event and engineering logs on the production filesystem. +- **User Interface:** Planned to provide functional equivalence to the existing C++/Qt ILK Display Program across consistent multi-workstation views (such as Synoptic, Section, Hardware Tree, and Module views), with potential future additions like email notifications, ELOG integration, and a test mode.