I need a stepper motor to run a metal sheet

1.i am doing a project in labview .i need a stepper motor to run a metalsheet and i need to interface it with labview.specification of stepper motor is
torque: 2n
load  : 4-5kg
arm   : 4 
2. I am using a vision assistant in labview . If i store the script file in my desktop i cannot retrieve it, there is some win32 application error. How can i store my script file like a labview file  

You are asking two different questions here.
For question 1: Please stick to the original thread. You've already received numerous responses. If they are not adequate, please indicate what is not adequate in that thread, rather than making people rehash the same answers. 
For question 2: This makes no sense. What script file are you talking about, and why would you want to store it "like a labview (sic) file"?

Similar Messages

  • Smc emy2 stepper motor problems

    Hi,
    I am trying to set up a stepper motor to run with labview 8.2. I am pretty sure that the code I have written should work so I am trying to figure out if I have wired everything correctly, I hope this is the right place for this. I have added the description and manual for the SMC EMY2 stepper motor (page 22 is where I am looking mainly for the wiring, I am using the 5-point Stoppable Type) and manuals for the two NI DAQs I am using, NI9474 for the control singals to the motor and NI9423 for receiving signals from the motor. I am using an external power supply with these that is set to 24V. I have the NI 9474 in slot 5 of the cDAQ-9172 and the NI 9423 in slot 6. I have attached to the power supply cable wires wires as described in the EMY2 manual to the power supply and the motor runs fine when using the attached controller, then I have attached the I/O wires as follows:
    Brown - Vsup of the NI 9474
    Blue - Com of the NI 9474
    Pink - line 0 of the NI 9423
    Orange - line 1 of the NI 9423
    Yellow - line 2 of the NI 9423
    Red - line 3 of the NI 9423
    Green - line 4 of the NI 9423
    Purple - line 3 of the NI 9474
    Gray - line 7 of the NI 9474
    Black - not attached
    White - line 2 of the NI 9474
    I can get the NI 9474 to output a signal but the stepper motor does not seem to react at all. I had a colleague recommend that I connect the - terminal of the power supply to the ground terminal, is that a good idea. If anyone can think of something to help that would be great and if you need more information just ask and I'll try to get it.
    Thanks.
    Attachments:
    Stepper Motor Manual.pdf ‏2396 KB
    NI 9474 Operating Instructions.pdf ‏237 KB
    NI 9423 Operating Instructions.pdf ‏401 KB

    Hi rlacroix156,
    Looking at page 22 of the stepper manual, it looks like there are two seperate power supplies that are referenced.  Are you using 2 power supplies? Also, have you considered using just one module since you are only using 7 lines?  Then you eliminate the split grounds between the modules.  Which brings me to another point.  The 9474 DIO lines are tied to the power supply ground.  The Blue and Brown lines you mention, are those DC2 or DC1?
    Kristen H.

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

  • What NI Stepper Drive is compatible with both NEMA 11 and NEMA 42 stepper motors?

    I have a NI PXI-7350(Motion Controller), a NI UMI7774 (Universal Interface), and a NI P70530(Stepper Drive) and I tried linking up a new NEMA 11 stepper motor linear actuator from Hayden Kirk and kept getting a constant red blinking light on the driver. I then connected my new NEMA 23 stepper motor linear actuator from Hayden Kirk and the driver had the go ahead green light and it worked fine. I consulted the manuals and saw that the driver was only compatible for NEMA 17-34 Steppers. I tried the third party setting as well for the NEMA 11 to no avail. Does anyone know of a NI Stepper Drive that is compatible with my UMI and Motion Controller and also is compatible with a NEMA 11 and NEMA 42 (another motor I need controlled) stepper motors?????
    Solved!
    Go to Solution.

    Thank you for the quick response
    So I have connected as the Third Party Motor option with the P70530 Stepper Driver. I have read the manual and selected the appropriate DIP switches for the third party motor setting. As instructed I downloaded the P7000 Tools 2.11 to set up the motor with the driver. When I open it and try to search for the driver nothing is located. I have appropriately changed the COM settings in the device manager to the appropriate values and also I am seeing the steady green light on the driver. I am at another stand still. What else can I do to get the driver recognized so I can set up these motors?
    Thank you for your time,
    Tom

  • Configure stepper motor with MAX

    Hi,
    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.

  • How do you controlling a stepper motor

    I want to control a stepper that is lifting a scissors lift but I want to calibrate it to different height enter in the heights into memory and then recall when necessary.

    Not sure if you were looking for electrical help or programming help. If you want more details you could reply to the thread....
    You need a stepper motor controller. This is an electronic circuit. They can probably be found with a web search. The range in prices from $50 to $1000 or more. Or you can build one using componants from National Semiconductor or Allegro or Texas Instruments or other chip makers.
    Depending on motor configuration, you can have a unipolar (6 wires, 3 wires per phase) or bipolar system (4 wires, 2 wires per phase). If you don't have instructions with your motor, you can figure out phasing with an ohmmeter.
    Usually the controller has a square-wave input and a direction input. Sometimes some other inputs. Usually there is one step (or even one microstep, depending on the controller) per rising edge. Sometimes they have an analog speed input, but this kind of controller is probably not right for your application.
    You can count steps in one direction. The stepper controller takes care of powering the windings to make the motor turn round. Then count steps back. Unless you have stalled the motor, the motor steps are very repeatable in location. If you remember how many steps from some reference point (i.e. all the way in one direction, say), you can save the position reference and come back to the location by counting up or down until your current position reference matched your saved reference.
    Hope this helps some.

  • 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

  • Running a system which conclude "Stepper motor + Pressure sensors"

    Hello
    I need some help as a beginner. Would u please guide me?
    Actually my project is about running a system with LabVIEW which is contain a stepper motor (with different speeds in clockwise and unit clockwise) a pressure sensor, a switch for calibration the sensor and finally reporting the output as a graph with shows the distance that motor moves a barrier and changes of pressure during the movements of barrier.
    Right now, I have stuck in ordering the hardware parts for connecting the PC to the system. I don't know exactly what do I need to handle the hole system. Would you please help me? I don't know from were and how should I start?
    Thanks a lot

    As GerdW mentioned in the other post you might want to speak with a NI applications engineer.  If this is a school project of some type and/or you just want to spec everything yourself then you certainly can.  Your first step is to define all the physical parameters of your devices.  So you need to know what kind of stepper motors you need based on the required angular resolution, torque, etc.  What kind of pressure gauge will you use?  What type of output will it provide you (simple voltage, pulse train, full USB interface)???  What kind of switch will you use.  Can it be controlled by low-current TTL or will you need a driver or relay?
    Make a list of everything you will need for your application:  motors, sensors, switches, etc.  Then determine how to interface to them.  THEN you can start looking through your hardware options and pick the best choices based on your needs.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • How to generate digital pulses to run stepper motor in a sinusoidal motion profile using NI DAQ 6229 card

    Hi,
             I need to make a stepper motor undergo rotary oscillation with a sinusoidal motion profile. As it nears the extreme points it should decelerate and finally slow down to zero velocity and then it should reverse direction and accelerate until it reaches the other extremity where it should slow down and stop and reverse direction and repeat this motion.
            The hardware is NI DAQ 6229 and the stepper motor can be controlled using digital Hi-Low (1,0) pulses. For each high pulse(1's) the motor turns 1 step. I am able to generate a analog sine wave and convert it to digital data using Analog-to-Digital.vi  But i am not able to convert the digital data to a stream of 1's and 0's in the correct sequence to get the sinusoidal profile with the amplitude and frequency i require.
            The direction of rotation can be changed by giving a pulse to another input of the stepper motor. So only half cycle of sine wave needs to be generated and it can be replayed after changing the direction to get the full sinusoidal profile.
    Any ways of making this approach work or any new approaches to this problem would be helpful. Thank You.
    Regards,
    Prabu.
    Solved!
    Go to Solution.

    Hi,
             I finally figured out a way to do it. The analog sine wave is converted to digital and sampled. Consecutive values are compared and if the least significant bit(LSB) changes then a pulse is sent to the stepper motor to turn one step.
    I have included the sub-VI's that accomplish it for the particular stepper motor and connector block i have. The front panel of both sub-VI's are quite messy but the block diagrams should be much clearer. The sub-VI's get their inputs from a third VI which i have not included. So take a look at the VI connector panel to figure it out. Hope this helps. Kinda messy but worked out fine in the end for my application. 
    Thanks again for all the help. I appreciate it very much.
    Regards,
    Prabu Sellappan
    Graduate Student
    Aerospace and Mechanical Enggineering
    University of Southern California
    Attachments:
    start motor test waveform dtest.vi ‏73 KB
    sine profile generation subVI.vi ‏41 KB

  • I want to run a stepper motor using FPGA card 7851r with 9474 driver C rio 9151 is it possible or can i do in LABVIEW CVI

    Hello i want to run Stepper with 7851 R FPGA card with 9474 driver of crio chasis but i am not able to understand how to proceed .Or can opt this option by using lab view CVI
    Solved!
    Go to Solution.

    Hi SHV,
    actually I don't know in which context you want to use your existing hardware for your stepper motor.
    1. The hardware, which you describe, is/was used for which application? ( data acquisition, controlling a system, etc)?
    2. Did you buy the hardware especially for the motor application?
    3. You don't know how which signals are required for your stepper motor.
    Here are some basics from NI about motor control
    Fundamentals of Motion Control
    http://www.ni.com/white-paper/3367/en
    NI Motion Control Technical Library
    http://www.ni.com/white-paper/3054/en
    4. Why do you get the idea the digital output module 9474 is suitable for the stepper motor?
    I would recommend to talk directly to the customer support, so we can figure out in detail your aims about
    the application. Contact your local NI office or request
    a service request on following website:
    Service Request Manager
    https://sine.ni.com/srm/app/login/p/tab/getassistance
    Kind regards,
    RupiDo

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

  • MAX does not run stepper motor

    I am an abosolute novice at NI Motion and cannot get MAX to move a stepper motor. I'd be very grateful for any help.
    The system consists of a PXI-7340 Motion Controller card installed in a PXIe-1065 chassis. The PXI-7340 is connected by means of a SHC-68-C68-S cable via the Motion I/O port to the Motion I/O port of an UMI-7774 board. The UMI-7774 board is supplied with a 24Vdc power supply as well as an isolated 15Vdc power supply to its power terminals. Two stepper motors are to be controlled using this UMI, which has 4-axes capability. The Axis 1 and Axis 2 sections on the UMI are connected to a Danaher Motion P70530 Stepper Drive each by means of a D-Sub to D-Sub cable via the Control port on the UMI and the J4 Command port on the P70530 Drives. The P70530 drives are supplied with 65Vdc power from a bench top DC power supply capable of 70V, 15A. Each P70530 drive is connected to a Pacific Scientific Powerpac stepper motor (N33HRHJ, 65V, 5A).  (Thus, two P70530 drives and two stepper motors are connected tothe UMI.)
    I am trying to get MAX to turn the motor. In the listing in MAX, under NI Motion Devices/PXI-7340/Default 7340 Settings/Axes 1/Axes Configuration, all limits were disabled, settings saved and initialized.
    However, in the 1-D Interactive window, when the Target Position is set to a value, e.g. 2000 steps, and the Start button is pressed, the motor does not move.
    But, the LED on the P70530 blinks until the Kill button on MAX is pressed.
    Can anyone tell me why the motor does not move?
    Where does one go to learn more on MAX? Why are all the manuals at NI made for experts who already know what they are doing and not for beginners? The Help is no help at all really.
    Regards,
    PKP

    Thank you, Jonas, for your reply.
    I called in to NI and talked with "Vivek" and he helped me set the MAX settings and the DIP switches on the P70530 motor drive (amplifier) to get the motor to run. He pointed me to the "Getting Started P7000 Series Stepper Drives" 28 page manual, which for some reason was not included in the CDROM that came with the P70530 drive or with the pre-installed manuals in the PXI chassis. (You would think to include all the relevant manuals on the CDROM, but nope.) The manual showed how to "Change Settings" for the PXI-7340 inside MAX and set it to the 7340 Settings for P7000 Drives.
    Under Axis 1/Axis Configuration/ Stepper Settings tab, set the Stepper steps per revolution to 5000.
    Under Axis 1/Motion I/O Settings, all the filters, switches and the "Inhibit Output Settings" has to be disabled.
    Now the motor runs. Yay!
    But there is one teeny-weeny thing.
    Under  Interactive/1-D Interactive, when the velocity is set to 100 rpm or more, or the Acceleration is set to over 20 rps/s, the motor whines and does not rotate.
    When V=0 to 95 rpm, Acc=10 rps/s, the motor runs for a given Target position value (such as 200, 2000, 20000, etc.)
    Here is another weird observation. When the Velocity is set to say 60 rpm, the actual motor speed measured with a tachometer and a stroboscope is found to be  about 1440 rpm, i.e., 60 x 24 rpm. (I measured the rpm using the two different devices and both tend to agree.)
    Is the "rpm" unit a typo? Should it be something else?
    What am I missing? Why is the stated rpm different from the actual measured rpm?
    Thanks for any help.
    Regards,
    PKP

  • Robotics-Running two stepper motors

    Hi
    I am working with LIFA (labview interface for arduino) to run two stepper motors to create a special (simple) path on XY plane. The example code (Arduino Stepper Motor.vi) works fine with one motor, but I don't know how I can modify it so that two motors can move with one time pushing the button, one after another while taking turns. Any Ideas? 
    The motion plan is as follows: 1. Motor 2 is stationary and motor 1 moves the load for 100 steps in X direction, then it stops and motor 2 starts to move the load for 70 steps in Y direction. 
                                                           2. The same as 1, only the direction of motor 1 motion is reversed, and motor 2 moves 85 steps instead of 70 in the same direction.
                                                           3. Repetition of 1 and 2 for 4 times with different number of steps at each level.
    I have twe big easy drivers, and one Arduino Uno.
    I truly appreciate your help,
    Best,
    Ashkan

    You could create a state machine.
    You could create a movement recipe where you enter in each sequential movement, and the code steps through the recipe one movement at a time.
    You could create some combination of 1 and 2.
    How do you want it to work? Are these steps going to remain constant, or do you want to be able to change them from one run to the next? How much do you know about LV? Have you any code that you wrote? What is the long term goal -- are you building towards something specific or just learning for the sake of learning?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • 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

  • Novice to Stepper Motor --- Need help wiring

    I recently purchased a stepper motor from Digi-key, and I have underestimated the wiring requirements for the motor. Silly me thought it would be a simple two wire, power + - installation.
    The motor is from Digi-Key part number 403-1017-ND.
    The motor is made by Danahar Motion (www.portescap.com) part number 55M048D2U.
    I have found the wiring scematic for the motor, but it is a just a table of on/off configurations for 4 of the six wires.
    I had wanted to use this motor to do 70 steps at 70Hz. That 70Hz signal would be send by a DIO channel.
    I have no knowlegde of stepper motors.
    What I am looking for is some info on stepper motors. Basic information, where to look, what to read up on. Unless someone knows exactly what I need to do, I would prefer to learn about it my self. So if someone knows of a good online or text referance that would be great.

    Here is a link to a tutorial on stepper motors. It seems to cover them fairly well.
    You might also just google:
    stepper motor tutorial
    stepper motor basics
    stepper motor class
    I don't really know of a specific source right now, but these queries should get you something.
    Hope that this helps,
    Bob
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

Maybe you are looking for

  • Itunes store crashes my vista computer

    Hi All, your help needed. I run vista on a fujitsu siemens laptop. If I open iTunes (latest version) all is well but when iTunes tries to open the iTunes store the entire computer crashes (not just iTunes). Just before the crash you get some thin whi

  • Dealing with the DATE data type in SQL Server

    As you know, a date is stored in SQL Server as "yyyy-mm-dd" when using the DATE data type.  This is also how it displays when I pull it into my Access front-end (even if I set the field's format to Short Date.) I'd like to be able to display it based

  • Doing queries in view objects that do not include primary keys of entities

    Is it possible to create a view object based on an entity that doesn't include the primary key from that entity object. For instance I want to do something like "select distinct (attrib1) from sometable" and obviously attrib1 is not the primary key f

  • JTextField character limit?

    is there any way to limit the number of characters that can be insered in a JTexrField?

  • Source for Same GL Account(SKA1) used in multiple Chart Of Accounts(T004)

    If Same GL Account is used in multiple Chart Of Accounts. Does SAP Source it from a single GL Account source or it creates a completely new records for the GL Accounts in all the Chart Of Accounts independently. Lets take for an example Accounts Rece