11-29-2009 04:57 PM
Hello, I was wondering if there is a way to reduce the number of counts read from my encoder per unit rotation (currently at 1000 counts per revolution) by the MAX. Currently, it is apparent that I need less than 1 proportional gain to get a good shape for further calibration and this cannot be done with MAX. With a lower resolution, this problem would be solved as I would be able to do a large enough unit step for my step response test so that proportional gain can be changed to a suitable value (an integer).
Your help would be much appreciated.
11-30-2009 10:11 AM
Hey rustawilliams,
The encoder resolution is more a function of the encoder itself and less a function of MAX. The resolution of the encoder dictates the number of pulses per revolution of the encoder. So, in your case if your motor moves one rotation, your encoder will give 1000 digital pulses. The resolution you see in MAX tells NI Motion how many pulses from the encoder to expect per revolution of the motor. If you were to set this resolution in MAX to say 2000 and tell your motor to move 1 revolution, your motor will only actually move 2 rotations. So, you can change this setting in MAX, but it won't change the actual number of pulses being sent from your encoder.
12-02-2009 04:19 AM
As Ben has already said, reducing the physical resolution of the encoder is not possible with an NI-Motion board (by the way, which board are you using?). Still there might be other options to solve the issue:
Kind regards,
Jochen Klier
National Instruments