diff --git a/docs/2._Services_Portfolio/Tools/ilk.md b/docs/2._Services_Portfolio/Tools/ilk.md new file mode 100644 index 00000000..76e55cd7 --- /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 Functions +- **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. diff --git a/docs/3._Knowledge_Center/06_references/ilk-software.md b/docs/3._Knowledge_Center/06_references/ilk-software.md new file mode 100644 index 00000000..ffb696f6 --- /dev/null +++ b/docs/3._Knowledge_Center/06_references/ilk-software.md @@ -0,0 +1,17 @@ +--- +title: ILK Software +tags: + - PROSCAN + - HIPA +--- + +# The ILK Software + +The ILK Software is composed on multiple configuration files (XML mostly), some code running on a server (the backend), as well as web pages with JS, CSS, SVG and HTML to render the state of the Interlock and to be able to use it. + +The software give a view of the current state, the past events, and helps in the debugging. + +It is used in the control room for PROSCAN and HIPA, as well as by the hardware experts involved in the design of the system and for the support. + +The latest documentation (start point) can be found here: +https://gitea.psi.ch/controls_ilk_application/documentation/src/branch/main/readme.md \ No newline at end of file