02-21-2007 07:53 AM
02-21-2007 09:04 AM
I'm thinking that the directions of the encoder counts and the motion can cause this problem but I can't think of a solution. Is there a way to change the polarity of the encoder except that the encoder settings tab of the MAX as I tried it already.
ggenc
02-21-2007 09:49 AM
You could try swapping the encoder channels around.
Have you tried to tune your system. This is a micro motor with hardly any inertial, thus I would suggest trying to turne your servo loop response.
See:
http://zone.ni.com/devzone/cda/tut/p/id/2923
02-22-2007 01:03 AM
02-22-2007 01:32 PM
ggenc,
The behavior you are describing sounds very strange, I would like to get some more information from you to help diagnose the problem.
Are you seeing this behavior in the 1-D Interactive window in MAX directly after you perform an initialize, or do you start motion before you see this problem? Is your allowed following error set to 1000? Have you tried changing it to another value, if so what happens?
Also, you can change the polarity of your encoder signals without swapping the lines, by simply going to your axis' encoder settings tab.
Regards,
Jasper S
01-11-2021 02:14 PM
I understand this is from 14 years ago and you may no longer be active.
Did you ever resolve this issue? We are having a very similar problem with the counts being off, the motor moves when halted form NI MAX etc., and I'm running out of ways to diagnose this near-legacy hardware.