220 likes | 360 Views
JMDC Command Files for Activation and Operation 2011-03-04 AMS SW Review, KSC, Mar. 2011. Andreas Sabellek. Supported by the Carl-Zeiss-Foundation. Command Files for Activation Overview. start_up.cmd Executed whenever JAP is loaded cfg_xxxx.cmd (configuration file) Executed on request
E N D
JMDC Command Filesfor Activation and Operation2011-03-04AMS SW Review, KSC, Mar. 2011 Andreas Sabellek Supported by the Carl-Zeiss-Foundation
Command Files for Activation Overview • start_up.cmd • Executed whenever JAP is loaded • cfg_xxxx.cmd (configuration file) • Executed on request • configuration dependent command list (e.g. ESTEC AA) • One of out of the present configuration command files is executed by the startup command file (defined individually on every JMDC) • rst_xxxx.cmd (file to restore JMDC to DAQ) • Execute on request to set JAP to DAQ operation after JAP needed to be reloaded during DAQ AMS SW Review, KSC
Current start_up.cmd • Optionally change high rate data output rate • default JAP settings are kept (HRDL: 9Mbit/s; RS422: 1.92 MHz) • Start CQ-List task • Enable additional CHD data pages • Task status added for debugging • Executes a configuration command file AMS SW Review, KSC
cfg_xxxx.cmd execution sets 1) Node Address Table cfg_xxxx.cmd 2) CQ-List Items (disabled) 3) Table of Dallas temperature sensors and actions for monitoring task 4) Activation/Deactivation (powerstep) command lists Configuration is packed into one file AMS SW Review, KSC
1) Node Address Table • Sets AMSWire paths • Sets CAN bus addresses and bus • Assigns primary and secondary alias addresses • Minor changes (to tested table) are done by separate commands AMS SW Review, KSC
2) CQ-List Items • Items are added with primary node address, in this way the real path is defined by node address table • Current items monitor • Slow Control: JPD, M-Crate, CCEB, PDS, TTCE, UG, GPS*, ASTE* • DAQ nodes: JLV1, T, E, R, S, U • Items during DAQ operation: T, E (dyn. pedestals) AMS SW Review, KSC
3) DTS Table • Includes all sensors connected to busses on JPD, M-crate, CCEB, PDS (on USCM), UG • Sets warning and alarm limits for every sensor (counted in CHD data) • Sets command to be executed, when alarm limit is reached (may be configuration dependent) AMS SW Review, KSC
4) Powerstep Command Lists Overview powerstep 0: no switching of power, but enables monitoring of hardware powered when 120V to PDS is applied; executed by JAP on power on powerstep 1: ends in STANDBY condition; powers on slow control hardware and enables monitoring powerstep 2: powers on detectors except tracker; high voltage stays off and monitoring is enabled powerstep 3: powers on tracker and start tracker thermal interlock task and enables monitoring powerstep 4: ramping of high voltages for detectors powerstep 5: ends in OPERATIONAL condition; sets and starts DAQ powerstep 6: stops DAQ and prepares repeated execution of powersteps powerstep 7: ends in STANDBY condition; powers off detectors and leaves slow control hardware on AMS SW Review, KSC
Powerstep 0 Summary • Reset all node address table errors • Boot PDS USCM, enable qlist item, start PDS task • Boot JPD USCM, enable qlist item, start GTSN task • Enable JLV1 qlist item • Set JLV1 and JINJ nodes in DAQ wishlist • Read PDS status AMS SW Review, KSC
Powerstep 1 Summary • Switch off PDS and JPD secondary USCM • Switch on all 28V DC/DC (PB2) in PDS • M-Crate List: power MPD, boot USCM, secondary USCM off, boot ASTE, enable qlist item • TTCE List: power TTPD, enable qlist item • UG List: power UGPD, boot USCM, secondary USCM off, configure UG, start UG task, enable qlist items • Enable heaters according to STANDBY condition • Read PDS status AMS SW Review, KSC
Powerstep 2 Summary • ToF list: power on SPDs, enable qlist items, enable nodes in DAQ wishlist • TRD list: power on UPDs, load configuration files, enable qlist items, secondary JINFs off, enable nodes in DAQ wishlist • RICH list: power on ERPDs, load configuration files, enable qlist items, secondary JINFs off, enable nodes in DAQ wishlist • ECAL list: (power on ERPDs), load configuration files, enable qlist items, secondary JINFs off, enable nodes in DAQ wishlist • Read PDS status AMS SW Review, KSC
Powerstep 3 Summary • Start Tracker Thermal interlock task • power on TPDs • Perform TPD DC/DC converter configuration procedure and load configuration files • enable qlist items • secondary JINFs off • enable nodes in DAQ wishlist • Enable heaters according to OPERATIONAL condition • Read PDS status AMS SW Review, KSC
Powerstep 4 Summary • TOF list: load configuration files for high voltage • TRD list: start routine to ramp high voltage • RICH list: load configuration files for high voltage • ECAL list: load configuration files for high voltage AMS SW Review, KSC
Powerstep 5 Summary • (Start Startracker DAQ) • (Switch off not used JINJs, JLV1 and JPD) • Enable DAQ qlist items for ECAL, Tracker • Set DAQ parameters • Set TAS Run parameters • Set Tracker secondstep calibration parameters • Start DAQ AMS SW Review, KSC
Powerstep 6 Summary • Stop DAQ • Switch on all JMDC, JINJ, JLV1 and both JPD • All secondary JINF nodes on • All secondary USCM nodes on • Reset all errors in node table AMS SW Review, KSC
Powerstep 7 Summary • Stop DAQ • Switch on all JMDC, JINJ, JLV1 and both JPD • Disable qlist items for S,U,T,R,E • Power off xPDs for S,U,T,R,E • Set JLV1 and JINJ nodes in DAQ wishlist • Enable heaters according to STANDBY condition • Read PDS status AMS SW Review, KSC
rst_xxxx.cmd • Ends in OPERATIONAL condition (powerstep 0-5 command list previously executed) for JMDC • Execute cfg_xxxx.cmd • Configure and start JMDC tasks • Enable CQ-list items • Configure and start DAQ • Remark: Cannot be used to restore STANDBY condition for JMDC! After reloading JAP in STANDBY execute powerstep command lists 0 and 1. AMS SW Review, KSC
Prepared Configuration Command Files Files updated March 3rd, 2011 to match new JAP AMS SW Review, KSC
Availability of Current Command Files • Local on pcposk0:/pocchome/jmdc/Startup_FM/ • Web on http://ams.cern.ch/AMS/DAQ/ams02_cmds/ • Directory summary /: startup files, configuration files, restore DAQ files /QLIST: command lists for every node, item numbers assigned in qlist.txt /NODES: node tables /GTSN: sensor tables /POWERSTEPS: powerstep command lists • Remarks: • filenames in these locations are extended for better description of contents… but for clearness can be changed to 8-byte name as in JMDC • All command parameters are available as readable textfiles now • Currently programs by X.Cai are used to make binaries AMS SW Review, KSC
Activation/Deactivation Example (Procedure) • All steps follow checklists maintained by M.Capell with more intermediate checks and actions AMS powered on PDS side A and JAP is loaded on JMDC-1 • Execute cfg_BB00.cmd • Execute powerstep 0 and 1 (AMS is in STANDBY) • Execute powerstep 2, 3 and 4 (monitoring and detectors are on) • Execute powerstep 5 (DAQ operation) JAP gets reloaded • Execute rst_BB00.cmd (DAQ operation) After some time… • Execute powerstep 7 (AMS in STANDBY) Power off AMS AMS SW Review, KSC
List of Other Command Files • cceb_on: powers CCEB on and enables reading of CCBT • cceb_off: powers CCEB off and disables cq-list item • tas(t): TAS run command file (to be erased?) • tof_scan: File with 12 different ToF HV settings in preparation • ugx_vcls: TRD gas operation Additional files need to be prepared/verified for tomorrow? AMS SW Review, KSC
Plans • Currently command lists of powersteps and qlist items are based on individual input from subdetector groups, which should be reviewed and matched • Develop (GUI) editor program to allow reliable modification of files (to be tested on FS) AMS SW Review, KSC