Control a servo or stepper motor

Hi
I have multifunctional DAQPad-6015. I want to control a servo or stepper motor. Is it possible to control the motor with this Device?
regards
shafiq

Hi,
You probably need an additional power supply. there are many resources on the internet on motors. i even ran a stepper on parrallel port before. what you need to know is the sequence to step through the motor. you need to know the configuration of your motor. 4,5,6 wires. maybe check the manufacturer's website.
Goy

Similar Messages

  • How can i control a 3rd party stepper motor driver

    I want to control a 3rd party stepper motor hardware driver througt labview.The company has given me a C program.Can somebody help.I'm new to labview.
    Thanks in advance
    Rajan

    Hi Rajan,
    The LabVIEW may be able to control the motor depends on the bus used for communication and what the C program does.
    For example, if you connect to the motor using a simple bus, such as RS-232 (serial), then you could use LabVIEW to send the commands to the instrument. For this you need the motor's command set, which should be in the motor's documentation. You can also look into the C example program you were giving and determine if commands are being sent directly using the serial port.
    Another way the manufacturer might provide conectivity is using a driver. In this case, the manufacturer provides you with a library of functions that reflect the functionality of the device. You don't need to worry about the specifics of the communication bu
    s. You just call the functions from this library. In this case, you can use LabVIEW's Library Function Call Node, which allows you to call C functions in dlls.
    If you can include more information on how the motor is connected to the instrument and what the C code does, I could probably provide more details.
    DiegoF
    National Instruments.

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

  • Stepper motor positioning control system

    hello
    Iam building positioning control system using a stepper motor, and I need to know what are some position sensors available to feedback the position of the stepper motor.. Also I need to know how can use a C code in the labview...For example, if I have an algorithm developed in C; How can I use that code in the labview..
    Thanks
    Shaham

    Shaham,
    Below is a link to several encoders that NI provides specifically for stepper motors.
    Quadrature Encoder:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/205321
    As far as the C code is concerned, this can be accomplished in two different ways, provided that the code is first placed in a dll file.  
    First, you can import the dll into a project library, by selecting Tools»Import»Shared Library.  This option is good for code that will be used often, as it creates wrapper VIs for each function that can be reused.
    Secondly, a "Call Library Function" node can be used to call a C function from a dll.  This procedure is shown in the following tutorial, and is useful when code only needs to be called a few times.
    http://decibel.ni.com/content/docs/DOC-9069
    I hope this helps!
    Drew
    Drew T.
    NIC AE Specialist

  • Error -70006 when using stepper motor in Open Loop Mode

    We have a LabView program that runs a test in which a table is rotated. At the end of the test, the table is supposed to rewind. Instead, the following message appears:
    Error -7006 occurred at Read Trajectory status.flx
    Possible reasons: For FlexMotion, an invalid axis number or other resource ID (Vector Space, Encoder, I/O Port, and so on) was used.
    We have the PCI-7344 interfaced with a UMI-7764 and a Zeta4 that is controlling a ZETA83-93 stepper motor. There is no encoder in the system for this motor. The stepper loop mode was originally set to closed loop but the motor behaved erratically (moving multiple times when instructed by MAX to move once). The stepper loop mode was changed to open loop and the m
    otor started behaving properly, but that is when the error message starting appearing. Are there any other configuration settings, such as Primary Feedback (which is now set to Encoder) or ? that I may need to correct to resolve this error?

    First of all I would check a couple of things. The reason why your motor was not behaving properly in closed loop stepper configuration is most probably related to the fact that you don't have the encoder counts per revolution adn the stepper steps per revolution properly configured for your motor. Please follow the instructions found in the following knowledgebase:
    http://digital.ni.com/public.nsf/websearch/29edb56​146f274a386256a1c00624310?OpenDocument
    When you configure an axis in closed loop stepper mode, we use the information of the encoder to generate the adequate velocity profile. If the encoder counts and steps per revolution are not properly matched, then the motor will not execute the moves properly. What you need to do is the following:
    1.-Configure your axis as closed loop stepper in the Axis Conifguration Section in MAX.
    2.- In thbe 1-D Interactive Basic panel, kill the motor and click on reset position.
    3.- Manually rotate the motor one revolution.
    4.- In the advanced panel on 1-D interactive, read the Encoder Value. This is the value you should enter on the Axis Encoder Counts per Revolution under Axis Configuration. Press Apply.
    5.- Go back to the 1-D interactive Basic Panel. Change the bullet selector unbder Stepper Loop Mode from Closed to Open. Run a 10000 step move.
    6.- When the move is finished, read the encoder counts from the advanced panel. This will tell you how many counts you have in 10000 steps. You can now calculate the stepper steps per revolution by the following formula:
    (# of steps per count)*(# counts per revolution) = # steps per revolution.
    Your motor should work fine in closed loop stepper configuration now and the error should not appear. Please make sure you are using the latest version of our driver (Ni-Motion 6.0.1)to avoid older firmware errors and fixed bugs from affecting your system. You can get it from:
    http://digital.ni.com/softlib.nsf/webcategories/85​256410006C055586256BB9002C16DF?opendocument&node=1​32070_US

  • 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

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

  • Stepper motor closed loop control using 7344

    I have some question about the closed loop control of stepper motor using 7344. From the NI website I got that closed loop steppers work differently from closed loop servos. Instead of adjusting the output on each PID iteration like a servo system, closed loop steppers will do a pull-in move at the end of a move to adjust for any difference between the target position and the encoder feedback. By default, it will attempt the pull-in move three times.
    Now for example I got five points: (0,0) (10,20) (30 40) ( 31 60) (50 65). The request time interval I set as 10ms. This mean that in the first 10ms, the machine should move from (0 0) to (10 20). But for some reasons the machine can not move to (10, 20), it moves to (8,16) and the first 10ms passed. In the second 10ms, how it move? Move from (8 16) to (30 40), If like this, the following error will accumulated. In practise, it is not accumulated. Is there anyone can explain something about the closed loop control of stepp motor? Thanks a lot!

    Requested Interval is additional data for the Position buffer type. The Position buffer type requires a Requested Interval parameter, and indicates the time between contouring data points in milliseconds. For all other buffer types, the Requested Interval parameter is ignored.
    The controller will use the closest value it can that is greater than or equal to the interval value you requested. Your time interval must be an even multiple of the PID rate.
    For example, given a PID rate of 250 ms, a time interval of 11.2 ms between points is physically impossible, so a call to configure buffer with an interval of 11.2 causes the  buffer to actually be configured for 11.25 ms, since 11.25 is the nearest possible interval greater than 11.2. The following table shows valid intervals for each PID rate.
    My question is like this. For example I got five points: (0,0) (10,20) (30 40) ( 31 60) (50 65). The request time interval I set as 10ms. This mean that in the first 10ms, the machine should move from (0 0) to (10 20).  If it is impossible for the machine to move from (0 0) to (10 20), there are two ways to solve this problem. First is the time interval is 10ms and assume it move to (8 16) within 10ms and take (8 16) as the start point and (30 40) as the end point of the second move. Second is extend the time interval, assume it takes 14ms to move from (0 0) to (10 20). After 14ms, the (10 20) is the new start point for the second move. I think it works as the second ways.If not, the following error will accumulated.  Is there anyone can explain something about the closed loop control of stepp motor in detail? Thanks a lot!

  • Whether the NI step controller can control the digital servo driver and motor

    I want to you can help me confirm whether the NI step controller can control the digital servo driver and motor.If can,what is the differents between servo controller and step controller to control servo motor?Thank you so much!
    Best regards

    The PCI/PXI/FW 7344 high precision controller can be used to control both steppers and servo motors. The older PC Step controllers are made for stepper only control. The difference in the two control types is with stepper control, the controller outputs two digital signals that control the step and direction of the motor. The drive uses these digital signals to energize the stepper phases and commutate the motor. In a servo system, the controller outputs a -10 to 10 Volt analog signal that the drive then uses to output the appropriate current to the motor which is proportional to torque.
    You can get more information from the following website:
    http://zone.ni.com/devzone/devzone.nsf/webcategories/69771825AE23E98E86256786000BEA02?opendocument
    Please let u
    s know if you have any further questions.
    Regards,
    Andy Bell
    Applications Engineer
    National Instruments

  • 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

  • Stepper motor and loacell PID control - waveform motion.

    Hi, 
    Hardware :  cRio9073, C series module 9403 for stepper motor control and 9215 for load cell data acquisition. 
    I am trying to control a stepper motor in a closed feedback loop system with a load cell. The user would have to input two things : the maximum load applied and the frequency of the motion. At the moment I have it working in open loop controlling how many steps forwards or backwards it does and at what rate, with a display showing the load being applied.
    I am now looking to include the "PID.vi" built into labview into my existing code. I am using the load cell output as the 'process variable' and the 'output' of the PID will control the wait time between an ON and OFF signal to the motor (since I have to do the PWM in software as the 9403 module doesn't do it in hardware. Is this the right way to do it? ) 
    I wish to make the motor do a sinewave motion, thus the 'setpoint' of the PID would be dynamic. I have therefore linked the "Sinewave form.vi" (also built into labview) to the setpoint and the frequency of the "Sinewave form.vi" will be the user input for the frequency of the motor. However my problem lies with the 'Sampling info' of the "Sinewave form.vi" : Previously that is what controlled my number of steps, defining the maximum displacement of the motor. Now I need the peak of the generated sinewave to coincide with the maximum load applied defined by the user. How can I make it do that? 
    I have attached my existing code with how I have attached the PID.vi at the moment. 
    Many thanks for your help
    Lawrence 
    Attachments:
    PIDControl.vi ‏23 KB
    BIOGROWTH.lvproj ‏46 KB

    Hi Lawrence,
    Here is an example PID VI.
    Regards
    Rico P
    Attachments:
    General PID Simulator.vi ‏22 KB

  • 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.  
    Thanks,
    Ryan

    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

  • What's the type of control for stepper motor?

    Hi,
    I'm using PXI-7358 controller, UMI-7774, Industrial Device NextStep third part microstepping drive, stepper motor SANYO-DENKI (type 103-8932-6421, NEMA42) and incremental encoder 3600 ppr (14400 count/round). I want to say what's the NI onboard type of control used to control motor step position? In the case of servomotor the type of onboard control is a PID, in the case of stepper motor what's the type of control? What's the MAX parameters to set for the project specific (overshoot, settling time, rise time etc..)? What does it means "Pull-in Window" e "Pull-in Tries" in MAX? So, it's possible control the stepper motor with user's algorithm control, excluding the onboard control?
    Thanks for your patience,
    Best regards
    Lorenzo

    >
    Matt wrote:
    > Go to SE24.  Type in cl_dd_document and press enter.  Select the methods tab.  Look for the method "CONSTRUCTOR".  Double click on it.   Click on SIGNATURE button.  The types of the parameters are clearly seen.
    >
    > matt
    TYPE and VALUES OF TYPE -- different things. For example, TYPE C -- CHAR. VALUES of this: A, B, C, ..., 1, 2, 3.
    Thus, return to question.
    TYPES: sdydo_attribute(50) TYPE c
    TYPE: sdydo_attribute
    VALUES: ???
    May be, value ABRAKADABRA correct?

  • How can i control the motor movement of stepper motor using a NI PXI 7330

    Good day to all,
    i'm a newbie in programming in motion control of NI. I just want to ask if how can i control the clockwise and counter-clockwise rotation of a stepper motor using NI PXI 7330 module. all i can do is the counter-clockwise rotation using the example vi (Simple one-axis move.vi) found in the examples of LabView 2009.
    Thanks

    what type of limit switch sensor are you using and how did you wire itß What are your MAX settings regarding the limit switches?
    Good day SIr Jochen,
    I am using two reed switch for the reverse and forward limit. I wired the signal wire of the reed switch to the limit ports(forward and reverse Limit) and its ground to the digital ground of the UMI-7764.
    the attachment below is the my max configuration about limit switches
    Attachments:
    max configuration.JPG ‏155 KB

  • How do you control LED lights on the front panel to identify the number of steps a stepper motor has taken?

    I am controlling a stepper motor that is coupled with a valve with four outlets (using an Arduino).  I've got a general understanding of how to control the motor, but I want LED lights on the front panel to light up that indicate which outlet the valve is currently at after the steps are taken.  The method I'm thinking about involves a lot of repetitive code.  I'm not that experienced with LabVIEW, I'm assuming I need some sort of loop structure but I don't know how to set it up in order to control the sequence of the LEDs.  I've attached my current block diagram for a visual aid if needed.
    Attachments:
    Capture.JPG ‏33 KB

    I was thinking about using the Stepper To Go and Stepper Write functions four separate times, using the same constants for the steps each time since the distance between each outlet is equivalent.  The only difference would be what's connected to the "steps remaining" node, which would be the function that activates one of the four LEDs (if that makes sense).  I was thinking that doing it this way would be a little counterintuitive since the only thing that needs to be changed is the LED indicator.

Maybe you are looking for

  • Keyboard issue

    Hello, I have an HP Pavilion dv6-3180sp running Win7 64, and this is what happened to me today: while I was multi-tabling at a poker room, my computer suddenly went off. I restarted and got a warning saying that the computer switched off due to overh

  • How do i play my videos in flash file after moving SWF file to website?

    Hello all, I am having some problems showing my videos in flash after moving it anywhere besides my computer. I published my flash file once as a exe. file and sent it to another computer, where it all worked but my videos, which didn't show up at al

  • Use Return Key to trigger function?

    I've got a little form in a movieclip where the student is to do some simple subtraction, then click the Record button to enter the data into a table. Problem is that if someone types in the answer, they naturally want to hit the Return key to enter

  • Farm Configuration SQL Server 2012 - Different licences

    Hello! Is it possible to run the following farm configuration: SSRS Server 1 ( SQL Server 2014 Enterprise Edition) SSRS Server 2 ( SQL Server 2014 Enterprise Edition) SSRS Server 3 ( SQL Server 2014 BI Edition) SSRS Database is hosted on Server 1. Th

  • Can I get an old version of kik messenger?

    can I get an old version of kik messenger for under seventeen year olds? I need a version thats legit for my 12 year old daughter. The previous version (5.1?) didnt have the age restriction but I am having problems finding it.