Connecting stepper motor to the module 9512

Hello,
I must do project in LabVIEW.
I use the compactRIO with module 9512 (Stepper Drive Interface Module with Encoder Feedback). I built a small program of this tutorial http://www.ni.com/white-paper/9666/en#toc10. Now I need connect stepper motor to the module and I would like to run my VI.
I want to connect small stepper motor (which once was in the 3.5-inch floppy drive - this is bipolar motor with four pins) with module 9512. I don't know which pins DSUB or MDR I must link with my inputs stepper motor. "In Getting started with NI 951x.pdf" written: "Connect the Step and Direction outputs to the stepper drive." and "Connect the Drive Enable output to the stepper drive."
Which outputs I should connect with my stepper motor?
Thank you in advance.

That is correct, these elements or their equivalent.  It is necessary to convert the control signals from the 9512 into motor drive signals.
The P7000 getting started gives an overview of all this:
http://digital.ni.com/manuals.nsf/websearch/A236090A30FBDD6C86257A3E00499610
Edwin!

Similar Messages

  • Can I Connect a 6-wire Unipolar Stepper Motor to the MID-7654/7652?

    I am trying to connect a 6-wire unipolar stepper motor to the MID-7654/7652  motor driver and was wondering how the wiring would work on that?

    The connector is simply a pass-through for the signals generated by the motion controller card for hooking up to a separate driver compatible with stepper motors. It would be used if you had a combination of servo and stepper motors in your system used in conjunction with separate servo and stepper drives.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Running two stepper motors at the same time from one port

    Hello,
    I have to run two motors at the same time - one used to move a linear ball screw and one to turn a grip. I am doing tension and torsion testing on small wires, but tension and torsion have to be done at the same time. I also have to build in the ability for each motor to take multiple steps, ie. have a motor take x number steps at y velocity and then move x number of steps at z velocity. Both motors need to be able to do this. However, I am having problems getting the motors to run at the same time and to take all the steps. The motors are connected to two RMS Technologies R356 controllers. Both of the controllers are then connected to one RS485 to USB converter card, and that card is connected to one of the USB ports in the computer. Currently, I pass an array of commands to two for loops each containing VISA read and writes. I've attached the vi to look at. All of the timing stuff in the code is because a new command cannot be sent to the controller before the motor is done executing the previous command. If commands are sent right after one another, the controller will only execute the first command and then return with an error. 
    Does anyone have a suggestion as to what I am doing wrong?
    Thanks in advance for any help. 
    Solved!
    Go to Solution.
    Attachments:
    Motor Controller (Sub VI 3).vi ‏41 KB

    I'm not too clear on exactly what you are trying to accomplish or some of the details.
    Are there equal number of torsion and tension steps?
    Is there a pairing between a torsion and tension?  For example, you want to tension and torsion simultaneously, but those two together make a complete step?
    Do you want to wait until both the torsion and tension have completed before moving on to the next torsion/tension pair?
    Is there any time delay you want to hold at before moving on to the next step.
    When working with state machines, it is important not only to define the states, but also the logical stepping from one state to the next, or alternatives based on conditions.  It could be flowchard, but sometimes people call them state charts.
    Right now your latest posting has goes to "Write to Motor" event though and will wait there forever because there is nothing in the queue to write out through the VISA port.
    Let's assume your first state would happen to be Enqueue Tension (in order to get something in the queue), you will actually queue up all your tension commands at once with the For loop.  Then i will be 1 less than the size of the array it always will be because for an array size n, i will go from 0 to n-1 on each iteration.  So your false case will run and you will go to "Write to Motor".  Write to Motor will run and dequeue the first command then go to Waiting for Response.  Waiting for response will iterate through the while loop until 66 or 67 comes back.  I assume only 66 will come back for tension since you have yet to write a torsion command.  Once that comes back, it will go to Enqueue Tension again and insert a whole other series of commands.  Then go back to write Motor and will take out the 2nd queue element from the first set of commands your wrote.  It will stay in a Tension mode and the Queue will grow endlessly putting in a whole new series for each element that you dequeue.
    A state machine is the way to go, but I can't really sketch one out for you because I'm not sure exactly how your applications is supposed to work.  If a tension and torsion command are paired together,  perhaps you should just queue them together and write them out at once.   But the key thing is to sketch out on paper your application and flowchart exactly how the program should progress from step to step.
    PS:  One other thing, make sure you wire the queue reference wire through all states.

  • Is a stepper motor the most accurate way of turning an object a predetermined angle?

    Hi guys,
    I am starting a project in which I need to rotate a small object (about the size of a calculator), on a stage, in increments of ~2-5 degrees a number of times. 
    I have used LabView software previously  and it seems the right choice to carry out this part of the project. 
    Would a stepper motor be the most accurate option for this? What are the other options?
    Apologies if I have posted this on the wrong 'board',
    Thanks!

    A stepper motor is probably the way you will have to go if you need to continously rotate the object without returning to an origin position. Like if you need to step it 2 degrees clockwise a thousand times, you need to use a stepper motor. A regular motor with an encoder can be used but you wont have the precise control you are probably looking for. This where a pulsed width modulated motor control unit is typically put into the system. I believe NI has some modules that do this but I have never used them.
    [will work for kudos]

  • Stepper motor drives

    Hi,
    I am developing a control system for the speed control of a gas turbine. So for that i need to change my present manual movement of the fuel valve to one by a stepper motor. The valve is very sensitive, so i need a high resolution stepper motor (100,00 steps per revolution). I have a NI CRIO and have a digital I/O module fit on the chasis. With the existing setup, i would like to know what is the best stepper motor i can get in the market with least modifications to my current setup. If such a thing is not available, then what is the next best choice. Can anyone please help me out on this.
    Regards,
    Umesh

    Hi Umesh,
    could you please provide some more information? First I feel a bit uncertain by the resolution that you are looking for? Do you mean 10,000 steps per revolution or 100,000 (with a missing zero at the end)?
    If it's 10,000 steps/rev, you could use a standard stepper motor (200 steps/rev) with x50 microstepping. If it's 100,000 you definitely will need a gear box. In general I would also recommend a gear box if you need 10,000 steps/rev, as x50 microstepping is already a quite high value, resulting in reduced accuracy (steps are not evenly distributed anymore).
    Some other questions:
    Could you please provide information about the required velocity and acceleration values?
    What about the inertia of your valve? Any idea about motor sizing?
    Which cRIO digital I/O module are you using?
    Are you using NI-SoftMotion?
    Have you thought about using cRIO drive interface modules (makes programming much faster and easier)?
    Have you already decided which power drive to use?
    Kind regards
    Jochen Klier
    National Instruments

  • NI Motion Controllers and Drives compatibility with stepper motors

    Hello:
    I'm trying to setup a motion control system and I'm facing some trouble. The final goal is to be able to control a couple of stepper motors.We already have a PXI System with a PXI-7354 motion controller, and a UMI-7774 connector block. What we don't have yet is the stepper drives and motors. It's likely that because of torque requirements we may need a gearbox. Here I disclose some of my doubts:
    We are considering the P70360 or the P70530 drives, but I would like to know if it is possible to connect thrid party drives to the motion controllers? What requirements this drives should comply?
    Similar as the first one, Is it possible to connect third party stepper motors to the NI stepper drives? What requirements this motors should comply?
    Finally, Is it possible to adapt gearboxes to the NI stepper motors? If so, Which ones are recommended?
    Thanks in advance,
    Robst.
    Robst - CLD
    Using LabVIEW since version 7.0

       Hello Robst,
    Either the P70360 or the P70530 will be good drives depending on your wattage requirement. A loose rule regarding wattage is not to exceed 80% of capacity. If you think you'll exceed that, buy bigger.
    Regarding third party drives, though many are compatible we cannot guarantee compatiblitty of all drives nor are we able to support them. That being said you may want to take a look at these KBs which describe some issues to be mindful of when looking at third party drives.
    How Do I get the 73xx Controller and UMI-7764 to Drive a Third Party Stepper Motor?
    How to Connect NI 73xx Digital Outputs to Third Party Equipment
    How to connect the 73xx inhibit and command signal outputs to third party drives.
    Some points to glean from the above links are what kind of current gets sinked and sourced by the drives to insure compatibility. Regarding stepper motors, again we will only be able to guarantee compatiblity and provide support for stepper motors provided by NI. That said, the majority of stepper motors I've seen are compatible with our equipment assuming the drive it's connected to is compatible. Below are some articles that may help you make a decision on what type of stepper motor you choose.
    Selecting the Proper Size Stepper Motor
    NI Stepper Motion System Selection Guide
    How Can I Determine My Stepper Motor Wiring Without the Stepper Motor Pinout?
    As for gearboxes, you will just need to make sure that the gearbox you select fits properly with the motor you are using. Often the gearboxes are standardized to NEMA sizes that correspond with the stepper motors. Kollmorgen, who manufactures the motors that we sell, also makes gearboxes. Their gearboxes would be a good place to start.
    Regards,
    Daniel H. 
    Customer Education Product Support Engineer
    National Instruments
    Certified LabVIEW Developer

  • Using BNC2110 DAQ In Order to Control Stepper Motor

    So basically my goal here is to use LabView to control the direction and the steps of the stepper motor.
    I have BNC 2110 (connected to PC), Lin Engineering's 4218M-54P-04 Stepper Motor, and Lin Engineering's R701 Stepper Motor Driver.
    The specification documentations are attached.
    I know that the driver and the stepper motor are compatible.
    Is it possible to control the motor through Labview(PC) < - -> BNC2110 < - -> R701 Driver < - -> Stepper Motor, without the motor's own controller?
    An example of a controller for this particular motor would be on this website.
    I would much appreciate your support.
    Thank you.
    Attachments:
    4LeadBipolarSteppingDriver-linengineering--4218m-54p-04.pdf ‏652 KB
    DriverR701.pdf ‏379 KB

    Hi jhprks,
    It would appear that the stepper motor controller that you list communicates via RS-232 or RS-485.  You can make serial calls in LabVIEW using the Serial or VISA commands.  It could be something to look into.
    Further, we do have a multitude of ways to accomplish this with our hardware; here are a few resources to take a look at, with the first being an example of how to do this with a multifunction DAQ device:
    Using Software Timed Digital IO to control a stepper motor with DAQmx:
    http://decibel.ni.com/content/docs/DOC-6385
    Stepper motor control via Parallel port:
    http://zone.ni.com/devzone/cda/epd/p/id/3611
    High Performance Stepper/Servo control:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/10026
    Stepper Motor Theory of Operation:
    http://zone.ni.com/devzone/cda/ph/p/id/248
    Stepper motor Drives:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/3308
    Adam
    Academic Product Manager
    National Intruments

  • Is there a NI controller board that can control a 5-phase stepper motor?

    I'm developing an application using Borland C++ Builder 6 under Windows 2000. I need to control a 5-phase motor from within my application. I have some old Keithley Metrabyte MSTEP-5 ISA boards that would work with the motor, but Borland doesn't allow direct port access to the boards to give them instructions. So, the second question would be: Would the aforementioned NI board be programmable using Borland C++ Builder 6?

    Alright for the Universal Motion Interface (UMI-7764).
    Firstly, the equipment I am focused on a is friction machine test and I would like to know if the static friction compensation (NI 7340 Series) is an important factor (probably for this kind of test)?
    Then, the D550 or 650X0/X1 (Berger Lahr) are the steering cards for the 5-phase stepper motor (same manufacturer).
    Here are the specifications:
    - Operating voltage: 70...130 VDC
    - Power input: max. 8A
    - Adjustable achievement: max. 1000 W
    - Rated current: 2...5 A/Phase
    - Dynamic current increase by Boost I_Boost=100...190% In
    max. 6A/Phase
    - Engine line: Length <100m, cross section of a line >= 075 mm2
    R_Lmax < 2 Ohm)
    - Signal voltage for D 650.00/D 650.50: 20V...30V
    D 650.01/D 650.51: 2,5V...5,25V
    - Input currents: typ. 10 mA
    - Signal frequency (pulse entrance): max. 100 kHz
    - Relay contact exit change-over switch): 36 VDC / 30VAC,0,2 A
    - Operating temperature: 0...55°C
    - Storage temperature: 0...70°C
    - Dampness class: "F" DIN 40400
    - Mechanical dimensions:
    - Weight: 1,3 kg
    Moreover, I have an incremental linear encoder attached (Heidenhain LIDA 201) connected to adaptor EXE 6190B
    for measuring the displacement of the stepper motor. The adaptor EXE 602, 605, 610 outputs a voltage between 1.4 and 4 volts, 1.4 and 4 volts, 0.4 and 1.7 volts, a frequency range from 0 to 50 Hz, and an operating voltage 5 volts +/-5% / 120 mA.

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

  • How to run a stepper motor for an amount of time determined by a feedback?

    Hi,
    I'm using labview 8.6 and I'm trying to use a ORIEL sterppermike with a 20025 controller.
    I have implemented a VI that has a stack of commands in a for loop. Every loop has the following sequence of commands:
    command 1) start the stepper
    command 2) wait for feedback to reach a certain number
    command 3) stop the stepper
    command 4) wait a certain time before starting again 
    To start the stepper I use a subvi from the example folder:  
    C:\Program Files\National Instruments\LabVIEW 8.6\examples\DAQmx\Counter\generate pulse.llb
    --> Gen Dig Pulse Train-Continuous.vi
    I don't understand why the sequence get stuck at command 1 and never gets to command 2.
    I attach the vi for completeness. 
    Thanks to anyone that will help,
    Matteo 
    Attachments:
    SRL Matteo2.vi ‏121 KB

    Hi, I'm not sure whether this is the right place for asking this question or not and if not, then please guide me to the right place for asking such question. Thanks.
    I have a stepper motor with the Vector Network Analyzer Anritsu MS4623B. I got it up and running with the LabWindows/CVI. I need to sync the motion of the stepper motor with my data acquisition. Basically, I have to acquire the data in a way that in the start the motor will come back to home position wherever it was and then I want to move it to the specific position to do the measurements (For Example, I want to measure the 40 GHz channel between 1m to 3m movement of a stepper motor on a linear positioning system (ball-screw)). I've interfaced the VNA with the PC using LabWindows/CVI and I've controlled the clockwise and anti-clockwise movements of the stepper motor using LabWindows/CVI but I'm unable to sync the system in a way that whenever I run the code, the motor will run back to the home position and then move to a specific measurement start position and move till the end position and in between do the increment and stop and acquire the data. Is there any one to help me please? It's really urgent please and I'm doing this thing first time so please guide me in a proper way. I shall really apprecaite that and will be highly obliged with you. Thanks for your time and concern.
    Thanks and Regards.
    Attachments:
    VNA & Motor Control User Interface.jpg ‏199 KB
    VNA & Motor Control User Interface.jpg ‏199 KB
    VNA & Motor Control User Interface.jpg ‏199 KB

  • Labview using a stepper motor

    Could really do with some help I am a 4th year student doing my final year project. The project has a conveyor belt which is driven by a stepper motor, along the conveyor belt there is 5 sensor I want to be able to stop the motor at theses sensors for a certain time and then restart. I have attached the program I have come up with but I have one slight problem the motor will not reactivate without the sensor been made again is there any way around this.
    Any help would be greatly appreciated.
    Regards
    Billy
    Attachments:
    24.02.14.vi ‏146 KB

    Hi Bilbo,
    The case structures in your code go 'True' when the voltage values you are acquiring is greater than / equal to 0.5 V (this is how dynamic data type behaves when converted to boolean). I don't know what sensors you are using and also I could not see a stop command being sent to your motor anywhere in the code.  It is worth considering the state machine architecture as mentioned in the previous reply. you can find a white paper telling more about the state machine  here:
    http://digital.ni.com/public.nsf/allkb/5CD79190713D2B558625765F007FCC99
    If you have to rely on voltage values to detect whether your sensor is activated or not, you will have to continuously monitor your sensors in one state (sensor monitor state) of your state machine and based on the value decide whether you need to move to 'sensor activated'/ sensor deactivated' state. In these states you need to take the appropriate action on your motor (i.e. turn off (in sensor activated state) and turn on (in sensor deactivated state)) and return to your 'sensor monitor' state to monitor your sensor. This will be more clear once you read the article and understand the state machine architecture and how to implement it in LabVIEW.
    I hope that helps.
    Thanks and Regards,
    Supreeth.K
    Applications Engineer
    NIUK

  • Stepper motor /Labwindow​s 5.5 /PCI DIO 96

    Hi all,
    How can I make a software with LabWibdows 5.5 and PCI-DIO-96 to command stepper motor (360step/360°, with 4 rotation/s) ?, the second part driver and a choice of the motor is not up to me.
    the choice of the signals is up to me :
    1. cw and ccw
    2. pulse and direction.
    wich method is best ?
    Any exemple with CVI is welcome ?
    Thanks

    Hi, I'm not sure whether this is the right place for asking this question or not and if not, then please guide me to the right place for asking such question. Thanks.
    I have a stepper motor with the Vector Network Analyzer Anritsu MS4623B. I got it up and running with the LabWindows/CVI. I need to sync the motion of the stepper motor with my data acquisition. Basically, I have to acquire the data in a way that in the start the motor will come back to home position wherever it was on the ball-screw linear positioning system and then I want to move it to the specific position to do the measurements (For Example, I want to measure the 40 GHz channel between 1m to 3m movement of a stepper motor on a linear positioning system (ball-screw)). I've interfaced the VNA with the PC using LabWindows/CVI and I've controlled the clockwise and anti-clockwise movements of the stepper motor using LabWindows/CVI but I'm unable to sync the system in a way that whenever I run the code, the motor will run back to the home position and then move to a specific measurement start position and move till the end position and in between do the increment and stop and acquire the data. Is there any one to help me please? It's really urgent please and I'm doing this thing first time so please guide me in a proper way. I shall really apprecaite that and will be highly obliged with you. Thanks for your time and concern.
    Thanks and Regards.

  • Need assistance coding and wiring unipolar stepper motor to USB-9472.

    Hi, I am an engineering student and I am trying to run a unipolar ShinanoKenshi six lead wire stepper motor with the code attached.  I am unsure if this code will work and I am unsure how to wire the stepper motor to the USB-9472 that I am using.  I would appreciate any helpful comments or solutions.  Thank you.
    Attachments:
    SteppermotorLabViewCode.vi ‏27 KB

    Which stepper motor is it?  Is it the SST42D?
    What is the voltage ratings on the stepper motor?
    Attachments:
    motor.PNG ‏40 KB

  • Driving stepper motor via parallel port

    Hi everybody,
    I want to drive a stepper motor via the parallel port. The problem is to
    create a constant frequency on a digital line of the port. I tried to do
    so with a While-Loop with a certain delay, but the frequency varys due
    to occurrences like mouse-movement (due to the call-ups of interrupts I
    think).
    Any Ideas?
    Regards
    Martin
    Attachments:
    Martin.Eis.vcf ‏1 KB

    How about a simple NE555 timer circuit to externally create the constant
    frequency, then use a bit in the parallel port to enable and disable the
    NE555 circuit? You could probably go to Radio Shack and pick up the
    components for less than $10.
    Jim
    Martin Eis wrote in message
    news:[email protected]..
    > Hi everybody,
    >
    > I want to drive a stepper motor via the parallel port. The problem is to
    > create a constant frequency on a digital line of the port. I tried to do
    > so with a While-Loop with a certain delay, but the frequency varys due
    > to occurrences like mouse-movement (due to the call-ups of interrupts I
    > think).
    >
    > Any Ideas?
    >
    > Regards
    > Martin
    >

  • Stepper Motor Speed Record

    Hi,
    I am controlling a Phidget stepper motor using the VI captured below which includes a loop. I simply wish to record the speed of the motor as it runs into a text file or similar.
    Currently i am trying to create an array and then output that as a file once the loop has stopped. This isn't giving me anything
    Unfortunately i have very little LabView knowledge... is there a simple and effective way i could do this?
    Any help would be much appreciated.

    Your description of your project was a little vague.  Also, no code/image was posted as was noted above.  And, you do not run stuff into a text file.  You store data in one.  What are you using to record this data?  Are you using a constant for the amount of iterations/samples you wish to take or is this going to be dependent on a User Control?
    Remember, code does exactly what you tell it.

Maybe you are looking for

  • How do I permanently delete an app from my iPad and App Store?

    I would like to permanently delete apps from my iPad and my Purchased list in the App Store. How do I do this? These apps are ones that I have tried and found to be useless or do not work correctly. I have deleted apps from iTunes Store, but I cannot

  • InDesign export Text Layout Framework Markup

    hi there as described in title, i'm having troubles exporting an InDesign comp in a decent way my quesitons are: 1 - It exists a DTD for Text Layout Framework Markup Language ? 2 - Is there an export module that make me able to do it automatically? b

  • Mapping error with respect to nodes

    hi, We have 5 fields in node1 with occurance(0:10) . If all the 5 fields exists then create the target node. We used 5 fields>exists>Createif-->target node Now we are facing an issue like. Node1 is repeated thirce on source side. Where in the third s

  • How to use classes in other directory ?

    Hi, Sorry it's a total newbie question but i don't know how to do. I made a project, i have the main part of my classes in the root directory but i have somme classes in sub-directories , how can I use this classes , is there an equvalent of include

  • Connection Failed - The Server May Not Exist

    On two 10.4.7 machines, when I try to connect to a 10.3.9 machine, I get a message that the server may not exist. It was working fine last week, then all were shut down over the weekend. When I choose Network on the Desktop, the server shows up on th