init setup pelican config
r3298 | jgn | 2011-12-01 09:48:35 +1100 (Thu, 01 Dec 2011) | 1 line
This commit is contained in:
committed by
Douglas Clowes
parent
46bc7a3166
commit
42166b51ac
@@ -35,12 +35,19 @@ if {$sim_mode == "true"} {
|
|||||||
|
|
||||||
|
|
||||||
# Computed Monochromator step rates (steps per degree) of focusing and Rotation
|
# Computed Monochromator step rates (steps per degree) of focusing and Rotation
|
||||||
# Rotate rate 25000 steps * 8:1 gears = 200000
|
|
||||||
|
# Rotate rate -- 8:1 gear on motor and 120:1 gear on rotation stage \
|
||||||
|
# 25000 steps * 8:1 gear * 120:1 gear = 200000
|
||||||
set monoRotateStepRate 200000
|
set monoRotateStepRate 200000
|
||||||
|
|
||||||
|
# Rotation stage rate 25000 steps * 120:1 gears = 3000000
|
||||||
|
set monoRotationStateStepRate 3000000
|
||||||
|
|
||||||
|
# Encode reading at the roation 4096 * 360:55 backlash gear = 26810.1818
|
||||||
|
set MonoRotateEncoderCountRate 26810.1818
|
||||||
|
|
||||||
# Focusing rate 25000 steps * 6:1 gears = 150000
|
# Focusing rate 25000 steps * 6:1 gears = 150000
|
||||||
set monoFocusStepRate 150000
|
set monoFocusStepRate 150000
|
||||||
# Rotation stage raTE 25000 steps * 120:1 gears = 3000000
|
|
||||||
set monoRotationStateStepRate 3000000
|
|
||||||
|
|
||||||
#Measured absolute encoder reading at home position
|
#Measured absolute encoder reading at home position
|
||||||
set dummy_Home 0
|
set dummy_Home 0
|
||||||
@@ -392,6 +399,8 @@ mra long_name mra
|
|||||||
mra softlowerlim 0
|
mra softlowerlim 0
|
||||||
mra softupperlim 5
|
mra softupperlim 5
|
||||||
mra home 0
|
mra home 0
|
||||||
|
# fix the motor
|
||||||
|
mra fixed 1
|
||||||
|
|
||||||
# mc3: Monochromator Focusing 1 - Rotation
|
# mc3: Monochromator Focusing 1 - Rotation
|
||||||
Motor moma $motor_driver_type [params \
|
Motor moma $motor_driver_type [params \
|
||||||
@@ -408,7 +417,7 @@ Motor moma $motor_driver_type [params \
|
|||||||
stepsPerX $monoRotateStepRate\
|
stepsPerX $monoRotateStepRate\
|
||||||
absEnc 1\
|
absEnc 1\
|
||||||
absEncHome $moma_Home\
|
absEncHome $moma_Home\
|
||||||
cntsPerX 4096]
|
cntsPerX $MonoRotateEncoderCountRate]
|
||||||
moma part crystal
|
moma part crystal
|
||||||
moma long_name moma
|
moma long_name moma
|
||||||
moma softlowerlim 0
|
moma softlowerlim 0
|
||||||
@@ -436,6 +445,8 @@ mrb long_name mrb
|
|||||||
mrb softlowerlim 0
|
mrb softlowerlim 0
|
||||||
mrb softupperlim 5
|
mrb softupperlim 5
|
||||||
mrb home 0
|
mrb home 0
|
||||||
|
# fix the motor
|
||||||
|
mrb fixed 1
|
||||||
|
|
||||||
# mc3: Monochromator Focusing 2 - Rotation
|
# mc3: Monochromator Focusing 2 - Rotation
|
||||||
Motor momb $motor_driver_type [params \
|
Motor momb $motor_driver_type [params \
|
||||||
@@ -452,7 +463,7 @@ Motor momb $motor_driver_type [params \
|
|||||||
stepsPerX $monoRotateStepRate\
|
stepsPerX $monoRotateStepRate\
|
||||||
absEnc 1\
|
absEnc 1\
|
||||||
absEncHome $momb_Home\
|
absEncHome $momb_Home\
|
||||||
cntsPerX 4096]
|
cntsPerX $MonoRotateEncoderCountRate]
|
||||||
momb part crystal
|
momb part crystal
|
||||||
momb long_name momb
|
momb long_name momb
|
||||||
momb softlowerlim 0
|
momb softlowerlim 0
|
||||||
@@ -480,6 +491,8 @@ mrc long_name mrc
|
|||||||
mrc softlowerlim 0
|
mrc softlowerlim 0
|
||||||
mrc softupperlim 5
|
mrc softupperlim 5
|
||||||
mrc home 0
|
mrc home 0
|
||||||
|
# fix the motor
|
||||||
|
mrc fixed 1
|
||||||
|
|
||||||
# mc3: Monochromator Focusing 3 - Rotation
|
# mc3: Monochromator Focusing 3 - Rotation
|
||||||
Motor momc $motor_driver_type [params \
|
Motor momc $motor_driver_type [params \
|
||||||
@@ -496,7 +509,7 @@ Motor momc $motor_driver_type [params \
|
|||||||
stepsPerX $monoRotateStepRate\
|
stepsPerX $monoRotateStepRate\
|
||||||
absEnc 1\
|
absEnc 1\
|
||||||
absEncHome $momc_Home\
|
absEncHome $momc_Home\
|
||||||
cntsPerX 4096]
|
cntsPerX $MonoRotateEncoderCountRate]
|
||||||
momc part crystal
|
momc part crystal
|
||||||
momc long_name momc
|
momc long_name momc
|
||||||
momc softlowerlim 0
|
momc softlowerlim 0
|
||||||
@@ -716,7 +729,8 @@ gv1 long_name gv1
|
|||||||
gv1 softlowerlim 0
|
gv1 softlowerlim 0
|
||||||
gv1 softupperlim 180
|
gv1 softupperlim 180
|
||||||
gv1 home 0
|
gv1 home 0
|
||||||
gv1 fixed -1
|
# fix the motor
|
||||||
|
gv1 fixed 1
|
||||||
|
|
||||||
# mc5: Isolation Vaue -- Axis 2, currently this Axis is set to read ONLY to read the encoder
|
# mc5: Isolation Vaue -- Axis 2, currently this Axis is set to read ONLY to read the encoder
|
||||||
Motor gv2 $motor_driver_type [params \
|
Motor gv2 $motor_driver_type [params \
|
||||||
@@ -739,7 +753,8 @@ gv2 long_name gv2
|
|||||||
gv2 softlowerlim 0
|
gv2 softlowerlim 0
|
||||||
gv2 softupperlim 180
|
gv2 softupperlim 180
|
||||||
gv2 home 0
|
gv2 home 0
|
||||||
gv2 fixed -1
|
# fix the motor
|
||||||
|
gv2 fixed 1
|
||||||
|
|
||||||
proc motor_set_sobj_attributes {} {
|
proc motor_set_sobj_attributes {} {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user