You
may have tried this, but it may be that you're encoder is backwards. If
the encoder is backwards, it will run away. You can either turn the
encoder around or you can set the direction in MAX under the Encoder
Settings. It could also be your PID tuning. Try setting the Integral
and Derivate to zero and start out with adding only Proportional Gain. You
can also verify that the controller is reading the encoder under the calibration
menu in MAX. With the axis killed, you can manually move the motor and
verify the encoder counts increment/decrement. You may have an issue with
the encoder alignment.
Hope
this helps,
Guy
Holland
Intralase Corp.
-----Original Message-----
From: PJ M [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 18, 2004 3:00 PM
To: LABVIEW INFO
Subject: Hardware Motion Control QuestionHi Everyone.I am asking this question on a behalf of a collegue of mine.Before I go to the specific of the question, I just want to mention that he has try to contact NI twice and since he had no access to the subscription number, he was turned down twice. Since he his the one doing all the hardware ordering, well let just say he vowed never to order a thing from NI again. I do believe that NI new support policy is a big mistake.Now about the question.We have a PCI-7344 card along with a MID 7654. 3 axes connected to the MID 7654 are done using a typical differential line driver encoder (and they all work fine). Now we just decide to add a fourth axe and we bought a DC Micromotor Series 2342-048 CR with a HEDS 5540 3 channel encoder from MicroMo Electronics. We are trying to connect this motor using typical single ended encoder with a 2.2 kOhm pullup resitor and we are having problems. At best the motor spin but we can stop it only by killing it, and we have no control over the velocity.I seem to remember someone mentioning using motors from MicroMo Electronics. Can anyone gave us some advice or directions to try to figure out if that motor can work with our setup ?RegardsPJM
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
