Delta Tau GEO BRICK DRIVE Manuel D’Utilisation

Page de 294
 Geo Brick Drive User Manual 
Pinouts and Software Setup 
 58 
Setting up Quadrature Encoders 
Digital Quadrature Encoders use the 1/T incremental entry in the encoder conversion table. Position and 
velocity pointers should, by  default, be  valid and in  most cases  no software setup  is required, activating 
(Ixx00=1) the corresponding channel is sufficient to see encoder counts in the position window when the 
motor/encoder shaft is moved by hand. 
 
I100,8,100=1 
; Channels 1-8 activated   
 
Encoder Count Error (Mxx18) 
The  Geo  Brick  Drive  has  an  encoder  count  error  detection  feature.  If  both  the  A  and  B  channels  of  the 
quadrature encoder change state at the decode circuitry (post-filter) in the same hardware sampling clock 
(SCLK) cycle, an unrecoverable error to the counter value will result (lost counts). Suggested M-Variable 
Mxx18 for this channel is then set and latched to 1 (until reset or cleared). The three most common root 
causes of this error: 
Real encoder hardware problem 
Trying to move the encoder (motor) faster than it’s specification 
Using an extremely high resolution/speed encoder. This may require increasing the SCLK   
The default sampling clock in the Geo Brick Drive is ~ 10MHz, which is acceptable for virtually all 
applications. A setting of I7mn3 of 2257 (from default of 2258) sets the sampling clock SCLK at about 
~20MHz. It can be increased to up to ~40 MHz. 
 
 
Note 
No  automatic  action  is  taken  by  the  Geo  Brick  Drive  if  the  encoder 
count error bit is set.