Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I control a servo motor/controller system using Labview?

Hello,
 
I am new to motor control with Labview.
 
I have a Panasonic AC servo motor with controller that I would like to control using Labview.  Currently it is controlled using the supllied software but I would like to integrate it with an existing data acquisition setup.  Is it possible to do this using serial communication between Labview and the Panasonic controller? Or do I need an NI mtoion board?
 
Thanks
 
Dan
Research Assistant
0 Kudos
Message 1 of 13
(12,043 Views)
What model controller are you using?  Is it a true motion controller, or an indexer?
0 Kudos
Message 2 of 13
(12,034 Views)
I do not have an NI controller, just the controller(driver) that came with the motor.
 
Panasonic Motor P/N MSMD011P1S
Panasonic Driver P/N MADDT1107
 
I spoke with someone at Panasonic and they told me I would need a PLC and possibly have to write my own driver.  I am not really familiar with all of this so it didn't make sense to me.
 
I am wondering if it is possible to control the motor through a serial interface and if not then can I use soemthing such as a PCI-7342.
 
Thanks
 
Dan
0 Kudos
Message 3 of 13
(12,027 Views)
I have controlled a Panasonic driver through Labview.  It was only capable of velocity control through the serial interface, and it appears your model is the same way.    Panasonic can confirm that, though.  Also, the driver development was somewhat painful.  The easiest thing to do would be get a stepper controller from NI, and wire that to your drive.  The drive accepts step and direction for position control.
0 Kudos
Message 4 of 13
(12,024 Views)
If someone had this system working by wiring an AO from an NI USB device to the CNX5 connector pin SPR/TRQR on the driver, what might they be doing?  And is this reasonable?
Thanks
Dan
0 Kudos
Message 5 of 13
(12,017 Views)
What is your application?  Velocity or position or torque control?
0 Kudos
Message 6 of 13
(12,013 Views)
Position control
0 Kudos
Message 7 of 13
(12,002 Views)
With open loop analog input, you can only control velocity or torque.  Position control is not possible without a controller.
0 Kudos
Message 8 of 13
(11,999 Views)
I have a LV VI that produces a sine wave motion but crashes out during execution.  It was written by some others and is very messy code.  But it definitely uses a wfrm gen. wired to a DaqMX write .  The  AO CH from the USB device is wired to pins 14, 13 of the motor driver CNX5 connector.  What could this be doing?
I also attached a doc with a screen shot of the analog out portion of the code.

Dan
0 Kudos
Message 9 of 13
(11,996 Views)
I didn't analyze the VI, or look at the pinouts, but I am guessing that it is moving the motor in velocity mode.  Velocity is proportional to the analog signal.
0 Kudos
Message 10 of 13
(11,983 Views)