You've already forked gitified_old_clb_svn
12 KiB
12 KiB
| 1 | # Each line starting with a question mark adds comment to the previous variable | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 2 | # Each line starting with a string ($) defines a value (constant) for the previous variable | ||||||||
| 3 | # Subsystem | ID | NAME | TYPE | DIM | ACCESS | GRP ID | FLAGS | DESCRIPTION |
| 4 | # Optical variables | ||||||||
| 5 | OPT | 1 | CHAN_CONFIG | U8 | 31 | RW | 1 | CD | Channel configuration (depricated, use CHAN_ENABLE), 0=PMT at location 0, 31=PMT at location 31 |
| 6 | OPT | 2 | CHAN_STATUS | U8 | 31 | R | 1 | Channel status, 0=PMT at location 0, 31=PMT at location 31 | |
| 7 | OPT | 3 | PMT_HIGHVOLT | U8 | 31 | RW | 1 | C | High voltage settings per channel, 0=PMT at location 0, 31=PMT at location 31 |
| 8 | ? | Scaling: 0: -700V, 255: -1500V | |||||||
| 9 | OPT | 4 | PMT_THRESHOLD | U8 | 31 | RW | 1 | C | Threshold settings per channel, 0=PMT at location 0, 31=PMT at location 31 |
| 10 | ? | Scaling: 0: 800mV, 255: 2400mV | |||||||
| 11 | OPT | 5 | PMT_ID | U32 | 31 | R | All PMT ID's, 0=PMT at location 0, 31=PMT at location 31 | ||
| 12 | OPT | 6 | HR_VETO_THRES | U32 | RW | 1 | C | High-rate veto (hits per timeslice) | |
| 13 | OPT | 7 | NANO_ENABLE | BOOL | RW | 1 | CD | Enable nano-beacon (deprecated, see SYS_RUN_ENA) | |
| 14 | OPT | 8 | CHAN_ENABLE | U32 | RW | 1 | C | Channel enable, bit per channel | |
| 15 | OPT | 9 | NANO_LENGTH | U16 | RW | 1 | C | Length of pulse in 16 ns ticks, default is 4 ticks | |
| 16 | OPT | 10 | NANO_PERIOD | U16 | RW | 1 | C | Period of beacon in 16 ns ticks, default is 0xC35 ticks, or 50us | |
| 17 | OPT | 11 | NANO_VOLT | U16 | RW | 1 | C | Nano-beacon voltage in millivolts, 0-30000V | |
| 18 | OPT | 12 | NANO_DELAY | U16 | RW | 1 | C | Nano-beacon delay in 16 ns ticks | |
| 19 | OPT | 13 | NANO_PCOUNT | U16 | RW | 1 | C | Nano-beacon pulse train count, each second | |
| 20 | OPT | 14 | HR_VETO_ENA_CH | U32 | RW | 1 | C | High-rate veto enable, bit per channel | |
| 21 | OPT | 15 | MULHIT_ENA_CH | U32 | RW | 1 | C | Multi-hit enable, bit per channel | |
| 22 | OPT | 16 | MIN_TOT | U32 | RW | 1 | C | Min ToT | |
| 23 | # Acoustic variables | ||||||||
| 24 | ACS | 1 | ACOU_ENABLE | BOOL | RW | 1 | CD | Acoustic enable (deprecated, see SYS_RUN_ENA) | |
| 25 | ACS | 2 | ACOU_CHAN | U8 | RW | 1 | C | Acoustics channel config | |
| 26 | $ | 0 | BOTH | Value to enable both acoustic channels | |||||
| 27 | $ | 1 | ONE | Value to enable enable only channel 1 (default) | |||||
| 28 | $ | 2 | TWO | Value to enable enable only channel 2 | |||||
| 29 | ACS | 3 | ACOU_RES | U8 | RW | 1 | C | Acoustic resolution | |
| 30 | $ | 0 | 12_BITS | Value for 12 bit resolution | |||||
| 31 | $ | 1 | 16_BITS | Value for 16 bit resolution | |||||
| 32 | $ | 2 | 24_BITS | Value for 24 bit resolution (default) | |||||
| 33 | # System variables | ||||||||
| 34 | SYS | 1 | RUN_NUMBER | U32 | RW | 1 | C | The current run number | |
| 35 | ? | 20160704 Made run number configurable | |||||||
| 36 | SYS | 2 | DOM_ID | U32 | R | 1 | DOM identifier | ||
| 37 | SYS | 3 | TIME_SLICE_DUR | U32 | RW | 1 | C | Timeslice duration in microseconds | |
| 38 | SYS | 4 | STMACH_PKTSIZE | U16 | RW | 1 | C | Max packet size in bytes as chopped by the HW-StateMachine | |
| 39 | SYS | 5 | PWR_MEAS | U16 | 18 | R | 0 | Power measurement readings. | |
| 40 | $ | 0 | 12V_CUR | Array index of 12 Volt current, in milliamps | |||||
| 41 | $ | 1 | 1V_CUR | Array index of 1 Volt current, in milliamps | |||||
| 42 | $ | 2 | 1V8_CUR | Array index of 1.8 Volt current, in milliamps | |||||
| 43 | $ | 3 | 2V5_CUR | Array index of 2.5 Volt current, in milliamps | |||||
| 44 | $ | 4 | 3V3_CUR | Array index of 3.3 Volt current, in milliamps | |||||
| 45 | $ | 5 | 5V_CUR | Array index of 5 Volt current, in milliamps | |||||
| 46 | $ | 6 | 3V3PMT_CUR | Array index of 3.3 Volt PMT current, in milliamps | |||||
| 47 | $ | 7 | VLED_CUR | Array index of LED current, in milliamps | |||||
| 48 | $ | 8 | VLED_LVL | Array index of LED Voltage level, in millivolts | |||||
| 49 | $ | 9 | 12V_LVL | Array index of 12 Volt level, in millivolts | |||||
| 50 | $ | 10 | TEMP_LVL | Array index of Temperature sensor voltage, in millivolts | |||||
| 51 | $ | 11 | 1V_LVL | Array index of 1 Volt level, in millivolts | |||||
| 52 | $ | 12 | 1V8_LVL | Array index of 1.8 Volt level, in millivolts | |||||
| 53 | $ | 13 | 2V5_LVL | Array index of 2.5 Volt level, in millivolts | |||||
| 54 | $ | 14 | 3V3_LVL | Array index of 3.3 Volt level, in millivolts | |||||
| 55 | $ | 15 | 5V_LVL | Array index of 5 Volt level, in millivolts | |||||
| 56 | $ | 16 | 3V3PMT_LVL | Array index of 3.3 Volt level, in millivolts | |||||
| 57 | $ | 17 | DACCTL_LVL | Array index of DAC Control voltage, in millivolts | |||||
| 58 | |||||||||
| 59 | SYS | 6 | HW_DATE_REV | U32 | R | 0 | Hardware revision (YYMMDDBB hex) | ||
| 60 | SYS | 7 | SW_DATE_REV | U32 | R | 0 | Software revision (YYMMDDBB hex) | ||
| 61 | SYS | 8 | SYS_TEMP_HUM | I16 | 6 | R | 0 | D | System temperatures and humidity summery, depreciated |
| 62 | ? | All values in 1/100th of a degree or 1/100th of a percent | |||||||
| 63 | $ | 0 | FPGA | Array index of FPGA core temperature | |||||
| 64 | $ | 1 | CLB | Array index of Temperature (SHT21) | |||||
| 65 | $ | 2 | CLB_HUM | Array index of Humidity (SHT21) | |||||
| 66 | $ | 3 | PWR | Array index of Power board temperature (MAX123) | |||||
| 67 | $ | 4 | WR | Array index of Power board temperature (MAX123) | |||||
| 68 | $ | 5 | SFP | Array index of SFP Transceiver temperature | |||||
| 69 | |||||||||
| 70 | SYS | 9 | SYS_DISABLE | U8 | RW | 0 | Disable parts of the system | ||
| 71 | $ | 0x1 | AHRS | Bit which disables AHRS (Compass) periodic readout | |||||
| 72 | $ | 0x2 | TEMP_HUM | Bit which disables Temperature / Humidity | |||||
| 73 | $ | 0x4 | HV | Bit which disables High Voltage | |||||
| 74 | $ | 0x8 | NANO_STEP_UP | Bit which disables the Nano-beacon step-up regulator | |||||
| 75 | $ | 0x10 | PWR_MEAS | Bit which disables the power (voltage/current) measurement | |||||
| 76 | SYS | 10 | SYS_RUN_ENA | U8 | RW | 0 | C | Run-state Enable mask | |
| 77 | $ | 0x1 | TDC | Bit which enables TDC during run | |||||
| 78 | $ | 0x2 | ACS | Bit which enables Acoustics during run | |||||
| 79 | $ | 0x4 | MON | Bit which enables Monitoring during run | |||||
| 80 | $ | 0x8 | NANO | Bit which enables Nano-Beacon during run | |||||
| 81 | SYS | 11 | IMGTYPE | U8 | R | 0 | Currently running image type | ||
| 82 | $ | 0x1 | GOLDEN | Golden image running | |||||
| 83 | $ | 0x2 | DETECTOR | Detector running | |||||
| 84 | $ | 0x3 | BASE | Base image running | |||||
| 85 | $ | 0x4 | CALIBRATION | Calibration image running | |||||
| 86 | SYS | 12 | SYS_FAIL | U8 | RW | 0 | Failure bitmask, same bits as SYS_DISABLE | ||
| 87 | $ | 0x1 | AHRS | Bit which disables AHRS (Compass) periodic readout | |||||
| 88 | $ | 0x2 | TEMP_HUM | Bit which disables Temperature / Humidity | |||||
| 89 | $ | 0x8 | NANO_STEP_UP | Bit which disables the Nano-beacon step-up regulator | |||||
| 90 | $ | 0x10 | PWR_MEAS | Bit which disables the power (voltage/current) measurement | |||||
| 91 | SYS | 13 | FPGA_TEMP | I16 | R | 0 | FPGA core temperature in 1/100th of a degree | ||
| 92 | SYS | 14 | POWER_TEMP | I16 | R | 0 | Power board temperature in 1/100th of a degree | ||
| 93 | SYS | 15 | TDC_TS_FIFOC | U16 | R | 0 | TDC timestamp fifo count | ||
| 94 | SYS | 16 | AES_TS_FIFOC | U16 | R | 0 | AES timestamp fifo count | ||
| 95 | # Instrumentation variables | ||||||||
| 96 | INS | 1 | AHRS_PITCH | F32 | R | 0 | Pitch in degrees | ||
| 97 | INS | 2 | AHRS_ROLL | F32 | R | 0 | Roll in degrees | ||
| 98 | INS | 3 | AHRS_YAW | F32 | R | 0 | Yaw in degrees | ||
| 99 | INS | 4 | AHRS_A | F32 | 3 | R | 0 | Acceleration projection, (Index 0=X, 1=Y, 2=Z) | |
| 100 | INS | 5 | AHRS_G | F32 | 3 | R | 0 | Angular velocity projection, (Index 0=X, 1=Y, 2=Z) | |
| 101 | INS | 6 | AHRS_H | F32 | 3 | R | 0 | Magnetic field projection, (Index 0=X, 1=Y, 2=Z) | |
| 102 | INS | 7 | TEMP | I16 | R | 0 | Temperature in 1/100th of a degree | ||
| 103 | INS | 8 | HUMID | U16 | R | 0 | Humidity in 1/100th RH | ||
| 104 | INS | 9 | AHRS_ENABLE | BOOL | RW | 0 | CD | Compass enable (deprecated, see SYS_DISABLE) | |
| 105 | INS | 10 | AHRS_VALID | BOOL | R | 0 | Compass data are valid | ||
| 106 | INS | 11 | COMPASS_VERSION | U8 | R | 0 | Compass version: | ||
| 107 | ? | 0 if not available or very old version. | |||||||
| 108 | ? | 255 for LSM303. | |||||||
| 109 | ? | Otherwise version * 10, e.g. version 4.1 would be value 41 | |||||||
| 110 | # Network variables | ||||||||
| 111 | NET | 1 | MAC_ADDR | U16 | 3 | R | 0 | Modules MAC address | |
| 112 | ? | Encoding, [0xAABB,0xCCDD,0xEEFF] => AA:BB:CC:DD:EE:FF | |||||||
| 113 | NET | 2 | IPMUX_PORTS | U16 | 4 | RW | 0 | C | IP Mux ports, 0 - TDC, 1 - Accoustics, 2 - Instruments |
| 114 | NET | 3 | IPMUX_SRV_IP | U32 | RW | 0 | C | Server IP address (0xAABBCCDD = AA.BB.CC.DD) | |
| 115 | NET | 4 | IPMUX_SRV_MAC | U16 | 3 | RW | 0 | C | Server MAC address, set to 00 to resolve. |
| 116 | ? | Encoding, [0xAABB,0xCCDD,0xEEFF] => AA:BB:CC:DD:EE:FF | |||||||
| 117 | NET | 5 | SC_PORT | U16 | RW | 0 | C | Slow control port | |
| 118 | $ | 0xDACE | DEFAULT | Default slow control port | |||||
| 119 | |||||||||
| 120 | NET | 6 | WR_DELTA | I32 | 4 | R | White Rabbit Delta values, where each entry is a delta-value. | ||
| 121 | $ | 0 | SLAVE_TX | Slave transmit delta delay index | |||||
| 122 | $ | 1 | SLAVE_RX | Slave receive delta delay index | |||||
| 123 | $ | 2 | MASTER_TX | Master transmit delta delay index | |||||
| 124 | $ | 3 | MASTER_RX | Master receive delta delay index | |||||
| 125 | NET | 7 | WR_BITSLIDE | U16 | R | White Rabbit Bitslide value | |||
| 126 | NET | 8 | WR_MU | U64 | R | White Rabbit Round-Trip time | |||
| 127 | NET | 9 | WR_ST_PTP | I8 | R | White Rabbit PTP State | |||
| 128 | $ | 0 | INITIALIZING | Value of state INITIALIZING | |||||
| 129 | $ | 1 | FAULTY | Value of state FAULTY | |||||
| 130 | $ | 2 | DISABLED | Value of state DISABLED | |||||
| 131 | $ | 3 | LISTENING | Value of state LISTENING | |||||
| 132 | $ | 4 | PRE_MASTER | Value of state PRE_MASTER | |||||
| 133 | $ | 5 | MASTER | Value of state MASTER | |||||
| 134 | $ | 6 | PASSIVE | Value of state PASSIVE | |||||
| 135 | $ | 7 | UNCALIBRATED | Value of state UNCALIBRATED | |||||
| 136 | $ | 8 | SLAVE | Value of state SLAVE | |||||
| 137 | $ | -1 | UNINITIALIZED | Value of state UNINITIALIZED | |||||
| 138 | |||||||||
| 139 | NET | 10 | WR_ST_GEN | I8 | R | White Rabbit general state | |||
| 140 | $ | 0 | PRESENT | Value of state PRESENT | |||||
| 141 | $ | 1 | S_LOCK | Value of state S_LOCK | |||||
| 142 | $ | 2 | M_LOCK | Value of state M_LOCK | |||||
| 143 | $ | 3 | LOCKED | Value of state LOCKED | |||||
| 144 | $ | 4 | CALIBRATION | Value of state CALIBRATION | |||||
| 145 | $ | 5 | CALIBRATED | Value of state CALIBRATED | |||||
| 146 | $ | 6 | RESP_CALIB_REQ | Value of state RESP_CALIB_REQ | |||||
| 147 | $ | 7 | WR_LINK_ON | Value of state WR_LINK_ON | |||||
| 148 | $ | 8 | TIMER_ARRAY_SIZE | Value of state TIMER_ARRAY_SIZE | |||||
| 149 | $ | 9 | IDLE | Value of state IDLE | |||||
| 150 | $ | 10 | S_LOCK_1 | Value of state S_LOCK_1 | |||||
| 151 | $ | 11 | S_LOCK_2 | Value of state S_LOCK_2 | |||||
| 152 | $ | 12 | CALIBRATION_1 | Value of state CALIBRATION_1 | |||||
| 153 | $ | 13 | CALIBRATION_2 | Value of state CALIBRATION_2 | |||||
| 154 | $ | 14 | CALIBRATION_3 | Value of state CALIBRATION_3 | |||||
| 155 | $ | 15 | CALIBRATION_4 | Value of state CALIBRATION_4 | |||||
| 156 | $ | 16 | CALIBRATION_5 | Value of state CALIBRATION_5 | |||||
| 157 | $ | 17 | CALIBRATION_6 | Value of state CALIBRATION_6 | |||||
| 158 | $ | 18 | CALIBRATION_7 | Value of state CALIBRATION_7 | |||||
| 159 | $ | 19 | CALIBRATION_8 | Value of state CALIBRATION_8 | |||||
| 160 | $ | 20 | RESP_CALIB_REQ_1 | Value of state RESP_CALIB_REQ_1 | |||||
| 161 | $ | 21 | RESP_CALIB_REQ_2 | Value of state RESP_CALIB_REQ_2 | |||||
| 162 | $ | 22 | RESP_CALIB_REQ_3 | Value of state RESP_CALIB_REQ_3 | |||||
| 163 | $ | -1 | UNINITIALIZED | Value of state UNINITIALIZED | |||||
| 164 | |||||||||
| 165 | NET | 11 | WR_ST_SERV | I8 | R | White Rabbit servo state | |||
| 166 | $ | 1 | SYNC_NSEC | Value of state SYNC_NSEC | |||||
| 167 | $ | 2 | SYNC_TAI | Value of state SYNC_TAI | |||||
| 168 | $ | 3 | SYNC_PHASE | Value of state SYNC_PHASE | |||||
| 169 | $ | 4 | TRACK_PHASE | Value of state TRACK_PHASE | |||||
| 170 | $ | 5 | WAIT_SYNC_IDLE | Value of state WAIT_SYNC_IDLE | |||||
| 171 | $ | 6 | WAIT_OFFSET_STABLE | Value of state WAIT_OFFSET_STABLE | |||||
| 172 | $ | -1 | UNINITIALIZED | Value of state UNINITIALIZED | |||||
| 173 | NET | 12 | CABLE_RTT | I64 | R | D | Cable roundtrip time in ps | ||
| 174 | NET | 13 | RX_INPUT_POWER | U16 | R | Receiver input power in steps of 0.1 uW per count | |||
| 175 | NET | 14 | TX_OUTPUT_POWER | U16 | R | Receiver output power in steps of 0.1 uW per count | |||
| 176 | NET | 15 | WR_TEMP | I16 | R | White Rabbit temperature (DS18S20), in 1/100th of a degree | |||
| 177 | NET | 16 | SFP_TEMP | I16 | R | SFP module temperature, in 1/100th of a degree | |||
| 178 | # Base Variables | ||||||||
| 179 | BSE | 1 | EDFA_EMI | BOOL | RW | 2 | Emission | ||
| 180 | BSE | 2 | EDFA_SETP_RD | I32 | R | 2 | Monitored Power Setpoint for APC mode (in milli dBm) | ||
| 181 | BSE | 3 | EDFA_IOP | I32 | R | 2 | Input Optical Power (in milli dBm) | ||
| 182 | BSE | 4 | EDFA_OOP | I32 | R | 2 | Output Optical Power (in milli dBm) | ||
| 183 | BSE | 5 | EDFA_PUMPDC | I32 | R | 2 | Diode Pump Current (in micro A) | ||
| 184 | BSE | 6 | EDFA_TEMP | I32 | R | 2 | Temperature (in milli degrees celsius) | ||
| 185 | BSE | 7 | EDFA_SN | U8 | 32 | R | 2 | Serial number (Ascii string) | |
| 186 | BSE | 8 | EDFA_SETP_WR | F32 | W | 2 | Settings for Power Setpoint (in dBm) | ||
| 187 | BSE | 9 | BPS_IBACK | U16 | R | 2 | Backbone current (0 to 1023 ADC raw) | ||
| 188 | BSE | 10 | BPS_I12 | U16 | R | 2 | Current of 12V line (0 to 1023 ADC raw) | ||
| 189 | BSE | 11 | BPS_V375 | U16 | R | 2 | Voltage of 375V line (0 to 1023 ADC raw) | ||
| 190 | BSE | 12 | BPS_I375 | U16 | R | 2 | Current of 375V line (0 to 1023 ADC raw) | ||
| 191 | BSE | 13 | BPS_V5 | U16 | R | 2 | Voltage of 5V line (0 to 1023 ADC raw) | ||
| 192 | BSE | 14 | BPS_BREAKER | U16 | R | 2 | Breaker status | ||
| 193 | BSE | 15 | BPS_ALARM | U16 | R | 2 | Alarm Status | ||
| 194 | BSE | 16 | ACDC_VOLT | U16 | R | 2 | ACDC Voltage, between 300 and 556 | ||
| 195 | BSE | 17 | ACDC_CUR | U16 | R | 2 | ACDC Current, between 0 and 2560A | ||
| 196 | BSE | 18 | ACDC_TEMP | I8 | R | 2 | ACDC Temperature in degrees Centigrade | ||
| 197 | BSE | 19 | INST_FAIL | U8 | RW | 2 | Bitmask containing error devices. Once errored they will not | ||
| 198 | ? | be read again until cleared | |||||||
| 199 | $ | 0x1 | EDFA | EDFA | |||||
| 200 | $ | 0x2 | BPS | BPS | |||||
| 201 | $ | 0x4 | ACDC | ACDC | |||||
| 202 | BSE | 20 | BPS_5V_I_M | U16 | R | 2 | MON_5V_I_VALUE 0 to 1023 ADC raw | ||
| 203 | BSE | 21 | BPS_LBL_I_M | U16 | R | 2 | MON_LBL_I_VALUE line 0 to 1023 ADC raw | ||
| 204 | BSE | 22 | BPS_DU_I_M | U16 | R | 2 | MON_DU_I_VALUE from 0 to 1023 ADC raw | ||
| 205 | BSE | 23 | BPS_DU_IRTN_M | U16 | R | 2 | MON_DU_IRTN_VALUE | ||
| 206 | BSE | 24 | BPS_V_M | U16 | R | 2 | MON_BPS_V_VALUE 375V line from 0 to 1023 ADC raw | ||
| 207 | BSE | 25 | BPS_HYDRO_I_M | U16 | R | 2 | MON_HYDRO_I_VALUE from 0 to 1023 ADC raw | ||
| 208 | BSE | 26 | BPS_MON_THEATSINK_M | U16 | R | 2 | MON_THEATSINK_VALUE | ||
| 209 | BSE | 27 | BPS_TBOARD_M | U16 | R | 2 | MON_TBOARD_VALUE | ||
| 210 | BSE | 28 | BPS_5V_I_MAX | U16 | R | 2 | MON_5V_I_MAX_VALUE 0 to 1023 ADC raw | ||
| 211 | BSE | 29 | BPS_LBL_I_MAX | U16 | R | 2 | MON_LBL_I_MAX_VALUE line 0 to 1023 ADC raw | ||
| 212 | BSE | 30 | BPS_DU_I_MAX | U16 | R | 2 | MON_DU_I_MAX_VALUE from 0 to 1023 ADC raw | ||
| 213 | BSE | 31 | BPS_DU_IRTN_MAX | U16 | R | 2 | MON_DU_IRTN_MAX_VALUE | ||
| 214 | BSE | 32 | BPS_V_MAX | U16 | R | 2 | MON_BPS_V_MAX_VALUE 375V line from 0 to 1023 ADC raw | ||
| 215 | BSE | 33 | BPS_HYDRO_I_MAX | U16 | R | 2 | MON_HYDRO_I_MAX_VALUE from 0 to 1023 ADC raw | ||
| 216 | BSE | 34 | BPS_MON_THEATSINK_MAX | U16 | R | 2 | MON_THEATSINK_MAX_VALUE | ||
| 217 | BSE | 35 | BPS_TBOARD_MAX | U16 | R | 2 | MON_TBOARD_MAX_VALUE | ||
| 218 | BSE | 36 | BPS_ALARM_MAX | U16 | R | 2 | Alarm Status: ALRMNEG2 ALRMNEG1 ALRMPOS2 ALRMPOS1 | ||
| 219 | BSE | 37 | BPS_ALARM_FIRED | U32 | R | 2 | Alarm Fired |