PCI-7334 and L298

Hi there!
Hope someone will help me with this one. I am currently working on a project that uses the pci-7334 stepper motor controller. unfortunately, i don't have any power drive with me. but i do have an UMI-7764 connector block and a L298 dual full-bridge driver. i also have some stepper motors with me but they are not of NI's. my question is: is it possible for me to used the pci-7334 to connect with the L298 and to the stepper motors using the UMI-7764? if possible, could anyone help me with the proper wire connections? thanks ahead for the response!
kris
Solved!
Go to Solution.

It is NOT that easy to drive a stepper motor, you need quite a bit more circuitry than just a plain half-bridge driver. You also have to control the current flowing through the motor winding. This is mostly done via PWM (pulse width modulation) since this method allows for using plain on/off switches which have more efficiency than an analogue control circuit. Also, using plain switches allows for running a stepper motor in full-step mode only which will yield rather rough motion/rotation.
You can enter the learning curve and design all this from scratch but it will be probably much more cost and time effective to use a ready-for-use driver. We are using drivers from IMS
http://www.imshome.com
They also offer a range of stepper motors but their drivers are compatible with most 2/4 phase stepper motors on the market, we are using them together with Phytec and Oriental motors. Their manuals are very extensive and also cover the basics of stepper motor operation and connection to drivers.

Similar Messages

  • Cables to connect my PCI-7334 motion to one UMI and one SSR backplane?

    i want to connect a PCI 7334 to one UMI and one SSR backplane, what cables do i need (number)

    Hi NI_Rookie. This is a good question.
    To connect the 7344 to a UMI, you need the SH68-C68-S Cable with D-Type Connector (#186381-02).
    To connect the 7344 to an SSR backplane, you need the SHC68-C68-S Cable (#186380-02) with the SSR 8, 16, 24 Channel Cable Adapter (#778262-01)
    If you need help getting everything set up, please let us (the forum enthusiasts) know.
    Kyle V.

  • 12VDC for Limit and Home Signals for PCI 7334 using UMI-7764

    Can 12VDC be used for Limit and Home Signals for PCI 7334 using UMI-7764.
    Can the UMI 7764 be damaged if over voltage is supplied to it. If so can it be repaired or it has to replaced.

    Specifications for the Limit Switchs (home, forward, reverse, etc) is
    determined by the specifications of your NI motion controller PCI
    board. The UMI functions only as a pass through and breakout for the
    board .
    The valid limit swich voltage for the PCI-7334 is 0 - 5 V. You will have to divide down a 12 V input before running it to
    the UMI and to your board. The 3.3k pull up resistor is only used to
    pull floating voltages to TTL levels and does not protect for high
    voltage signals.
    Please note that the UMI-7774 provides optical isolation for limit switches and extended input levels (e. g. limit switch voltages: On = 3.5 to 30 V, Off = 0 to 2 V).
    Best regards,
    Jochen Klier
    National Instruments Germany

  • Problem updating the Firmware on a PCI-7334

    About me: I am pretty new to the Labview/NI landscape so I may be missing something here! That said im very technically aware in general and believe I understand what is going on here.
    Background: This NI PCI-7334 board has been taken from currently unused project stock so current physical condition of board is not really known (ie was not recently working) although it appears to be in good physical order.
    Attempting to setup a new Labview 7 Express development environment on new PC hardware with a clean build of Windows XP Pro SP1 along with 1 x IMAQ PCI-1411 and 1 x IMAQ PCI-1408.
    Attempting to update the PCI-7334 with the latest firmware in NI Motion 6.1.2. I select the option "Update All Firmware Sectors" f
    rom the firmware tree by right mouse clicking. It starts off with the buttonless (ie No Cancel Button) file transfer progress dialog box. But after about 30 seconds I keep getting the error "Error configuring the board for download. Please ensure that the board is in a reset state and that no other application is communicating with it."
    Existing Firmware versions are listed in NiMAX as:
    68331 - 6.00.3012
    DSP - 6.00.3008
    FPGA1 - [BLANK*]
    FPGA2 - [BLANK*]
    *Listed in tree without a version
    Unusually under the General listing I get "0" for the device serial number!
    When I go into the "Status" area and choose the "Reset Device" option I eventually get these status lights (red):
    Ready to Receive
    Power Up Reset
    Modal Error Message
    0x80 Move Complete Status
    I have tried removing all other cards from the PC to ensure there is not a compatability issue.
    At this stage it would appear that it is a hardware problem so I was wondering what options I have available to g
    et this card repaired. Is repair by NI economically viable or is a new puchase a better approach? IE are repairs done at a fixed price or based on materials and labour?
    Please advise!
    Thanks, Rod.
    Attachments:
    NI_PCI-7334_Firmware_Update_Error.zip ‏115 KB

    I agree with your diagnostics. It looks like something went wrong during the last firmware update. The only solution for this problem is to send the board for repair.
    NI has fixed prices for repairs which are much cheaper than buying a new board. Please contact your local NI branch for details.
    Best regards,
    Jochen Klier
    Applications Engineering Group Leader
    National Instruments Germany GmbH

  • Controling a sigma koki motorrized stage via a PCI 7334

    Hi everyone,
    I am trying to control a sigma koki motorized stage via a PCI 7334.
    The motor is a stepper motor.
    For information, here is the connection diagram of the stage via the driver (SG55M on the diagram) to the controler:
    http://www.sigma-koki.com/english/D/SteppingMotors/Diagram/Diagram/Diagram.html
    I ran a selftest on the motor using the driver and everything is going well.
    As a first step of my design, i would just like to control the motor without any feedback, and without limit switch options.
    I am using a 1:1 connector CB68LPR from NI to connect the driver to the PCI 7334. Doing this, i provide CW and CCW signals from the PCI to the driver as well as the inhibit signal. Thus, I come up using the pins 1,35, and 6 of the 68pins connector. Looking at other threads posted on NI, I believe those connections are enough to observe a simple move of my motor isnt it?
    When i try out within MAX to test a movement using the 1 D interactive feature, my stage doesnt move.
    MAX is confingured as followed:
    > only axis1 enabled
    > CW, CCW stepper mode 
    > limit and home switch disabled
    > inhibit output setting enable
    > ADC, PWM, ENcoder disabled since i dont use them so far
    Those parameters are initializing the pci.
    Is there other parameters that i should look at and which could prevent my motor to work?
    While doing this first step, I monitor the signals from the PCI via oscilloscope and clock pusles are ok.
    It is the first time i try to control a stepper motor using a PCI so i read the documentation to be found on Ni website, and i may just have forgoten something, but i cant see what...
    Do i need to provide some additional signals? Or just with CW, CCW, and inhibit is ok?
    If you find any comments or recommendations, they are welcome
    Cheers ^ - ^

    Hello Gegurissi,
    To test the motor with a minimum configuration, you can connect CW, CCW, and digital ground lines to the driver.
    It looks like that there is no ground connected to the motor, so please make sure that they are connected to the ground of the driver, too.
    For the MAX settings, it seems fine, but the settings have to be saved and the board has to be initialized before the motor is moved.
    In 1-D Interactive feature, please make sure that a value is entered in the "target position" section and click "apply" button.
    Also, are there any error messages when you move the stage?
    One last thing I would like to mention is that it is strongly recommended to use Universal Motion Interfaces (UMI) and Motion cables for the NI motion controllers.
    The UMI devices are powered, such that they can provide necessary power to encoders, limit switches, etc.
    If you have any questions, please let me know.
    National Instruments Japan
    Satoko Yuda

  • Change clock frequency in PCI 7334

    Hi ,
       I'm using a PCI 7334 stepper motor controller. The default clock is 10 KHz, but I would like to reduce it to 100 Hz or less.
    I'm using LabView 8 and  the example .vi like 
    One-Axis Find Reference with Status Monitor.vi or
    Simple One-Axis Move.vi
    I can't find how to change the clock frequency. Anybody can help ?
    Many thanks.
    Paola

    Hi,
    I think you have to change the velocity using Load velocity function.
    You can find an example in the One Axis.llb > One-Axis Move (Accel- max Vel - Decel).vi in which is used Load Velocity in RPM.flx.
    If you want to specify Steps/sec you have to use the Load Velocity.flx function (as you can see from the help the default value is 10000steps/s).
    Best regards
    AmbuA

  • DIO lines of NI PCI 7334

    Hi
    I have a NI PCI 7334 motion controller from which I hope to controll 4 stepper motors through a MID 7604 stepper motor driver. In addition to this I require to drive 6 relays from TTL signals (generated from commands from labview) through the digital IO lines of the device.Can this controller provide 6 digital out puts ( each giving a TTL signal) and one ground like in the case of DAQ device. I only have the cable connecting the controller to the MID 7604 stepper driver. What else is required to get the digital output lines and the ground similar to a DAQ device?
    Thanks
    Mal

    The PCI-7334 provides two connectors. One (1) for the motion control signals (which you are using) andanother one (2)for the additional 32 digital lines.
    On connector 1 there are also 4 digital output lines available that can be used as general purpose digital outputs for the case that you don't need the breakpoint feature of the board. These are open collector DOs pulled up to +5 V with a 5.5 kOhm resistor and they can sink up to 64 mA. You can place a parallel resistor between each DO and +5 V in order to increase the current. Please note that the resulting resistance (3.3 kOhm in parallel with your resistor + load resistance) shouldn't be below 78 Ohm.
    As there are only 4 breakpoint outputs available this solution will probably not work for you so you should use the additional digital lines on connector 2 instead which will require a cable (e. g. 186381-01) and a connector block. These DIOs provide a 0 to 5 V voltage range and can sink and source 24 mA. The current range can be extended with external SSR modules. For more information please refer to the NI 7330 user manual.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • A stepper motor attached to PCI-7334 travels in same direction for both +/- input

    Hi everyone, I'm seeing some bizarre behavior on my system and was hoping you could help me out.
    I have the PCI-7334 stepper controller installed and running on my system, with 2 axis-s connected.
    Axis 1 operates as expected, running one direction for a positive target, and the other for a negative target.
    Axis 2 on the other hand, runs in the same direction regardless of if I give it a positive or negaative target position.
    This seems to be  limited to axis 2, I connected the wires running from axis 1 on the connector block to the second motor driver and it then started to act as expected.
    Any idea whats going on?

    Have you checked with a DMM or a scope if the Dir output is working fine? Maybe this behavior is caused by the wiring of the open collector outputs for step & direction. Maybe due to device tolerances the current driven by axis 2 for the Dir output is a little bit too low, so the drive doesn't recognize the changed level. Please refer to this link in our KB and check if the wiring hints apply to your setup.
    A second option is a defective board. In this case please contact your local NI branch.
    Thanks,
    Jochen

  • "Error Deleting Device" when removing PCI-7334 in MAX

    I added a Virtual NI-Motion device by doing the follwoing in MAX:
    Right click "Devices and Interfaces"->Create New->Virtual NI Motion Devices->Virtual 7334
    Now my hardware has arrived, but when I installed the card in a PCI slot, no new devices were listed. There was only one entry, with the device status of "Device is not responding or has been removed from the system". I wanted to remove this device, but was unable to. I do the following:
    Right click "PCI-7334 (1)"->Remove Device
    After answering yes to the dialogue, I get a pop-up that says "Error Deleting Device". How can I get around this problem?
    Thanks for the help!

    Hi Jay,
    It sounds like there might have been some sort of corruption in the data file in Measurement and Automation Explorer.  I recommend deleting the Data folder in the following directory:
    ...Documents and Settings\ All Users\Application Data\National Instruments\MAX
    This will simply cause MAX to reinitialize its settings.  Any saved information such as Tasks and Configurations will be lost though.
    Thanks,
    Wes P.
    Applications Engineer
    National Instruments
    Wes P
    Certified LabVIEW Developer

  • PCI-7334, Error code 7005

    When I open Measurement & Automation Explorer I cannot communicate with the PCI-7334. The error I get is: 70005 (NIMC_boardFailureEreor).
    What I did was to try to update the firmware. However, the following message appeared and it was not possible to proceed: "Error configuring the board for download. Please ensure that the board is in a reset state and that no other application is communicating with it".
    I try to give some information that may be useful to understand the problem.
    The status of the controller is:
    - Ready to receive: GREEN
    - Data in the return data buffer: GREEN
    - Command in process: GREEN
    - Pocket error: GREEN
    - Power up reset: RED
    - Modal error message: RED
    - Hardware failure: RED
    Moreover, the version of NI Motion is 6.1.2.
    I read on the forum that this problem may be related to a hardware failure. Can I try to do some other checks before sending the card to repair?
    Thank you,
    Giuditta

    Giuditta,
    it's very likely, that you will have to send the board for repair. However to make sure, that you are not only facing an installer issue on the PC (which is quite unlikeyl) you may want to install a later version of NI-Motion on another PC and try to do a firmware upgrade there.
    Kind regards,
    Jochen Klier
    National Instruments

  • Adc ni-pci 7334

    Hello, I'm a Student in 2nd years of Bts Iris, and i get to work on a project which need to use the ni pci 7334. My project's leader ask me to find what kind of ADC is on the card, like Simple ramp or dual ramp...  Can you help to find this, and where htey are on the card (Geographically).
    Thanks for the futur answer and sorry for the vocabulary  i'm french.

    Hello.
    You can find informations about the ADC in the specifications:
    http://www.ni.com/pdf/manuals/322504c.pdf#page=23 (analog feedback).
    Best regards 

  • Old pci-7334 for Linux

    I bought a PCI-7334 (for spare) two years ago (2008) for an instrument observatory. The control software was under Linux, and unfortunately this new version of PCI-7334 does not work with old driver for Linux. Also, this new board works fine under Windows.
    I am looking for someone who could sell me an older version (2005) of the PCI-7334 (Copyright 2001) or against me share the news.
    Look image in attachment.
    Best regards, David.
    Attachments:
    IMG_0011.jpg ‏608 KB
    IMG_0002.jpg ‏953 KB

    David,
    we might be able to help you out. Please see my private message.
    Regards,
    Jochen Klier
    National Instruments

  • Sharing an external sample clock between PCI-6722 and PCI-6602

        I need PCI-6602 work with PCI-6722。6602 shares 6722’s ao/SampleClock as external clock and triggered by 6722’s ao/StartTrigger。The master device is 6722, which refered as Dev1, and the slave device is 6602, which refered as Dev2. A RTSI line is used to connect the two devices correctly.
        I use C API to finish my program and my code is as follows:
    //config 6722 analog out task
    1、DAQmxCreateTask("NI6672", &hAOTask);
    2、DAQmxCreateAOVoltageChan(hAOTask, "Dev1/ao0", "", -10.0, 10.0, DAQmx_Val_Volts, "" );
    3、DAQmxCfgSampClkTiming(hAOTask, "", 1000.0, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 1000);
    4、DAQmxWriteAnalogF64(hAOTask, 1000, 0, 10.0, DAQmx_Val_GroupByChannel, data, NULL, NULL);
    //config 6602 counter task
    5、DAQmxCreateTask("NI6602", &hCounterTask);
    6、DAQmxCreateCICountEdgesChan(hCounterTask, "Dev2/ctr0", "", DAQmx_Val_Rising, 0, DAQmx_Val_CountUp);
    //use /Dev1/ao/SampleClock for external clock
    7、DAQmxCfgSampClkTiming(hCounterTask, "/Dev1/ao/SampleClock", 1000.0, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 1000);
    //use /Dev1/ao/StartTrigger
    8、DAQmxSetTrigAttribute (hCounterTask, DAQmx_ArmStartTrig_Type, DAQmx_Val_DigEdge);
    9、DAQmxSetTrigAttribute (hCounterTask, DAQmx_DigEdge_ArmStartTrig_Src, "/Dev1/ao/StartTrigger");
    10、DAQmxSetTrigAttribute (hCounterTask, DAQmx_DigEdge_ArmStartTrig_Edge, DAQmx_Val_Rising);
    //start counter task first
    11、DAQmxStartTask(hCounterTask);
    //start 6722 task
    12、DAQmxStartTask(hAOTask);
    I run it on the MAX virtual Device, and the Step 11always returned -89120。
    I try to slove this problem, so I change the Step 7, use /Dev2/PFI9 to instead of /Dev1/ao/SampleClock.
    7、DAQmxCfgSampClkTiming(hCounterTask, "/Dev2/PFI9", 1000.0, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 1000);
    The code runs well, but I don’t know which terminal is connected by /Dev2/PFI9. Does it connect to /Dev1/ao/SampleClock?
    I use another API DAQmxConnectTerms to ensure that, I add a Step before Step 11.
    DAQmxConnectTerms( "/Dev1/ao/SampleClock", "/Dev2/PFI9", DAQmx_Val_DoNotInvertPolarity );
    The program also run well. But I am still not sure that 6602 is sharing /Dev1/ao/SampleClock。If not, which terminal of Dev1 is connected by /Dev2/PFI9?
    Is my code right? If not, hwo to fix my code or supply some example for me? Thanks.

    Hello Shokey,
    From looking over your post, it looks like you want to program in C, using simulated instruments, a master/slave design with a PCI-6602 and PCI-6722. The PCI-6722 is the master device and the PCI-6602 is the slave device. In order to implement this with the real cards, you would need a RTSI cable between the 2 cards in order to pass the triggers and the sample clock. Unfortunately with simulated devices you can't implement this so parts of your code won't be able to work exactly like if you had the instrument.
    If you did have the instrument, you can implement this by performing the following steps:
    Master Device:
    1.) Export the ao/SampleClock and ao/StartTrigger to a RTSI Line. (See DAQmx C Reference help for DAQmxExportSignal to export these)
    Slave Device:
    1.) Set the Sample clock and the trigger to the RTSI.
    There is another forum that I think will help you out to implement this correctly. In this forum, the customer was trying to export a trigger through a RTSI and the problem he was experiencing was a broken RTSI cable. His code, he states, works. I hope this helps you with this and if you have any more questions, feel free to post.
    Jim St
    National Instruments
    RF Product Support Engineer

  • Connecting Yaskawa Sigma II Servo Drive (SGDH) to PCI-7344 and UMI-7774

    Hi,
    I have  NI PCI-7344 and UMI-7774 and i want to
    Connect the UMI-7774 to Yaskawa Sigma II Servo Drive (SGDH) , the servo motor drive is connected to the servo motor with original Yaskawa cables.
    1.  do you know if National instruments provide special cables to connect the UMI-7774 to the Yaskawa Sigma II Servo Drive (SGDH) ?
         i know there is special cable to connect this servo drive to the NI PCI-7390
         http://zone.ni.com/devzone/cda/tut/p/id/5908 
        (you can find in this link that this cable exist: 50 Pin cable for connecting MCA-7790Y to Yaskawa Sigma II Servo Amplifier)
         but this is not the case here, i need to connect the Servo Drive to the UMI-7774..
     2. Where can i find a tutorial on how to configure the PCI-7344 in MAX to send simple commands to the Servo Drive
          i.e.  to run the servo motor from position A to position B (10,000 encoder pulses)
    i'll be gratefull for any help
    Regards
    Moti

    Hi MotiM,
    We do not have a cable that will let you directly connect the UMI-7774 to a Yaskawa Drive.  We do sell cables that will have the Dsub connector to match the UMI-7774 with pigtails to wire to the drive.  If you take a look at the product page for the UMI-7774 you can see the different cables listed under the accessories.
    To perform a simple move in Measurement and Automation (MAX) is very simple.  In MAX under NI-Motion select your PCI-7344. Under this section select the settings option (by default it will be called Default 7340 settings).  Select the Servo radio button.  Initialize your controller.  Then you can select Interactive and 1-D Interactive and command your motor from there.  I have attached an image with the important areas highlighted for you. 
    Message Edited by Adam_H on 09-19-2008 03:41 PM
    Adam H
    National Instruments
    Applications Engineer
    Attachments:
    MAX.jpg ‏93 KB

  • How can I configure NI PCI 6221 and DAQ SCB-68 for pressure sensors?

    Hello
    everybody,
    I am using the measuring board (NI PCI 6221) and DAQ
    SCB-68 for the data acquisition.
    With the DAQ-Assistant I created AI for the voltage of
    pressure sensors. In a big indicator panel from this DAQ-Assistant I see the
    voltage for both sensors in the correct size. But if I set sensors in the
    blockdiagramm to control the signals for sensor one I get a wrong voltage size
    and for sensor 2 nothing.
    How can I configure this data acquisition equipment to
    get the correct signals?
    Thanks a lot for your help.

    I do not know the type of sensor you are using. But pressure transducers may have a very low output voltage(in the mVolt range). They also need an excitation voltage. Here is an introduction. http://focus.ti.com.cn/cn/lit/an/sloa034/sloa034.pdfThen working with pressure sensors I always use 3 stages in the circuit.
    1 Instrumentation Amplifier as a preamp
    2 filterstage
    3 Final amp and output buffer
    (you may combine stage 2 and 3)
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

Maybe you are looking for

  • Query xml data from a CLOB datatye

    All, I read in an oracle white paper that is is possible to query XML data from CLOB datatype using oracle text index using operators HASPATH() and INPATH(). I am not able to find any example on how to do this. Can someone please post a simple exampl

  • Using USB device with Virtual Com port

    I have an actisys IR USB device that creates a virtual serial port. I can read from it using VISA, however it will not write. I have the same setup working on LV 6.1 running windows 2000. I need to make it work on my system running XP and LV 7.1.

  • How can I store the results of a report in an Oracle table ?

    In OBIEE 11g, we need the records resulting from the execution of a report, to be stored in an Oracle table. Is this possible ?. Thanks. F r a n c o . -

  • Problem with forward using RequestDispatcher

    Dear All Below is my code, which trying to use the RequestDispatcher.forward to go from a Servlet to a .jsp page. and use getServletContext().setAttribute("SvBio",vBio); to set an attribute It compiles finely but stuck at the forward request to the j

  • RAW support in iPhoto 8/Leopard

    Does anyone know if Apple added support for any new digital cameras in iPhoto 8/Leopard? I'm planning on buying an Olympus E-410 soon and would like to know if iPhoto will understand and display the RAW files it produces. Does anyone have experience