09-12-2008 10:32 AM
Hi,
I'm using a PXI-7358 to interface a third party drive and servo motor in a bench test proir to installation.
When outputing a positive command signal for clockwise motion the motor ran in reverse i.e. counter clockwise. Can the polarity of the command signal be changed in MAX?
This has been solved by changing the motor setup to have a ccw forward direction but I would prefer to change the polarity in MAX as that way the encoder feedback would agree between MAX and third party motor driver software.
Also when bench testing a motor is it neccesary to provide an appropraite level of resistance?
I have resorted to reducing the max and min torque voltage outputs from -+ 10v to 0.5v.
Wthout this measure when using One-D interactive MAX output the maximum 10v no matter what rpm was requested in velocity opetration mode. When using position mode, output would initailly be maximum in the wrong direction (question 1) or a square wave of +-10V. Auto tune also produced maximum PID values. I'm guessing MAX starts by outputting maximum voltage at the start of a move inorder to delivery maximum torque then adjust according to encoder feedback. The reason I'm bench testing is the device that will be motored is v. expensive so i would like to be confident with the system before i install it.
many thanks
Darren
09-22-2008 04:11 AM
Hi scoobydont,
I hope your well.
I was wondering if you could give me an update of your application?
Im more familiar with stepper motors, which you can change the polarity of the direction signal (which inverts both the step and the dir lines).
Could you also state again what your trying to do, and I will try to answer the points,
Are you trying to tune your servo motor? there are some excellent KBs on this.
With the benefiting, I would have thought you would need to test it at appropriate level of resistance, otherwise your values maybe erroneous.
Kind Regards
09-23-2008 05:44 AM
09-23-2008 06:22 AM
If you want to reverse the direction of rotation, you will have to reverse both, the motor cabling and the encoder signals. To reverse the motor direction, you should swap the Motor+ and Motor- connection of your drive. To adjust the encoder to this change, you could either swap the cabling for Phase A and Phase B of your encoder or you could reverse the polarity of one of the two phases in MAX (encoder settings).
I hope this helps,
Jochen
09-25-2008 04:33 AM
Thanks for your reply Jochen
we are using a reference single ended command line connected to AO1 and AOGnd that didn't like being reversed so we are content to continue with the system as it is.
However I am now working on a second motor that had the same problem that we have resolved by applying your recommendation.
many thanks
Darren