Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Encoder polarity

Hello,

 

I'm using a  MXI controller card to a PXI 7344 motion controller and a NI MID-7654 servo drive.

 

The servo works, but the encoder counts in the negative direction.  I can changed "line A" to active high and the encoder counts positive, but the motor moves too far and I get following errors.  I have tried different combinations of lineA/LineB/index active high/low, but the current setting is the only way that I have found to avoid the errors.  Any suggestions?

 

 

 

Message Edited by vt92 on 03-12-2009 03:46 PM
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 1 of 3
(4,241 Views)

My initial guess is that you have the A and B channels mixed up in wiring from the encoder to the controller.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 3
(4,235 Views)

I agree with AK2DM. There is no standard that defines which is phase A and B of the encoder, so you typically have a 50% chance to find the correct setting right from the start. In older NI-Motion versions you would have had to change the wiring, but in newer versions you just need to adjust the settings in MAX.

 

If your motor still doesn't move correctly, this sounds like a tuning issue. Please visit the Understanding Servo Tune tutorial for more information about this topic.

 

Regards,

 

Jochen Klier

National Instruments

0 Kudos
Message 3 of 3
(4,216 Views)