Possible to drive a stepper motor with PCI-6111?

Is it possible to drive a stepper motor with PCI-6111?

Hello Tristan,
If your stepper motor is TTL compatible you should be able to control it with one of the two counters on the board. Keep in mind that the stepper will ask for a certain amount of power so before attaching it track down how much power it consumes and take a look at the Specifications of the PCI-6111 to be sure that the counters on the board can deliver that amount. If the stepper takes to much power you have to use some kind of power drive which can be controlled with digital (TTL) signals or Analog signals between -10V and +10V.
Hope this helps.
Best regards
Application Engineering
National Instruments
Rik Prins, CLD
Applications Engineering Specialist Northern Europe, National Instruments
Please tip your answer providers with kudos.
Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

Similar Messages

  • Whether it is possible to drive a stepper motor from speedy 3's output

    actually i am trying to design an voice controlled wheel chair for my application wat i have did is tat i have writern two programs using labview one is just storing my voice for four commands(namely front ,frontright ,frontleft,stop) ,tat  it stores some value in an array, in my second vi i am speaking one of the four commands, and tat comands amplitude is stroed in an array and i am just comparing it with the values from the first array which i have stored it for all the four commands if any of the array value matches just approximately the i have to make the stepper motor to drive in tat direction i have done it with PIC microcontroller can u give some directions to implement using speedy33

    The SPEEDY-33 Robotics Daugher Module is an add-on device that mounts onto the SPEEDY-33 to provide more functionality. It includes:
    DC Motor Drive Outputs (4)
    Auxiliary Servo Motor Outputs (4)
    Analog Inputs (4)
    External Power Supply Connection
    Details of the daughter module, you cn find at the link below:
    This daughter module is NOT an NI product.
    For connecting a stepper motor, since speedy 33 has digital outputs, it is possible to work a stepper motor. However, you will have to connect a stepper motor drive inorder to amplify the signals to the current specifications that the stepper motor demands. Find out the specs of your motor and choose an appropriate drive.
    Mithilesh Pradhan

  • Control two stepper motors with PCI 7332 for sinusoidal movements

    I am now using two stepper motors of RK566BAE (Oriental motor). I connected those two motors with UMI-7764 and PCI-7332. I designed to have independent sinusoidal movement of each motor. The first motor is wired to Axis 1 and the second to Axis 2 (of UMI-7764).
    I want to use Ni-Motion to create  a single VI in LabVIEW which helps to control both motors. But I have not figured-out how to obtain the movement I desired.
    Could you please advise me.
    Thank you so much.

    There are two ways to do elliptical arc moves:
    Use contouring two download target position arrays to the onboard buffer
    Use arc moves in combination with gearing (shipping example). This requires three axes.
    The 7332 doesn't support contouring and gearing and it doesn't provide a third axis, so there is no way to use this board for this type of moves. The cheapest NI board that supports elliptical moves in contouring mode is the PCI-7342. As the second option requires three axes, at least a PCI-7344 is required for this method.
    Here is a link to a feature comparison table for all NI 73xx motion control devices.
    Kind regards,
    Jochen Klier
    National Instruments

  • Elliptical Motion of Two Stepper Motors with PCI 7332

    I am trying to move two stepper motors on a 2d elliptical arc using LabView and PCI 7332 controller board. The 2D ellipse example in the LabView library does not work with the 7330 series. Is there any other easy way to perform such a motion with PCI 7332? Thank you in advance.

    There are two ways to do elliptical arc moves:
    Use contouring two download target position arrays to the onboard buffer
    Use arc moves in combination with gearing (shipping example). This requires three axes.
    The 7332 doesn't support contouring and gearing and it doesn't provide a third axis, so there is no way to use this board for this type of moves. The cheapest NI board that supports elliptical moves in contouring mode is the PCI-7342. As the second option requires three axes, at least a PCI-7344 is required for this method.
    Here is a link to a feature comparison table for all NI 73xx motion control devices.
    Kind regards,
    Jochen Klier
    National Instruments

  • 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. 
    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.

  • Drive a stepper motor

    I'm using LV 7.1 Pro under Windows XP. I can use a PCI 6602 card and also a PCI MIO 16 XE-10. I must drive a stepper motor via a specific driver : Philips TJA1010. This driver is working with a clock at ~7 Khz used as timebase and it has a serial data input  that will activate the differents driver outputs connected to the stepper motor to create the rotation.
     The sequence order to send via the serial data input is described in the attachment. The problem is to be able to generate this sequence on the serial data input. I already checked on the forum and found the .vi attached but I don't see how to create my sequence.
    Thank you in advance for your help
    drive stepper motor.vi ‏139 KB
    cycle_stepper_motor.JPG ‏72 KB

    Hi pasolo,
    I'm not familiar with the TJA1010, so I'm assuming for this post that you have already hooked up one of the digital lines from your DAQ card to the input on the motor driver.
    From what you describe, it sounds like you want to do a specific pattern generation on an external clock.  There is actually a great example for that in the NI Example Finder.  Just open LabVIEW and go to Help >> Find Examples.  From the Browse tab, go to Hardware Input and Output >> DAQmx >> Digital Generation >> Cont Write Dig Port-Ext Clk.  This should allow you to write a pattern of 0s and 1s that correspond to your required waveform.  Also, some of the other examples in there might be helpful to look at as well.
    I hope this helps!
    Justin M.
    National Instruments

  • Configure stepper motor with MAX

    After wiring VI, I don't know what must I do to control my stepper motor?
    Can anyone give general information what must to do.
    How to configure stepper motor with MAX? I'm using PCI6036E.
    Thank you

    The answer to your question is dependent on your motor/motor controller and the inputs that it needs. Are you using a stepper motor controller? The PCI-6036E probably won't be able to supply enough current to power your motor (max 5mA) by itself, so you will probably need a stepper motor controller. With the 6036E, you do have 2 analog outputs, 8 digital I/O, and 2 counters (can be used for pulse train generation). Have you considered an NI Motion Control Board? ni.com/motion
    -Alan A.

  • What is the data throughput in labview. I want to use the parallel as acheap digital i/o to drive a stepper motor.

    I am trying to use the parallel port on a win xp machine to send data [email protected] up to a 3k rate. This is for the the purpose of driving a stepper motor. I have tried the port.out vi and placed this vi in a loop and it on a scope it looks like I am limited to a a 200hz rate. What am I doing wrong??? Can labview do this or is it too slow ???

    snook wrote:
    > what is the data throughput in labview. I want to use the parallel as
    > acheap digital i/o to drive a stepper motor.
    > I am trying to use the parallel port on a win xp machine to send data
    > [email protected] up to a 3k rate. This is for the the purpose of driving a stepper
    > motor. I have tried the port.out vi and placed this vi in a loop and
    > it on a scope it looks like I am limited to a a 200hz rate. What am I
    > doing wrong??? Can labview do this or is it too slow ???
    Basically the way the Port I/O VIs are implemented they call through a
    device driver for each port access. This slows down the maximum port
    accesses to something like 1000 times per second depending on the speed
    of your CPU.
    There is a way to do it faster but that is a little more trick
    y. The
    idea is to use a device driver to enable particular port addresses to be
    accessed directly from the application level instead of always going
    through the kernel.
    I have written such a VI library and accompagning DLL and device driver
    and made it available on OpenG. It is not yet part of the standard
    binary distribution packets so you will have to get it from the CVS
    Go to:
    and download all the files in there including the ones in the
    subdirectory "ogportio.llb" and if you like "docs"
    If you want the nitty gritty technical details you can also look at
    On my 866 MHz Pentium mobile I can increase the number of port accesses
    in this way from 440 ms for 4000 read byte port accesses (100us ms per
    access) to 20 ms for the same number of read accesses (5 us per access).
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Running 2 stepper motors with LabVIEW using RMV ST400-NT controller and driver

    Hello, I am new to programming as well as motors in general so please bare with me in my attempt to explain myself. I have a project involving laser therapy and I am attempting to control two stepper motors from Falhauber, Type AM2224-R3-AV-4.8. I will be using a RMV ST400-NT controller and driver. Original plan was to use 3 stepper motors for control in 3 axis but realized 2 axis is complicated enough. My power source is an Agilent E3630A. I am new to this whole thing and from what I have read form examples and other posts is that NI drivers seem to work best for these applications. I've written simple programs from examples, reading and watching videos. I want to know whether it's possible for these to work together using LabVIEW and also a nudge to help me get started would be much appreciated. Can someone please help guide me in the right direction, I feel a bit lost when it comes to all this. Thank you for your time and consideration.  Also, I will be using Windows 8 laptop with Labview 8.5. I have attached pics of components I will be using.
    Justo T.
    photo 1.JPG ‏1150 KB
    photo 2.JPG ‏987 KB
    photo 3.JPG ‏1085 KB

    Hi jtarula,
    I want to preface this response by saying that I am mre familiar with NI controller and driver rather than the one that you have. I am assuming that you are using the dll provided by the manufacturer here:
    With these, you should be able to interface with LabVIEW using the call library function node. What the controller is capable I am uncertain of. I am certain that you should be able to since another user has commented on the use in LabVIEW before in another forum post.
    I also want to let you know that LabVIEW 8.5 is not supported on Windows 8, which means that you may run into some compatibility issues. Here is the compatibility chart.
    Paolo F.
    National Instruments
    Applications Engineer

  • Stepper Motor with Linear Stage (Position Control and Data Acquisition)

    Hey All,
    So.. I've attached a stepper motor to a linear stage and so far it's working pretty well.  Using a stepper motor driver from Pololu, I've simplified the control of the motor by just using output pulses from the counter output of a PXI-6143.  I've tested the motor using the Pulse Train examples in LabVIEW and all is working well.  
    My goal now is to allow the user to collect data from a pressure sensor, attached to the linear stage, every X number of steps.  From what I can tell so far, and please correct me if I'm wrong, the motor step movement is synchronised with the pulse train input.  That is to say, if I give the motor a 200 step pulse train, the pulse train ouput is completed at the exact time the motor has moved 200 steps.  From this, I've created a VI that moves the motor X steps, aquires the data point, and then repeats this process for the required amount of data points.  The problem with this is that the motor movement is not continuous; it stops for a split second to take the data point.
    How can I have labview ouput a pulse train of say 1000 steps and record a data point every 50 steps?
    Two ideas that came to mind were:
    1. Use the counter input port on the card to count the pulses being sent to the motor.  
    2. Use an encoder connected to the motor shaft.
    I wanted to stay away from theses ideas though since they require resources from the DAQ card.  

    Hi Ryan,
    Just to cover all the bases, what version of LabVIEW are you using and can you attach your VI? Initially your ideas sound like they should work, do you expect to be nearly maxing out the DAQ?
    Thank you,
    Deborah Y.
    LabVIEW Real-Time Product Marketing Manager
    Certified LabVIEW Architect
    National Instruments

  • Controling bipolar stepper motors with usb NI-6008 DAC

    hi i need help to get an example vi that explaining how to control two bipolar stepper motors using USB NI-Data acquisition card 6008, i have the drivers of the motors, could any body help me?
    Go to Solution.

    you are more than welcome .. ok i attached a vi that could help you .. i'll illustrate how to connect your driver to your usb data acquisition card.
    1-on the digital I/P O/P side of the DAQ there's a 5V pin, connect it to the both 5V pins (Pulse and Direction) of the driver.
    2- the other 2 pins (Pul- and Dir-) connect it to port0/line0  for Pul-  ,  and port0/ line1 for Dir-.  ( you can configure the ports as u like from the block diagram window of the vi ).
    3- let the enable pins without connection. ( it's normally enabled).
    for motor connection: (dont connect any of these pins to the DAQ)
     there are 6 pins.
     first you need to know the wires of the motor coils, you could test it with any AVO meter.
    1- the first pin connected to the ground of the battery.
    2- the second pin to the positive pole of the battery.
    3,4 the first coil.
    5,6 the second coil.
    try it and i hope i helped you, tell me if it worked.
    bipolar motor control.vi ‏20 KB

  • Getting Started 9501 Stepper Motor with Softmotion Error

    Hi everybody! i'am with a cRIO9073, one stepper motor NEMA 23 and one module 9501.
    When i follow step by step the guide GETTING STARTEDNI 9501 C Series Stepper Drive Modules and NI SoftMotion Module
    in the final step, after compiled, when i show the Interactive Test Panel, it appears always the error 6283.
    Someone knows this error and the reason??
    Thankyou very much in advance!!

    PS: I bought the three elements (cRIO, Drive 9501 and Stepper NEMA 23) from National Instruments, as the NI guide recommends.
    I continue understanding nothing..

  • To drive Unipolar Stepper Motors using MID drive

    Hello friends I have purchased a RS components MID drive and I want to control a unipolar stepper motor using the same. The stepper motor is having 6 wires. I have used the same drive to run a bipolar stepper motor but I need to know as to how I can wire a unipolar motor to the same.I would like to know the connections and the disadvantages if any in driving a unipolar stepper motor using the MID drive.

    You can drive unipolar motors with the 7602/7604, but you wire them as if they were bi-polar. The user manual (which can be downloaded from the NI web site for free) shows the way to wire the 4-phase motor as a two phase motor on page 26. The basic idea is that you either ignore the center tap - wire Phase A to Phase A, and Phase A' to Phase A', or ignore one of the phases by attaching Phase A to Phase A, and Phase A' to the center tap.
    Hope this helps-

  • I look for a vi which allows to drive a stepper motor drive

    The stepper motor is: HIGH-RESOLUTION ROTATION STAGES of Newport

    What type of stages do you have? Are they the SR50 series? If so what type of controller do you have? I have VI's for the ESP6000 PC-Based High-Performance Motion Controller (From the Newport Website) that work really well. But these won't work if you don't have the same controller. Do a search on the Newport website for your controller. They will have some VIs and utilities for your specific controller. Here is the link that will show the compatible controllers for the SR50 Series
    Compact High-Resolution Rotation Stages.
    Hope this helps, Good luck!

  • Kollmorgen Motors with PCI-7342 and UMI-7772

    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,

    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,

Maybe you are looking for

  • Downloading apps in "third world" countries HELP

    I live in Serbia and bought Ipod touch (2g) in USA. Got new version of software. I wanna dl some free apps like msg and fb. How??? I made Apple ID, but always get lost at some payment and cards stuff. Is it possibly to dl FREE apps with original Ipod

  • Make image appear one line at a time

    I have an image of a seashell that I created in Photoshop. It's just black and white outline of an image. What I want to do is reveal this seashell image one line at a time. I tried creating motion paths but only part of the image is visible at any g

  • Embedded Youtube video is not playing in PDF while it is playing in Adobe Content Viewer - Indesign CC

    Hi, as a newby to DPS with Indesign CC, I'm currently working on a catalog that contains internal jumlinks and embedded youtube video's. All works fine in preview (Folio Overlay > Preview on desktop). Then I export to Adobe PDF (Interactive). When I

  • QT keeps randomly quitting

    Quicktime has just today started randomly quitting on me. Doesn't matter what video is playing. If anyone can offer any suggestions. Here is the error report: Date/Time: 2009-06-29 18:04:07.832 -0400 OS Version: 10.4.11 (Build 8S165) Report Version:

  • Error in Personnel Data iview

    Hi All, Personnel Information Critical Error A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost. Please contact your system administrator. failed to create or init instance of model 'com.sap.xss.h