Files
sea/tcl/ma10.config
2023-10-24 13:23:31 +02:00

73 lines
1.8 KiB
Plaintext

deviceDesc = 10 Tesla vertical cryomagnet
defineTemperature tt
device stick_menu "ma10 dil2 dil3 dil4 heliox oven2 coil"
makenv tt -driver [lsdriver] {
lsc_sensor tm A -sensor x112386 -sensorname VTI
lsc_sensor ts C -sensorname sample
lsc_sensor ts_2 D -sensor code -sensorname sample2
lsc_loop set -loop 1 -channel A -maxheater 32W -resist 80Ohm -color green
if {[lsdriver] eq "336_lsc"} {
lsc_loop setsamp -loop 2 -channel C -maxheater 62.5W -resist 20Ohm -color dark_green
}
}
tt set/limit 310
makeCCU4 ma10 nv_release_blocked he_ilm
hefill minfillminutes 20
hefill maxfillminutes 60
hupdate /nv/set 1.2
makenv mf -driver ipsmag -port ma10-ts:3001 -controller _mf
if {$::device_name eq "ma10asym"} {
hupdate /mf/ips/symode asymmetric
mf gen/profile 9.25:0.5
mf gen/profile_training 5.5:0.165 7.7:0.11 8.8:0.055 9.25:0.0027
mf ips/atob 18.161
mf ips/inductance 21.38
} else {
hupdate /mf/ips/symode symmetric
mf gen/profile 10:0.5
mf gen/profile_training 6:0.5 8.35:0.12 9.5:0.06 10:0.03
mf ips/atob 16.7207
mf ips/inductance 28.35
}
mf gen/limit 10
mf gen/wait_switch_on 15
mf gen/wait_switch_off 30
mf gen/wait_stable_leads 5
mf gen/wait_stable_field 15
makeIpsLev -port ma10-ts:3001 -controller _mf
GraphAdd mf T mf red
GraphAdd mf.ips.leads_meas T mf_leads green
makeN2Fill ccu4ilm {
ln2fill lowlevel 10
ln2fill highlevel 90
ln2fill minfillminutes 8
ln2fill maxfillminutes 60
ln2fill minholdhours 12
ln2fill maxholdhours 96
}
# increase motor current
cc mc 75
makenv table -driver table /tt/tm {
"tt set/prop" "50:50 300:20"
"tt set/integ" "10:50 50:20 300:5"
"tt dblctrl/int2" "2:10 20:50 50:300 120:500 300:800"
"tt dblctrl/prop_up" "20:0.1 50:0.4"
"tt dblctrl/prop_lo" "20:0.1 50:0.8"
}
setstickrot ma10-ts:3004