Added sample changer motor configuration

This commit is contained in:
Ferdi Franceschini
2014-06-27 18:38:23 +10:00
parent a363bc3c2c
commit c960a3bb2d

View File

@ -418,29 +418,28 @@ ss1r home 0
# mc2: Sample Changer (Sample Stage) Z Translation # mc2: Sample Changer (Sample Stage) Z Translation
# Gearbox 1:1 # Gearbox 100:1
#set samz_Home # 10 mm pitch
#set samzSetRate 25000 Motor samz $motor_driver_type [params \
#Motor samz $motor_driver_type [params \
asyncqueue mc2\ asyncqueue mc2\
host mc2-kookaburra\ host mc2-kookaburra\
port pmc2-kookaburra\ port pmc2-kookaburra\
axis H\ axis H\
units mm\ units mm\
hardlowerlim 0\ hardlowerlim 0\
hardupperlim 360\ hardupperlim 665\
maxSpeed [expr 50000.0/$samzSetRate]\ maxSpeed 5.0\
maxAccel [expr 25000.0/$samzSetRate]\ maxAccel 5.0\
maxDecel [expr 25000.0/$samzSetRate]\ maxDecel 5.0\
stepsPerX $samzSetRate\ stepsPerX [expr 25000.0 * 100 / 10.0]\
cntsPerX 819.2\
absEnc 1\ absEnc 1\
absEncHome $samz_Home\ absEncHome 72607]
cntsPerX 4096] samz part sample
#samz part sample samz long_name samz
#samz long_name samz samz softlowerlim 0
#samz softlowerlim 0 samz softupperlim 660
#samz softupperlim 360 samz home 0
#samz home 0
############################ ############################