Changed to using new multichan motor driver

r1663 | dcl | 2007-03-16 10:20:37 +1100 (Fri, 16 Mar 2007) | 2 lines
This commit is contained in:
Douglas Clowes
2007-03-16 10:20:37 +11:00
parent 9e7a102413
commit f62af28efb

View File

@@ -1,5 +1,5 @@
# $Revision: 1.10 $
# $Date: 2007-03-15 21:57:31 $
# $Revision: 1.11 $
# $Date: 2007-03-15 23:20:37 $
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
# Last revision by: $Author: dcl $
@@ -19,6 +19,15 @@ set dmc2280_controller3(port) pmc3-$animal
set dmc2280_controller4(host) mc4-$animal
set dmc2280_controller4(port) pmc4-$animal
MakeRS232Controller dmc_rs1 137.157.202.131 1034
MakeRS232Controller dmc_rs2 137.157.202.132 1034
MakeRS232Controller dmc_rs3 137.157.202.133 1034
MakeRS232Controller dmc_rs4 137.157.202.134 1034
MakeMultiChan dmc_mc1 dmc_rs1
MakeMultiChan dmc_mc2 dmc_rs2
MakeMultiChan dmc_mc3 dmc_rs3
MakeMultiChan dmc_mc4 dmc_rs4
#Measured absolute encoder reading at home position
set bz_home 8142000
@@ -78,8 +87,7 @@ set move_count 100
# Beam Shade Vertical Translation (6mm/T double helix, 500mm)
Motor bz DMC2280 [params \
host $dmc2280_controller1(host)\
port $dmc2280_controller1(port)\
multichan dmc_mc1\
axis A\
units mm\
hardlowerlim 0\
@@ -97,8 +105,7 @@ bz home 0
# Collimator Table Horizontal Translation, X
Motor c1ht DMC2280 [params \
host $dmc2280_controller1(host)\
port $dmc2280_controller1(port)\
multichan dmc_mc1\
axis B\
units mm\
hardlowerlim 0\
@@ -116,8 +123,7 @@ c1ht home 0
# Collimator Tilt, Z axis, positive is down
Motor m1ro DMC2280 [params \
host $dmc2280_controller1(host)\
port $dmc2280_controller1(port)\
multichan dmc_mc1\
axis C\
units degrees\
hardlowerlim -3.5\
@@ -135,8 +141,7 @@ m1ro home 0
# Beam Attenuator (16mm/turn, 200mm travel)
Motor bat DMC2280 [params \
host $dmc2280_controller1(host)\
port $dmc2280_controller1(port)\
multichan dmc_mc1\
axis D\
units mm\
hardlowerlim 0\
@@ -154,8 +159,7 @@ bat home 0
# Slit 3 Tower Translation (1mm/T, +/- 100mm)
Motor st3vt DMC2280 [params \
host $dmc2280_controller1(host)\
port $dmc2280_controller1(port)\
multichan dmc_mc1\
axis E\
units mm\
hardlowerlim 0\
@@ -173,8 +177,7 @@ st3vt home 0
# Slit 4 Tower Translation (1mm/T, +/- 100mm)
Motor st4vt DMC2280 [params \
host $dmc2280_controller1(host)\
port $dmc2280_controller1(port)\
multichan dmc_mc1\
axis F\
units mm\
hardlowerlim 0\
@@ -200,8 +203,7 @@ st4vt home 0
# Sample Tilt 1, upper (1 degree/turn)
Motor sth DMC2280 [params \
host $dmc2280_controller2(host)\
port $dmc2280_controller2(port)\
multichan dmc_mc2\
axis A\
units degrees\
hardlowerlim -15\
@@ -219,8 +221,7 @@ sth precision 0.01
# Sample Tilt 2, lower (1 degree/turn)
Motor sphi DMC2280 [params \
host $dmc2280_controller2(host)\
port $dmc2280_controller2(port)\
multichan dmc_mc2\
axis B\
units degrees\
hardlowerlim 75\
@@ -238,8 +239,7 @@ sphi precision 0.01
# Sample Translation, Linear X (5mm/T, 0-750mm)
Motor sx DMC2280 [params \
host $dmc2280_controller2(host)\
port $dmc2280_controller2(port)\
multichan dmc_mc2\
axis C\
units mm\
hardlowerlim 0\
@@ -257,8 +257,7 @@ sx home 0
# Sample Translation, Linear Y
#Motor sy DMC2280 [params \
# host $dmc2280_controller2(host)\
# port $dmc2280_controller2(port)\
# multichan dmc_mc2\
# axis D\
# units mm\
# hardlowerlim -600\
@@ -276,8 +275,7 @@ sx home 0
# Sample Translation, Linear Z (??/T, 300mm)
Motor sz DMC2280 [params \
host $dmc2280_controller2(host)\
port $dmc2280_controller2(port)\
multichan dmc_mc2\
axis E\
units mm\
hardlowerlim 0\
@@ -296,8 +294,7 @@ sz speed 2
# Detector Translation, Linear Y (Not Motorized)
#Motor dy DMC2280 [params \
# host $dmc2280_controller2(host)\
# port $dmc2280_controller2(port)\
# multichan dmc_mc2\
# axis F\
# units mm\
# hardlowerlim -595\
@@ -315,8 +312,7 @@ sz speed 2
# Detector Translation, Linear Z (5mm/T gearing unknown)
Motor dz DMC2280 [params \
host $dmc2280_controller2(host)\
port $dmc2280_controller2(port)\
multichan dmc_mc2\
axis G\
units mm\
hardlowerlim 0\
@@ -341,8 +337,7 @@ dz home 0
# Slit 1, lower
Motor ss1d DMC2280 [params \
host $dmc2280_controller3(host)\
port $dmc2280_controller3(port)\
multichan dmc_mc3\
axis A\
units mm\
hardlowerlim [expr $vertSlitHome - $vertSlitLowRange]\
@@ -357,8 +352,7 @@ ss1d home 0
# Slit 1, upper
Motor ss1u DMC2280 [params \
host $dmc2280_controller3(host)\
port $dmc2280_controller3(port)\
multichan dmc_mc3\
axis B\
units mm\
hardlowerlim [expr $vertSlitHome - $vertSlitLowRange]\
@@ -373,8 +367,7 @@ ss1u home 0
# Slit 1, left
Motor ss1l DMC2280 [params \
host $dmc2280_controller3(host)\
port $dmc2280_controller3(port)\
multichan dmc_mc3\
axis C\
units mm\
hardlowerlim [expr $horSlitHome - $horSlitLowRange]\
@@ -389,8 +382,7 @@ ss1l home 0
# Slit 1, right
Motor ss1r DMC2280 [params \
host $dmc2280_controller3(host)\
port $dmc2280_controller3(port)\
multichan dmc_mc3\
axis D\
units mm\
hardlowerlim [expr $horSlitHome - $horSlitLowRange]\
@@ -405,8 +397,7 @@ ss1r home 0
# Slit 2, lower
Motor ss2d DMC2280 [params \
host $dmc2280_controller3(host)\
port $dmc2280_controller3(port)\
multichan dmc_mc3\
axis E\
units mm\
hardlowerlim [expr $vertSlitHome - $vertSlitLowRange]\
@@ -421,8 +412,7 @@ ss2d home 0
# Slit 2, upper
Motor ss2u DMC2280 [params \
host $dmc2280_controller3(host)\
port $dmc2280_controller3(port)\
multichan dmc_mc3\
axis F\
units mm\
hardlowerlim [expr $vertSlitHome - $vertSlitLowRange]\
@@ -437,8 +427,7 @@ ss2u home 0
# Slit 2, left
Motor ss2l DMC2280 [params \
host $dmc2280_controller3(host)\
port $dmc2280_controller3(port)\
multichan dmc_mc3\
axis G\
units mm\
hardlowerlim [expr $horSlitHome - $horSlitLowRange]\
@@ -453,8 +442,7 @@ ss2l home 0
# Slit 2, right
Motor ss2r DMC2280 [params \
host $dmc2280_controller3(host)\
port $dmc2280_controller3(port)\
multichan dmc_mc3\
axis H\
units mm\
hardlowerlim [expr $horSlitHome - $horSlitLowRange]\
@@ -469,8 +457,7 @@ ss2r home 0
# Slit 3, lower
Motor ss3d DMC2280 [params \
host $dmc2280_controller4(host)\
port $dmc2280_controller4(port)\
multichan dmc_mc4\
axis A\
units mm\
hardlowerlim [expr $vertSlitHome - $vertSlitLowRange]\
@@ -485,8 +472,7 @@ ss3d home 0
# Slit 3, upper
Motor ss3u DMC2280 [params \
host $dmc2280_controller4(host)\
port $dmc2280_controller4(port)\
multichan dmc_mc4\
axis B\
units mm\
hardlowerlim [expr $vertSlitHome - $vertSlitLowRange]\
@@ -501,8 +487,7 @@ ss3u home 0
# Slit 3, Left
Motor ss3l DMC2280 [params \
host $dmc2280_controller4(host)\
port $dmc2280_controller4(port)\
multichan dmc_mc4\
axis C\
units mm\
hardlowerlim [expr $horSlitHome - $horSlitLowRange]\
@@ -517,8 +502,7 @@ ss3l home 0
# Slit 3, right
Motor ss3r DMC2280 [params \
host $dmc2280_controller4(host)\
port $dmc2280_controller4(port)\
multichan dmc_mc4\
axis D\
units mm\
hardlowerlim [expr $horSlitHome - $horSlitLowRange]\
@@ -533,8 +517,7 @@ ss3r home 0
# Slit 4, lower
Motor ss4d DMC2280 [params \
host $dmc2280_controller4(host)\
port $dmc2280_controller4(port)\
multichan dmc_mc4\
axis E\
units mm\
hardlowerlim [expr $vertSlitHome - $vertSlitLowRange]\
@@ -549,8 +532,7 @@ ss4d home 0
# Slit 4, upper
Motor ss4u DMC2280 [params \
host $dmc2280_controller4(host)\
port $dmc2280_controller4(port)\
multichan dmc_mc4\
axis F\
units mm\
hardlowerlim [expr $vertSlitHome - $vertSlitLowRange]\
@@ -565,8 +547,7 @@ ss4u home 0
# Slit 4, left
Motor ss4l DMC2280 [params \
host $dmc2280_controller4(host)\
port $dmc2280_controller4(port)\
multichan dmc_mc4\
axis G\
units mm\
hardlowerlim [expr $horSlitHome - $horSlitLowRange]\
@@ -581,8 +562,7 @@ ss4l home 0
# Slit 4, right
Motor ss4r DMC2280 [params \
host $dmc2280_controller4(host)\
port $dmc2280_controller4(port)\
multichan dmc_mc4\
axis H\
units mm\
hardlowerlim [expr $horSlitHome - $horSlitLowRange]\
@@ -597,8 +577,7 @@ ss4r home 0
## Polarization Analyzer Vertical Translation, Z
#Motor anzvt DMC2280 [params \
# host $dmc2280_controller2(host)\
# port $dmc2280_controller2(port)\
# multichan dmc_mc2\
# axis xxxx\
# units mm\
# maxSpeed 1\
@@ -616,8 +595,7 @@ ss4r home 0
## Polarization Analyzer Rotation
#Motor anro DMC2280 [params \
# host $dmc2280_controller2(host)\
# port $dmc2280_controller2(port)\
# multichan dmc_mc2\
# axis xxxx\
# units mm\
# hardlowerlim -10\