Timing Event and ECC Definitions


Event Codes

Event 0 reserved for internal use
Name No. Hex Description
EVT_PZ_ChanEnd 0 00 SIS/ESR PZ only: mark end of channel
Events 1...31 reserved for UNILAC applications
Name No. Hex Description
EVT_START_RF 1 01 Power to RF cavities
EVT_START_IQ 2 02 Begin of beam production
EVT_IQ_HEATING 3 03 Begin of ion source arc, ECR RF
EVT_PREP_BEAM_ON 4 04 Switch on chopper, read act. values
EVT_IQ_GAS_ON 5 05 Start of heading gas (ion source)
EVT_BEAM_ON 6 06 Valid beam
EVT_BEAM_OFF 8 08 End of beam production
EVT_STOP_IQ 10 0A Switch IQ off
EVT_STOP_RF 12 0C Switch RF off
EVT_PREP_NEXT_ACC 16 10 Prepare next acc., write set values
EVT_AUX_PRP_NXT_ACC 17 11 Set values in magnet prep. cycles
EVT_RF_PREP_NXT_ACC 18 12 Begin of RF extra cycle
EVT_PREP_UNI_DIAG 19 13 Prepare diagnostic devices, Unilac
EVT_PREP_AUX 20 14 Trigger BIF beam diagnostics
EVT_UNLOCK_ALVAREZ 21 15 unlock A4 for next pulse
EVT_PREP_EXP 22 16 Pretrigger for experiments
EVT_RF_AUX_TRIG 24 18 Trigger ADC in RF extra cycles
EVT_MAGN_DOWN 25 19 Set magnets to zero current
EVT_SD_AUX_START 26 1A Beam diagnostics aux start trigger
EVT_SD_AUX_STOP 27 1B Beam diagnostics aux stop trigger
EVT_PRETRIG_BEAM 28 1C Magnets on flattop, PG trigger
EVT_UNI_END_CYCLE 29 1D End of a UNILAC cycle
EVT_READY_TO_SIS 30 1E 10 ms before beam transfer
EVT_SRC_DST_ID 31 1F Source/destination of beam
Events 32...79 reserved for SIS/ESR standard cycle
Name No. Hex Description
EVT_START_CYCLE 32 20 First event in a cycle
EVT_START_BFELD 33 21 Start of B-field
EVT_PEAK_UP 34 22 Peaking trip up
EVT_INJECT 35 23 B-field reached injection level
EVT_UNI_TRANS 36 24 Demand UNILAC beam
EVT_UNI_ACKN 37 25 Acknowledge from Unilac
EVT_UNI_READY 38 26 Unilac ready, transfer in preparation
EVT_MB_LOAD 39 27 Start Bumper magnet ramp up
EVT_MB_TRIGGER 40 28 Start active bumper ramp (down)
EVT_INJECT_END 41 29 Start of injection from unilac
EVT_TIMEOUT_1 42 2A Trigger timeout channel 1
EVT_RAMP_START 43 2B Start of acc/deacc ramp in magnets
EVT_PREP_INJ 44 2C Prepare devices for next Injection
EVT_FLATTOP 45 2D Magnets reached flattop
EVT_EXTR_START_SLOW 46 2E Start of extraction
EVT_MK_LOAD_1 47 2F Load kicker for HF-triggered puls
EVT_MK_LOAD_2 48 30 Load kicker for timinggenerator-triggered puls
EVT_KICK_START_1 49 31 Start kicker for HF-triggered extraction
EVT_TIMEOUT_2 50 32 Trigger timeout channel 2
EVT_EXTR_END 51 33 End of extraction
EVT_FLATTOP_END 52 34 End of Flattop (magnets) reached
EVT_PREP_EXTR 53 35 Prepare devices for next extraction
EVT_PEAK_DOWN 54 36 Peaking strip down
EVT_END_CYCLE 55 37 End of a cycle
EVT_SYNCH 56 38 Trigger all function generators
EVT_EXTR_BUMP 57 39 Start of closed orbit distortion
EVT_SIS_ACK_TO_ESR 58 3A SIS acknowledge to ESR
EVT_SIS_READY_1 59 3B SIS ready for extraction to ESR
EVT_SIS_READY_2 60 3C SIS ready for extraction to ESR
EVT_TRANS_START_1 61 3D Begin of transmission to ESR
EVT_TRANS_START_2 62 3E Begin of transmission to ESR
EVT_PHASE_SYNCH_GATE_1 63 3F Begin of first phase synchronisation between ESR- and SIS-RF
EVT_TIMEOUT_3 64 40 Trigger timeout channel 3
EVT_PHASE_SYNCH_GATE_2 65 41 Begin of second phase synchronisation between ESR- and SIS-RF
EVT_TIMEOUT_4 66 42 Trigger timeout channel 4
EVT_TIMEOUT_5 67 43 Trigger timeout channel 5
EVT_TIMEOUT_6 68 44 Trigger timeout channel 6
EVT_KICK_START_2 69 45 Start Kicker for TG-triggered extraction
EVT_UNI_PREP 70 46 Demand setting of TK (200 ms before beam)
EVT_INJ_BUMP 71 47 Closed orbit destortion for reinjection
EVT_RE_INJ_START 72 48 SIS is ready for reinjection
EVT_RE_INJ_END 73 49 End of reinjection
EVT_PREP_RE_INJ 74 4A Prepare devices for re-injection
EVT_PREP_KICK_1 75 4B Prepare kicker: load capacitor 1
EVT_PREP_KICK_2 76 4C Prepare kicker: load capacitor 2
EVT_MK_LOAD_RE_INJ 77 4D Load kicker for re-injection
EVT_EXTR_STOP_SLOW 78 4E End of slow extraction
EVT_ASYNC_TRANS 79 4F Transfer to ESR without HF synchronisation
Events 80...127 reserved for SIS applications
Name No. Hex Description
EVT_EMA_START 80 50 Start EMA meassurement gate
EVT_HF_BM_START 81 51 Vorbereitung Strahlgym.
EVT_HF_BM_AMPH2 82 52 Start ampl., Ph. Kav. 2 Strahlgym.
EVT_HF_BM_FREQ2 83 53 Start freq. Kav. 2 Strahlgym.
EVT_HF_BM_AMPH12 84 54 Start ampl., Ph. Kav. 1+2 Strahlgym.
EVT_HF_BM_FREQ1 85 55 Start freq. Kav. 1 Strahlgym.
EVT_HF_BM_AMPH1 86 56 Start ampl., Ph. Kav. 1 Strahlgym.
EVT_TG_CLEAR 87 57 Clear timinggenerator
EVT_MQ_START1 88 58 Load Q-kicker (1st shot)
EVT_MQ_START2 89 59 Load Q-kicker (2nd shot)
EVT_MQ_MESS 90 5A Trigger for Q-Wert measurement
EVT_INT_FLAT 91 5B Start of internal flattop
EVT_DT_MESS 92 5C Trigger for DTML measurement
EVT_DX_MESS 93 5D Trigger for DX measurement
EVT_TG_SWITCH 94 5E Umschalten der TG synchronisation
EVT_START_LECROY 95 5F Start measurement with LeCroy
EVT_GAP_POS_MESS 96 60 Messevent zwischen den Zyklen
EVT_GAP_TRA_MESS 97 61 Messevent zwischen den Zyklen
EVT_GAP_SCR_MESS 98 62 Messevent zwischen den Zyklen
EVT_GAP_DTS_MESS 99 63 Messevent für schnelle Trafos
EVT_SIS_TRANS1_ESR 100 64 First transmission complete to ESR
EVT_SIS_TRANS2_ESR 101 65 Second transmission complete to ESR
EVT_PREP_DIAGNOSE 102 66 ...
EVT_PREP_DG 103 67 Vorbereitung Gitterhardware
EVT_DG_TRIGGER 104 68 Trigger Messung Gitterhardware
EVT_KICK_READY 105 69 Ext. Synchronisat. für Kicker
EVT_KICK_GATE 106 6A Start externe Synchr. für Kicker
EVT_PREP_DTI 107 6B Entklemmung TK trafos SIS timing
EVT_INJ_READY 108 6C Einzelne Unilac-Injektion erfolgt
EVT_MHB 109 6D Multi-Harmonischen-Betrieb
Events 128...199 reserved for ESR applications
Name No. Hex Description
EVT_ESR_READY_1 128 80 ESR ready for beam transfer
EVT_ESR_READY_2 129 81 ESR ready for beam transfer
EVT_ESR_REQ_TO_SIS 130 82 ESR beam request to SIS
EVT_EIN1 131 83 ESR ????? 1
EVT_EIN2 132 84 ESR ????? 2
EVT_MAN1 133 85 ESR manipulation 1
EVT_MAN2 134 86 ESR manipulation 2
EVT_PHASE_SYNCH_1 135 87 Phase is 1st time synchronized between ESR- and SIS-RF
EVT_PHASE_SYNCH_2 136 88 Phase is 2nd time synchronized between ESR- and SIS-RF
EVT_NO_BEAM 137 89 There is no beam in the accelerator (for diagnostics; used also at Unilac!)
EVT_DT_STOP 138 8A Stop of DTML measurement
EVT_DT_READ 139 8B Read data for DTML measurement
EVT_DX_STOP 140 8C Stop of DX measurement
EVT_DX_READ 141 8D Read data for DX measurement
EVT_LEXT 142 8E ESR start with ?????????????
EVT_PSTACK 143 8F ESR start with ?????????????
EVT_STACK 144 90 ESR start with ?????????????
EVT_ESR_TRANS_SIS 145 91 Transmission complete to SIS
EVT_ECE_HV_VAR 146 92 Stepwise variation of ECE voltage
EVT_ECE_HV_ON 147 93 Write set value for pulsed ECE HV
EVT_ECE_HV_MESS 148 94 Read actual value of pulsed ECE HV
EVT_BUNCH_ROTATE 149 95 Start with bunch rotation
EVT_ESR_REQ_REINJ 150 96 ESR request SIS reinjection
EVT_RESET 151 97 Start of 11th Ramp in magnets
EVT_AUS1 152 98 Start of 11th Ramp in magnets
EVT_AUS2 153 99 Start of 11th Ramp in magnets
EVT_RAMP_11 154 9A Start of 11th Ramp in magnets
EVT_RAMP_12 155 9B Start of 12th Ramp in magnets
EVT_RAMP_13 156 9C Start of 13th Ramp in magnets
EVT_RAMP_14 157 9D Start of 14th Ramp in magnets
EVT_RAMP_15 158 9E Start of 15th Ramp in magnets
EVT_RAMP_16 159 9F Start of 16th Ramp in magnets
EVT_EBEAM_ON 160 A0 Electron beam on
EVT_EBEAM_OFF 161 A1 Electron beam off
EVT_UDET_IN 162 A2 Move detector (charge changed) in
EVT_UDET_OUT 163 A3 Move detector out
EVT_TIMING_LOCAL 180 B4 Take local timing
EVT_TIMING_EXTERN 181 B5 Switch to extern timing
EVT_INTERNAL_FILL 199 C7 PZ: Fill long event delays (>10s)
Events 200...255 reserved for control system
Name No. Hex Description
EVT_DATA_START 200 C8 First data transfer event
EVT_DATA_0 201 C9 Data transfer event
EVT_DATA_1 202 CA Data transfer event
EVT_DATA_2 203 CB Data transfer event
EVT_DATA_3 204 CC Data transfer event
EVT_DATA_4 205 CD Data transfer event
EVT_DATA_5 206 CE Data transfer event
EVT_DATA_6 207 CF Data transfer event
EVT_DATA_7 208 D0 Data transfer event
EVT_TIME_1 209 D1 Time stamp, most sign. bits
EVT_TIME_2 210 D2 Time stamp, medium sign. bits
EVT_TIME_3 211 D3 Time stamp, least sign. bits
EVT_UTC_1 224 E0 Time stamp UTC bits 32..39
EVT_UTC_2 225 E1 Time stamp UTC bits 24..31
EVT_UTC_3 226 E2 Time stamp UTC bits 16..23
EVT_UTC_4 227 E3 Time stamp UTC bits 8..15
EVT_UTC_5 228 E4 Time stamp UTC bits 0.. 7
      Bit 39..30 fractional part of a second in 1ms units
      Bit 29..0 seconds since 01-Jan-2008 00:00h UTC
EVT_END_CMD_EXEC 245 F5 End of command evaluation within gap
EVT_BEGIN_CMD_EXEC 246 F6 Start of command evaluation within gap
EVT_GAP_INFO 247 F7 PZ information about next cycle
EVT_COLL_DET 248 F8 PZ detected collision of 2 asynch. events
EVT_TIMING_DIAG 249 F9 For diagnostics in timing system
EVT_SUP_CYCLE_START 250 FA Supercycle starts
EVT_GET_EC_TIME 251 FB Synchronous reading of time of all ECs
EVT_SET_EC_TIME 252 FC Synchronous setting of time in all ECs
EVT_RESERVED 253 FD In older systems : change vrtacc event
EVT_EMERGENCY 254 FE Emergency event
EVT_COMMAND 255 FF Command event

ECCs - Event Connected Commands

Name No. Bytecount Description
ECC_EFICD 1 5 E, F, I, Cycle count, Data-ID
ECC_OPERMODE 2 1 Betriebsmodus setzen
ECC_EFIMAX 3 2 Emax, Fmax, Imax setzen
ECC_DATAID 4 4 Datenkennung setzen
ECC_SAVESET 5 2 Sollwertsatz im RAM ablegen, Datenbytes: EFI
ECC_STORESET 8 0 Sollwertsätze ins Flash programmieren
ECC_SAVEMASTERSET 10 0 Master-Sollwertsatz im RAM ablegen
ECC_PREPMED 11 4 alle Komponenten für Therapie einstellen. Datenbytes: MaxEFI, MachId
ECC_MNGEIN 12 0 Einschalten Therapiemagnete (HTMMU1/2) Datenbyte: 0 = aus, 1 = ein
ECCs 128...255 cannot be send by operating command
ECC_LOCK 128 1 Sicherheitsmodus ein-/ausschalten Datenbyte: 0 = unlock, 1 = lock
ECCs 192...255 reserved for control system
ECC_... - - none defined
Topic revision: r17 - 26 Jun 2020, PeterKainberger
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback