From DON@vxdesy.desy.de Thu Aug 8 12:18:52 1996 Date: Wed, 07 Aug 1996 22:11:09 +0100 From: DON@vxdesy.desy.de To: a.jamdagni@ic.ac.uk Subject: current version of new hv users manual Dear Ash, here is the current version of the info about the new hv program. All comments welcome. In particular which bits did I get wrong? There are some symbols missing (I just use the standard editor). In keyboard commands ... line 4 missing between the "" is a downward pointing curved arrow for a return. This synbol also appears at the end of standby, active , ... over the next couple of pages. Also in the picture it occurs after the "off ", (hvon not allowed, etc. There are 4 (straight) vertical arrows in the picture which dont have labels. They are, reading from left to right) active, inactive, active and inactive. I have just been putting these things in by hand now. It will need to be tidied and latexed later. Also I have emphasised the 4 standard commands needed for normal runnibg with red pen. Let me know what you think. I find it difficult to know how much/little to put in, and whether it is understanable. Don ******************************************************************************* A MANUAL FOR SHIFTCREW AND OTHERS FOR THE NEW CTD HV PROGRAM updated 9/8/96 INDEX ***** KEYBOARD COMMANDS FOR OPERATIONS ACTIVE/INACTIVE PICTORIAL ILLUSTRATION OF RELATIONSHIP BETWEEN STATES, AND COMMANDS. CALLING UP, AND INTERPRETING THE SCREEN DISPLAYS WHAT TO DO IF THE PROGRAM IS "HUNG" REBOOTING, LOGGING IN AND RESTARTING THE HV PROGRAM CHANGING BETWEEN THIS NEW PROGRAM AND THE OLD "CTDHV22" ******************************************************************************* KEYBOARD COMMANDS FOR OPERATIONS ******************************** The following section describes the commands typed on the ctd hv terminal keyboard (near the door in the zeus control room) to operate the hv system. Each command typed is terminated by the "return" key, indicated " " below. Currently the editing keys (backspace, delete) do not work with keyboard commands. The new program has three basic states. The current state is indicated by the message in double height letters at the top of the display screen. (Transitions between these states take about one minute). The three basic states are: state screen message description "off" CTD HV OFF (ALL CHANNELS OFF) all 110 hv channels are switched off and the volts in the CTD are zero. "standby" CTD HV SYSTEM IN STANDBY STATE all hv channels have been switched on, but to low (safe) volts. "hvon" HV ALL ON OK all the voltages have been successfully ramped up to the data taking voltages. Each of these states can also be "ACTIVE" or "INACTIVE". See the section ACTIVE/INACTIVE below. SEQUENCE OF COMMANDS FOR RUNNING 1. When HERA is injecting make sure that the HV system is in the "off" state. This is also the state for the system during any long period of no data taking such as an access or HERA fault condition. Do not "exit" the program except at very long shutdowns. 2. When injection is finished and luminosity with acceptable backgrounds for the CTD is expected soon, put the system in the "standby" state by typing: standby This will switch the hv channels on and save time later. 3. When you decide to put the HV on, make sure the system is "active". i.e. the main double height screen message ends with ACTIVE. If the system is INACTIVE just type: active and it will change. 4. To get to working volts on the CTD from an active standby state, type: hvon and the volts should smoothly ramp up, all parts of the ctd simultaneously, in about one minute, and the system is ready for data taking. See 6. below if there are trips. 5. At the end of a run to prepare for HERA injection type: hvoff The volts will first of all ramp smoothly down to standby volts, followed automatically by a transition back to the OFF state and INACTIVE. 6. If there are trips (whether in the "off", "standby" or "on" states. In the "on" state the double height message at the top of the screen will read HV TRIPPED (NO AUTO TRIP RESET); in the "off" and "standby" states there will be similar trip information) type: clear All trips will be cleared (if in "on" state the screen message will now read CTD HV ON, BUT SOME HV LOW) and the tripped channels will also automatically be brought up as necessary to the "standby" or "hvon" state volts. (The following are not normally required during luminosity periods. They may be required after power outages, etc See the also the section on rebooting and logging in. 7. The program can be exited at any time by typing: exit If necessary this will bring down the system to the "off" state first, from "on" or "standby". 8. The program can be restarted, if properly logged in, by typing: ctdhv6 There is a long initialisation phase taking about 5 minutes. ) ******************************************************************************* ACTIVE/INACTIVE *************** If the system is ACTIVE then (i) HERA injection is always vetoed if any part of the ctd has voltages above the "safe" voltage level, and (ii) ZEUS data taking is always vetoed if any part of the ctd has voltages not at the working voltages. If the system is INACTIVE then (i) HERA injection is never vetoed because no part of the ctd is allowed to have volts above the "safe" level, BUT (ii) even although the ctd voltages are below the working volts, ZEUS data taking is never vetoed. This provides a way of running without the ctd (high backgrounds, etc.) Also the system incorporates an automatic hvon (not yet implemented) when the the run_switch is set and the calorimeters are closed. Being INACTIVE provides provides security against the hv being accidentally ramped up by this automatic signal. ******************************************************************************* PICTORIAL ILLUSTRATION OF THE RELATIONSHIP BETWEEN STATES, AND COMMANDS *********************************************************************** | | "off " ("hvon " not allowed) <--------- (-------->) STATE DURING | | HERA INJECTION | | <---------<--------<--| | ILLEGAL STATE | | | INACTIVE "standby " ^ | (injection --------> | | and data taking | | | never vetoed) ^ | ^ | | ^ | | | | | ^ | | ____________ |_ |_|____ |_ |___|______|_________________ |_______ | | | | | | | | ACTIVE | | | | | | | | (injection v | v | "hvoff " and data taking | |-<--------- vetoed as | | necessary) | | "standby " "hvon " --------> --------> | | STATE DURING DATA | | TAKING "off " "standby " <-------- <-------- | | OFF | STANDBY | ON state | state | state | | volts on ctd = 0 | volts on ctd ~50 | volts on ctd = working volts The standard command sequence is shown in RED ******************************************************************************* CALLING UP AND INTERPRETING THE SCREEN DISPLAYS *********************************************** Still to come. ****************************************************************************&** WHAT TO DO IF THE PROGRAM IS "HUNG" *********************************** This formerly happened about once a week with the old ctd hv program when the caen HV channels got stuck when being switched off or on by program. The new system moves this operation to a step (the transition "off" <----> "standby") which is not so time critical. We hope this now never happens. If it ever does, I would be grateful if you would send an e-mail giving the circumstances to d.b.miller@ic.ac.uk, with a copy to a.jamdagni@ic.ac.uk. Thank you. ACTION 1. The 6 digit time of day appears at the right hand end of line 6 on the display screen. This is updated by the program approximately every second. If this is not being updated, BUT the run light is flashing on the computer board at the left hand end of the VME crate at shoulder height in rucksack rack A2,06, then the computer has not hung, but the display terminal has. Try switching off the mains switch on the display terminal in the control for a few seconds then switching it on again. If the display now begins to be written again and the time is being updated properly (switching the terminal off and on has no effect on the program itself) the problem has been solved. If it happens often, change the display terminal. 2. If this does not work, try pressing the reset switch on the red coloured "model A200 SY127 controller" module about the middle of the VME crate at shoulder height in rucksack rack A2,06. 3. If this does not work a reboot of the os9 system is probably needed. Please read the instructions in the section below first. ******************************************************************************* REBOOTING, LOGGING IN AND STARTING THE HV PROGRAM ************************************************* If a reboot is necessary and any part of the ctd has HV at working volts, it is wise to try to get the volts first to a low level. 1. If any part of the ctd has volts up, go to the module about 5th from the left in the VME crate at shoulder height in rack A2,06. The 4th coax cable counting from the top is labelled "vsel". Pull this out, and leave it out till the reboot and restart of the hv program has been completed. The volts should ramp down to about 50 volts on the 4 caen HV crates in a time of about 30 seconds. Then press in the large red coloured "emergency off" button between rack A2,06 and A2,07. 2. Before pressing the computer reset button to reboot, lock bbl3 switch 5 by moving it to the left. Keep it there until the reboot and restart of the hv program is complete. This is because rebooting the hv computer inevitably generates an "injection veto" for HERA which is intercepted by locking bbl3 switch 5. 3. If the power is on ok on the VME crate, simply press the "reset" switch on the 147s computer module (second from left in the VME crate) to initiate a reboot, and go to section 5 below. If the mains has been off (e.g. power outage, or power off by fire or gas alarm) the VME crate will not be powered up. 3a. Check that power is coming in to the Wiener module - the module at the rightmost position in the VME crate. If the large orange light is lit on the crate above the VME crate then power should be available to the VME crate - go to section 3b. If this orange light is not lit there are 3 possible faults to be checked in sequence: check that the rucksack power control panel in the corner of the rucksack has rack A2,06 on. check that the "Hager trip" for the hv system - inside the back panel of rack A2,06 at the very top, labelled "battery backup for HV disc" is on (= up) If this is also ok, and there are no obvious mains cables unplugged, this points to a fault in the "uninteruptable power supply" (ups) which drives the VME crate. This can be temporarily bypassed by unplugging the mains input to the ups (orange mains cable) and the mains output #2 from the ups and just plugging them together (also unplug and leave unplugged meanwhile the ups mains output #1). This can only be a very temporary solution. 3b. Once power is available to the Wiener module again, the VME crate can be switched on. This is done by pressing down and releasing the bottom switch ("local") on the Wiener module at the furthest right in this crate. The green "local" led at the bottom of the Wiener module should now be lit. Once the green "local" led is lit, lift up and then release the top "power" switch on the Wiener module at the right hand side of the VME crate. This brings the power on. If at this stage there is a flashing message "mains fail" in red leds on the front panel of the Wiener module, it is necessary to reset the Wiener module by gently pressing its reset button behind the small hole near the top of the Wiener module front panel and repeat section 3b. 4. Switching on the VME crate power initiates a reboot of the computer. Go to section 5. 5. The reboot takes about 1 minute, after which the small green led (labelled "mains request") below the large orange light in the crate above the VME crate lights, and messages about the boot procedure appear on the display screen in the zeus control room. 6. It is then necessary to login. press return on the hv terminal keyboard in the control room, and the system should respond by asking for the user name (super) and password (hera). Following the initial typing simply type ctdhv6 and the system will run the hv program, which takes about 5 minutes to initialise the hardware. When the initialisation is complete a display screen giving information about each superlayer-quadrant of the ctd is shown. At this stage: (a) plug the "vsel" cable back into its original place (the 4th socket from the top of the 5th (or 4th) VME module from the left hand side). (b) release the red emergency button by twisting it slightly. (c) unlock bbl3 switch 5 by moving it to the right. If appropriate, send a message as requested above about the origin of any fault circumstance which forced this reboot. ******************************************************************************* CHANGING BETWEEN THIS NEW CTDHV6 PROGRAM AND THE OLD CTDHV22 PROGRAM ******************************************************************** Still to come.