VXM Stepping Motor Controller Driver

Hello All, 
It's my first time to write in this forum. I am a new with using LabVIEW and very optimistic to get  assistance.
I am trying to controll a stepping motor controller (VXM-1 Model) with Labview, which is moving a Velmex Unislide. I need help to do a code LabVIEW that control VXM-1 Model and measure the displacement of a Velmex Unislide. How could you help me out ?. 
Please be advised that I am using LabView 2010 and Windows XP. 
I am looking foeward to hearing from you.
Thanks for any assistance in advance. 
 

Using VISA 5.0.3 is fine, but upgrading couldn't hurt.
In terms of where to start programming.  I would recommend taking a look at the "Simple Serial" example VI under Hardware Input and Output>>Serial in the example finder.  You'll need to change the "*IDN?/n" command to something that the controller is actually expecting.  It looks like the VXM can be given commands in "interactive" mode, in which you send a command and the controller immediately executes that command, or in "standalone" mode, in which you define a command script, download that script to the device, then the script is executed without any further host interaction.  These two differences are explained on pages 8-9 of the user manual.
The command set is explained there as well.  A couple important notes from that manual:
"The standard RS-232 communication settings on the VXM are 9600 baud, 8 data, no parity, and 1 stop bit."
"When sending commands that require a value, the commands must end with a carriage return (Enter key or Return on most keyboards), comma, or a period."
There are control examples given starting on page 26 of the user manual.

Similar Messages

  • Smc step motor controller driver

    hello everybody,
    anybody use this smc electric linear actuators controller with labview ? they dont have any labview driver. this controller support modbus and scan for binary number to determine step number which is predefine in the controller through their own software. here is a manual http://content.smcetech.com/pdf/LEC.pdf
    never use modbus communication yet, if anybody use their controller will you send me some information or an example vi please?
    thanks

    Hi autohome,
    Here is some information about MODBUS:
    http://zone.ni.com/devzone/cda/tut/p/id/7675
    and the MODBUS library for LabVIEW:
    http://sine.ni.com/devzone/cda/epd/p/id/4756
    I hope this helps,
    Kind regards,
    Joel G
    Applications Engineer
    National Instruments UK & Ireland

  • Driver for step motor controller MM4006

    Please help, i need the driver for the step motor controller MM4006
    (Newport, Micro Controle). I found them on the Newport site, but when
    i unzip them, it seems to be the drivers for the MM4005, so is there a
    difference between both.
    Thank you for your help,
    JB

    JB,
    National Instruments has the driver for MM4000, of the Newport's 4000 series Motion Controllers.
    Visit our website:
    http://ni.com/devzone/idnet/
    You will find help on developing your own driver, or if you need instrument driver expertise to develop your instrument drivers, contact one of our experienced Certified Instrument Driver Developers.
    Zvezdana S.
    National Instruments

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

  • 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

  • Motor controller RTA and driver Plus L

    Hallo!!!
    It's possible to controll a step by step motor with LabView ?
    The name of the driver is Plus L and the motor is SANYO?
    exist some  Labview "Pallete" dedicated to the motor controller?
    Thank's

    I think you are asking if it is possible to control a stepper motor with LabVIEW.  The answer is Yes, and No.
    LabVIEW, by itself, cannot make a stepper motor do anything.  A stepper motor needs a drive circuit to generate pulses, and regulate current to the motor.
    You need a stepper driver (this is hardware) first.  Secondly, you need an NI motion controller board.  This would be a very expensive solution if all you want to do is experiment with a stepper motor.
    There are motion controllers available that take serial commands as input, so you could control the stepper motor from LabVIEW, using serial commands.
    What is your application?  Maybe I can suggest other alternatives.
    Machine Vision, Robotics, Embedded Systems, Surveillance
    www.movimed.com - Custom Imaging Solutions

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

  • LabVIEW driver for a ControlTechniques motor controller

    Anyone know of LabVIEW driver for a ControlTechniques
    Unidrive motor controller?
    Or any info/pointers to programming them via LabVIEW?
    Any help much appreciated
    Paul
    Dr Paul Rocca - Managing Director
    Brill Engineering Ltd, 3 Longwood Court,
    Love Lane, Cirencester, Gloucestershire
    GL7 1YG. www.brill-eng.co.uk
    Phone: 01285 883888 Fax: 01285 883876
    NI Alliance Member Since 1992
    Please note that calls may be recorded using our leading edge digital
    recording product AudioPC.
    Any opinions expressed in the email are those of the individual and not
    necessarily of the Company. This email and any files transmitted with it are
    confidential a
    nd solely for the use of the intended recipient. It may
    contain material protected by lawyer-client privilege. If you are not the
    intended recipient or the person responsible for delivering to the intended
    recipient, be advised that you have received this email in error and that
    any use is strictly prohibited. If you have received this email in error ple
    ase notify the Security Manager by telephone on +44 (0)1285 883821 or by
    email to [email protected]

    LV can interface to 232, 485, Devicenet... depending on what the controller has.
    You could find a LV/CVI driver for this (232/GPIB/ethernet only) instrument at http://www.ni.com/devzone/idnet/default.htm . If it's not listed there, it leaves you with one of a couple options. First, I would like you to submit a request for this driver at: http://zone.ni.com/idnet97.nsf/instrumentdriverrequest/
    We develop drivers based on demand and popularity so the more requests we have for it, the greater the possibility that we will develop one.
    If you would like to try developing your own instrument driver (or modify the existing one), we have documentation, model instrument drivers, and driver templates to help at :
    http://www.ni.com/devzone/idnet/development.htm
    We also have a syndicate of third party vendors that specialize in National Instruments' products and services. Some of the vendors specialize in driver development. I would suggest contacting one of the Alliance members at:
    http://www.ni.com/alliance
    An instrument driver is a collection of functions that implement the commands necessary to perform the instrument�s operations. In short, someone read the instrument user manual and implemented some of the functionality in a program for the end user. Instrument drivers are not necessary to use your instrument. They are merely time savers to help you develop your project so you do not need to study the manual before writing a program. With all of this work already done for you in the driver, instrument drivers can significantly reduce development time.
    There are example VI's in LV on Instrument Connectivity. If you go to the Help menu >> Examples.. >> I/O, you will see a couple and Examples.. >> Fundamentals for File and String manipulation. I would suggest tweaking them to suit your application. Also the specific command that your instrument responds to can be found from it's manual.
    Some useful resources for your application are
    ni.com > NI Developer Zone > Development Library > Instrument Connectivity
    http://search.ni.com/?col=alldocs&layout=TechResources&ql=a , to search examples and knowledge bases
    Hope this helps.

  • 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

  • Who know's an unexpensiv​e stepping motor incl. controller​?

    Hi,
    I'd like to realize a stepping-motor project and I'm therefore looking for the hardware necessary. It's logical that I need a motor and a controller. Because I use a Laptop I need an external controller. I would like to control it via RS232 or USB.
    You have to know that I'm a student and therefore don't earn much money and would prefer unexpensive hardware (max. 100€). My investigations about this unfortunately resulted in very expensive hardware.
    I would be very grateful if someone could tell me an unexpensive resource for such hardware including a stepping motor and a controller, which can be easily controlled using LabView 8.2.
    Many thanks in advance for your help,
    Ulrich
    Message Edited by ulrichmayer on 11-25-2007 03:07 PM

    BUMP...
    Problem still persists with newest kernel.

  • 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

  • Need SM Bus Controller Driver for A75-S231

    Unfortunately I am without my system and backup disks and I am in desperate need of a driver for the SM Bus Controller. Problem surfaced after re-install of XP Home.
    I called Toshiba tech support to identify the motherboard chipset shipped with my unit (specs listed at end of post) so as to locate and download the driver. Unbelievably, Tech is not equipped to identify the make or model of my motherboard or identify the chipset. Third Party software tells me I have a Toshiba EDW10 Motherboard and tech searched the internet and told me I have some VIA motherboard and good luck finding your driver.
    Please help, I didnt think that Toshiba of all people would be unable to identify their own systems but here I am 4 hours later bothering you good people and still hunting. Does anyone have the SM Bus controller driver for the A75-S231 or tell me what chipset was shipped with my unknown motherboard?
    My system specs are as follows:
    OS Name Microsoft Windows XP Home Edition
    Version 5.1.2600 Service Pack 2 Build 2600
    System Manufacturer TOSHIBA
    System Model Satellite A75
    System Type X86-based PC
    Processor x86 Family 15 Model 4 Stepping 1 GenuineIntel ~3333 Mhz
    Processor x86 Family 15 Model 4 Stepping 1 GenuineIntel ~3333 Mhz
    BIOS Version/Date TOSHIBA V1.30, 9/10/2004
    SMBIOS Version 2.31
    Hardware Abstraction Layer Version = "5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)"
    Total Physical Memory 512.00 MB
    SM Bus Controller Device ID (from Device Manager) PCI\VEN_1002&DEV_4353&SUBSYS_FF001179&REV_18\3&61A AA01&0&A0
    Motherboard Toshiba EDW10???
    Thanks fo your help.

    Hi
    As far as I know your unit must be an US notebook model and please try to check Toshiba US download page under http://www.csd.toshiba.com/cgi-bin/tais/su/su_sc_home.jsp
    Please dont be mad on tech support but I dont see any reason why they should know every technical detail of your notebook. Toshiba has designed drivers for every hardware component that you can have anytime you want and install it 1000 times if you want. Toshiba guarantee that it will work properly and I dont see any problem there.
    Technical details you can get from Authorized service partners in your country.
    Good luck!

  • How do I establish serial communicat​ion using LabView to two stepper motors using a motor controller​?

    I currently use an off the shelf motor controller to run my two stepper motors. It already has integrated a firmware software that sends commands to operate each motor. I would like to create an interface where I can send these commands using LabView. If someone can point me in the right direction I would appreciate it.

    Look at the examples for the serial VISA vi.  Something like Basic serial write and read.vi is a good starting point.
    Have you searched for a LabVIEW driver  at the NI LV driver network?   Asked the vendor?
    If you write your own driver with the serial VISA vis remember to open and configure the port only once at the beginning and close it at the end of your program. 
    Message Edited by Henrik Volkers on 07-13-2009 04:21 PM
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

Maybe you are looking for