1 | #!dimctrl --exec
|
---|
2 |
|
---|
3 | # ==========================================================================
|
---|
4 | # Startup
|
---|
5 |
|
---|
6 | # ==========================================================================
|
---|
7 | # Script for Software Startup
|
---|
8 |
|
---|
9 | # call it by: .x ScriptsForDimCtrl/Startup.dim
|
---|
10 |
|
---|
11 | # ----------------------------------------------------
|
---|
12 |
|
---|
13 | > ======================================
|
---|
14 | > SYSTEM STARTUP
|
---|
15 | > ======================================
|
---|
16 | > BIAS_CONTROL
|
---|
17 | > ...checking state of biasctrl
|
---|
18 | .s BIAS_CONTROL 1 1000 2
|
---|
19 | > ...bias DISCONNECTED
|
---|
20 | > ...reconnecting
|
---|
21 | BIAS_CONTROL/RECONNECT
|
---|
22 |
|
---|
23 | :2
|
---|
24 | > ...wating for state 7: VoltageOff
|
---|
25 | .s BIAS_CONTROL 7 2000 3
|
---|
26 | .j 4
|
---|
27 |
|
---|
28 | :3
|
---|
29 | .s BIAS_CONTROL 9 2000 256
|
---|
30 | > ...VoltageOn
|
---|
31 | > ...ramping down
|
---|
32 | BIAS_CONTROL/SET_GLOBAL_DAC 0
|
---|
33 | > ...waiting for bias ramping
|
---|
34 | .s BIAS_CONTROL 5
|
---|
35 | > ...ramping
|
---|
36 | .s BIAS_CONTROL 7 15000 4
|
---|
37 |
|
---|
38 | :4
|
---|
39 | > ...connected, VoltageOff
|
---|
40 | > Bias ready
|
---|
41 | > -------------------
|
---|
42 |
|
---|
43 | # --------------------------------------
|
---|
44 |
|
---|
45 | > FTM_CONTROL
|
---|
46 | > ...enabling all FTUs
|
---|
47 | FTM_CONTROL/ENABLE_FTU -1 yes
|
---|
48 |
|
---|
49 | # --------------------------------------
|
---|
50 | > FAD_CONTROL
|
---|
51 | > ...starting FADs
|
---|
52 | FAD_CONTROL/START
|
---|
53 | > ...checking fadctrl state
|
---|
54 | .s FAD_CONTROL 4 5000 5
|
---|
55 | > ...connected
|
---|
56 | > FADs Ready!
|
---|
57 | > -------------------
|
---|
58 | >-
|
---|
59 |
|
---|
60 | .j 300
|
---|
61 |
|
---|
62 | :5
|
---|
63 | > ======================================
|
---|
64 | > not alle FADs are connected
|
---|
65 | > --------------------------------------
|
---|
66 | > OPERATOR:
|
---|
67 | > + check for FAD or FTU Loss
|
---|
68 | > + finish Startup manually
|
---|
69 | > --------------------------------------
|
---|
70 | .j 300
|
---|
71 |
|
---|
72 | :256
|
---|
73 | > ======================================
|
---|
74 | > BIAS not properly connected
|
---|
75 | > --------------------------------------
|
---|
76 | > OPERATOR:
|
---|
77 | > + check biasctrl
|
---|
78 | > + finish Startup manually
|
---|
79 | > --------------------------------------
|
---|
80 |
|
---|
81 | :300
|
---|
82 | > --------------------------------------
|
---|
83 | > SYSTEM STARTUP finished
|
---|
84 | > ======================================
|
---|
85 |
|
---|