;+
; Project     :	SOLAR-B - EIS
;
; Name        :	EIS_mechanism_control__DEFINE
;
; Purpose     :	Generates structure EIS_mechanism_control.
;
; Explanation : When IDL encounters structure 'STRname', if structure not already defined
;               it looks for routine strname__define and compiles and calls routine to define
;               structure. NB under unix it looks for lower case flename.
;
;               This routine defines the structure :
;
;                 EIS_mechanism_control. Tags are :
;                   slit_direction           : INT direction to move the slit mechanism :
;                                                  -1 : reverse direction i.e 0->3
;                                                   1 : forward direction i.e 0->1
;                   coarse_mirror_range      : [2]UINT +x and -x limits.
;                                              Range is 0x4195 to 0xFFFF and 0x0000 to 0x1408.
;                   fine_mirror_range        : [2]UINT range 0-2400 corresponding to 0-300"
;                                              (was 2927 in previous documentation giving 360").
;                   number_of_slit_changes    : UINT number of allowed slit changes per planning period.
;
; Use         :	<dummy = {EIS_mechanism_control>
;
; Inputs      :	None.
;
; Opt. Inputs : None.
;
; Outputs     : Sets up structure definition.
;
; Opt. Outputs:	None.
;
; Keywords    : None,
;
; Calls       : None.
;
; Common      :	None.
;
; Restrictions:	None.
;
; Side effects:	None.
;
; Category    :	EIS_CPT.
;
; Prev. Hist. :	None.
;
; Written     :	Martin Carter RAL 03/08/04
;
; Modified    :	Version 0.1, 10/12/04, MKC
;                 Changed definition of slit direction.
;               Version 0.2, 24/06/05, MKC
;                 Changed INT values to UINT.
;               Version 0.3, 20/07/05, MKC
;                 Added number of slit changes tag.
;
; Version     :	0.3, 20/07/05
;-
;**********************************************************

PRO eis_mechanism_control__define

  dummy = {EIS_mechanism_control, $
           slit_direction           : 0, $
           coarse_mirror_range      : UINTARR(2), $
           fine_mirror_range        : UINTARR(2), $
           number_of_slit_changes   : 0U }

END





