the standby command
05mar09
The standby command brings the transmitter up in an orderly
manner.
Notes:
- The description below
references the sband tx code in
/home/phil/vw/datatk/sband/723_1may97/AO. The online routines are in
723_1may97. I've written these routines (not complete) and placed them
in ./AO/. The major changes were to move all of the status variables to
a structure so that it was easier to read the code.
- Variables in the program are in bold italics. The
St. status values have mm_nn . The mm is the byte position in the
database screen where this variable appears. _nn is the bit mask for
this bit.
When the operator enters stby the following occurs:
- Main loop: (723.c)
- dochio() eventually
gets all the characters stby and
returns bufRdy.
- docmd() is called to
process the command
- standby() is called. This starts the standby processing going.
- seqdecode():
- Standby() requires a
sequence of commands. When standby starts, the comseq variable is set to 4. Each
time thru the main loop seqdecode()
branches on comseq=4 to
recall the standby() routine
to continue the processing.
- standby(): (in
control9.c)
- on first entry comseq
<-4, trynum<-0. On
succeeding calls from seqdecode(),
trynum is incremented.
If trynum = 6 then the
standby attempt fails with COMMAND FAIL. trynum<-0, and comseq<0.
- standby sequence. This is executed in order on each call to
standby (first or seqdecode).
- coolDwnTmr_c52=0;
sets cool down timer to zero
- if !st.gen.sumFlwPrf_38_20
cooling summary flow proofs missing.
- cooling(1). start
coolling and return to main loop.
- if(!st.ttiDI.filContPrf_20_10)
digital input filament contactor proof missing
- This comes from the hvps building tti12 xa2 sch:190154 bit
13
- The proof is a combination (and) of:
- filamentCmd tto(13,11,1) sent from computer
program
- This is filament(1) routine to request to turn on
filaments
- Filament ready sch 190235 sh3 (2nd from left fiber
optic input into pin 75 of chip)
- comes from FO line originating in dome 190152 sh zone
E3. filament ready.
- (see also filament timer on previous page).
- filament(1) start filament turn on. Return to
main loop.
- if(st.ttiDI.kly1Sel_8_1
and not st.ttiDI.kly1MagContPrf_20_20)
kly1 selected and kly1 magnet contactor proof missing
- magnet(1)
. start
kly1 magnet. return to main loop
- kly1MagContPrf come from a contactor for kly1 in the
hvps building:
- sch:190154-sh2:p1-8 ->j1-6 |190235-sh1
chips|->j3-4->p3->10
- if(st.ttiDI.kly2Sel_8_2
and not st.ttiDI.kly2MagContPrf_20_40) kly2
selected and kly2 magnet contactor proof missing
- magnet(2)
. start
kly2 magnet. return to main loop
- print STANDBY on the
console..
- Standby lite on the main screen.
- this turns on when dome Hv Ready is true and hv OFF is
true.
- hot crowbar test.
- respond().
- The program keeps the current status, and the last one we
displayed on the screen.
- If the screen status has the ground switch down, and the
current status has the ground switch pulled up , then ask if they want
the hot crowbar test.
<-
page up
home_~phil