Files
vincentb.nikhef.nl 4bedfe86cf Added BPS v3 support
2020-06-22 17:10:44 +00:00

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# SubsystemIDNAMETYPEDIMACCESSGRP IDFLAGSDESCRIPTION
4# Optical variables
5OPT1CHAN_CONFIGU831RW1CDChannel configuration (depricated, use CHAN_ENABLE), 0=PMT at location 0, 31=PMT at location 31
6OPT2CHAN_STATUSU831R1Channel status, 0=PMT at location 0, 31=PMT at location 31
7OPT3PMT_HIGHVOLTU831RW1CHigh voltage settings per channel, 0=PMT at location 0, 31=PMT at location 31
8?Scaling: 0: -700V, 255: -1500V
9OPT4PMT_THRESHOLDU831RW1CThreshold settings per channel, 0=PMT at location 0, 31=PMT at location 31
10?Scaling: 0: 800mV, 255: 2400mV
11OPT5PMT_IDU3231RAll PMT ID's, 0=PMT at location 0, 31=PMT at location 31
12OPT6HR_VETO_THRESU32RW1CHigh-rate veto (hits per timeslice)
13OPT7NANO_ENABLEBOOLRW1CDEnable nano-beacon (deprecated, see SYS_RUN_ENA)
14OPT8CHAN_ENABLEU32RW1CChannel enable, bit per channel
15OPT9NANO_LENGTHU16RW1CLength of pulse in 16 ns ticks, default is 4 ticks
16OPT10NANO_PERIODU16RW1CPeriod of beacon in 16 ns ticks, default is 0xC35 ticks, or 50us
17OPT11NANO_VOLTU16RW1CNano-beacon voltage in millivolts, 0-30000V
18OPT12NANO_DELAYU16RW1CNano-beacon delay in 16 ns ticks
19OPT13NANO_PCOUNTU16RW1CNano-beacon pulse train count, each second
20OPT14HR_VETO_ENA_CHU32RW1CHigh-rate veto enable, bit per channel
21OPT15MULHIT_ENA_CHU32RW1CMulti-hit enable, bit per channel
22OPT16MIN_TOTU32RW1CMin ToT
23# Acoustic variables
24ACS1ACOU_ENABLEBOOLRW1CDAcoustic enable (deprecated, see SYS_RUN_ENA)
25ACS2ACOU_CHANU8RW1CAcoustics channel config
26$0BOTHValue to enable both acoustic channels
27$1ONEValue to enable enable only channel 1 (default)
28$2TWOValue to enable enable only channel 2
29ACS3ACOU_RESU8RW1CAcoustic resolution
30$012_BITSValue for 12 bit resolution
31$116_BITSValue for 16 bit resolution
32$224_BITSValue for 24 bit resolution (default)
33# System variables
34SYS1RUN_NUMBERU32RW1CThe current run number
35?20160704 Made run number configurable
36SYS2DOM_IDU32R1DOM identifier
37SYS3TIME_SLICE_DURU32RW1CTimeslice duration in microseconds
38SYS4STMACH_PKTSIZEU16RW1CMax packet size in bytes as chopped by the HW-StateMachine
39SYS5PWR_MEASU1618R0Power measurement readings.
40$012V_CURArray index of 12 Volt current, in milliamps
41$11V_CURArray index of 1 Volt current, in milliamps
42$21V8_CURArray index of 1.8 Volt current, in milliamps
43$32V5_CURArray index of 2.5 Volt current, in milliamps
44$43V3_CURArray index of 3.3 Volt current, in milliamps
45$55V_CURArray index of 5 Volt current, in milliamps
46$63V3PMT_CURArray index of 3.3 Volt PMT current, in milliamps
47$7VLED_CURArray index of LED current, in milliamps
48$8VLED_LVLArray index of LED Voltage level, in millivolts
49$912V_LVLArray index of 12 Volt level, in millivolts
50$10TEMP_LVLArray index of Temperature sensor voltage, in millivolts
51$111V_LVLArray index of 1 Volt level, in millivolts
52$121V8_LVLArray index of 1.8 Volt level, in millivolts
53$132V5_LVLArray index of 2.5 Volt level, in millivolts
54$143V3_LVLArray index of 3.3 Volt level, in millivolts
55$155V_LVLArray index of 5 Volt level, in millivolts
56$163V3PMT_LVLArray index of 3.3 Volt level, in millivolts
57$17DACCTL_LVLArray index of DAC Control voltage, in millivolts
58
59SYS6HW_DATE_REVU32R0Hardware revision (YYMMDDBB hex)
60SYS7SW_DATE_REVU32R0Software revision (YYMMDDBB hex)
61SYS8SYS_TEMP_HUMI166R0DSystem temperatures and humidity summery, depreciated
62?All values in 1/100th of a degree or 1/100th of a percent
63$0FPGAArray index of FPGA core temperature
64$1CLBArray index of Temperature (SHT21)
65$2CLB_HUMArray index of Humidity (SHT21)
66$3PWRArray index of Power board temperature (MAX123)
67$4WRArray index of Power board temperature (MAX123)
68$5SFPArray index of SFP Transceiver temperature
69
70SYS9SYS_DISABLEU8RW0Disable parts of the system
71$0x1AHRSBit which disables AHRS (Compass) periodic readout
72$0x2TEMP_HUMBit which disables Temperature / Humidity
73$0x4HVBit which disables High Voltage
74$0x8NANO_STEP_UPBit which disables the Nano-beacon step-up regulator
75$0x10PWR_MEASBit which disables the power (voltage/current) measurement
76SYS10SYS_RUN_ENAU8RW0CRun-state Enable mask
77$0x1TDCBit which enables TDC during run
78$0x2ACSBit which enables Acoustics during run
79$0x4MONBit which enables Monitoring during run
80$0x8NANOBit which enables Nano-Beacon during run
81SYS11IMGTYPEU8R0Currently running image type
82$0x1GOLDENGolden image running
83$0x2DETECTORDetector running
84$0x3BASEBase image running
85$0x4CALIBRATIONCalibration image running
86SYS12SYS_FAILU8RW0Failure bitmask, same bits as SYS_DISABLE
87$0x1AHRSBit which disables AHRS (Compass) periodic readout
88$0x2TEMP_HUMBit which disables Temperature / Humidity
89$0x8NANO_STEP_UPBit which disables the Nano-beacon step-up regulator
90$0x10PWR_MEASBit which disables the power (voltage/current) measurement
91SYS13FPGA_TEMPI16R0FPGA core temperature in 1/100th of a degree
92SYS14POWER_TEMPI16R0Power board temperature in 1/100th of a degree
93SYS15TDC_TS_FIFOCU16R0TDC timestamp fifo count
94SYS16AES_TS_FIFOCU16R0AES timestamp fifo count
95# Instrumentation variables
96INS1AHRS_PITCHF32R0Pitch in degrees
97INS2AHRS_ROLLF32R0Roll in degrees
98INS3AHRS_YAWF32R0Yaw in degrees
99INS4AHRS_AF323R0Acceleration projection, (Index 0=X, 1=Y, 2=Z)
100INS5AHRS_GF323R0Angular velocity projection, (Index 0=X, 1=Y, 2=Z)
101INS6AHRS_HF323R0Magnetic field projection, (Index 0=X, 1=Y, 2=Z)
102INS7TEMPI16R0Temperature in 1/100th of a degree
103INS8HUMIDU16R0Humidity in 1/100th RH
104INS9AHRS_ENABLEBOOLRW0CDCompass enable (deprecated, see SYS_DISABLE)
105INS10AHRS_VALIDBOOLR0Compass data are valid
106INS11COMPASS_VERSIONU8R0Compass 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
111NET1MAC_ADDRU163R0Modules MAC address
112?Encoding, [0xAABB,0xCCDD,0xEEFF] => AA:BB:CC:DD:EE:FF
113NET2IPMUX_PORTSU164RW0CIP Mux ports, 0 - TDC, 1 - Accoustics, 2 - Instruments
114NET3IPMUX_SRV_IPU32RW0CServer IP address (0xAABBCCDD = AA.BB.CC.DD)
115NET4IPMUX_SRV_MACU163RW0CServer MAC address, set to 00 to resolve.
116?Encoding, [0xAABB,0xCCDD,0xEEFF] => AA:BB:CC:DD:EE:FF
117NET5SC_PORTU16RW0CSlow control port
118$0xDACEDEFAULTDefault slow control port
119
120NET6WR_DELTAI324RWhite Rabbit Delta values, where each entry is a delta-value.
121$0SLAVE_TXSlave transmit delta delay index
122$1SLAVE_RXSlave receive delta delay index
123$2MASTER_TXMaster transmit delta delay index
124$3MASTER_RXMaster receive delta delay index
125NET7WR_BITSLIDEU16RWhite Rabbit Bitslide value
126NET8WR_MUU64RWhite Rabbit Round-Trip time
127NET9WR_ST_PTPI8RWhite Rabbit PTP State
128$0INITIALIZINGValue of state INITIALIZING
129$1FAULTYValue of state FAULTY
130$2DISABLEDValue of state DISABLED
131$3LISTENINGValue of state LISTENING
132$4PRE_MASTERValue of state PRE_MASTER
133$5MASTERValue of state MASTER
134$6PASSIVEValue of state PASSIVE
135$7UNCALIBRATEDValue of state UNCALIBRATED
136$8SLAVEValue of state SLAVE
137$-1UNINITIALIZEDValue of state UNINITIALIZED
138
139NET10WR_ST_GENI8RWhite Rabbit general state
140$0PRESENTValue of state PRESENT
141$1S_LOCKValue of state S_LOCK
142$2M_LOCKValue of state M_LOCK
143$3LOCKEDValue of state LOCKED
144$4CALIBRATIONValue of state CALIBRATION
145$5CALIBRATEDValue of state CALIBRATED
146$6RESP_CALIB_REQValue of state RESP_CALIB_REQ
147$7WR_LINK_ONValue of state WR_LINK_ON
148$8TIMER_ARRAY_SIZEValue of state TIMER_ARRAY_SIZE
149$9IDLEValue of state IDLE
150$10S_LOCK_1Value of state S_LOCK_1
151$11S_LOCK_2Value of state S_LOCK_2
152$12CALIBRATION_1Value of state CALIBRATION_1
153$13CALIBRATION_2Value of state CALIBRATION_2
154$14CALIBRATION_3Value of state CALIBRATION_3
155$15CALIBRATION_4Value of state CALIBRATION_4
156$16CALIBRATION_5Value of state CALIBRATION_5
157$17CALIBRATION_6Value of state CALIBRATION_6
158$18CALIBRATION_7Value of state CALIBRATION_7
159$19CALIBRATION_8Value of state CALIBRATION_8
160$20RESP_CALIB_REQ_1Value of state RESP_CALIB_REQ_1
161$21RESP_CALIB_REQ_2Value of state RESP_CALIB_REQ_2
162$22RESP_CALIB_REQ_3Value of state RESP_CALIB_REQ_3
163$-1UNINITIALIZEDValue of state UNINITIALIZED
164
165NET11WR_ST_SERVI8RWhite Rabbit servo state
166$1SYNC_NSECValue of state SYNC_NSEC
167$2SYNC_TAIValue of state SYNC_TAI
168$3SYNC_PHASEValue of state SYNC_PHASE
169$4TRACK_PHASEValue of state TRACK_PHASE
170$5WAIT_SYNC_IDLEValue of state WAIT_SYNC_IDLE
171$6WAIT_OFFSET_STABLEValue of state WAIT_OFFSET_STABLE
172$-1UNINITIALIZEDValue of state UNINITIALIZED
173NET12CABLE_RTTI64RDCable roundtrip time in ps
174NET13RX_INPUT_POWERU16RReceiver input power in steps of 0.1 uW per count
175NET14TX_OUTPUT_POWERU16RReceiver output power in steps of 0.1 uW per count
176NET15WR_TEMPI16RWhite Rabbit temperature (DS18S20), in 1/100th of a degree
177NET16SFP_TEMPI16RSFP module temperature, in 1/100th of a degree
178# Base Variables
179BSE1EDFA_EMIBOOLRW2Emission
180BSE2EDFA_SETP_RDI32R2Monitored Power Setpoint for APC mode (in milli dBm)
181BSE3EDFA_IOPI32R2Input Optical Power (in milli dBm)
182BSE4EDFA_OOPI32R2Output Optical Power (in milli dBm)
183BSE5EDFA_PUMPDCI32R2Diode Pump Current (in micro A)
184BSE6EDFA_TEMPI32R2Temperature (in milli degrees celsius)
185BSE7EDFA_SNU832R2Serial number (Ascii string)
186BSE8EDFA_SETP_WRF32W2Settings for Power Setpoint (in dBm)
187BSE9BPS_IBACKU16R2Backbone current (0 to 1023 ADC raw)
188BSE10BPS_I12U16R2Current of 12V line (0 to 1023 ADC raw)
189BSE11BPS_V375U16R2Voltage of 375V line (0 to 1023 ADC raw)
190BSE12BPS_I375U16R2Current of 375V line (0 to 1023 ADC raw)
191BSE13BPS_V5U16R2Voltage of 5V line (0 to 1023 ADC raw)
192BSE14BPS_BREAKERU16R2Breaker status
193BSE15BPS_ALARMU16R2Alarm Status
194BSE16ACDC_VOLTU16R2ACDC Voltage, between 300 and 556
195BSE17ACDC_CURU16R2ACDC Current, between 0 and 2560A
196BSE18ACDC_TEMPI8R2ACDC Temperature in degrees Centigrade
197BSE19INST_FAILU8RW2Bitmask containing error devices. Once errored they will not
198?be read again until cleared
199$0x1EDFAEDFA
200$0x2BPSBPS
201$0x4ACDCACDC
202BSE20BPS_5V_I_MU16R2MON_5V_I_VALUE 0 to 1023 ADC raw
203BSE21BPS_LBL_I_MU16R2MON_LBL_I_VALUE line 0 to 1023 ADC raw
204BSE22BPS_DU_I_MU16R2MON_DU_I_VALUE from 0 to 1023 ADC raw
205BSE23BPS_DU_IRTN_MU16R2MON_DU_IRTN_VALUE
206BSE24BPS_V_MU16R2MON_BPS_V_VALUE 375V line from 0 to 1023 ADC raw
207BSE25BPS_HYDRO_I_MU16R2MON_HYDRO_I_VALUE from 0 to 1023 ADC raw
208BSE26BPS_MON_THEATSINK_MU16R2MON_THEATSINK_VALUE
209BSE27BPS_TBOARD_MU16R2MON_TBOARD_VALUE
210BSE28BPS_5V_I_MAXU16R2MON_5V_I_MAX_VALUE 0 to 1023 ADC raw
211BSE29BPS_LBL_I_MAXU16R2MON_LBL_I_MAX_VALUE line 0 to 1023 ADC raw
212BSE30BPS_DU_I_MAXU16R2MON_DU_I_MAX_VALUE from 0 to 1023 ADC raw
213BSE31BPS_DU_IRTN_MAXU16R2MON_DU_IRTN_MAX_VALUE
214BSE32BPS_V_MAXU16R2MON_BPS_V_MAX_VALUE 375V line from 0 to 1023 ADC raw
215BSE33BPS_HYDRO_I_MAXU16R2MON_HYDRO_I_MAX_VALUE from 0 to 1023 ADC raw
216BSE34BPS_MON_THEATSINK_MAXU16R2MON_THEATSINK_MAX_VALUE
217BSE35BPS_TBOARD_MAXU16R2MON_TBOARD_MAX_VALUE
218BSE36BPS_ALARM_MAXU16R2Alarm Status: ALRMNEG2 ALRMNEG1 ALRMPOS2 ALRMPOS1
219BSE37BPS_ALARM_FIREDU32R2Alarm Fired