Control step motor explanations

Hello,
I would like to control a step motor with computer through a cRio solution and a module: NI9512
I already saw what can be requested for the experiment:
A controller Ni cRio 9073, in order to plug the module
A power supply 24VDC
Step motor
Nevertheless I noticed that I could also have needed a Step driver (like the P7000). What is its role? What the difference between the Step driver and the module NI9512?, Does I required the both ?
Thanks you for your responses,
Regards

Hi,
one 9512 provides connectivity for one stepper axis. The same is true for the P70530 drives.
Using the drive interface modules is probably the most reasonable method to drive stepper motors with a cRIO system. It requires no FPGA programming and provides a very easy to use API (NI-SoftMotion). You may want to have a look at how to configure and program such a system in this short webcast.
Of course you also could use digital I/O modules and FPGA programming, but this would result in significantly more work. With the drive interface modules you should be up and running in several hours (including cabling and configuration). With the manual approach the setup could easily take several days to weeks (consider extensive testing and recompiling of your code). If you need to meet very special requirements, this is still worth the efforts, but for standard stepper motion control tasks I strongly recommend to use the drive interface modules.
Kind regards,
Jochen Klier
National Instruments

Similar Messages

  • Assigning digital port to control stepping motor

    Hi
    I want to control optical encoder, DC motor, Digital camera, Stepping motor, Electric lamp using LabVIEW and Data aquisition card. I am
    facing problem in interfacing stepping motor to DAQ device and configuring the digital output port using measurement and automation explorer.
    I am attaching the document showing configuration of measurment and automation explorer. I want to assign four line digital port for controling
    stepping motor. I want to assign DIO0,DIO1,DIO2,DIO3 for stepping motor. But the signal is going to other ports as well. Please somebody help me
    out of this problem.
    Jayaprakash.
    Attachments:
    Measurment and automation explorer.doc ‏99 KB

    Answered on your other post.

  • 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

  • Using FieldPoint to control step motor

    I am having problem positioning a step motor. Here is what I am using.
    Step motor 200 stp/rev. with a 500 line quadrature encoder
    A SS2000D6 SLO-SYN Drive
    Field Point FP-Quad-510 for the encoder
    FP-PG-522 for the Pulse generator
    FP-DO-403 for signals for the SLO-SYN drive
    FP-DI-330 for digital input signal for switches
    I am able to drive and control the speed and direction of the step motor also display its position. But I am having problem when I want to move a position and stop. I can see the counter working when it reaches the number I want to stop it flys by. If I slow down the step motor way down the encoder moves so low it counts in batches of 2 or 4. Does any one have an idea what can I try or do.

    Hello Toro,
    It's good that you listed all of your FieldPoint hardware, but which of it is relevant for this issue. From what I can tell, and please do correct me if I'm wrong, is that the FP-Quad-510 and FP-PG-522 is of relevance. You determine the location you want it to move to, and you then start the pulse generation according to the reading from the FP-Quad-510. Is this correct? The problem isn't the quadrature encoder measurements, but the pulse generation.
    Does the position change ever stop? How do you currently have it programmed such that it knows to stop at a certain position. There is a command used for the FP-PG-522 which will stop it's pulse generation immediately or on its next pulse. Page 8 of the FP-PG-522 Operating Instructions read:
    The Control command supports two actions: Stop Immediately and
    Stop After Current Pulse. Both of these actions can stop a finite
    pulse train. Stop Immediately stops pulse generation immediately.
    The channel goes into the idle state, and, if the output for the target
    channel is on, it is turned off. Stop After Current Pulse ends the
    current pulse train after the current pulse is finished.
    =====
    Let me know your thoughts, questions, and comments.
    Jared A

  • Control Step Motor in LabVIEW via Step Motor Driver

    I am looking to control a Step Motor (P/N 4023-828) with a Si5580 Driver, both from Applied Motion Products, with a LabView VI.  Applied Motion provides a simple utility program which accepts SCL commands to drive the motor and recieve information about the motor from the driver via a serial connection.
    Preferably, the LabVIEW VI would have an input field, and a running list of output responses.  I am kind of a novice with LabVIEW, but I know how to create simple VIs.  Any reference to tutorials which explain setting up this type of control would also be appreciated.
    Thank you

    Hello Spike22283,
    From your description, if the driver you received from Applied Motion
    Products is a DLL and you know the API for the driver (the inputs and
    outputs for the functions defined in the DLL), then you can use a Call
    Library Function Node in LabVIEW to get the set up you desire.
    In particular, you would first configure the Call Library Function Node
    to call the particular function in the DLL.  Then wire a string
    control into the Call Library Function Node, which would be the input
    command to drive your motor. Then depending on the data type of the
    return value of your DLL function, you can wire an string indicator to
    the output of the Call Library Function Node and see the output
    responses.
    As a reference, I would suggest looking at the shipping example Call DLL.VI (Help >> Find Examples >> Search for "DLL"). 
    This example VI allows you to browse examples of external code (C and
    C++) data types and how they interface with LabVIEW. Each data type has
    an example VI that demonstates the use of the Call Library Function
    Node. To open the example VI for a particular data type, select that
    data type from the list on the left and then press the "Open Example VI
    for Current Data Type" button. The function prototype, the function's
    source code, and any specific details about this example will appear in
    the External Code Information cluster.
    Hope that helps.
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews

  • Could i use MyDaq to catch 4 pwm input signals which for controlling Stepping Motor?

    Dear,
           I got 4 Pwm input like picture below.
           I try digital count, also digital input with timestamp but not be able to catch them correctly.
           Is there any possible solution for this problem?
    Thanks alot.

    Hi there,
    If you want to do the edge counting for any purpose
    You can try with DAQ assisant function and setting the Counter Input section as Edge Counting
    Or with the more flexible DAQmx API:
    Are you going to measure the digital count for 4 Axes sepearately? Because there's only one counter available on MyDAQ device:
    http://www.ni.com/pdf/manuals/373060e.pdf

  • Hardware Selection Step-motor Control

    Hi
    I would like to control step-motors. I have a hardware driver for control but I need digital outputs for direction and start/stop of the hardware driver. May I use NI USB-6501 (24-ch, 8.5 mA) or myRIO?
    Regards

    With the LabJack U3, if you use software to command each digital output transition (output-high or output-low), consider that it takes roughly 600us for each command-response per Section 3.1 of the U3 User's Guide.
    There are a couple other ways to send pulses from the U3.  You can use the WAIT technique where you send a bunch of commands (high-wait-low-wait-high-wait-low ... and so on) to the device in 1 packet, or you can use a timer to generate output pulses via hardware timing.  The timer pulse output can be continuous, or you can use another timer to stop the output after a specified number of pulses.  See more in our Waveform Generation Application Note.

  • How to control the step motor in this situation?

    I have a PHI TRIFT3 ToF-SIMS instrument. The instrument comes with a default
    software. However, the software don't offer fine step motor control. I want to control
    the step motor using Labview.
    I got some info from a Japanese engineer of the company.
    The step motor controller is connect to a card in ISA slot. In the default software, I
    can send command like D2000(distance 2000) and A100(acceleration 100) to "port 2"
    to control the motor. I have a manual of the commands.
    However, I don't know how to send command from Labview. Here is a joysticker
    connected to COM1, COM2 is used for other vacuum control. The joysticker can also
    control the motor..Here are some reply from the company about the control.
    "We do not use special driver for control the step motor.
    This is just sending the serial command via RS232C per command instruction I
    sent you before. The only difference is, to simplify the hardware, we just talk to data acq
    module(wave form card) via PAHOST card(installed in ISA bus slot of the PC)
    to passthru the RS232C command to stepper motor control unit.
    If you try to talk to step motor. just send the RS command from Labview
    platform. (of course need to connect the step motor controller from PC,
    default TRIFT PC does not have a spare COM channel, might be need to add
    serial etension card or add the computer for Labview control)
    "TRIFT PC passthru the RS232 command throught ISA bus to PHI data
    acquisition box to stepper motor control.
    Joystick handled by default software , convert to stage movement
    command X and Y then send thru to ISA. "
    I tried to use the Basic Serial Write and Read.vi to send command to COM1 but I always
    get an error"1073807246 ocurred at property node(arg 1) in VISA configure Serial prot(Instr).vi->
    Basic Serial Write and Read.vi  Possible reason: VISA: the resource is valid, but VISA cannot access
    it."   I think this happens because the default software is also open and trying to control COM1.
    What should I do to accomplish the step motor control? Thanks a lot

    Just to start from scratch, have you verified that you can do basic communication with your serial port, ie successfully perform a loopback test?  Please let me know, and we will go from there.
    Logan S.

  • Control a m061-fd02 step motor with labview

    i am trying to control a m061-fd02 step motor via cdaq 9178,and i dont really know how to begin,can some one help me

    Thank you both for posting on NI Discussion Forums. It looks like you are close to finding an answer to your questions. Also, our engineers at National Instruments would be glad to help you find the products that you need to meet your applications needs. We are here to help.
    I believe that this post should have been made in the Motion Control board rather than the LabVIEW board. These forums are moderated by NI engineers. By posting in the correct board, the posts are routed to the correct engineering teams so that we can assist you all more efficiently.
    Applications Engineer
    National Instruments

  • Controlling XY table using a stepping motor

    Hi all,
    I want to control an XY table using a Lang MCL 2 stepping motor and for that I'd like to use a pre-made toolkit instead of programing all using DLL's. Any suggestions?!
    Best Regards,
    Seno

    Hi,
    I have already found a toolkit that is so useful for my purpose, but the problem is that its documentation is missing. Any idea where I can find it?
    attched is a pic of the toolkit VI's.
    Best Regards,
    Seno
    Attachments:
    Lang.jpg ‏418 KB

  • Step motor control

    I would like to buy a hardware and a step motor  for control with labview. Could you please offer any configuration . I have to push with this motor a load equal to 1 kg.
    Regards 

    I'm going to assume that you are familiar with National Instruments Offerings for Motion, and that it is not what you are looking for.
    Here is a link, just in case: http://www.ni.com/motion/
    The most basic stepper motor control system will look something like this:
    LabVIEW-compatible DAQ with Digital Outputs, and Counters.  These provide the Step and Direction signals.
    A Stepper motor.  NEMA 23 and NEMA 17 are common choices.  Larger (NEMA 34) and smaller (NEMA 11, NEMA 8) choices are also avaliable.
    A stepper driver with support for step and direction signals in the voltage range that your DAQ can supply.  This is typically going to be 24 VDC.
    The torque capability will depend on the driver, the motor, and the speed that you need to run at.
    Machine Vision, Robotics, Embedded Systems, Surveillance
    www.movimed.com - Custom Imaging Solutions

  • CRio Steper Motor Control NI9512 step by step

    Hello,
    I have a project at University, and I need to design a LabView VI to controll a steper motor. Apparently all hardware is installed correctly: cRio-9074 and NI 9512. The motor only needs to turn for a start. Problem is, I am all new to Labview and I have no clue how to programme such a VI. I have completed all the basic tutorials on how Labview works, but I need help on how to direktly control the motor via a VI.
    Pls Help me!
    Solved!
    Go to Solution.

    Hey Thorsten ,
    there is already a post open regardin your topic.Please continue Discussion here:
    http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/Controlling-a-Stepper-Motor-with-LabVIEW/td-...
    Regards
    Roman Imhoff
    National Instruments

  • Step motor control with a time delay

    Hi all,
    I am trying to control a step motor to move in vertical direction by Labview2010. The specific Labview function blocks are created by the manufacturer of the step motor. Now the axis can move up/down properly but my question is that I want it to move with a time interval. For example, we set the desired position to 10mm and waiting time 1s. When I click on the start button once only the axis moves 1mm and wait 1s. Then axis moves another 1mm and wait 1s. This action will obviously repeat 10 times until the axis reaches 10mm position.
    I will be very thankful if someone could give me some hints.
    Best regards,
    Nicky
    Solved!
    Go to Solution.

    You're welcome
    You should some more to the code so that it's more reliable. There might be some miscalculation between the travel distance and the resolution, i.e. 5mm travel and 2mm resolution will give the forloop 2,5. This should be either 2 or 3. I'm not quite sure how the for loop handles this. I think it will round to nearest. You should anyways check it out. Also avoid using 0mm.
    Good look with your project 
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • Step motor control with a time interval

    Hi all,
    I am trying to control a step motor to move in vertical direction by Labview2010. The specific Labview function blocks are created by the manufacturer of the step motor. Now the axis can move properly but my question is that I want it to move with a time interval. For example, we set the desired position to 10mm and waiting time 1s. When I click on the start button once only the axis moves 1mm and wait 1s. Then axis moves another 1mm and wait 1s. This action will obviously repeat 10 times until the axis reaches 10mm position.
    I will be very thankful if someone could give me some hints.
    Best regards,
    Nicky

    You're welcome
    You should some more to the code so that it's more reliable. There might be some miscalculation between the travel distance and the resolution, i.e. 5mm travel and 2mm resolution will give the forloop 2,5. This should be either 2 or 3. I'm not quite sure how the for loop handles this. I think it will round to nearest. You should anyways check it out. Also avoid using 0mm.
    Good look with your project 
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • How to control steps of a step motor using labview?

        Hi, I'm really beginner on labview and I need to make a VI to control a step motor. For each n steps, a sensor must observe the position of a mechanism and save in a table based on the number of steps taken. I've already have the sensor's driver, but I don't know how to comunicate labview with the step motor.
       I've seen some samples here, but they weren't enough. I need to buy some specific hardware? What's the difference between using VISA and Motion NI 77xx? Where I write how much steps I want it moves?

    HI 1M2S,
    You have many ways to communicate LabVIEW with a step motor. Are you using a IC step motor driver or a NI module step motor driver?
    If you a using an IC step motor driver you can use serial port or DAQ digital output to control the step motor steps.
    If you are using a NI step motor module you need use NI Motion functions.
    Best regards,
    Abel Souza
    Engenheiro de Aplicações
    National Instruments Brasil

Maybe you are looking for

  • Preview - How do I turn off the Auto Save?

    I recently updated my software to 10.8.2 and Preview is terrible when it comes to saving files. I regularly take a picture and change it to then copy the result without saving the file.  I recently learned that the programs been saving when I didn't

  • Alert mode in exception

    Hi to all                   I want to define a alert mode in exception , but i am not getting in AWB that reporting agent option , first time i am using 7.0 , can any body help me Thanks in advance shalini

  • BO scheduled reports

    Post Author: svetal CA Forum: Administration HiI need a summary statistical report about all  reports in BO (BO 11.5)Is it possible to get a report consists of:1) a list of all report names that have recurring schedules set up in BO 2) who they are b

  • RSRV -

    Hello, We refreshed using a copy of production our R3 QA box, so I reloaded the data for our BW QA box. Since it was a refresh our BWQ and BWP boxes should contain the same exact data (Which they do, I verified) The question i have Regards why i have

  • Adding a listener to an integer value?

    Hello All Is there a way of adding a listener to an integer value that produce an event (run a method with the object) when an integer value is changed? (Through a object.setValue(int) for example) Thanks for any help, Harold Clements