Added 'channel' global array so you can fetch the communications socket by controller name or IP address.
r1126 | ffr | 2006-10-09 13:02:46 +1000 (Mon, 09 Oct 2006) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
fd9125d38e
commit
f4d247d192
@@ -1,7 +1,7 @@
|
||||
# Some useful functions for SICS configuration.
|
||||
|
||||
# $Revision: 1.1 $
|
||||
# $Date: 2006-08-25 02:44:09 $
|
||||
# $Revision: 1.2 $
|
||||
# $Date: 2006-10-09 03:02:46 $
|
||||
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
|
||||
# Last revision by $Author: ffr $
|
||||
|
||||
@@ -22,11 +22,11 @@ if {$args == ""} {clientput $usage; return}
|
||||
set lowlim [expr $home - $params(-lowrange)]
|
||||
set uplim [expr $home + $params(-uprange)]
|
||||
|
||||
uplevel 1 "$motor home $home"
|
||||
uplevel 1 "$motor hardlowerlim $lowlim"
|
||||
uplevel 1 "$motor hardupperlim $uplim"
|
||||
uplevel 1 "$motor softlowerlim $lowlim"
|
||||
uplevel 1 "$motor softupperlim $uplim"
|
||||
uplevel 1 "$motor home $home"
|
||||
}
|
||||
|
||||
# Use this to create an array of named parameters to initialise motors.
|
||||
|
||||
Reference in New Issue
Block a user