Hi,
   I explain you a little....This is the purpose of my application: I
   have a to adjust the tilt of a DVD. Therefore I use a servomotor and
   as feedback I acquire a voltage signal. As the motor-torque so high
   is, I cannot read the torquecurrent. This implies that I can never now
   if my regulated screw is so much regulated that can broken the
   system.I thougt that I could enter as parameters the maximum number of
   motor turns per direction and the speed (constant).Right now I only
   need to read the time that is going to know when the motor has
   achieved the maximum number of turns. Parallel I calculate if i've
   regulated so much and have to turn. This turn is stored in a global
   variable and this one makes to reset my timer to start counting again.
   The idea is that if for example I give a maximum of 3 turns and in the
   second turn I have to turn in the other direction my counter resets,
   so that I can turn again a maximum of 3 turns. I hope this clarifies
   you everything a little.
I really appreciate your help. Thanks a lot!

Angel

Reply via email to