Initial revision

This commit is contained in:
cvs
2000-02-07 10:38:55 +00:00
commit fdc6b051c9
846 changed files with 230218 additions and 0 deletions

42
doc/user/motor.htm Normal file
View File

@ -0,0 +1,42 @@
<html>
<head>
<title> SICS motor handling </title>
</head>
<body>
<h1>SICS motor handling</h1>
<hr size=4 width="66%">
<p>
In SICS each motor is an object with a name. Motors may take commands which basically come in the form <i> motorname command </i>. Most of these commands deal with the plethora of parameters which are associated with each motor. The syntax for manipulating variables is, again, simple. <i> Motorname parametername </i> will print the current value of the variable. <i> Motorname parametername newval </i> will set the parameter to the new value specified. A list of all parameters and their meanings is given below. The general principle behind this is that the actual (hardware) motor is kept as stupid as possible and all the intracacies of motor control are dealt with in software. Besides the parameter commands any motor understands these basic commands:<ul>
<li> <b> Motorname list </b> gives a listing of all motor parameters.
<li> <b> Motorname reset </b> resets the motor parameters to default values.
This is software zero to 0.0 and software limits are reset to hardware
limits.
<li> <b> Motorname position</b> prints the current position of the motor.
All zero point and sign corrections are applied.
<li> <b> Motorname hardposition</b> prints the current position of the motor.
No corrections are applied. Should read the same as the controller box.
<li><b> Motorname interest</b> initiates automatic printing of any position
change of the motor. This command is mainly interesting for implementors of
status display clients.
</ul>
Please note that the actual driving of the motor is done via the <a href="drive.htm">drive</a> command.</p>
<hr size=4 width="66%">
<h2>The motor parameters</h2>
<ul>
<li> <b> HardLowerLim </b> is the hardware lower limit. This is read from the motor controller and is identical to the limit switch welded to the instrument. Can usually not be changed.
<li> <b> HardUpperLim </b> is the hardware upper limit. This is read from the motor controller and is identical to the limit switch welded to the instrument. Can usually not be changed.
<li> <b> SoftLowerLim </b> is the software lower limit. This can be defined by the user in order to restrict instrument movement in special cases.
<li> <b> SoftUpperLim </b> is the software upper limit. This can be defined by the user in order to restrict instrument movement in special cases.
<li> <b> SoftZero </b> defines a software zero point for the motor. All further movements will be in respect to this zeropoint.
<li> <b> Fixed </b> can be greater 0 for the motor being fixed and less
or equal than zero for the motor being movable.
<li> <b> InterruptMode </b> defines the interrupt to issue when the motor fails. Some motors are so critical for the operation of the instrument that all operations shall be stopped when there is a problem. Other are less critical. This criticallity is expressed in terms of interrupts, denoted by integers in the range 0 - 4 translating into the interrupts: continue, AbortOperation, AbortScan, AbortBatch and Halt. This parameter can usually only be set by managers.
<li> <b> Precision </b> denotes the precision to expect from the motor in positioning. Can usually only be set by managers.
<li> <b> AccessCode </b> specifies the level of user privilege necessary to operate the motor. Some motors are for adjustment only and can be harmful to move once the adjustment has been done. Others must be moved for the experiment. Values are 0 - 3 for internal, manager, user and spy. This parameter can only be changed by managers.
<li> <b> Speed </b>, defunct.
<li> <b> Sign </b> allows to reverse the operating sense of the motor.
For cases where electricians and not physicists have defined the operating sense of the motor. Usually a parameter not to be changed by ordinary users.
</ul>
<p>
</body>
</html>