122 lines
4.1 KiB
HTML
122 lines
4.1 KiB
HTML
<html>
|
|
<head>
|
|
<title> Special SANS Commandos </title>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Special SANS commandos</h1>
|
|
<hr size=4 width="66%">
|
|
<p>
|
|
This section describes some commands special to SANS. One feature of SANS
|
|
is that components are used as a whole rather than referring to single
|
|
motors. For SANS the beamstop, the detector and the sample table are managed
|
|
like this. Within a component each axis can be addressed specificaly by using
|
|
an axis = value pair. Axis defined for each component will be listed below.
|
|
Additionally these components support a common commands as well. These
|
|
mainly deal with named positions. A named position is a set of values which
|
|
can be driven to by just specifying its name. For instance: <b>BeamStop
|
|
PositionA</b> drives the BeamStop to the position defined as PositionA.
|
|
All component drive commands do not
|
|
block, i.e. you can type further commands. If it is needed to wait for a
|
|
component to arrive, use the <a href = drive.htm>Success</a> command right
|
|
after your command.
|
|
</p>
|
|
<h2> Commands supported by all components</h2>
|
|
<p>
|
|
In the following the name of the component will be represented by COP.
|
|
<DL>
|
|
<DT> COP
|
|
<DD> The name of the component alone will yield a listing of the current
|
|
position of the component. This is also a way how to find out which axis the
|
|
component supports.
|
|
<DT> COP back
|
|
<DD> drives the component back to the position before the last command.
|
|
Please note, that back does not operate on istself, i.e. two times COP back
|
|
will not do a trick.
|
|
<DT> COP pos name
|
|
<DD> This command promotes the current position of the component to a named
|
|
position name. Afterwards this position can be reached by typing: COP name.
|
|
<DT> COP defpos name mot val mot val ....
|
|
<DD> this command defines a named position named name. This must be followed
|
|
by a list of motor alias names to run and their values.
|
|
<DT> COP drop name
|
|
<DD> deletes the named position specified as second parameter.
|
|
<DT> COP axis = val axis = val ........
|
|
<DD> drives the component to the new position specified by 1-n sets of axis
|
|
name = value pairs. The axis refer to the internal axis of the component
|
|
which are listed below or can be seen in a listing as created by typing COP.
|
|
</DL>
|
|
</p>
|
|
|
|
<h2> Specific components</h2>
|
|
<p>
|
|
This section lists the components which follow the component syntax described
|
|
above. Furthermore the axis available for each component are listed. Each
|
|
component has two names: a long one and a short one given in parantheses.
|
|
<DL>
|
|
<DT>BeamStop (bs)
|
|
<DD> The beam stop in front of the detector. Supports tow axis:
|
|
<UL>
|
|
<LI>X, the horizontal movement.
|
|
<LI>Y, the vertical movement.
|
|
</UL>
|
|
The beam stop has additional command assoicated with it:
|
|
<ul>
|
|
<li>bsout, drives the beamstop out of the beam.
|
|
<li>bsin, drives the beam into position.
|
|
<li>bschange, inquires the current beam stop.
|
|
<li>bschange par, changes the beam stop to the specified number. Valid numbers are:
|
|
<ul>
|
|
<li>1, no beam stop.
|
|
<li>2, small beam stop.
|
|
<li>3, medium beam stop.
|
|
<li>4, large beam stop.
|
|
</ul>
|
|
<lI>bsfree, when changing the beam stop goes wrong the beam stop may be in
|
|
a locked state. This command releases this lock. Drive with great care then!
|
|
</ul>
|
|
<DT>detector (dt)
|
|
<DD> moves the detector around. The following axis are available:
|
|
<UL>
|
|
<LI>X, the movement along the tank.
|
|
<LI>Y, a movement sideways.
|
|
<LI>phi, the rotation of the detector.
|
|
</UL>
|
|
<DT> sample (sa)
|
|
<DD> the sample table. Support the axis:
|
|
<UL>
|
|
<LI>Omega, sample table rotation.
|
|
<LI>X, translation X
|
|
<LI>Y, translation Y.
|
|
>LI>Z, translation Z.
|
|
<LI>phi, cradle 1.
|
|
<LI>chi, cradle 2.
|
|
</UL>
|
|
</DL>
|
|
</p>
|
|
<h2>The Shutter </h2>
|
|
<p>
|
|
Even the shutter can be opnend from within SICS. Please note, that this will
|
|
only work if the LBC says it is OK, i.e. the enclosure is locked.
|
|
<ul>
|
|
<li>shutter, prints the shutter status.
|
|
<li>shutter open, opens the shutter.
|
|
<li>shutter close, closes the shutter.
|
|
</ul>
|
|
</p>
|
|
|
|
<h2> Usage examples </h2>
|
|
<p>
|
|
<DL>
|
|
<DT> bs X = 12. Y 200
|
|
<DD> moves the beam stop to 12 horizontal position, Y vertical position.
|
|
<DT> bsout
|
|
<DD> drives the beam stop to the previously defined position out.
|
|
<DT> bsback
|
|
<DD> drives the beam stop to the position before the preceeding command.
|
|
</DL>
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|