Lang stepping motor VI's

Hello all,
I am working with Lang MCL 2 stepping motor that controls a table with X and Z axes. What is the best way to assign a reference point (0,0)?! And what VI's do u recommend to do that?
Best Regards,
Seno

Hi Theone222,
sorry, but these VI´s are not from NI. I searched on the Internet for these VI´s, but couldn´t find anything useful for you.
Maybe, it´s the best, you contact the producer of your stepping motor (if these VI´s are from him). If they aren´s from the producer, he will maybe have some VI´s for your stepping motor.
In my opinion, it would be the best, you take a reference point (0/0). Take the smallest possible point on x-axes and the smallest possible point on y-axes,
so you have only one possibility to start in in x-direction and one possibility to start in y-direction.
Hope this was useful.
Best Regards
Nina

Similar Messages

  • 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

  • How to send an analog output signal on same axis running a stepping motor umi 7764/ PCI7334

    I am running a single axis stepping motor (which is working fine) but
    for the application I need to be able to turn on and off a 5 volt
    laser.  It notes in the manual for the UMI 7764  that the the
    analog output can be used as a general-purpose voltage output.  I
    would like to use it as such, but can't figure out what VI's actually
    send messages to the board to output a 5 Volt signal.  
    Ideally I would use the analog output on the same axis that the
    stepping motor is on, but if need be I could use one of the other axis
    if this isn't possible (ie. it may not be possible to step and send
    analog voltage output on same axis at same time).  I have been
    looking at the configuring DAQ and ADC stuff, but can't seem to make
    sense if these actually control the analog output channel.  I
    think they just control the Analog input channels, but maybe I am
    wrong. 
    Any help would be greatly appreciated
    Andre

    Hi,
    It is possible to send analog output out of the same same DAC channel in which your stepper is connected, if you configure the stepper as open loop in MAX. I've tried it. This way you have the stepper output, analog output and encoder input acting independently. So you can use these seperately for different purposes, such as using the analog output for constant speed motors where speed or position control is not of much importance, encoder for positioning some other axes and stepper output for stepper control. With good programming skills, the NI motion controllers can thus be used for the most complex configurations. Great work NI !!! Nothing is impossible.
    Regards,
    Giridhar Rajan
    Automation Engineer, Design
    Cruiser Controls
    Mumbai, India

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

  • I want to run a step motor and take pressure measurements at steps of 2mm

    For a wake survey experiment about an airfoil, I would like to write a Labview VI that would move the step motor at increments of 2mm, take pressure readings (I have the pressure transducer), move another 2mm, take readings etc...for n increments. I have only a small background in labview. Can someone help me please?
    Many thanks!
    Sanjoy Som
    AE Dept. FL Tech

    Sanjoy,
    If you currently don't have any Motion hardware then you would need a PCI/PXI 7334 FlexMotion controller and a mid-760x drive/amplifier (or another drive/amplifier). Once you have the proper hardware, then you can set breakpoints in Motion to send out a trigger pulse on a digital line when you reach certain predetermined positions in your move. You can route this trigger signal over our RTSI (real time signal integration) bus to your DAQ board to take measurements at these exact instances. You can find out more information on breakpoints including example programs in LabVIEW by searching for Motion and Breakpoints in our developer zone.
    http://zone.ni.com/devzone/devzoneweb.nsf
    I hope this helps!
    Regards,
    Andy Bell
    Application Engineer
    National Instruments

  • Choice of the interface module, for step motor

    Hello,
    I would to control a step motor through the Labview software (control speed, direction of rotation, number of steps ...) Thus, I would like to know which module interface NI would be the best suited to my engine, for the control and the electric supply.
    The engine is a : Superior Electric, type M061; 7V, 7A
    Furthermore, I also looking for all documents (examples, tutorials) that can help me to program the VI on Labview : hardware installation, programming on Labview .
    Many thanks for your help,
    Regards,
    A. Benjamin

    Hi,
    Are you looking for the Software interface only? Do you have
    the drive and controller already?  Are you
    looking for a PCI solution or a cRio? NI offers different solutions. Check Motion Control from NI. Also here are some
    links to help you understand the concept. When you decide what approach you
    want to go, let us know and we can help you get started. Also, many examples will
    be installed when you install the NI motion drivers.
    Fundamentals of Motion Control
    Motion Control Resource Kit
    Thanks and have a great day. 
     Esmail Hamdan | Applications Engineering | National Instruments

  • 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

  • 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 to run stepping motor using LabVIEW

    Hi
    I need to run bipolar stepping motor using LabVIEW 6.1. Would anyone please guide me how to do that.
    I have measurement and automation 3.1.0.3021 installed on my system. I am new to LabVIEW.
    Jayaprakash.

    Hi,
    Do a search for the words "stepper motor" in the forums. This should bring up several threads where this has been discussed.
    -Sal

  • 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

  • I need a step motor and controller compatible with LabView Can you recommend any

    I need a step motor compatible with LabView and I thought i would check with you before i moved forward in my experiment

    Dear chapbs,
    I've attached a sample cart below to show you the components for a possible setup of your system. Keep in mind that whatever stepper drive you purchased would power your motor. If you go ahead with the purchase of a controller & drive, I would highly recommend contacting NI to insure that you purchased the correct accessory components and cables to connect & power the components. I hope the  sample cart is helpful. I created it  by browsing ni.com, adding items to my cart, and then saving the cart to an excel file. Please post back if you have additional questions.
    Best Regards,
    ~NH
    Attachments:
    SampleCart.pdf ‏145 KB

  • Generating CW /- CCW /- for step motor drive through NI USB-6212

    Dear Madame/Sir,
    I'm working with a FASTECH step motor drive. I want to generate CW+/- and CCW+/- signals  for this drive. 
    I want to ask you how to connect CW+/- and CCW+/- wires to USB 6212 ports.
    Thank you advance!

    Hi,
    You may need a motion controler to control your stepper.
    I am not sure that your Daq Card is the good device.
    .NIDays2008 {font-family:Arial, Helvetica, sans-serif; font-size:12px; color: #065fa3; font-weight: bold; text-decoration: none; text-align: right;} .NIDays2008 a, a:hover {text-decoration: none;} .NIDays2008 a img {height: 0; width: 0; border-width: 0;} .NIDays2008 a:hover img {position: absolute; height: 90px; width: 728px; margin-left: -728px; margin-top:-12px;}
    >> Avez-vous entendu parler de NI Days ?

  • Best way to optimize the readout of a photodiode using motorized stepping motors?

    Hi, I'm relatively new to LabVIEW but have now got a mirror motorized with two stepping motors. I reflect a LASER beam off the mirror and onto a photodiode, whose value is read into the computer via an oscilloscope. I would like to optimise this signal somehow by moving the motors but can't see how without using brute force (which might be ok with just two degrees of freedom, but ideally I will add some more later).
    Is there any function that does this easily using the position of the motors and the signal input?
    Thanks for the help!
    Kane

    I think you are going to have to build a feedback loop to determine if the photodiode signal is getting stronger or weaker.   Technically you probably could use a PID control, but this would probably be an overkill.
    You could use half stepping once the photodiode signal "peaks".
    Generally speaking, measure the diode, step one axis, measure again, analyze signal strength.  You would have to decide how to handle the situation where one axis is peaked, but then peaking the other axis allows for the first axis to peak again.
    From the LabVIEW POV you could use a state machine to loop through the measurement, analysis, and axis movement.  In a simple method you could use a shift register to hold the 'last value' and compare the new value against that.
    So generally speaking you could use PID functions to manage your system, or you could use a more simple approach using a state machine in a loop with a few states to measure, analyze, and control motion.
    Mark Ramsdale

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

Maybe you are looking for

  • Program error when attempting to edit a vector smart object. Help?

    I'm running Photoshop CS6 (13.0.1) 64bit on a MacBook Pro running OS X Lion. About 60% of the time when I try to double click a vector smart object instead of opening it up in Illustrator I get an error that says, "Could not edit original smart objec

  • Issue in installing SMP 3 SDK

    Hi All, When I install the new SMP 3 SDK, I receive an error that the operating system is not supported. It is a Win 7 Home Premium 64 - bit edition. It does not make sense because the PAM states that Win7 is supported. Is home premium not a part of

  • 6025e MAX test panel

    I'm using MAX test panel to test my digital I/O pins, however i couldn't find any manual explaining the function of the test panel. there are 2 tab on DIO. what are the operation/function in the 2 DIO tab? First Digital IO tab a. which port does it t

  • Adobe CS PS cs 5.1 and LR 3.6 transfer to a new computer

    I need to move my Adobe CS PS 5.1 and LR 3.6 to my new laptop.  I tried to call the number and after being on hold forever the person was unaware this could be done.  It was purchased several years ago through adobe online and I have a 2 computer max

  • Converting sample rate when exporting

    CS5.5 I'm using Audition to do some final mastering to 16-bit stereo 44100 wav files, in 32 float multi-track sessions. All I'm doing is increasing the clip gain, then exporting to 16-bit stereo 44100 wave and 320 mp3. I'm not changing the sample rat