| 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 | > ...waiting 6 seconds
|
|---|
| 49 | .w 6000
|
|---|
| 50 |
|
|---|
| 51 | # --------------------------------------
|
|---|
| 52 | > FAD_CONTROL
|
|---|
| 53 | > ...starting FADs
|
|---|
| 54 |
|
|---|
| 55 | FAD_CONTROL/START
|
|---|
| 56 | > ...checking fadctrl state
|
|---|
| 57 | .s FAD_CONTROL 4 5000 5
|
|---|
| 58 | > ...connected
|
|---|
| 59 | > FADs Ready!
|
|---|
| 60 | > -------------------
|
|---|
| 61 | >-
|
|---|
| 62 |
|
|---|
| 63 | .j 300
|
|---|
| 64 |
|
|---|
| 65 | :5
|
|---|
| 66 | > ======================================
|
|---|
| 67 | > not alle FADs are connected
|
|---|
| 68 | > --------------------------------------
|
|---|
| 69 | > OPERATOR:
|
|---|
| 70 | > + check for FAD or FTU Loss
|
|---|
| 71 | > + finish Startup manually
|
|---|
| 72 | > --------------------------------------
|
|---|
| 73 | .j 300
|
|---|
| 74 |
|
|---|
| 75 | :256
|
|---|
| 76 | > ======================================
|
|---|
| 77 | > BIAS not properly connected
|
|---|
| 78 | > --------------------------------------
|
|---|
| 79 | > OPERATOR:
|
|---|
| 80 | > + check biasctrl
|
|---|
| 81 | > + finish Startup manually
|
|---|
| 82 | > --------------------------------------
|
|---|
| 83 |
|
|---|
| 84 | :300
|
|---|
| 85 | > --------------------------------------
|
|---|
| 86 | > SYSTEM STARTUP finished
|
|---|
| 87 | > ======================================
|
|---|
| 88 |
|
|---|