From 05198f208a4e01c58f548a2ccb0e83e4225b5d1a Mon Sep 17 00:00:00 2001 From: bertrand Date: Wed, 25 Nov 2026 11:44:28 +0100 Subject: [PATCH 1/3] Add docs/3._Knowledge_Center/06_references/ilk-software.md --- .../06_references/ilk-software.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docs/3._Knowledge_Center/06_references/ilk-software.md 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 -- 2.54.1 From 85c7eb113d481ad2da80c7e2026dcc93d0f95c1e Mon Sep 17 00:00:00 2001 From: bertrand Date: Wed, 25 Nov 2026 11:54:55 +0100 Subject: [PATCH 2/3] Add docs/2._Services_Portfolio/Tools/ilk.md --- docs/2._Services_Portfolio/Tools/ilk.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/2._Services_Portfolio/Tools/ilk.md 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. -- 2.54.1 From d98bf9f01eb94a5255546db9b8cdc57297da56c5 Mon Sep 17 00:00:00 2001 From: bertrand Date: Wed, 25 Nov 2026 11:55:35 +0100 Subject: [PATCH 3/3] Update docs/2._Services_Portfolio/Tools/ilk.md --- docs/2._Services_Portfolio/Tools/ilk.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/2._Services_Portfolio/Tools/ilk.md b/docs/2._Services_Portfolio/Tools/ilk.md index 39916acc..76e55cd7 100644 --- a/docs/2._Services_Portfolio/Tools/ilk.md +++ b/docs/2._Services_Portfolio/Tools/ilk.md @@ -3,7 +3,7 @@ The Interlock Control Application is a software designed to support daily operat 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 +## 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. -- 2.54.1