From 1188f8d0893de9c77dba6ec3d3055ec695274476 Mon Sep 17 00:00:00 2001 From: Romain Vallotton Date: Wed, 25 Nov 2026 13:28:40 +0100 Subject: [PATCH 1/6] [ADD] Service Portfolio / Hardware Portfolio / Timing --- .../Hardware_Portfolio/Timing/01_mrf.md | 56 ++++++++++++++++++- .../Hardware_Portfolio/Timing/index.md | 2 +- 2 files changed, 56 insertions(+), 2 deletions(-) diff --git a/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/01_mrf.md b/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/01_mrf.md index a63aa658..c4b8a1eb 100644 --- a/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/01_mrf.md +++ b/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/01_mrf.md @@ -1,8 +1,62 @@ --- -title: MRF Timing System +title: Timing & Events System tags: - SLS - PROSCAN - SwissFEL - HIPA --- + +# Timing hardware + +The Controls Section supports Micro-Research Finland (MRF) VME timing hardware, including the legacy 230 version of the Event Receiver and the 300 versions of the Event Master and Event Receiver. The Controls Section also supports PSI’s in-house timing boards based on CompactPCI Serial. + +| Name | Brand | Model | Form factor | Description | Installed at | Documentation | +|---|---|---|---|---|---|---| +| Event Master 300 | MRF | VME-EVM-300 | VME | Event Master used to generate event sequences or distribute them. | SLS, SwissFEL | [MRF VME-EVM-300](https://www.mrf.fi/vme-event-master-vme-evm-300/) | +| Event Receiver 300 | MRF | VME-EVR-300 | VME | Event Receiver used to receive events and generate signals accordingly. | SLS, SwissFEL | [MRF VME-EVR-300](https://www.mrf.fi/vme-event-receiver-vme-evr-300/) | +| Event Receiver 230 | MRF | VME-EVR-230RF | VME | Legacy Event Receiver. | SLS, SwissFEL | — | +| COM-IO timing board | PSI in-house | CPSI_CIO | cPCI-S | New timing board developed at PSI. It can serve as an event generator, provide event fan-out, and act as an event receiver. | SLS, SwissFEL | [CPSI_CIO]([https](https://ecad.psi.ch/BrowseProS/106)) + +# Level of support + +## Machine timing systems + +Controls takes full responsibility for machine timing systems. This includes hardware, operation and the complete EPICS software stack. Controls owns the EPICS drivers and all EPICS integration, and provides caQtDM screens. + +Controls manages spare hardware and would carry out a hardware swap if required. The machine timing hardware has been highly reliable; to date, a hardware swap has not been needed. + +## Beamline timing systems + +For beamline timing systems, the beamline team is responsible for the physical hardware, including the Event Receiver installed at the beamline, and for its correct operation. Controls owns the EPICS drivers and all EPICS integration, and provides caQtDM screens. + +Controls can set up new beamline systems and provide support when problems occur. This work is lower priority than machine timing work and must be planned in advance. + +In our experience, once a system has been set up, it is generally reliable and may run for years without further intervention. + +# Features + +The MRF timing system distributes event codes and a separate eight-bit distributed bus. The Event Master generates the event stream and can distribute it to Event Receivers; Event Receivers decode the stream and generate hardware or software outputs. The system can synchronise events to an external reference such as the accelerator RF, and supports timestamps for associating a common time with collected data and actions. [MRF timing system](https://www.mrf.fi/timing-system/) · [Timing system structure](https://www.mrf.fi/timing-system-structure/) + +## Event Master 300 + +The VME-EVM-300 combines an event generator with an eight-way fan-out/concentrator. Its main features include: + +- RF input with a programmable divider +- Event clock rates from 50 MHz to 142.8 MHz +- Eight downstream SFP ports and one upstream SFP port +- A mains-synchronisation TTL input, two additional TTL inputs, and rear I/O + + +## Event Receiver 300 + +The VME-EVR-300 receives and decodes the distributed event stream. Its main features include: + +- Event clock rates from 50 MHz to 142.8 MHz +- Two front-panel TTL inputs +- Four Universal I/O slots +- Two differential CML outputs and rear I/O + +## COM-IO + +The COM-IO board benefit from all the features of the MRf hardware. \ No newline at end of file diff --git a/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/index.md b/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/index.md index e49e75e5..3cc723da 100644 --- a/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/index.md +++ b/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/index.md @@ -2,4 +2,4 @@ title: TIming --- -# Timing Hardware Portfolio +# Timing & Events System Hardware Portfolio -- 2.54.1 From f39acf5e3d53ddf4f0f6843e853449656c5e9948 Mon Sep 17 00:00:00 2001 From: Romain Vallotton Date: Wed, 25 Nov 2026 14:43:38 +0100 Subject: [PATCH 2/6] Hardware Portfolio : flatten timing --- .../2._Services_Portfolio/Hardware_Portfolio/Timing/index.md | 5 ----- .../Hardware_Portfolio/{Timing/01_mrf.md => timing.md} | 0 zensical.toml | 5 +---- 3 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 docs/2._Services_Portfolio/Hardware_Portfolio/Timing/index.md rename docs/2._Services_Portfolio/Hardware_Portfolio/{Timing/01_mrf.md => timing.md} (100%) diff --git a/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/index.md b/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/index.md deleted file mode 100644 index 3cc723da..00000000 --- a/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/index.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: TIming ---- - -# Timing & Events System Hardware Portfolio diff --git a/docs/2._Services_Portfolio/Hardware_Portfolio/Timing/01_mrf.md b/docs/2._Services_Portfolio/Hardware_Portfolio/timing.md similarity index 100% rename from docs/2._Services_Portfolio/Hardware_Portfolio/Timing/01_mrf.md rename to docs/2._Services_Portfolio/Hardware_Portfolio/timing.md diff --git a/zensical.toml b/zensical.toml index d64c49ec..3dd02cac 100644 --- a/zensical.toml +++ b/zensical.toml @@ -377,10 +377,7 @@ logo = "cas_03_sp" "2._Services_Portfolio/Hardware_Portfolio/Motion/05_deltatau.md", "2._Services_Portfolio/Hardware_Portfolio/Motion/06_VME.md", ]}, - { "Timing" = [ - "2._Services_Portfolio/Hardware_Portfolio/Timing/index.md", - "2._Services_Portfolio/Hardware_Portfolio/Timing/01_mrf.md", - ]}, + "2._Services_Portfolio/Hardware_Portfolio/Timing/timing.md", { "Spectrometers" = [ "2._Services_Portfolio/Hardware_Portfolio/Spectrometers/index.md", "2._Services_Portfolio/Hardware_Portfolio/Spectrometers/01_avantes.md", -- 2.54.1 From 500320be87a093145a738b6399ce00c5ee3edbc1 Mon Sep 17 00:00:00 2001 From: Romain Vallotton Date: Wed, 25 Nov 2026 14:47:44 +0100 Subject: [PATCH 3/6] Fix path hardware portfolio / timing --- zensical.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zensical.toml b/zensical.toml index 3dd02cac..96812a66 100644 --- a/zensical.toml +++ b/zensical.toml @@ -377,7 +377,7 @@ logo = "cas_03_sp" "2._Services_Portfolio/Hardware_Portfolio/Motion/05_deltatau.md", "2._Services_Portfolio/Hardware_Portfolio/Motion/06_VME.md", ]}, - "2._Services_Portfolio/Hardware_Portfolio/Timing/timing.md", + "2._Services_Portfolio/Hardware_Portfolio/timing.md", { "Spectrometers" = [ "2._Services_Portfolio/Hardware_Portfolio/Spectrometers/index.md", "2._Services_Portfolio/Hardware_Portfolio/Spectrometers/01_avantes.md", -- 2.54.1 From 61ec87c5f59294d62431a365489ba8123cc96e15 Mon Sep 17 00:00:00 2001 From: Romain Vallotton Date: Wed, 25 Nov 2026 15:18:37 +0100 Subject: [PATCH 4/6] [References] Add SF and SLS timing event list --- .../06_references/04_sf_event_list.md | 83 +++++++++++++++++++ .../06_references/05_sls_event_list.md | 29 +++++++ .../06_references/index.md | 2 +- zensical.toml | 2 + 4 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 docs/3._Knowledge_Center/06_references/04_sf_event_list.md create mode 100644 docs/3._Knowledge_Center/06_references/05_sls_event_list.md diff --git a/docs/3._Knowledge_Center/06_references/04_sf_event_list.md b/docs/3._Knowledge_Center/06_references/04_sf_event_list.md new file mode 100644 index 00000000..d88d5023 --- /dev/null +++ b/docs/3._Knowledge_Center/06_references/04_sf_event_list.md @@ -0,0 +1,83 @@ +# SwissFEL event list + +*The event code is the value transmitted through the timing system and used by the Event Receivers to identify the event.* + +| ID | Description | Code | Name | Delay right | Beam rate dependency | Owner | Comment | +| --- | --- | --- | --- | --- | --- | --- | --- | +| 1 | RF fire 1 | 1 | RF-1 | me | atomic apply | kalt_r | | +| 2 | RF fire 2 | 2 | RF-2 | me | atomic apply | kalt_r | | +| 3 | RF cond 1 | 3 | RF-3 | me | none | kalt_r | | +| 4 | RF cond 2 | 4 | RF-4 | me | none | kalt_r | | +| 5 | RF defl 1 | 5 | RF-5 | me | none | kalt_r | | +| 6 | RF OFF enable | 0 | RF-OffEna | me | none | system | | +| 7 | RF OFF beam | 6 | RF-OffBeam | me | none | system | | +| 8 | Laser fire: Jaguar | 7 | Las-1 | me, le | atomic apply | vicario | reserved delay range: 7200 - 7205 us | +| 9 | Laser fire: Alcor | 8 | Las-2 | me, le | atomic apply | vicario | reserved delay range: 7195 - 7200 us | +| 10 | BAM bunch 1 | 12 | BAM-B1 | me | none | arsov | | +| 11 | Laser Jaguar OFF enable | 0 | Las-OffEna | me | direct | system | | +| 12 | Laser Jaguar OFF beam | 11 | Las-OffBeam | me | none | system | | +| 14 | BAM Trig. Off | 10 | BAM-TrigOff | me | none | arsov | | +| 15 | Generic B1 Follow | 13 | GenB1Fl | me | bunch 1, beam non zero | operation | | +| 16 | Generic B1 Follow Off-1 | 14 | GenB1FlOffM1 | me | bunch 1, beam non zero | operation | offset=-1 | +| 17 | BPM bunch 1 | 15 | BPM-1 | me | bunch 1, beam non zero | operation | | +| 18 | BPM bunch 2 | 16 | BPM-2 | me | bunch 2, beam non zero | operation | delay = delay event code 15 - 7ns | +| 19 | Laser 1 Pump delay | 17 | EXP-Las-1 | me | none | xie_x | | +| 20 | Laser 1 Pulse Picker | 18 | EXP-Las-2 | me, le | none | xie_x | | +| 21 | Laser 2 Pump delay | 19 | EXP-Las-3 | me, le | none | xie_x | | +| 22 | Laser 2 Pulse Picker | 20 | EXP-Las-4 | me, le | none | xie_x | | +| 23 | Laser 1 DarkShot | 21 | EXP-Las-5 | me, le | none | xie_x | | +| 24 | ESA Laser diagnostics | 22 | EXP-Las-6 | me, le | none | xie_x | | +| 26 | ESB Laser diagnostics | 24 | EXP-Las-8 | me, le | none | deng_y | | +| 27 | Laser 2 DarkShot | 25 | EXP-Las-9 | me, le | none | xie_x | | +| 30 | BeamSync generic 01 | 28 | BSG-01 | me | none | voulot_d | default event code for bsread! | +| 31 | BeamSync generic 02 | 29 | BSG-02 | me | none | voulot_d | | +| 32 | BeamSync generic 03 | 30 | BSG-03 | me | none | voulot_d | | +| 33 | BeamSync generic 04 | 31 | BSG-04 | me | none | voulot_d | | +| 34 | BeamSync generic 05 | 32 | BSG-05 | me | none | voulot_d | | +| 35 | BeamSync generic 06 | 33 | BSG-06 | me | none | voulot_d | | +| 36 | BeamSync generic 07 | 34 | BSG-07 | me | none | voulot_d | | +| 37 | BeamSync generic 08 | 35 | BSG-08 | me | none | voulot_d | | +| 38 | BeamSync generic 09 | 36 | BSG-09 | me | none | voulot_d | | +| 39 | BeamSync generic 10 | 37 | BSG-10 | me | none | voulot_d | | +| 40 | Sequence start | 38 | SOS | me | none | system | | +| 41 | Generic B1 Follow Slow10 | 39 | GenB1FlSlow10 | me | bunch 1, beam non zero, rate limited (10Hz) | operation | | +| 42 | ESA detector | 40 | ESA-Detector | me | none | mozzanica | | +| 45 | Test Event 1 | 43 | Test-1 | me, t1 | none | biffiger_r | | +| 46 | Test Event 2 | 44 | Test-2 | me, t2 | none | biffiger_r | | +| 47 | Test Event 3 | 45 | Test-3 | me, t3 | none | biffiger_r | | +| 48 | Test Event 4 | 46 | Test-4 | me, t4 | none | biffiger_r | | +| 49 | Test Event 5 | 47 | Test-5 | me, t5 | none | biffiger_r | | +| 50 | ESA experiment | 48 | ESA-Experiment | me | none | milne | | +| 51 | ESB experiment | 49 | ESB-Experiment | me | none | lemke_h | | +| 52 | ESB detector | 50 | ESB-Detector | me | none | mozzanica | | +| 53 | Laser Alcor OFF enable | 0 | Las-2-OffEna | me | direct | system | | +| 54 | Laser Alcor OFF beam | 51 | Las-2-OffBeam | me | none | system | | +| 55 | Generic B2 Follow | 52 | GenB2Fl | me | bunch 2, beam non zero | operation | delay = delay event code 13 + 7ns | +| 56 | Bunch flag computation | 53 | Bunch-Flag_Compute | te | none | biffiger_r | delay = > delay event codes 1, 2, 6, 7, 8, 11, 51 | +| 57 | Laser fire: Mizar | 54 | Las-3 | me, le | atomic apply | vicario | reserved delay range: 7190 - 7195 us | +| 58 | Laser Mizar OFF enable | 0 | Las-3-OffEna | me | direct | system | | +| 59 | Laser Mizar OFF beam | 55 | Las-3-OffBeam | me | none | system | | +| 60 | Generic B2 Follow Off-1 | 56 | GenB2FlOffM1 | me | bunch 2, beam non zero | operation | delay = delay event code 14 + 7ns, offset = -1 | +| 61 | Generic B2 Follow Slow10 | 57 | GenB2FlSlow10 | me | bunch 2, beam non zero, rate limited (10Hz) | operation | delay = delay event code 39 + 7ns | +| 62 | BAM bunch 2 | 58 | BAM-B2 | me | none | arsov | | +| 63 | Aramis Ekspla ns laser | 63 | EXP-Las-10 | me, le | none | xie_x | | +| 64 | Generic 1 Hz | 64 | Generic-1Hz | me | none | operation | fixed global delay, divisor and offset | +| 65 | Generic 2.5 Hz | 65 | Generic-2p5Hz | me | none | operation | fixed global delay, divisor and offset | +| 66 | Generic 5 Hz | 66 | Generic-5Hz | me | none | operation | fixed global delay, divisor and offset | +| 67 | Generic 8.3 Hz | 67 | Generic-8p3Hz | me | none | operation | fixed global delay, divisor and offset | +| 68 | Generic 10 Hz | 68 | Generic-10Hz | me | none | operation | fixed global delay, divisor and offset | +| 69 | Generic 12.5 Hz | 69 | Generic-12p5Hz | me | none | operation | fixed global delay, divisor and offset | +| 70 | Generic 16.6 Hz | 70 | Generic-16p6Hz | me | none | operation | fixed global delay, divisor and offset | +| 71 | Generic 25 Hz | 71 | Generic-25Hz | me | none | operation | fixed global delay, divisor and offset | +| 72 | Generic 33.3 Hz | 72 | Generic-33p3Hz | me | none | operation | fixed global delay, divisor and offset | +| 73 | Generic 50 Hz | 73 | Generic-50Hz | me | none | operation | fixed global delay, divisor and offset | +| 74 | Generic 100 Hz | 74 | Generic-100Hz | me | none | operation | fixed global delay, divisor and offset | +| 75 | Generic B1 Follow Late | 75 | GenB1FlLate | me | bunch 1, beam non zero | operation | fixed global delay (late) and offset | +| 76 | Generic B2 Follow Late | 76 | GenB2FlLate | me | bunch 2, beam non zero | operation | fixed global delay (late) and offset | +| 77 | ESC detector | 77 | ESC-Detector | me | none | mozzanica | | +| 78 | ESC experiment | 78 | ESC-Experiment | me | none | pedrini | | +| 79 | ESC Laser diagnostics | 79 | ESC-LaserDiag | me,le | none | pedrini | | +| 80 | Generic 0.2 Hz | 80 | Generic-0p2Hz | me | none | operation | fixed global delay, divisor and offset | +| - | Internal events | 112 - 127 | - | - | - | system | | +| - | beam line master events | 150-169 | - | - | - | biffiger_r | events produced by beam line submaster and visible in beam line end stations | +| - | CTA events | 200 - 219 | - | - | - | biffiger_r | | \ No newline at end of file diff --git a/docs/3._Knowledge_Center/06_references/05_sls_event_list.md b/docs/3._Knowledge_Center/06_references/05_sls_event_list.md new file mode 100644 index 00000000..940a1ad8 --- /dev/null +++ b/docs/3._Knowledge_Center/06_references/05_sls_event_list.md @@ -0,0 +1,29 @@ +# SLS Event list + +*The event code is the value transmitted through the timing system and used by the Event Receivers to identify the event.* + +| List | Event name | Description | Code | Externally triggered | Emitted during SR injection only | +| --- | --- | --- | --- | --- | --- | +| 1 | SOS | Start of sequence | 38 | No | No | +| 2 | LI-Gun | Linac electron gun trigger | 10 | No | Yes | +| 3 | LI-RF | Linac RF systems | 11 | No | Yes | +| 4 | LI-ICT | Linac ICT | 12 | No | No | +| 5 | LI-Dia | Linac general diagnostic | 13 | No | No | +| 6 | BO-RF | Booster RF systems | 20 | No | No | +| 7 | BO-Dia | Booster general diagnostic | 21 | No | No | +| 8 | BO-Cam-Fast | Booster camera fast event | 22 | No | No | +| 9 | BO-Inj | Booster injection | 23 | No | Yes | +| 10 | BO-Ext | Booster extraction | 24 | No | Yes | +| 11 | BO-Ext-BPM | Booster extraction BPM | 25 | No | No | +| 12 | SR-RF | Storage ring RF systems | 30 | No | No | +| 13 | SR-Pinger | Storage ring pinger | 31 | No | No | +| 14 | BPM-Sync | BPM general synchronization | 40 | No | No | +| 15 | Beam-Dump | Beam dump | 41 | Yes | No | +| 16 | PM-Rec | Post-mortem recording | 42 | No | No | +| 17 | RF-Dbg-Rec | RF debug recording | 43 | Yes | No | +| 18 | Old-BO-HW | Legacy event for booster magnets 'HW' trigger | 49 | No | No | +| 19 | Old-BO-SW | Legacy event for booster magnets 'SW' trigger | 52 | No | No | +| 20 | Old-BO-SYN | Legacy event for booster magnets 'SYN' trigger | 53 | No | No | +| 21 | Test-Evt1 | Generic purpose test event 1 | 61 | No | No | +| 22 | Test-Evt2 | Generic purpose test event 2 | 62 | No | No | +| 23 | Test-Evt3 | Generic purpose test event 3 | 63 | No | No | \ No newline at end of file diff --git a/docs/3._Knowledge_Center/06_references/index.md b/docs/3._Knowledge_Center/06_references/index.md index 00db75ca..fa43f77d 100644 --- a/docs/3._Knowledge_Center/06_references/index.md +++ b/docs/3._Knowledge_Center/06_references/index.md @@ -1,2 +1,2 @@ -# Referencess +# References diff --git a/zensical.toml b/zensical.toml index 96812a66..02f9533a 100644 --- a/zensical.toml +++ b/zensical.toml @@ -485,6 +485,8 @@ logo = "cas_03_sp" "3._Knowledge_Center/06_references/01_it_infrastructure.md", "3._Knowledge_Center/06_references/02_stream_device.md", "3._Knowledge_Center/06_references/03_opcua.md", + "3._Knowledge_Center/06_references/04_sf_event_list.md", + "3._Knowledge_Center/06_references/05_sls_event_list.md", ]}, ] -- 2.54.1 From b8e72ad94b80400824520c569589525526bd74e6 Mon Sep 17 00:00:00 2001 From: Romain Vallotton Date: Wed, 25 Nov 2026 15:22:46 +0100 Subject: [PATCH 5/6] [References] Add tags in SF and SLS event lists --- .../06_references/04_sf_event_list.md | 9 ++++++++- .../06_references/05_sls_event_list.md | 6 ++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/3._Knowledge_Center/06_references/04_sf_event_list.md b/docs/3._Knowledge_Center/06_references/04_sf_event_list.md index d88d5023..dad4db02 100644 --- a/docs/3._Knowledge_Center/06_references/04_sf_event_list.md +++ b/docs/3._Knowledge_Center/06_references/04_sf_event_list.md @@ -1,4 +1,11 @@ -# SwissFEL event list +--- +title: SwissFEL timing event list +tags: + - SwissFEL +--- + + +# SwissFEL timing event list *The event code is the value transmitted through the timing system and used by the Event Receivers to identify the event.* diff --git a/docs/3._Knowledge_Center/06_references/05_sls_event_list.md b/docs/3._Knowledge_Center/06_references/05_sls_event_list.md index 940a1ad8..3596e116 100644 --- a/docs/3._Knowledge_Center/06_references/05_sls_event_list.md +++ b/docs/3._Knowledge_Center/06_references/05_sls_event_list.md @@ -1,3 +1,9 @@ +--- +title: SLS timing event list +tags: + - SLS +--- + # SLS Event list *The event code is the value transmitted through the timing system and used by the Event Receivers to identify the event.* -- 2.54.1 From c80d0c8b44f60fac60eac975bfd57c8a1ec93eaf Mon Sep 17 00:00:00 2001 From: Romain Vallotton Date: Wed, 25 Nov 2026 15:34:12 +0100 Subject: [PATCH 6/6] [References] Update filenames --- .../06_references/{04_sf_event_list.md => 05_sf_event_list.md} | 0 .../06_references/{05_sls_event_list.md => 06_sls_event_list.md} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename docs/3._Knowledge_Center/06_references/{04_sf_event_list.md => 05_sf_event_list.md} (100%) rename docs/3._Knowledge_Center/06_references/{05_sls_event_list.md => 06_sls_event_list.md} (100%) diff --git a/docs/3._Knowledge_Center/06_references/04_sf_event_list.md b/docs/3._Knowledge_Center/06_references/05_sf_event_list.md similarity index 100% rename from docs/3._Knowledge_Center/06_references/04_sf_event_list.md rename to docs/3._Knowledge_Center/06_references/05_sf_event_list.md diff --git a/docs/3._Knowledge_Center/06_references/05_sls_event_list.md b/docs/3._Knowledge_Center/06_references/06_sls_event_list.md similarity index 100% rename from docs/3._Knowledge_Center/06_references/05_sls_event_list.md rename to docs/3._Knowledge_Center/06_references/06_sls_event_list.md -- 2.54.1