$               This information is provided by the
$                       Aptronix FuzzyNet
$                 http://www.aptronix.com/fuzzynet 
$                  email fuzzynet@aptronix.com 
$               Aptronix may also be reached by phone
$                       at 408-261-1898 or
$                       FAX at 408-490-2729
$
$
$ SPINDLE                                                                                                   }                            
$ disk drive spindle velocity control
$ brian tremaine 6 July 1993 
$ revised 9 Aug 1993

fiu tvfi (min max) ; 

>xd_err "bits":-128()127 [
      Neg_Large (@-128,255, @-32,255, @-16,0),
      Neg_Med   (@-32,0,    @-16,255, @0,0),
      Zero      (@-16,0,    @0,255,   @16,0),
      Pos_Med   (@0,0,      @16,255,  @32,0),
      Pos_Large (@16,0,     @32,255,  @127,255)
    ];
                               
<voltage "bits":  0()255* ( 
          Neg_Large =  0.0,    
          Neg_Med =     64,    
          Neg_Small =  128,  
          Zero =       192,
          Pos_Large =  255          
        );  

$ rules start here:

if xd_err is Neg_Large then voltage is Neg_Large;
if xd_err is Neg_Med then voltage is Neg_Med;
if xd_err is Zero then voltage is Neg_Small;
if xd_err is Pos_Med then voltage is Zero;
if xd_err is Pos_Large then voltage is Pos_Large;

end