Make sample stages configurable and add Oxford magnet sample stick motor as an option.
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
set magmot "som"
|
||||
Motor $magmot $motor_driver_type [params \
|
||||
asyncqueue mc2\
|
||||
axis D\
|
||||
units degrees\
|
||||
hardlowerlim -1440\
|
||||
hardupperlim 1440\
|
||||
maxSpeed 1\
|
||||
maxAccel 1\
|
||||
maxDecel 1\
|
||||
stepsPerX [expr 67.0 * 25000 / 360]\
|
||||
absEnc 1\
|
||||
absEncHome 31275743\
|
||||
cntsPerX [expr 67.0 * 8192 / 360]]
|
||||
$magmot part sample
|
||||
$magmot long_name $magmot
|
||||
$magmot softlowerlim -180
|
||||
$magmot softupperlim 180
|
||||
$magmot home 0
|
||||
@@ -143,7 +143,10 @@ switch $axis_config {
|
||||
3 {
|
||||
# Rename the sample stage som to somss because
|
||||
# som now controls the magnet sample stick
|
||||
set sample_stage_rotate "somss"
|
||||
set sample_stage_rotate "som"
|
||||
set magmot "msom"
|
||||
set magmot_aq "mc2"
|
||||
set magmot_axis "D"
|
||||
fileeval $cfPath(motors)/magnet_configuration.tcl
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user