Tasks July 1999

Doing experiments at CMC will require a complete Spec installation, with the interface to Epics set up properly talking to all of the motors, with pseudomotor and macro code completed, and motor motions and macros tested.  This memo documents some of the things done in July 1999 and some still to be done.

Spec installation:

Spec is installed on the computer by the FOE (scooter.cmc.aps.anl.gov), but has not been configured.  The computer is currrently being used to run FOE components through Epics.

Fourc version 4.04.04 has been installed on the office computer (cmc2006.cmc.aps.anl.gov), and configured for all real motors currently anticipated for FOE, SOE, and B hutch components, including the six-circle diffractometer.  Here is a backup copy of the config file.  The config file contains everything necessary to access real motors through Epics on the first three VME crates, which are:

The interface to 9ida: was tested, then the IP address removed from the access list to avoid accidents with the FOE components.  Communication with 9idcs1: was established successfully.  The 9idb: crate still needs to be built.

No counters or other non-VME hardware were defined in Spec. Surf (needed for the liquid surface spectrometer) is not installed on either machine.

Epics and hardware

The SOE VME crate has been built and booted, and one motor record configured in an attempt to spin one of the table leg motors.  We did succeed in getting this motor to twitch, with Spec, through Epics!  Now, the entire Epics database for all SOE and B hutch motors has to be entered, and each motor has to be tested to check the parameters.  I'm sorry to say that at least one of the 16 25-pin driver cables we made has a short in it.  I checked for opens and shorts to the shield, but they need to be checked for shorts between pins.

The SOE and B hutch tables, and six-circle diffractometer, are now in the hutches, with motors hooked up.  The six-circle is wearing its four-phase motors at the moment.

Wherever Epics defines a pseudomotor that Spec needs to access, an additional Epics record must be made to allow Spec to access the pseudomotor.  This task has hardly been started.  Until it is done, Spec will have no control over white beam masks or slits.  There may also be problems with the B hutch table and the monochromator control.  After this has been worked out, these pseudomotor records have to be added to Spec's config file.

Spec macros

Macro files have been written to control the beamline slits, the SOE table and mirror, and the B hutch flight path.  All of these macros have been tested cosmetically in a dummy setup of Spec,
and seem to be working.  They need next to be tested with real motors.  Macros for the B table have not been written.  The B table has three horizontal translators which I would like to define as pseudomotors in Epics.  I plan to provide the geometry for this, then Arun can enter the records.

The monochromator macros are not really started, I would like more info before making certain decisions about these.  I made an attempt to find out how the Kohzu is used at SRI-cat, but haven't connected with the right people yet.  Once this happens, the Escan-type Spec macros need to be checked out.  I should probably talk more with Arun about the best way to change the energy: for example. by using epics_put on the energy variable?  On the lambda variable?  And so on.

To-do list:

It would be possible to go over this list and find out which ones depend on the others, and work out the best order for proceeding.  I can help with this if requested.  Meanwhile, this is a core dump.

  1. Build / boot 9idb: VME crate, establish communication with Spec.
  2. Create Epics databases for SOE and B hutch crates (Scott needs to give motor parameters to Arun).
  3. Test motion of each motor through spec.  (Re-check the 25-pin driver cables for shorts between pins.)
  4. Install Fourc version 4.05.01 on both computers
  5. Install Surf, latest version, on both computers
  6. Put Spec macro files in the correct directories (Elaine can do this, if solids.phy.bnl.gov is added to the cmc access list, and specadm password made available.  Or give me the root pw and I'll fix the write permissions myself.)
  7. Configure Spec for counters/detectors
  8. Finish writing monochromator macros; start from Jonathan Lang's versions at SRI-cat.  (Elaine will look at this, if Arun can get them.)
  9. Give spec access to 9ida: and test monochromator macros and Escan.
  10. Write the Spec-accessible pseudomotor records,  put the Epics pseudomotor records into the Spec config file ,and test them.
  11. Finish B table macros: dependent on Epics pseudomotors (Arun) and geometry definition (Elaine).

Additions to this memo are welcome, just send them to me and in they go.

    Elaine (dimasi@bnl.gov)