Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

UMI 7774 / PCI 7344 Connecting problems to Servo Motor Drive ( 1 Axis )

Hello,
 
I really reaaly need help in this:
I have UMI 7774 and PCI 7344 and i have problems to  Connect it to my Servo Motor Drive.
I connect the pins of the control connector of the UMI-7774 (Axis 1) as i describe in the image i attach.
 
PLEASE, i appriciate any help, because its not working..
 
I succeed to start the Servo when i connect only pin#1 and pin#9 (Analog Output of the UMI) to the motor drive
and use another DAQ card to Enable the Forward/Reverse (pin 14/15 in the motor drive)
then i use the Example "Simple One-Axis Move.vi" from LabView Examples. and its work, the motor move.
But i dont know how to control it using MAX (Velocity,RPM,etc...)
 
All i need is to build a verry simple VI with these controls :
 Forward and Reverse 
Gauge or Knob to control the RPM (or Control Something else,
Velocity or anything that let me to change the servo motor speed from
 Zero to its MAX RPM defined on the 3'rd party motor drive. i set it now to 2000rpm)
and i need a way on this VI to monitor the Current RPM.
 
Thanks for any help.
Please see the attached image.
 
I'm Using LabView 8  + Motion Assistant 1.3 + Latest Driver of motion.
 
Regards,
Moti Mor.
 
 
 
 
 
 
 
 
 
0 Kudos
Message 1 of 9
(6,472 Views)

Hi lll,

 


To learn how to control the servo motor using Measurement & Automation Explorer (MAX), please view the Measurement & Automation Explorer Help for Motion, which can be accessed in MAX by going to Help >> Help Topics >> NI-Motion >> NI-Motion Configuration Help.

 

 

As seen by page 3-8 of the UMI-7774 manual, pins 1 and 9 are used to control servo motors, whereas pins 4 and 12 and used to control stepper motors.  Some discrepancies I see on your attached JPG file are that you use pin 10 (instead of 9) as the analog ground and I’m not sure why you would be using pins 4 and 12 if you don’t have a stepper motor (or did you mean to draw pins 14 and 15 from a separate DAQ card?).  

I would definitely suggest looking at the NI-Motion User Manual as well, which explains various motion moves and parameters you can program. 

 

As for creating your Motion program, there are many shipping examples in LabVIEW that can be find in the NI Example Finder (go to Help >> Find Examples >> Hardware Input and Output (folder) >> Motion Control).  If you click the search tab, it may help you find specific applications that you are interested in based on key words.  Other example code can also be found on our website.

 

Hope this helps,
Irene Chow
National Instruments
Applications Engineer

 

 
0 Kudos
Message 2 of 9
(6,450 Views)

Dear Irene

Thank you very much for your reply.
I understand from your reply that i'm doing some mistakes..and i guess i need to learn more about How to make my Servo motor move...

You are right, i have mistake in my drawing i attached.
Its Pin#1 and Pin#9 that connected to the Analog output (and not pin#10, its mistake in my draw..)

And Now for what i probably didnt understand after reading a lot of manuals and the help for Motion (From MAX)
If i understand what you wrote to me, I Dont need to use Pin#4 and Pin#12 in Order to control the Forward and Reverse Move Of My Servo?
If So, Then How I control the Forward and Reverse Move?
I also Notice that if the Forward/Reverse Inputs (Pin 14 and 15 in the Motor Drive) Not Set (24vdc) than the servo not move!

So, Do i need to Set the Forward Input in the motor drive from Other DAQ card? 

Can i Connect pin 14 (Forward) in the Motor drive to constant 24vdc, that make it move only forward, 
and if So, How Do i control from MAX or Motion Assistant the Direction and command the servo to rotate Reverse?

to make a long story short, if i understand your reply, i dont need to connect pin#4 and Pin#12 at all.
Only to connect pin#1 and Pin#9 to the Analog inputs in the Motor Drive (pin1 and pin 2 in the motor drive)

How the Motor drive get the Forward/Reverse (F/R) Input? from other DAQ card?  do i need to control the F/R from the digital IO of the Motion Controller?
Is there a way to tell the servo to rotate reverse when the Motor Drive set to move Forward (By input 24vdc into pin 14) ?

I'm going to read the help & Manual again, while i'm waiting to your replies.
I really need direction here....

attached the new draw. i correct it.

Thanks in advance,

Moti Mor.

 

 

 


 

 

0 Kudos
Message 3 of 9
(6,447 Views)

Hi Moti,

Yes, you only need pins 1 and 9 if you are controlling a servo motor.  These outputs have a 16-bit resolution and range from +/- 10 V.  If the voltage is positive, the motor will go in one direction; if the voltage is negative, the motor will reverse.  I'm not sure what the pins 14 and 15 on your drive are for; it's possible (although not common) that your drive may be configurable for both servo and stepper motors.  Also, you may want to make sure that pins 1 and 2 are the correct pins that the controller's analog signals should be connected to.  Please read the manual for the drive or contact the drive manufacturer. 

P.S.  I found an online article that you may find useful: Fundamentals of Motion Control.  There's a link to an interactive presentation that takes you through the material as well. 

Hope this helps,
Irene Chow
National Instruments
Applications Engineer

 
0 Kudos
Message 4 of 9
(6,431 Views)
 

Hi Irene,

Thanks for helping me with this.

I already view the Fundamentals of Motion Control
The Servo Drive Motor Configured by the agent that sale the servo motor to us and install it in our lab
in this way :   

pin_1 and pin_2  is analog input, where pin_1 is 10V and pin_2 is analog ground.
when the input is 0V the motor Stop. when the input is 10V then the servo move in the MAX RPM that defined on the motor drive.
The Motor Drive have Control Pannel that i can access it's functions (its call CP = Customer parameters) and set the Max RPM to the level i want,  where 4000RPM is the Maximum.

So, the Analog input in the motor drive controls only the speed (in rpm) , lineary [0 v]  to [10 v]  represent  [0 rpm]  to [Maximun rpm]
He also define the motor drive that pin_14 is 24vdc digital input indicate that the Motor rotate Forward,
and pin_15
is 24vdc digital input indicate that the Motor rotate Reverse. If both pin_14 and pin_15 is set than the Forward "wins" and the servo motor will rotate Forward.

He also set pin_20 to be the common +24vdc output. and pin_16 is for Emergency stop.

all the pin assigment of the motor drive is in my drawing (the jpg i attached).

the main problem i think is that i dont know what controls the servo moving Forward or Reverse.
the Analog input in the motor drive is set to  [0 v]  to [10 v]  and we cant change it.
I really dont have problem to control the  pin_14 and pin_15  (24vdc digital input indicate that the Motor rotate Forward/Reverse)
from other DAQ card (or the digital I/O of my PCI-7344).

BUT, i though that the pci-7344, and the umi-7774 that i have should handle ALL the operations i need to drive the servo.
It looks like the umi-7774 connected to the motor drive only with 2 pins from the Control connector (pin#1 and pin#9)
and the Encoder of the servo connected to few pins in the Feedback connector and thats it.
So why all this BIG umi with all the pins that 80% of them NOT IN USE??

If that is the configuration, than i connect all the pins OK, the encoder also connected with no problem
cause i did a simple test, i open MAX and reset the encoder position, and when i move the motor by hand,
the encoder position in MAX changes.

Please, Let me know why i cant move the motor when i use My Motion Assistant 1.3
The only way that the servo moves is when i control the Forward/Reverse from other DAQ card,
and use some sample program that move the servo motor,
i use "Single Axis test.flx" from the "LabView 8\Examples\Motion\FlexMotion\Demo"

thanks for your help.
i really learn about all this from you. this things not written in any manual or help files
cause there is a lot of difference from Motor drive to motor drive , and there a lot of cases to configure and you get lost...

Thanks, wait for your reply to make things clear.
i think the main issue is that the analog input in the motor drive is  [0 v]  to [10 v]  and not  [-10 v]  to [10 v]  as you wrote in your reply.

 

Moti Mor

 

0 Kudos
Message 5 of 9
(6,426 Views)

Hi Moti,

 

 

It sounds like your drive is expecting a voltage of 0 to 10V and is using separate digital lines to determine the direction of movement, whereas our controller gives servo drives the voltage range of -10 to 10V.  A possible workaround might be to limit the controller output to a 0 to 10V range using some external circuitry (this goes beyond the help officially supplied by NI) and use the DIO lines from the Motion controller (or DAQ card if you prefer) to feed into the forward/reverse lines of the drive.  Then test this setup extensively in MAX (under 1D Interactive, as described in the Measurement & Automation Explorer Help for Motion that I mentioned in a previous post); please do not test your motor in Motion Assistant until you have confirmed it moves correctly in MAX.

 

 

All the information you need about the pins of the UMI-7774 are found in Chapter 3 and Appendix A of the UMI-7774 User Manual.  The reason why there appears to be many pins that you are not using is because a) there are pins for 4 axes of motion and you are only using one axis and b) the pins give you lots of additional functionality that is not absolutely essential (such as limit switches, triggers, breakpoints, analog feedback, digital I/O, and inhibit lines).  

 

 

 

Best of luck,
Irene Chow
National Instruments
Applications Engineer

 

0 Kudos
Message 6 of 9
(6,418 Views)
 

Dear Irene,

In MAX  under "PCI-7344(1) \ Default 7344 Setting\ ADC Settings "  
ttp://zone.ni.com/devzone/conceptd.nsf/webmain/49DF38E12B0A65CA86256B9D006FF821 
I set the "ADC Range" to 0-10v.

Why i need to set the ADC range to -10v to 10v ?
is the -10v to 10v range is the only range i need to use?

If So, i need to ask the agent that sale to me the servo to come and change the servo motor drive so
the analog input of the motor drive accept this range  -10v  to 10v  and canceling the digital input
in the motor drive from Forward and Reverse.

I'm sorry for asking more and more questions, but my local ni office cant give me answers for this,
probably they dont have enough knowledge about servo motors,
its very difficult for me to use hardware that its very hard to configure and i need to learn all by reading manuals,
as you already notice, english its not my language and its make it more difficult to learn how to configure the 7344 controller
and configure all the parameters from MAX.

Thanks again for helping me in that.
I also want to ask if there is a phone number that i can call 
to ni application engineer, or maybe i can call you ?
i want to configure the MAX parameters while i'm talking with ni application engineer.
If so, please tell me what is the phone number and i schedule a time that i call,
cause there in ~8 hours different between me and the us.

Thanks a lot,

Moti Mor



 

 

 

 

 

0 Kudos
Message 7 of 9
(6,408 Views)
P.S.
 
When i use the "1D Interactive" in MAX the servo moves for some miliseconds and than stops with
"Following Error" and i read all the knowledgebase articles about that and try all the things that these knowledgebase
says to do , but i still get the "Following Error"
 
When i use the one of the samples from LabView Examples, Demo for One Axis,
the servo motor run at the MAX rpm and it not stops until i hit the "Kill Axis".
 
PLEASE  HELP
 
its frustrating to configure the motion controller,
its not intuitive like all other devices that i already configure ( FieldPoint, pci-1429 Vision IMAQ, digital IO pci-6509 )
and as i say its frustrating  cause i buy a hardware, pci-7344 and umi-7774, and i dont know how to use it.
and now its look like the controller cant be configured in order to use the servo motor as i want.

ITS ESSENTIAL FOR ME TO CONFIGURE THE SERVO PERFECTLY
CAUSE THE MAIN APPLICATION NEED TO USE THIS SERVO MOTOR
WITH VISION, I ALREADY CONFIGURE MY IMAQ DEVICE, PCI-1429(Camera Link)
AND FINNALY I NEED TO USE THR RTSI CABLE TO SYNC BETWEEN THE VISION AND MOTION,
ITS VERY HIGH SPEED APPLICATION THAT NEED TO IMAQ+PROCEES MORE THAN 20 OBJECTS PER SECOND.
 
NOW I CANT CONTINUE, CAUSE I CANT CONTROL THE SERVO MOTOR.
PLASE  HELP .

Thanks again

Moti Mor

 

 

 


0 Kudos
Message 8 of 9
(6,403 Views)

Hi Moti,

 

 

In the ADC Settings for Motion Controllers article you posted, it mentions that “you must enable a channel to use it as an analog input.”  The ADC Settings are used to configure the voltage range for analog feedback from a sensor, not the analog output (the DAC channels) that is used to control the motor.  I believed you mentioned that you are using encoder feedback, so the analog (ADC) feedback channels should be ignored.

 

 

If you need a walkthrough of configuring the MAX parameters, the best way is to literally go one-by-one down each setting and tab listed.  Please click on the “Show Help” button in the upper right-hand corner of MAX; when you move your mouse over each parameter, it will give you information on what each parameter means.  There is also an older article called Axis Settings for Motion Controllers, which will not look exactly like the most recent version of NI-Motion, but it gives explanations about the parameters which will still apply.  

 

 

I’ve contacted the applications engineers at NI India (is that the country in your time zone?) so that they can speak with you directly about your issue.  If you have paid for support, you can create a service request online as well.  

 

 

Regards,
Irene Chow
National Instruments
Applications Engineer

 

 

 
0 Kudos
Message 9 of 9
(6,383 Views)