Use sics_config.ini to generate 12T magnet setup on Taipan.

This commit is contained in:
Ferdi Franceschini
2013-09-18 16:16:06 +10:00
parent bcd9f89b85
commit 7bacc4dc7f
5 changed files with 79 additions and 4 deletions

View File

@@ -138,6 +138,36 @@ dummy_s1 softupperlim 180
dummy_s1 precision 0.02
dummy_s1 home 0
if { [ info exists ::config_dict ] && [ dict get $::config_dict s1_sample_insert enabled ] } {
set samp_stage_name "s1ss"
set tilt_motor_driver_type asim
Motor s1 $motor_driver_type [params \
asyncqueue mc2\
host mc2-taipan\
port pmc2-taipan\
axis A\
units degrees\
hardlowerlim -180\
hardupperlim 180\
maxSpeed 1\
maxAccel 1\
maxDecel 1\
stepsPerX 12500\
absEnc 1\
absEncHome 10695068\
cntsPerX 4096]
s1 part sample
s1 long_name s1
s1 softlowerlim -180
s1 softupperlim 180
s1 home 0
} else {
set samp_stage_name "s1"
set tilt_motor_driver_type $motor_driver_type
}
#if $use_tiltstage {
# mc1: Monochromator crystal selection rotation/Tilt
Motor mtilt $motor_driver_type [params \
@@ -263,7 +293,7 @@ a2 decel 0.2
#
# mc2: Sample Tilt 1
Motor sgu $motor_driver_type [params \
Motor sgu $tilt_motor_driver_type [params \
asyncqueue mc2\
host mc2-taipan\
port pmc2-taipan\
@@ -286,7 +316,7 @@ sgu home 0
sgu backlash_offset -0.2
# mc2: Sample Tilt 2
Motor sgl $motor_driver_type [params \
Motor sgl $tilt_motor_driver_type [params \
asyncqueue mc2\
host mc2-taipan\
port pmc2-taipan\
@@ -355,7 +385,7 @@ stl home 0.0
stl backlash_offset -0.2
# mc2: Sample Rotate
Motor s1 $motor_driver_type [params \
Motor $samp_stage_name $motor_driver_type [params \
asyncqueue mc2\
host mc2-taipan\
port pmc2-taipan\