Motion controller card need to program PWM or not?

I just want to know about motion controller card (coz may be i will use it)
First, Motion controller card need to program PWM for drive DC motor or not? (If I want to control the dc motor by PWM signals!)
Second, If my motor have encoder (increment) the motion controller card can be read the position or speed directly or not?
Third, Normally motion controller card need Labview for programming or not?
Lastly, Please, could someone give me some example programming or .vi for basic closed-loop dc servo motor ?

bkk,
here are the answers you are looking for
Motion Control boards like the PCI-7344 generate a +/-10 V signal to control DC axes. As they can't provide enough power to drive a motor directly an external power amplifier like the MID-7654 or a 3rd party drive with a +/- 10 V command input is necessary. Typically these power drives generate  PWM power signals for the motors.
All NI motion control boards provide inputs for quadrature encoder feedback (position and velocity).
The NI-Motion driver provides a well documented API for LabVIEW, C and other programming languages.
After installing the NI-Motion driver you will find lots of example programs for LabVIEW and C that demonstrate every aspect of the boards' functionality. NI motion controllers run the control loop in hardware so the examples will work for both, closed loop and open loop (stepper motor) applications.
I hope that helps,
Jochen Klier
National Instruments Germany

Similar Messages

  • Calling dll of Leetro MPC08 PCI motion controller card problems.

    Hi,
    I have been trying to develop an application using Labview 8.5.  I need to control a motorized linear stage which uses the Leetro MPC08 PCI motion controller card.  The manufacturer gave me example VIs which I configure to call "c:\windows\system32\MPC08.dll".  About four months ago, I remembered that i tested them and they seemed to work somehow (but I did not finish the full test since i was busy doing other things).  Nevertheless, when I got back to continue my development a few days ago, i just could not get the same old VIs to work.  I could only get one library function of the card to work which is the "auto_set" which returns "4" which is the number of axes that the card can control.  The next function I need to call is "init_board" but this one keeps returning "-3".  The manual indicates that any negative number returned means there has been something wrong.  I would guess it is "PCI initialization fails" but honestly do not know for sure.  Can anyone help?  My computer is a PC running windows XP. 
    Thanks in advance for any kind help offered.

    Hi,
    Wrapped VISA call means that the SubVI contains a set of VISA calls.
    If you are calling the VI's individually it is possible that the VI's need to pass a reference to each other, so they might not work if run individually.  Hard to know without the DLL docs, so to speak.  It could be possible that there is no need to pass references between subVI's.
    Direct VISA calls are probably not necessary if the device runs with the vendors software.  The main goal was to verify functionality with either VISA or vendor app.
    Ok I was looking at the Leetro web site, you can forget the VISA stuff as it is a PCI card, duh... you said that at the begining. :-)
    The manual says Win2000 or XP.  is this being run on two different systems?
    Mark
    Mark Ramsdale

  • Error -10401 appears when I try to read in my Encoders (TTL-Signa​l) via a LabView-"n​uDrive 2SX-411" and Motion Controller Card

    Hy there.
    Im using two "Haidenhain ERN 420" Encoders with TTL-Output Signal
    A NI-Motion Controller 7334 with an NI-"nuDrive 2SX-411"
    When I try to Read the Encoders Position (with ex.-Programm/Source) the Message: "Error -10401 occurred at AI Group Config ... the specified device is not a NI-product" appears
    Can anybody help me to initiallize/Use the Encoders in Labview 6.01?
    thanks, phil.

    Phil,
    It looks to me according to the error that you were trying to use DAQ functions to access the Motion controller. The Motion controller uses its own functions. There are two for reading position:
    Functions Palette >> Motion & Vision >> Flexmotion >> Trajectory Control >> Read Position.
    Functions Palette >> Motion & Vision >> Flexmotion >> Analog & Digital I/O >> Read Encoder Position.
    You may find a useful example in:
    C:\Program Files\National Instruments\LabVIEW 6.1\examples\Motion\FlexMotion\One Axis.llb\One Axis Move with Position Monitor.vi
    Make sure that you have configured and initialized your board properly in MAX.
    I would suggest that you post your question on the Motion Control section and not in the LabVIEW section. Also, check the Dev
    elopment Library section of the NI Developer Zone for the Motion Control section with tutorials and example code.
    Good luck!
    Nestor.
    Nestor
    National Instruments

  • Id like to be able to initialize my 7344 Motion Controller card from within Labview and not through motion and automation explorer

    Every time I boot my PC , I have to reinitialize my 7344 through Motion and Automation Explorer  in order for it to work. Does anyone have any suggestions as to how to initialize it from within labview itself?
    thanks

    Hi,
    I am sending you a Vi for initializing the controller.The only thing you have to do is that you need to use sequence structure. In the first sequence you need to use the VI which is attached i.e 0 (default). Then the next sequence will be the program itself.
    So that as soon as you run your vi the first thing done will be initialising controller using LabVIEW. Then your program will run.
    Here the led in the front panel will glow green only the first time you are initializing.The next time it will be dim but no doubt your initializing will be taking place.Hope this vi solves your problem.
    Thxs
    Manish Karnik
    Application Engineer
    Cruiser Controls
    Mumbai, India. 
    Attachments:
    Initializing controller.vi ‏42 KB

  • PCI-7344 motion controller encoder reset problem

    I'm using a PCI-7344 motion controller for my application. I'm currently working on simple display of position and velocity using an encoder. I am able to read the encoder pulser, but I am unable to reset it. I want the encoder pulses to be display continously till I press a reset button on the screen. After pressing the reset button on the front panel, the encoder count should become zero and start counting again till I press stop button. Kindly give me a simple example of encoder reset using push button. Thanks.
    Regards,
    Giridhar Rajan
    Cruiser Controls
    Mumbai, India

    This should do what you are looking for.  I am not at the computer that has a motion controller card in it, so I have not tested it. 
    It resets the encoders for Axis 1 and Axis 2.  Unless you have a different configuration for encoders and axes, it should work.
    Hope that this helps,
    Bob
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]
    Attachments:
    Reset encoders.vi ‏66 KB

  • PWM PID loop on 7344 motion controller

    I need to control motion by PWM, with the help of 7344 motion controller.Please verify if it possible or not, and how can I do it.Please provide me(if it possible)any example of solution of this problem.

    Hello,
    The onboard PID circuitry can only be utilized with servos and closed loop steppers. You can write your own PID loop in software using the PWM functions and the Read Encoder Position.flx. This should work pretty well for low loop rates (since it's implemented in sw). I don't think there are any examples of it available but it should be pretty straight forward.
    Regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • How do I get labview for linux to send out ascii code to a motion controller?

    I have posted part of this problem but I will now try to clearify things. I have an x-y stage that needs motion control. I have to run the motion controller from within a linux system (RedHat 7.1) due to others in the research area. I have found a motion controller card (PCI) that will run under linux. This card is not National Instruments. I understand that they do not have drivers for their controller cards. This other card comes with the companies own software that uses ASCII codes to move the motors on the stage. I was hoping to create a program that could call those ASCII codes to move the stage. An example would be if a user wanted to have the stage move to the right he would press a b
    utton on the screen instead of typing in whatever ASCII could that move to the right happens to be. How would I go about programming something like this? I have heard of others doing things like this but I am unsure of how to program labview to send out ASCII codes to a PCI card to move motors.

    > would I go about programming something like this? I have heard of
    > others doing things like this but I am unsure of how to program
    > labview to send out ASCII codes to a PCI card to move motors.
    Look in the manual to see get familiar with the sequences of codes you
    need to write, and more importantly, where you write them to. I suspect
    a memory location, but it could be a socket or port.
    Each of these locations will have a slightly different way of accessing
    it. Once you know, search devzone for how to do it on linux, or post
    back here.
    After you can send the codes to the right location, you probably want to
    build a state machine that simplifies the interface and prevents certain
    actions from taking place. Now determine which buttons or
    keys perform
    which actions and use either the event structure or the older polling
    for control changes to affect state changes in the state machine.
    I'm summarizing here assuming that you know what a state machine is and
    why you'd want to use it. If I'm assuming too much, do some research
    and post again with more specific questions. Also be sure to look at
    example VIs as they show how to respond to UI actions.
    Greg McKaskle

  • Communicating with RMC151 Motion Controller

    We are considering the purchase of a hydraulic power unit that will use a RMC151 motion controller and an internal program for electronic flow and pressure control.  This internal program will need inputs from an HMI we provide to set flow and pressure.  
    We would like to use NI hardware we already own, cDAQ 9139 or cRIO 9022, to communicate via HMI with the RMC151 controller and then automate tests that require pressure and flow to be adjusted throughout the life cycle of the tests automatically.
    Based on this, can anyone provide some insight on how the NI hardware (and which one of the two we own might be better for the job) would communicate with the RMC151 motion controller?  If there's a particular protocol we should use or if anyone has any experience implementing this, I'd love to discuss the topic.
    RMC151 Info - http://deltamotion.com/products/motion/rmc150/cpu150.php
    Thank You.
    Michael Steward

    RMC151 supports modbus. Hence, you can use it with 9022. I recommends 9022 more than 9139, since it's a real-time controller which is more suitable for control job.

  • NI-Motion PXI Card Device Status = Is Not Responding

    I am unable to communicate with my NI PXI-7358 motion controller card.  The general tab in MAX for the card shows that "Device Status" = "Is Not Responding" see attached.  I have un-mapped and re-mapped the remote device.  I have also removed and re-seated the PXI card without any success.
    Solved!
    Go to Solution.
    Attachments:
    PXI-7358 - Is Not Responding.PNG ‏29 KB

    Hi Jeffmg, 
    This seems to be a known issue. There is an internal knowledgebase documenting this problem and a potential solution. 
    The solution according to the KB article:
    "This problem can occur when a previous board was mapped to the host machine. The NIMtnSvr.exe is based on Board ID's and sometimes gets stuck. To fix this, close any NI software running and then open the task manager and end the NIMtnSvr.exe process. This will shutdown the server and allow it to start from scratch the next time it runs. When you open MAX, the boards will appear on the local host correctly mapped."
    -N
    National Instruments
    Applications Engineer

  • Dual loop operation using PCI7344 motion controller

    I am using PCI7344 to control servo motor. Primary feedback to the controller comes from the motor encoder. Secondary feedback from the torque transducer is given to the ADC input. The motion controller is set to operate in absolute position mode with velocity, acceleration, Deceleration, target position values appropriately set. I expect the trajectory position to change automatically based on the torque feedback from the torque transducer. Is my assumption correct? I have referred the NI-Motion user manual, 7344 hardware manuals with out success. Any suggesions? Thanks in advance.

    In order to perform torque control using the NI-Motion Controller, you need to use the torque sensor feedback as the primary feedback. So in the axis configuration, the ADC where your sensor is configured must be set to primary feedback. You can then use the encoder feedback to work as a secondary (velocity feedback) device. Because torque does not behave in a linear fashion like position does, you will need to have several tuning schemes and apply a gain scheduling algorithm in order to properly tune the motor to maintain torque at any point of the trajectory. You can then use the read encoder function to read the ecoder position at any torque during the movement. Your setpoint and target position in the 1-d interactive will now be in ADC bit values. The 7344 contr
    oller has 12 bit ADC's which means that for a sensor with a +/- 10 volt range, you will have 20/2^12 = 4096 bit counts of movement range. This means that + 10 volts will be represented as ~ 2048 and -10 volts will be ~ -2048 and so on. Keep in mind that the ADC's on the 7344 are not calibrated so you might have a little bit of discrepancy with these numbers though youn will always get the full range of the ADC.

  • Computmotor 6K Motion Controller LabView program

    Hello,
    I am using the Viewpoint Compumotor 6k Motion Controller VI's. We have the motion controller plugged in through serial port. I'm looking at the Functions they offer(different VI's), but I don't see any for serial port. They have a VI 6k Communication Launcher.VI, but it looks like that's only for Ethernet connection not through Serial. Does anyone know how to create a connection with serial port. 

    The first thing you should do is set up a serial connection, because you'll need it to configure the ethernet connection if you decide to go that route.  Once you have the serial connection working you might decide it's all you need.  You also might want to use serial if you don't want to put your 6k on your local network and you can't get a second ethernet card for your computer.  The commands are the same over either connection so you can switch between them anytime.  Which one is better for you depends somewhat on what you need the 6k to do.
    If you're interacting a lot with the 6k and response speed isn't critical, the serial connection is fine.  For repeated motions and faster response, the ethernet connection is better.  Initially, I wrote programs on the 6k and ran them by sending the program name over the serial connection.  Each program would print a response to the serial port that LabVIEW could read.  It also provided flexibility for me to write individual 6k commands from LabVIEW when necessary, but it was slow because the 6k takes time to parse text into program names and LabVIEW needed to check the serial port to see if a program finished.  A faster approach is to assign a program to run when a specific input is triggered using INSELP.  That input can be a bit in a variable - a virtual input.  The ethernet communication lets you send variable values directly to the 6k, so you can run a 6k program by sending the right variable value.  Similarly the 6k can send an alert over the ethernet link when motion completes, which is simpler than putting a print command in every 6k program and checking for a response on the serial port.

  • I need help with motion control. I am programming in Visual Basic. I will need help with what parts I need to purchase from NI, along with help on the code.

    I am using a Papst servo motor and I need to know where to start and what to purchase to get this motor to spin. I am using visual basic and in my program I calculate the direction and RPM's needed from the motor. It will spin anywhere from 1 to 10000 RPM's. It seems rather easy, but I have no idea on how to spin the motor at the specific RPM, and stop it with a command stop in the program. Please help.

    We really should know a little more about your intended uses for this system, but assuming you want to do relatively simple (or even not so simple!) motion, you'll need a few components...
    A motion controller, such as the PCI-7342, can take your VB commands and turn them into the commands needed to "run" the motor. Next you'll need a drive, such as the MID-7342. This includes the servo amplifier that actually powers the motor. It also has connections to "pass through" the encoder signals from the motor back to the motion controller.
    The above-named pieces assume one or two axes of motion. You'll also need a cable to connect the two (can't remember the model right now). You can use MAX to configure the motion controller, and there are just a few VB calls you
    'll need to make using NI-Motion functions to define the motion and get it going.
    Hope this helps!

  • Where is the output for PWM on NI 7774 connected to motion control card 7356

    Hi,
    I have NI motion control card 7356 which interfaced through 7774 interface board. PWM outputs are written to be on pins 5 and 9 on Digital IO, yet there is no indication about the whereabouts of these PWMs on the interface board (7774). Would you please help???
    Asst. Prof. Vasfi Emre Omurlu, Ph.D.

    Simitci,
    For the digital I/Os a UMI-7774 provides access to 16 digital lines. If you want to access other signals of the digital connector, you shouldn't connect it to the UMI but to another breakout box like the SCB-68. Please note that compared to the UMI-7774 the SCB-68 doesn't provide optical isolation or 24 V connectivity. If this doesn't work for you, you could think of building a customized cable that connects the lines for the16 digital I/Os to the UMI and the rest of the signals to another connector or breakout box.
    You also should be aware of the fact that the PWM outputs of 73xx boards are static. That means that you can change the duty cycle and output frequency of these signals in software only, which is quite slow. In most cases these PWM signals can't be used for motion control tasks.
    What do you intend to do with the PWM signals?
    Thanks and kind regards,
    Jochen Klier
    National Instruments

  • Problem with NEO2 and sata controller card

    1.Product Type: MSI K8N Neo2 Platinum (MS-7025)
    and the controller card is a InnoVision DM-8301 and the hard drive is a Seagate ST3320620AS
    2.BIOS version: The newest one, 1C0 or something.
    3.External VGA Type: Geforce 6800 GT
    4.CPU Type: AMD 64 3500+
    5.Memory Type: G Skill ZX 2048mb.
    6.Power Supply Type:
    7.Operating System: Xp Pro
    8.Problem Description:
    Hello. I have a strange problem with my controllercard. I wrote this text to InnoVision suport and they send me files and bios updates for a whole week and it was still the same problem. And then i tried the card in an older computer and everything worked fine.
    I wrote
    "Hello. I got some problems with my new controller card. I can find my new harddrive ,that's conected to the controller card, when iam inside windows and it's seems to be no problem. I can look on every seting on it and everywhere i look i can read "No problem". I Also did some test with the seatools programe and everything was fine. But when i schould copy files to it the coumputer start lagging after a few seconds and i cant do anything. After a while i can move the mouse around but the it laggs again. My computer is overclocked at the time but i have tried to use the harddrive when it's not clocked also. Also when im goin in to teh controlpanel and starts the setings for Sillicon Images sata controll and have music on my computer, the music laggs for a very very short moment. Something must be wrong and i can not find it."
    It's still the same problem in my computer. The older computer had a MSI moderboard with a VIA chip and i have a nForce 3. InnoVison said i should talk to you about this problem. I have 3 harddrives but i use this controllercard because i want to have my computer overclocked and then i can't use 2 of the sata ports as i think you know.
    I would be very thankful if you could help me with this problem.
    //Martin

    I've used a noname SATA pci card (non raid) with SIL3112 on my neo2 without problems with 1C bios.
    Think you may try with a disk lower than 48bitLBA need (137GB barrier), eg a 120GB disk
    Quote:
     have the InnoVision EIO DM-8301 and had alot of problems using it with WD 160MB SATA drive.
    I am using Intel 865 based MB with 2 original SATA channels. The original SATA channels are bootable.
    I could not used the EIO card with 160G HDD. The whole setup is working only after I connected oine of my 120G Segate SATA HDD to the EIO Sata card.
    I think this card do not properly support HDD above 120G.
    Please respond to: [email protected]
    http://www.devhardware.com/forums/storage-devices-80/sata-as-boot-20080-2.html
    Btw: you have xp sp2 ?
    48bitLBA is not enabled in the first version.
    http://www.48bitlba.com/winxp.htm
    Edit:
    Here's another with complete different setup and same problems
    http://forum.tweakxp.com/forum/Topic212148-4-1.aspx
    I doubt it has anything to do with your motherboard and/or bios.
    Btw: I looked at innovision and their drivers in download area are very old.
    Get the latest SIL3112 drivers for XP here:
    http://www.siliconimage.com/support/supportsearchresults.aspx?pid=63&cid=3&ctid=2&osid=4&
    And remember 3112 is sata150 only , so it's not sure it will work with your drive at all .
    Anyway it should be set to fixed sata1.5G with jumper - not certain the controller can autonegotiate
    without trouble. You cannot have command queing enabled either , disk support only NCQ and controller TCQ
    so having command queing set ON will cause major conflicts in data transfers.

  • Replacing a Traditional Motion Control Card with a Small PC with Softmotion

    Hi,
    I'm totally new to Softmotion. So my questions might be very naive.
    Anyway, we are currently using a Deltatau motion controller with three motor drives. The drives are all linear type and the motion controller provides the commutation. The motion controller is kind of expensive, a few $k. So I'm thinking, if it is possible to use a small embedded PC for a few $$$ and load it with the Softmotion software and control the drives.
    So a few questions:
    1) Can the Softmotion perform decoding if I connect the A/B encoder signal to the digital I/O of the embedded PC?
    2) Can the Softmotion perform commutation and output the A/B signals with DAC?
    3) I assume connecting the limit switches to the I/O should be no problem for the Softmotion to pickup.
    4) What is the cost of the Softmotion per copy?
    Anyway, those are my questions today. Is there anybody who might have done it this wya before?
    Thanks,
    Jay

    Hi Jay,
    Take a look at this tutorial for acquiring a basic knowledge of what the software can do, but more important, what hardware setup you need to do this tasks.
    There are several approaches (CompactRIO, PCI, PXI) but fundamentally NI handles 3 types of signals (CCW, CW which are Direction & step. Plus a drive enable) that we use for controlling motor drives. If your drive accepts these signals we could say you could potentially use NI products to interface with it.
    I encourage you to talk to one of our local sales engineers for more information.
    Alejandro | Academic Program Engineer | National Instruments

Maybe you are looking for

  • RH 6 Printing

    I have a project with a .chm output (HTML Help). In order to make it easier for our users to understand some functions, I use screen shots with image maps to topics that are not in the TOC....these topics pop up in a window on top of the graphic. Is

  • Archive logs are not transferring to DR server in DataGuard

    Dear Gurus, We have implemented data guard on 10g and it was working properly till last week.All of a sudden it is stopped working and i am getting the error in primary server alert log as "ORA-12154: TNS:could not resolve the connect identifier spec

  • You cannot change the price of an item AFTER I check out!

    I ordered an XMEN: Days of Future Past box set with a robot head last night for $17.99 plus tax for store pickup online. The total came out to be a bit over $20. When I checked my email today, I was charged $29.99 for the item, and tax based on the n

  • Get general error message, please try again or contact support (49)

    Just purchased a new HP computer with window 8.1 64 bit.  Tried to download PS but the download fails.  General error message states retry or contact customer support (49).

  • Sending RFQs from SRM EBP to SRM SUS

    Hi All, Am having scenario that i need to send RFQs from SRM EBP to SRM SUS. & SAP provided Standard Content & that was imported in to IR. In EBP I have Standard Interface for RFQ as RequestForQuotation_Create_Out in namespace http://sap.com/xi/EBP.