Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Tune prior to running motion control program (LabVIEW)

Hi,

I am controlling Parker Compumotor (404-LXR) linear servo table via GV6 drive and PCI-7344 motion controller.

The problem is that I always have to run automatic tuning in MAX when I turn off all the system and restart it.
Before I use the automatic servo tuning in MAX, the servo table buzzes and oscillates wildly. Cabling seems to be successful as linear servo motor is completely controlled by LabVIEW after auto tuning in MAX.
I wonder how I can just run my LabVIEW program without running Auto Tune step.
0 Kudos
Message 1 of 4
(3,629 Views)
Hello Gino,

Thank you for using our discussion forums. Yes, you can programmatic load the PID parameters from LabVIEW. Tune your servo using auto tune, once you are satisfied with the response look under the Control Loop tab for the PID parameters. In LabVIEW use the Load All PID Parameters.flx and use the tuned parameters from Measurement and Automation Explorer as the PID Parameters input for this VI. Place the VI before the multistart.vi. This will make sure the correct PID settings are used. I hope this helps you out. Have a nice day!

Regards,
Nipun M
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,620 Views)
Gino,

It should also work to just make sure that the PID values your system needs are stored in the MAX configuration database. Then when you call the Initialize VI, your PID values will be sent to the board before the axes are enabled.

Another solution is to store the PID values to FLASH on the motion controller. That way whenever the axes are enabled, your correct PID values are already being used. See the Documentation in MAX for how to save configuration settings to FLASH.

You should never have to autotune a system each time you power it on.

Rodger S.
0 Kudos
Message 3 of 4
(3,616 Views)
Thank you.

Message Edited by Gino on 04-07-2005 08:50 AM

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