From 588a44305ac9a3ab32dff43a4def94ec46c25c88 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Mon, 2 Jun 2008 14:41:14 +1000 Subject: [PATCH] Change sz to temporary replacement r2605 | dcl | 2008-06-02 14:41:14 +1000 (Mon, 02 Jun 2008) | 2 lines --- .../rsd/config/motors/motor_configuration.tcl | 33 +++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/site_ansto/instrument/rsd/config/motors/motor_configuration.tcl b/site_ansto/instrument/rsd/config/motors/motor_configuration.tcl index 959dced2..93936f7d 100644 --- a/site_ansto/instrument/rsd/config/motors/motor_configuration.tcl +++ b/site_ansto/instrument/rsd/config/motors/motor_configuration.tcl @@ -1,5 +1,5 @@ -# $Revision: 1.25 $ -# $Date: 2008-06-02 01:59:50 $ +# $Revision: 1.26 $ +# $Date: 2008-06-02 04:41:14 $ # Author: Ferdi Franceschini (ffr@ansto.gov.au) # Last revision by: $Author: dcl $ @@ -239,6 +239,7 @@ mtth long_name takeoff_angle #:TP at HOME # +if {0} { # Sample Trans, vertical, first stage Motor sz $motor_driver_type [params \ asyncqueue mc2\ @@ -278,6 +279,34 @@ sz long_name translate_z #sz2 precision 0.01 #sz2 part sample.second #sz2 long_name vertical_translation +} else { +# Temporary Tiny Translation Thingy +set sz_home 10800000 +Motor sz $motor_driver_type [params \ + asyncqueue mc2\ + axis A\ + units mm\ + hardlowerlim -0.1\ + hardupperlim 100\ + maxSpeed 1\ + maxAccel 1\ + maxDecel 1\ + stepsPerX [expr -25000.0*50.0]\ + absenc 1\ + absenchome $sz_home\ + cntsPerX -[expr 8192.0*50.0] +sz bias_bits 25 +sz bias_bias -16000000 +setHomeandRange -motor sz -home 0 -lowrange 0.1 -uprange 100 +sz speed 1 +sz precision 0.01 +sz part sample +sz backlash_offset -1 +sz blockage_ratio 5 +sz precision 0.025 +sz creep_offset 0.1 +sz long_name translate_z +} # Sample Trans 1, upper, x #