USB-6501 as Stepper Motor Driver

Hello

I've been away from LabVIEW for awhile (6 years or more) and I have a small task to achieve and am really struggling to start.

I have a USB-6501 DIO and Labview version 8.6.  I need to drive a motor not not that requires 4 input (in my case 2 Port (0 to 3)) and depending on the phase of these 4 signals with respect to the other (its a circuit of H-bridge) the engine to drive forward or backward.

I started with DAQ assistant and I seem to be communicating correctly with the OID and the engine, but I'm not at the stage of being able to produce my 4 signals.  I know that the USB-6501 must be controlled with a timing (as opposed to the generation of a train of function for example).  However I am stuck at start-up my possible solutions seem very long breath that I was wondering if there was a quick and easy solution to produce my 4 signals?  I don't know I'm missing something.

Any help/comments would be greatly appreciated, as I'm very rusty and I have no time my solution.

See you soon,.

Karen

I solved my problem...

Tags: NI Hardware

Similar Questions

  • USB-6501 open collector signal generation

    Hi all

    I have carefully read the manual for this product, and I think that's what I'm looking for, but I was hoping just to get confirmation from someone who knows a bit more about it as I do.  I have a stepper motor command that accepts control impulses.  The differential voltage between the 2 input pins must be between 2.5 and 5 V DC.  The control pulses can be RS422 or open collector type signals.  The maximum heart rate is 250 kHz, pulse length must be greater than or equal to 2 microseconds and the time between two pulses must not be greater than 40 milliseconds.  The engine must operate continuously for an extended period of time.  Yet once, seeking confirmation that DIO can produce the signal I need.  Thanks for any help.

    It seems to me that this module can be adapted to be connected to your driver module. Output configuration you need is called "open-drain output" in the data sheet.

    It is possible to drive a stepper motor driver with a generalist module e/s. But (in most cases), it is NOT possible to drive of a driver of motor Stepper with a constant pulse. You will need a rate of acceleration, i.e. it must increase the frequency of the pulses of zero to the desired speed of the engine.

  • B6560 & 28BYJ-48 stepper motors controller!

    Hi all, a Hello,.

    Finally, I got my B6560 stepper motor driver controller.

    I am now looking at little cost of motor control to do my first tests.

    I got this reference: 28BYJ-48, but I don't get any information on the current, he pushes and he needs.

    http://www.poli.br/~Marcilio/Arduino/motor%20de%20Passo.PDF

    is there anyone who has already used the B6560 with labview?

    and how about the 28BYJ-48 engine any help? experience to share?

    Thanks advance.

    amayas

    The plug-volatge is 5V, phase resistance is 50 ohms. 5V/50ohms = 0.1Amp.

    -AK2DM

  • Update firmware for USB-6501 with 3.4.0 driver?

    Hello

    I am wanting to use the 3.4.0 NI DAQ driver with a USB-6501 and finds that the firmware is incompatible with the driver. The most recent driver that I used was the basic driver 2.1, unfortunately, the software that I use to send signals to the USB-6501 requires libraries to the 3.4.0 pilot.

    Y at - it a firmware available that is compatible with the 3.4.0 driver DAQ for USB-6501 device?

    I see that, after you have improved your DAQmx Base 2.1 to 3.4.0 drivers he said that the firmware on the USB-6501 is incompatible.

    If you go through this knowledge base, it will show you exactly how to get the firmware compatible with DAQmx Base 3.4.0. In particular, near the bottom, it shows how to perform this update.

  • NI USB - 6501 OEM more sensitive to electromagnetic interference?

    We built a NI USB-6501 OEM card in a small instrument of office dedicated to switch ultrasonic impulses 300V between 3 transducers, using reed relays not shielded high-voltage controlled by the USB-6501 (using MOSFET transistors to drive the relay coils).  The end user reported that when he operated his ultrasonic transmitter at greater than 100 v voltages, USB-6501 would break (green "heartbeat" ceases, LabView or test panels lose communication with the interface).  Lower voltages to ultrasonic had no effect. Inspection of the 5vdc supply rails when running the pulse generator showed ears LOUD noise (surprise?), so we have recreated the box so that 1) optical isolation and no electrical connection between the USB-6501 and switching and 2) pension switching was surrounded by a 'box in the box '.   During a test, ultrasonic signals apparently still radiation enough so that the USB-6501 would break as before.

    Avoiding half measures, I mounted the USB-6501 in a completely separate extruded aluminum case (the land to the USB bus, but not to "taking" of land) with optical transmitters and optical fiber plastic 3' has been the only connection to the ultrasonic switch box (which is inside its own extruded aluminum case).

    This made things better: the USB-6501 would work for a while when the ultrasonic signals were present but still crashes after a few minutes.  In addition, reports researcher that starting the engine w / controller in immediate proximity to this interface also immediately causes a crash of the USB-6501.

    Right now I do more optical cables and confirmed that the USB-6501 works thankfully when he is simply the engine optical transmitters with no ultrasonic signals in the area.  I'm surprised that this digital i/o interface seems so sensitive to environmental disturbances.

    We made sure that 1) was based on the shield of the cable USB ONLY at the end of the PC, according to the specification USB;  2) cable USB was of ferrite chokes to make it less

    an antenna 'noise' 3 the Board 6501 had connected logic ground the housing in aluminium, and 4) we have equipped the case with a pattern important

    cable and clamp to connect to a 'true' of the Earth.

    When the end user has reported that there were still problems, I went to his lab and discovered

    He assumes that hang on a couple of wires ground wire, to a strain gauge, which was stuck on a piece of 3' of the railway, itself sitting on a wooden table

    no electricity whatsoever, what meant it was "founded".  After that I am makes me sputter and him look staring in disbelief, we plugged into an electrical conduit nearby,

    and all of a sudden, the problem disappeared.

    I'm glad it works now, but the fact that turn on an instrument of motor stepper located three feet of 6501 can crash against interference if)

    the case is not grounded), stillsurprises me.  I expect to use 6501 in other instruments, it will take extra precautions on the armor.

  • USB-6501 and opto-coupler SFH615A

    Hello

    I'm driving an opto-coupler (Siemens SFH615A - spec link attached) using the USB-6501. I am really a beginner and I am looking

    help on how I can connect it. I have tried a few options already but no luck.

    http://docs-Europe.Electrocomponents.com/WebDocs/009C/0900766b8009c194.PDF

    I use a Servo-Drive in a project, a motor drive. Unfortuantely USB-6501 turns out logically lines high on the servo-controller startup is

    receipt of a signal. I hope I can pass the INHIBITION of the servo drive line, through the opto-Coupler, so when you start 6501 will cause the optocoupler

    circuit close to inauguration of the line inhibit preventing displacement engine. The labview program will make the logic of the bass line to allow the engine to move.

    Looking at the manual of the USB-6501 and previous questions, there are 2 ways to do this, but working on resistance, values etc. required is

    still a bit beyond me, and unfortunately I'm a bit stuck for the moment.

    Any help would be greatly appreciated, thank you.

    OK got it works, I hope it will be useful for others.

    My problem, I think, have no idea really, is the impedance of the I/O device. Despite everything, I used a buffer of gain of the unit with the help of the

    Intersil ICL7611 powered by the + 5V line with the line of digital output connected the + IN the axis of the ICL7611. On the output, I have a

    Resistance 120 ohm before the opto SFH615A. Opto is open beginning 6501 and high but closed low logic logic. Happy days until the

    the next problem happens

  • USB-6501 - impossible to find a basic example of Labview

    Hello

    I recently bought a USB-6501 card and I used it in my own succesfully end and C++ programs using the DAQmx drivers.

    Then I tried to move to Labview 2009 (I never used Labview) so I looked for a simple example.

    I tried to boot from the example 'interactive Control Panel' (http://digital.ni.com/public.nsf/allkb/AF0F31EE5D2AD23F862573140009D7C2?OpenDocument).

    I had to install the 'DAQmx Base' for him to start, as described in the previous link. now it begins (before Labview attempted to get a few missing .vi) but I get a message "error 200220 occurred at an unidentified locatio.

    Then I realized this example is 'old' (as explained here: http://forums.ni.com/ni/board/message?board.id=170&thread.id=209247), and it is suggested to look for a new one in example Finder ' entry-level equipment / output-> DAQmx-> Digital measurement (or generation)-> read Dig Port.VI.

    I tried, but along the way ' entry-level equipment / output-> DAQmx-> "only a folder named"Analog Measurement\Voltage"exists.

    Also in the search for 'Reading dig Port.VI' does not work.

    I've already spent many hours in this research and tent and the fact that I am not able to find not even a basic example, it is quite frustrating and it is making me give up the idea of using Labview.

    Please can anyone give me any suggestions where find/download an example simple and minimum to use my USB6501 in Labview 2009?

    Thank you

    Scipione.

    First, install DAQmx Base was a mistake. Uninstall it and then install the Driver-OR-DAQmx. The driver must be installed after the installation of LabVIEW. After installation, make sure that the device is listed in MAX under "DAQmx devices. If it is not, your installation is still not correct.

    To search for example LabVIEW, see help > find examples. Under Input and Output hardware > DAQmx, you will find the digital generation and numerical measures. You have to look at the simple, timed software examples such as read write dig Chan, writing Port to dig, dig chan, reading Dig Port. You also have the option to use the DAQ Assistant.

  • NI USB-6501 digital output problem

    Hello

    I use DASYLab v.11 and I'm working on an interface with the NI USB-6501 where I'm putting a digital high on four ports.

    With the module "NOR-DAQmx - digital input", I managed to read the digital inputs of the ' NI USB-6501 ".»

    It's only the "NOR-DAQmx - digital output" I can't go to work.

    Using 'NI MAX' of NOR I have easily can emmit my four LEDs in the way of my High/Low ports.

    But not with DASYLab. When you use DASYLab tension on the ports remains unchanged.

    Now, I have a switch module, generating 5/0, directly connected to the digital output module, which is assigned to my four output ports for my task.

    I also tried with a module of relay between the two without success. I also tried to use 1.5 above instead of 5 without success.

    I use the option 'Bus (0/5 supply) for the module "Digital output".

    "NI Max", I configured the ports as "active drive.

    Any suggestion of what I might be missing?

    Thank you

    Martin

    Hmm, four ports, or four lines?

    A port consists of eight lines. Each line can control an LED (ON / OFF ~ 0/5V).

    If you have created a task to dig-out to control a port, 5V to this port sending sets all lines of this port to 'high '.

    You need to 255 for each line one too high port (at the bit level: 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1).<- eight="">

    Or, you can create a dig out tasks to control four lines of a specific port.

    Four lanes of the EEG DAQmx DigOut module.

    Each of the channels of the modul will feed a single line of the task/device.

    Four switches will then turn the lights, or turn off.

    Make sure, that the 'bitposition' is the number of correct line (see picture).

  • USB-6501 not seen by MAX

    Hi all!

    I have a PC under WHAT XP 2002 (SP3) with two USB-6501 Renault connected on it.  I can see two devices in the DEVICE MANAGER under the heading "Data Acquisition hardware" and the two seem to have installed proper drivers.  They show their driver versions of file as 2.3.1f0.  I also have NI MAX v4.6.2 installed on the computer.  But Max, I am unable to display all the devices.  When I try and expand the section "Devices and Interfaces", the MAX software enters a State of non-response and when he answers Finally, I get the following message redirect me to the Web site of EITHER:

    There was a problem connecting to the database.

    Restart your computer.  Refer to knowledge base article 42HG08DD for more information

    and if the problem persists, contact National Instruments.  Go to ni.com now?

    I could see the two Renault to the MAX on another computer with installed Windows7 and MAX version 14.

    Just make sure you install complete DAQmx with the support of the MAX configuration.  It is possible to enter in some States strange if you have MAX and DAQmx Runtime, but not the support of DAQmx for MAX.  In addition, MAX 4.6.2 is a real version, but very old.

    Note Setup below should work and will include a version of MAX.

    http://www.NI.com/download/NI-DAQmx-14.1/4953/en/

  • Where can I find the tutorial or sample Vi to control the position and speed of the stepper motor?

    Hi all

    I use a driver on 3rd for a stepper motor and I use USB6356 as the controller to drive the motor. Could you recommend some VI sample or tutorial on the position and the speed control of stepper motor?

    Thank you

    The best

    I think that what you are looking for is the LabVIEW SoftMotion Module:

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/14234

    Here is a good resource on stepper motor theory:

    http://www.haydonkerk.com/resources/StepperMotorTheory/tabid/192/default.aspx

    My recommendation would be to start from a counterexample of LabVIEW. These can be found in LabVIEW > help > examples > material input and output > DAQmx > input meter, output meter.

  • Conduct and variation LED with USB-6501

    I have a bunch of LEDs connected to a power supply with an intermediate dimmer. The specifications for all this material is listed below. I'm looking to move from manual control to digital I/o. I have an NI USB-6501 data acquisition, but have never worked with her before and so would like some tips. The goal is to maintain a maximum brightness, but be able to fade the lights of my software. I read several threads on simple power control but that you did not find anything on the gradation.

    John.

    Lights: (red)

    http://www.superbrightleds.com/moreinfo/led-strips-and-bars/snfls-series-120-side-emitting-led-Flexi...

    Drive:

    http://www.superbrightleds.com/moreinfo/single-color-dimmer-switches/LDP-2A-12-volt-DC-single-color-...

    Power source: (15 Watts)

    http://www.superbrightleds.com/moreinfo/power-supplies/12VDC-CPS-series-power-supply/68/

    In order to control something, you must be able to physically connect the 6501, but it does not appear that have anything to connect to. The image of the drive, it has just one button.

  • Trouble with USB-6501 with Labview 8.6 Pro for Mac OS

    Hello

    I have a unit USB-6501 I try to use with Labview 8.6 for Mac Pro to processor intel.

    I have the driver NOR-DAQmx base 3.2 for Mac installed and when I ran "Isdaq", it detects the device and also warned that the firmware needs to be updated. So, I ran the "FWUpdate" for updating the firmware. I double check the Isdaq and it detects the device as "NI USB-6501:"Dev1"(USB0::0x3923:0x718A:014386 B 0: RAW).

    Now, when I run Labview 8.6 and DAQmx Base create channel VI and the port of 'physical' wire to the control, nothing appears in the available device.

    Also, when I run the mxbaseconfig program, not the existing basic tasks detect the device.

    Could someone please help me get this to work? Basically, I need to read and write slow digital data through USB-6501. But, the Labview does not detect the device.

    Thank you

    Keong,

    I do not know what causes this, but place a task create VI before your code and the wire of the output task to the task of entering the chain and try to run that.  Please let me know if it works for you.

  • Help me build a stepper motor control in LV?

    I need control a single linear axis slide that is driven by a motor nema 34. It will be very simple move, start, move at a constant speed, stop, return. I do not have the engine.  I can use a controller and a software company that sells me the slide, but prefer to use Labview.

    I currently have a PXI chassis with a 6713 or 6704 available, or a '2 M Gate FPGA and cRIO-9073' with a NI 9401 I'll take delivery of every day now. I don't know much about the system in real time, but I have to learn it soon in any case.

    Can I use my existing hardware/software to create a stepper motor control, or at least can I use Labview to interface with a motor drive step by step if this is not possible. I am currently looking at a 34T 1 Vexta engine, but do not know much about the stepper motors and do not really want.

    Edit: Should have mention that I LV 8.6, with no motion software.

    Engines step by step to have two power circuits creating magnetic fields perpendicular to each other inside the engine (in mathematics a certain sense anyway) you can consider working like pistons on a crankshaft which are out of step 90 degrees. You can use LV to manipulate these two. Want to make their vector sum in different directions while moving. Imagine making a point on a chart around the origin orbit. You need to consider things like the speed at which you can start the dot in orbit. Engines step by step can't go very fast if you add the requirement that the application start and stop without having to build your own ramp.

    But it would be a big enough work for all, but more simple movements. You will need to learn less about stepper motors if you buy a motor controller that supports ASCII strings on a line of serial port as its instructions. I did recently with good results. LV must compose strings and write to the serial port of the PC. Having the engine go to a post 2205 units requires composing a string like this:

    d 2205

    go

    It works fine without another component or software purchases.

    I did something a little more complicated and wish now I had started with a decision to use the material in motion control of OR, or at least look at more the issue. When things are more complicated, using a serial port as the bridge between the PC and whatever the microcontroller is located in the drive motor starts to introduce limits you can schedule around with a lot more trouble.

    You have many options depending on your purpose what is and how much trouble, you have to take.

  • Stepper motor and LabVIEW - loop

    Hi guys,.

    I'm trying to control a motor step by step using a 6008 OR. I did a little research and I know that there are some problems using the 6008 with a stepper motor, but for my project, it should work perfectly.

    What I need:

    A VI that will control a stepper motor and rotate the engine until the angle typed. The engine has a 7.5-degree increase. I build a VI that will continue to run the engine at the desired angle whenever I press the button 'GO '. But it only works for the first time that I press 'GO '.

    The problem:

    After the first iteration, if I press "GO" once again, it does not apply tension on the next pin, because it restarts the loop. And that makes the engine to become crazy.

    The solution: (I don't know how to implement)

    Make the engine go back to the initial position when I press the button "RESET". In the case, whenever I want to change the angle, I just push 'Reset' and then 'GO' and the engine would go to the desired position. Or even better: when I press the 'GO' button, the engine would automatically return to its initial position and then move to the desired position.

    BTW: I would like to return to the initial position without having to do a 360 loop. I know how to do this.

    The VI that I created is attached to this message.

    Help, please.

    Thank you.

    Hi, Gear,

    I tried to drive the stepper motor by a table of pre-defined and rotation of each step.

    Hope that helps.

  • Control of stepper motor

    Hello.  I have a problem with a prototype of movement control, and I am at a loss to know where to look next.

    I run a computer running Windows XP with LabVIEW 8.6.1.  The computer contains an NI PCI-7332 motion controller nine connected to a card NI UMI-7772 control a P70360 stepper drive.  I'm trying to run a command of CTP 11 ELF 11 Danaher engine with little success.

    All the lights on the boards are the appropriate color.  I followed the implementation of the steps in "Getting started: P7000 series Stepper Drives.  I have the correct indicators in the interface of MAX, and I can not even the motor to hum a little when I press 'Start', but the axle does not turn.  I check the wiring of the driver of the engine and both Multimeters and diagram agree that, at worst, to run it back.  This is before any programming LabVIEW.  I'm just trying to make the engine start with MAX.

    Any help would be greatly appreciated as this is my first time setting such a system.

    Ben

    Hi Ben,

    Looks like your engine, and if your player are not compatible. 11 ELF 11 CTP is supported by the P70530 and not by the P70360 (see table 5 in the P7000 manual start-up). The P70360 (320 V) bus voltage is too high for this type of engine. Please contact your local branch OR for redemption for the right hardware options (you will need to swap the drive or motor).

    In addition, I highly recommend using the software tools P7000 in combination with a cable (P/N 780099-01) series to set up the reader. It gives much more flexibility to use switches dip and you can optimize the performance of the drive and motor by adjusting the inductance of the individual motor drive.

    Kind regards

    Jochen Klier

    National Instruments

Maybe you are looking for