## TASMAD Commands

    AU  AUto          : Put motors in auto mode, positions are updated.
    AS  ASsign        : Assign Power Supplies.
    CK  ChecK         : Checks syntax of jobfile.
    CL  CLear         : Unfixes one or more motors or power supplies.
    CO  COunt         : Counts for given preset TIme or MoNitor.
    DO  DO            : Runs a jobfile without testing the syntax first.
    DR  DRive         : Changes a variable and drives spectrometer to
    			its new position.
    EX  EXit          : Exit.
    FI  FIx           : Fixes a given motor or power supply, FIx without
    			argument will give a list of fixed motors and
    			power supplies.
    FM  FindMax       : As FindZero but SetZero is not performed, the
    			spectrometer is only driven to the maximum.
    FZ  FindZero      : Scans a simple variable, finds maximum, drives to
    			maximum and performs a SetZero with the given
    			value.
    HE  HElp          : The MAD help facility in started up.
    LI  LIst          : Listing of variables and parameters.
    			LE ListEnergies    Energies, k and Q values.
    			LL ListLimits      Limits and zeros.
    			LZ ListZero        Limits and zeros.
    			LM ListMach        Machine parameters.
    			LS ListSample      Sample parameters.
    			LT ListTargets     Targets and positions.
    			LD ListDiaphragms  Diaphragms.
    			LP ListPower       Power supply values.
    LO  LOg           : Controls terminal logging.
    MT  MTe           : Move temperature to new value.
    OF  OFf           : Turns flipper off.
    ON  ON            : Turns flipper on.
    OU  OUtput        : Defines output variables.
    PA  Pol.An.       : Defines a polarization analysis file (default
    			file ext'n is .PAL).
    PL  PLot          : Plot a spectrum on the terminal.
    PR  PRint         : Prints one ore more variables or parameters.
    PT  PTe           : Set temperature and Pause.
    RT  RTe           : Read temperature from ILLPTC.
    RU  RUn           : Runs a jobfile.
    SA  SAve          : Makes a TMP**.SCN file permanent as next SV****.SCN.
    SC  SCan          : Scans a variable with given or previously
    			defined increment, number of points and
    			time interval or monitor count.
    SE  SEt           : Sets a parameter value.
    SF  ScanFast      : Scans a variable quickly.
    ST  STatus        : Gives status of one or more motors.
    SW  SWitch        : Sets some switches.
    SZ  SetZero       : Set zero in such a way that value as given
    			is defined as actual position of variable
    			(works only for simple variables, i.e.
    			variables that have a zero).
    WA  WAit          : Wait for temperature to be within range
    			(target_temp-DTL) to (target_temp+DTU)
    			or time-out of TO minutes.

## Special commands

MAD recognises the following special commands:

set title ...
  Sets the title string (up to 72 characters) to be written to the data file header.
set user ...
  Sets the experiment user's name (6 characters).
set local ...
  Sets the local contact's name (6 characters).
set xou 0
  Turns off the log file.
set xou 1
  Turns on the log file.
! ...
  Any command line beginning with ! will be ignored (comment).

Comment by DM: From looking at the code, I think that the "set xou" commands should not be used any more. They seem to have been superseded by the log command.