Controlling dc motor using PCI-7342 and MID-7652

Hi,
I am trying to control an electric linear actuator driven by a 24V dc motor (no encoder). The feedback is coming from an integrated analog linear potentiometer (+10v to -10V). I am using the automatic analog feedback vi and created my desired feedback profile. I began with a  Kp value of 9, all other gains set to zero for now. The problem is that there is a constant offset of approx. 8V between the desired profile and the actual feedback from the linear pot. I have ADC 1 configured as -10 V to +10 V. I am not sure if its a wiring problem or there is something that needs to be configured in measurement & automation, axis 1. I am new to motion control so bear with me.
Thanks

Hi there,
Where are you measuring this 8V difference? Is it the difference between the servo output of the MID-7652 and the analog feedback input to the 7652 analog input channels?
If you try changing the PID constants in your control loop, does this 8V difference remain the same?
Way S.
NI UK Applications Engineer

Similar Messages

  • Kollmorgen Motors with PCI-7342 and UMI-7772

    Hi,
    I am trying to connect a pair of third-party servo-motors (Kollmorgen AKM11B-ANCNC-00) and drives (Kollmorgen AKD P00306-NBAN-0000) using a National Instrument motion controller NI PCI-7342 and motion interface NI UMI-7772.
    Ever since the setup has been connected to a new computer, the motors aren't moving even though they are connected. The motors are detected by the GUI for the motors (Kollmorgen Workbench) but the program shows that the hardware is not enabled.
    It has also been noticed that the LED indicating 'Interlock' shows red, and so do the LEDs indicating the 'Disabled' for both the axes on the UMI.
    The 'Axis Configuration' for both axes on the NI MAX program indicate 'Enabled'.
    Since only the PCI board has been switched from the old computer (where the setup was working well) to the new one, most cable connections have been left untouched.
    Any help/suggestions on why the motors aren't working is welcome.
    Thanks in advance,
    Subhabrata

    Could you explain a little more on what you mean by 'current settings on limit switches' ? Anyway in accordance to the link you attached to the previous reply, we changed the settings on the NI MAX program to correspond that on the switch (on the UMI) and now we don't get the error (70119). Thanks for that.
    But we still cannot get the motors to work. The 'interlock' light is still on. We took out the 'control' and 'feedback' ports that go into the UMI for the two axes and probed the voltage between pin 6 and pin 9 on the control port. One link (from the Knowledgebase) had suggested that we would get a voltage around 24V, but we did not. It was the same for both the axes. Does that suggest anything ? Should we look into replacing the cables connecting the UMI and the motion controller (even though the they were working fine before we moved set-up) ? Or could it even have something to do with the motion controller itself ?
    Thanks in advance,
    Subhabrata

  • Inquiring about the issue of using PCI-5922 and PCI-5412 simultaneously under Linux OS! Thank you!

    hi all,I am lily and I an AE from NI shanghai .Now I confronted a pullze from customer,and I really feel at a loss! Hope some one of you would come and land me a hand,thank you in advance!
    The problem is as follows:
    Customer use PCI-5922 and PCI -5412 under Linux OS, if they use either of the two cards seperately,there would be OK. but if the use both of the two cards simultaneously, the error will occured as attachment shows. "Error code:-50258 occured at niscope_DAQmx Create Channel (AI-Voltage-Base).vi:2  Possible reason(s):The specified software component failed to initialize."
    Can I know is there any solution vs this probelm?Thank you in advance!!
    Attachments:
    Screenshot-NI-DAQmx Test Panels.png ‏17 KB
    NI-NEW_error.txt ‏8 KB
    shortsyms.txt ‏973 KB

    This is the wrong board for this question, you should re-post here
    Regards
    Ray Farmer

  • NI PCI 7342 and UMI 7764

    Hello All,
    I am using the PCI-7342 to control 2 servos for co-ordinated motion. I am using UMI7764 to breakout Motion IO to connect to my Servo Amplifiers. I am confident that the system will work fine because I have used a similar setup before. The issue I have now is that the UMI 7764 unit is farther than 2meters from the PC. I called NI and the tech said that NI doesn't have any cables longer than 2M to solve my problem. So she directed me to this forum. I was little disappointed that NI doesn't have any option or may be she is just not aware of it.
    I have following questions here. First, is it OK to have the UMI 7764 mounted farther than 2 meters from the PCI card? (I need one extra meter here) Has any one used a setup where he or she needed to mount the Break Out Board farther than 2 meters and if so than was there any issues with the signal degradation that was observed? Is there any limitation on distance mentioned any where on NI documentation ?
    Secondly if it's Ok technically to be farther than 2 m than who is the cable manufacturer? I was starting to search L-com.com. Is there any other source besides L-com.
    Thanks

    I have a testing machine (which permits to stretch or to compress samples) that I have to analyze with an aim to re-do the processing part (command part).
    I send to you a diagram of the machine and a diagram with the connection to the UMI 7764.
    I have to do moving the horizontal part, obtained thanks to the rotate of the two long screws.
    This screw turns thanks to the speed that supplies the motor (gearwheel + driving belt).
    To control the motor, I have to apply to the terminals AOUT and AGND, the consign voltage (є [-10V; +10V]), image of the motor speed rotate.
    +10V → 3000 rpm
        0V → 0 rpm
    -10V  → -3000 rpm
    Cordially
    Murat
    Attachments:
    diagram.doc ‏292 KB

  • Tension control in labview using PCI 7354 Motion Control Board

    I want to make a program for web tension control of roll to roll system in labview using PCI 7354 Motion Control Board. Is there any interface program that can convert my controller output in a format to be directly used as the input of PCI 7354 (Motion Controller Board) for tension control?
    Thank you!

    thanks for your reply, i have already make the code of a straight line move and the motor moves successfully, but know i want to put the H-bridge to be able to make a reverse direction for the motor, for your information i only use a PCI-7340 controller and a UMI-7774, where the controller connected to the UMI-7774, the UMI connected to a PWM circuit and the PWM connected to the DC-motor, so what do you think i can do?

  • Issue using PCIe-1430 and Magma ExpressBox1

    Hi - I'm trying to get my laptop working with the PCIe-1430 Camera Link frame grabber and the Magma ExpressBox1. The device shows up in the device manager twice, saying the drivers are installed but there are problems with the device. One device shows error code 10 ("This device cannot start."). The other shows error code 12 ("This device cannot find enough free resources that it can use (Code 12)     If you want to use this device, you will need to disable one of the other devices on this system."
    I've tried disabling one and the other PCIe-1430 devices, and I'm not sure what other devices I could try to disable. The computer has 3GB of RAM, so I'd doubt that's the problem. I've noticed that the board is PCIe x4 and the ExpressBox1 interface is x1, but since there is a bridge in between I assumed this would, at the worst, result in a lower maximum transfer rate. The Magma website mentions National Instruments boards in one of their case studies. Any ideas what may be causing this?
    Thanks

    Hi,
    I have been looking into this, and everyone I look the ExpressBox1 has only 1 PCI slot and it is x16.  Are you using a different version?  If it is only one PCI slot, then it should not show 2 devices in Windows.  Also how many PCIe-1430's are you trying to use?
    Regards,
    Greg H.
    Applications Engineer
    National Instruments

  • How can i use PCIe 1433 and basler line camera to construct image and pocess it?

    hello! every one ,I am new to machine vision.i have two problems to ask.First,how can i use line camera and 1433 to acquire 2-D image?second,if i want to pocess the 1-D signal ,how can i do it ?i expect for your answer ,thank you!

    What you are trying to do is not something you can easily do in a forum, but I can give you the basics.
    You have a CameraLink frame Grabber (PCIe 1433) and a LineScan Camera
    The framegrabber needs to be configured to understand how to communicate with the camera.  You need a file from the camera vendor.  This file might already be installed.  You can use MAX to check if it is, under Devices/IMAQ.
    Assuming you can get to the point where you can communicate with the camera, you need to configure your acquisition.
    Since the camera is a line scan camera, it captures image data one pixel ine at a time.  You will need to configure the frame grabber to determine how many lines per image you want.  The low limit is usually 1, and the high limit is either based on the framegrabber's internal memory, or that of the computer.
    If you are using labview, you will need to open a sessing to the camera, acquire the image(s), and then close the session when you are done.
    Once the image(s) are captured, you can performa analysis using the NI Vision Toolkit.
    Sorry, but there is no way to condense years into one post.
    Machine Vision, Robotics, Embedded Systems, Surveillance
    www.movimed.com - Custom Imaging Solutions

  • No list tree of device and interface, software in MAX sytem. using pci 6034E and chasis 2345

    Hye, i got the problem about this device.
    I using PCI 6034 E which will connect to SCC 2345 to measure current and voltage.
    My os is 32 bit Windows XP.
    First i install this software, my MAX listed the tree of devices & interface which is PCI 6034 E and chasis 2345, and all download software are listed in tree of software.
    By the way, when i start to measure the current, my MAX is working fine.. but, the problem is starting in the next day, wheni try to measure againt, all the list are dissapear. Then i uninstall all the NI component and reinstall again. Thereare a lot of install and reinstall again and again.. By the way the result is still same. Do not have any tree appear..
    so, any colution for my problem?
    i try to solve this problem, and i read that when the tree of devices and interfaces not appear, it's maybe because we using driver : NI 488.2 , i try to uninstall this driver.. by the way the result is still same...

    sahizansalman,
    It looks like the same is happening with the Software list. This is often a sign of a MAX database corruption. I'd try the steps outlined in this knowledgebase: 
    What is the Process For Removing MAX Database Corruption?
    Feel free to post back if this does not work. 
    By the way, do you know what device is showing up as unknown in the device manager? You did not mention anything besides your PCI DAQ card and SCC 2345, which are showing up fine. 
    Message Edited by mishkin on 03-11-2010 07:42 AM
    Misha

  • How can I acquire trace data from Agilent(HP)8510c Network Analyser in VB6 using PCI-GPIB and NI-488.2.

    I am developing an application in VB6 for measurements with Agilent (HP)8510C network Analyser using NI-488.2 and National Instrument PCI-GPIB card. I want to take data for the whole 51 points. In HPBASIC which used to be employed for this purpose it is done using OUTPDATA command and the data is in a 2-dimensional array. How can I do this in VB6 with the hardware above.
    kapil

    Hi Kapil:
    Please refer to a previous post on the same topic:
    http://forums.ni.com/ni/board/message?board.id=140&message.id=7758#M7758
    Although this is for C++, the basic functionality should be the same. Since OUTPDATA is from a specific instrument driver, your best bet will be comparing it to the instrument drivers mentioned in the previous post.
    Thank you,
    Emilie S.
    National Instruments
    Applications Engineer

  • How can I control stepping motor with PCI-7344 & UMI-7764? And I want to know the simplest circuit that I can do by myself?

    Now I don't want to by commercial stepping motor driver, I want to do it by myself. I want to know the simplest driver circuit to drive and control my stepping motor (+5V 4 phases).

    From the 7344's perspective, in open loop stepper mode, the only necessary outputs are the pulse train for steps and a TTL flag for direction. You can also set it for CW/CCW mode, which will output two separate pulse trains: one for clockwise motion, one for counter-clockwise motion.
    If you only need to decode the signals into four phases and not amplify them above 5V, then a small IC might work for you (as long as you don't need a lot of current). A reconfigurable FPGA could be programmed to decode the incoming signal and output the four phases pretty easily. However, I honestly believe your best bet is just to buy a recommended amplifier for the motors.
    Good Luck
    Kyle V
    Applications Engineer
    National Instruments

  • How to increase speed of analog read using PCI 6110 and LabView 7.1?

    Hi All,
    I'm a fairly novice user of LabView and I'm trying to figure out how to make my system as fast as possible. Basically, I'm reading in an analog signal (AI0) together with a trigger signal (PFI0) and I want to sample the analog signal on the falling edge of the trigger signal. What I'm finding, though, is that the acquisition rate of this system is excessively slow. My analog signals occur faster than 1 kHz, but the speed of my system is only about 100 Hz. A colleague of mine told me that the DAQmx Trigger.vi I was using was probably the culprit for the slow performance I was observing. Could this be right? If so, how could I resolve this issue?
    Another thought I had was to input the trigger signal into the external source input of the DAQmx Timing.vi. In this way I'd be using the trigger signal as an external clock. If operated in Continuous mode, then I think the Sample Clock would cause a sample to be read only when the trigger signal changes its state (from high to low). Could this work?
    Thanks for reading,
    Ben

    Hi Marni,
    Thank you so much for your post! I tried doing as you suggested, using the Cont Acq&Graph Voltage-Ext Clk-Dig Start.vi and I first set the trigger signal as the external clock source. It works beautifully! Now, with 1.6 kHz signal in, I'm reading in 1.6 kSa/s. This is a dramatic improvement from before. I also tried using the internal clock source option, but it didn't seem to trigger when I wanted it to. I didn't spend too much time debugging it, though, since the other method works so well. This brings up an interesting question. Is the DAQmx Trigger.vi really that slow? Previously, I could read in 100 kSa/s at best using the Trigger VI. Anyways, I'm a happy camper now:-)
    By the way, to answer your question about the DAQ device, I'm using the NI PCI 6110 Multifunction DAQ.
    Thanks again!
    Ben

  • Anaheim Automation stepper motor with PCI-7330 and UMI-7764

    Hi, I'm fairly new to LabView 2010 and stepper motors in general. I've been trying to get an Anaheim Automation stepper motor and encoder to work with LabView with some success but it isn't quite right. My main problem is when the home switch is activated the whole thing is killed and I cannot get it to respond unless I manually turn the motor so that it is not on the home switch anymore. After that it will run ok, unless it hits the home switch again (btw if it hits the forward limit switch it will stop but it will accept a command to move away from it).
    Could someone please take a look at my wiring diagram in the link below and let me know if there is anything obviously wrong with how I wired it up or if you have any suggestions on where my settings might be going wrong I'd really like to hear from you. 
    Thanks,
    Rob
    Wiring diagram: https://docs.google.com/present/edit?id=0AW08JmeQD7nyZHBzejljOF82OWc4NHg4Z2M4&hl=en_GB&authkey=CPbsv...
    Tech sheets:-
    Stepper motor: http://www.anaheimautomation.com/manuals/stepper/L010130%20-%2023MD%20Series%20Users%20Guide.pdf
    Encoder: http://www.anaheimautomation.com/manuals/encoder/L010723%20-%20ENC-A2N%20Single-Ended%20Encoder%20wi...

    Thanks for the reply, I am trying to run any of the find reference example VIs from NI. I've not edited the code in any way.
    The motors will run with the wiring I've posted, it'll move to the forward limit switch then come back again but it will then hit the home switch, the motor stops and cannot be started again until it is manually moved off the home switch. It has never made it all the way to the reverse limit switch meaning I cannot use home (it stops) or the centre (can't find the reverse limit) as a reference point.
    It was suggested to me I might have the grounds miswired, the manuels were not all that clear so I'm unsure.

  • To access Kistler Dynamomete​r Amplifier (4 component) do I need to use PCI 4452 and PCI 1200 ( I have both of them) with DAQ/LAbvie​w.

    If yes How to relate them together both in VI and by Hardware.
    Thanks,
    Niraj

    "Thanks for your attention,
    I have Dynamometer with four analog outputs to respective amplifier's,all of which I have to connect to NI's BNC 2140, which will be connected to PCI 4452, now I even have PCi 1200 which is also a DAQ card I suppose. I want to know whether I need to connect both of these together in anyway, and ultimatly will they appear on single VI together or seperatly. Like I have developed single VI for both, but Is it possible to Develop VI with access to both.
    Also is it necesary to use both, I want to know whether my application will be handled by PCI 4452 alone,
    I suppose I am clear this time about my application and things available with me.
    please let me know if not,
    Thanking you,
    Niraj"

  • How to control maxon motors using sinewave

    Hi, am using the maxon brushless motors controlled by epos2 24/5 contollers. I want to give an input like sinewave to run the motor .Could anyone help me on this. Thanks in advance..

    Hello,
    I have the same problem. I would like to do a velocity mode with a sinwave funktion. Did you slove the problem? 
    regards

  • Getrct(): resource control value sequence (use of RCTL_FIRST and RCTL_NEXT)

    % uname -a
    SunOS snt5010 5.10 Generic_127111-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
    From Sun Documentation:
    The getrctl() function provides a mechanism for iterating through all*
    of the established values on a resource control. The iteration is
    primed by calling getrctl() with old_blk set to NULL, a valid resource
    control block pointer in new_blk, and specifying RCTL_FIRST in the
    flags argument. Once a resource control block has been obtained,
    repeated calls to getrctl() with RCTL_NEXT in the flags argument and
    the obtained control in the old_blk argument will return the next
    resource control block in the sequence. The iteration reports the end
    of the sequence by failing and setting errno to ENOENT.
    My question is concerning "all of the established values on a resource control".
    Why not "*_the only value_ of a resource control*"? Why several?
    For instance, there may be several values for project.max-shm-memory.
    What does that mean? Which value should one use (if they are different)?
    Alex Vinokur
    Edited by: Alex-Vinokur on Nov 18, 2008 9:25 PM

    % uname -a
    SunOS snt5010 5.10 Generic_127111-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
    From Sun Documentation:
    The getrctl() function provides a mechanism for iterating through all*
    of the established values on a resource control. The iteration is
    primed by calling getrctl() with old_blk set to NULL, a valid resource
    control block pointer in new_blk, and specifying RCTL_FIRST in the
    flags argument. Once a resource control block has been obtained,
    repeated calls to getrctl() with RCTL_NEXT in the flags argument and
    the obtained control in the old_blk argument will return the next
    resource control block in the sequence. The iteration reports the end
    of the sequence by failing and setting errno to ENOENT.
    My question is concerning "all of the established values on a resource control".
    Why not "*_the only value_ of a resource control*"? Why several?
    For instance, there may be several values for project.max-shm-memory.
    What does that mean? Which value should one use (if they are different)?
    Alex Vinokur
    Edited by: Alex-Vinokur on Nov 18, 2008 9:25 PM

Maybe you are looking for

  • Workbooks not opening from a Business Server Page (BSP)

    Hello Experts, I need help with opening workbooks from a Business Server Page (BSP). The problem is that the workbook is not opening, but instead a blank Excel page opens. I am using Microsoft Excel 2003 and on BI 7.0 version. Here is the code: Could

  • Two problems with kernel26-2.6.39.1-1

    hi, I just upgraded system, and i found two problems with kernel26-2.6.39.1-1 first one is that i cannot use "reboot", the screen was black. second, i cannot use " openconnect" to connect the vpn. and the error is CSTP connected. DPD 30, Keepalive 20

  • Why won't my TV programmes I purchased from my IPod sync onto my computer ?

    Why won't my TV programmes I purchased from my IPod sync onto my computer ?

  • Question about CEP Naming Conventions and or Standards

    Hello, CEP is new to the organization that I am working with. I have been asked to draft a few standards around CEP to help promote standardization and proper reuse of CEP artifacts. Can anyone share with me examples of CEP artifacts with a naming co

  • Acces rules not blocking entire site

    Hello we are trying to block all url acces to rapidshare (and megaupload, gigasize , etc) we are using the syntax http://*rapidshare*/*.* and used also http://*rapidhsare* then when i type for example RapidShare: 1-Click Webhosting i am allowed to ge