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

Similar Messages

  • 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

  • Stepper motor speed control

    Dear Reader,
    I want to control the speed of a 4-phase stepper motor using LabVIEW 6i and PCI 6024E card. Hence I am approaching you for help and advice. I want to control the speed of a stepper motor, which is used for rotating the diffraction grating used in the monochromator.
    Please try and answer a few of my questions:
    1. Can I interface the stepper motor directly with the card PCI 6024E, or I need a drive for that purpose?
    2. I just want to rotate the stepper motor at a fixed speed, meaning that I don’t want to change the speed of the stepper motor in between, I need a few fixed speeds, what are the problems of controlling the stepper motor using the PCI 6024E cards?
    3.Have you been successful in interfacing your stepper motor
    with the 6025E card?

    I have attached a library about steppers from Brad Hedstrom. It is very old and I think he would write it differently today, but it answers all of your questions. Except the typenumbers of the interface cards and that is answered by: they all are ok.
    greetings from the Netherlands
    Attachments:
    stepper.zip ‏96 KB

  • Error -70006 when using stepper motor in Open Loop Mode

    We have a LabView program that runs a test in which a table is rotated. At the end of the test, the table is supposed to rewind. Instead, the following message appears:
    Error -7006 occurred at Read Trajectory status.flx
    Possible reasons: For FlexMotion, an invalid axis number or other resource ID (Vector Space, Encoder, I/O Port, and so on) was used.
    We have the PCI-7344 interfaced with a UMI-7764 and a Zeta4 that is controlling a ZETA83-93 stepper motor. There is no encoder in the system for this motor. The stepper loop mode was originally set to closed loop but the motor behaved erratically (moving multiple times when instructed by MAX to move once). The stepper loop mode was changed to open loop and the m
    otor started behaving properly, but that is when the error message starting appearing. Are there any other configuration settings, such as Primary Feedback (which is now set to Encoder) or ? that I may need to correct to resolve this error?

    First of all I would check a couple of things. The reason why your motor was not behaving properly in closed loop stepper configuration is most probably related to the fact that you don't have the encoder counts per revolution adn the stepper steps per revolution properly configured for your motor. Please follow the instructions found in the following knowledgebase:
    http://digital.ni.com/public.nsf/websearch/29edb56​146f274a386256a1c00624310?OpenDocument
    When you configure an axis in closed loop stepper mode, we use the information of the encoder to generate the adequate velocity profile. If the encoder counts and steps per revolution are not properly matched, then the motor will not execute the moves properly. What you need to do is the following:
    1.-Configure your axis as closed loop stepper in the Axis Conifguration Section in MAX.
    2.- In thbe 1-D Interactive Basic panel, kill the motor and click on reset position.
    3.- Manually rotate the motor one revolution.
    4.- In the advanced panel on 1-D interactive, read the Encoder Value. This is the value you should enter on the Axis Encoder Counts per Revolution under Axis Configuration. Press Apply.
    5.- Go back to the 1-D interactive Basic Panel. Change the bullet selector unbder Stepper Loop Mode from Closed to Open. Run a 10000 step move.
    6.- When the move is finished, read the encoder counts from the advanced panel. This will tell you how many counts you have in 10000 steps. You can now calculate the stepper steps per revolution by the following formula:
    (# of steps per count)*(# counts per revolution) = # steps per revolution.
    Your motor should work fine in closed loop stepper configuration now and the error should not appear. Please make sure you are using the latest version of our driver (Ni-Motion 6.0.1)to avoid older firmware errors and fixed bugs from affecting your system. You can get it from:
    http://digital.ni.com/softlib.nsf/webcategories/85​256410006C055586256BB9002C16DF?opendocument&node=1​32070_US

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

  • How do you control LED lights on the front panel to identify the number of steps a stepper motor has taken?

    I am controlling a stepper motor that is coupled with a valve with four outlets (using an Arduino).  I've got a general understanding of how to control the motor, but I want LED lights on the front panel to light up that indicate which outlet the valve is currently at after the steps are taken.  The method I'm thinking about involves a lot of repetitive code.  I'm not that experienced with LabVIEW, I'm assuming I need some sort of loop structure but I don't know how to set it up in order to control the sequence of the LEDs.  I've attached my current block diagram for a visual aid if needed.
    Attachments:
    Capture.JPG ‏33 KB

    I was thinking about using the Stepper To Go and Stepper Write functions four separate times, using the same constants for the steps each time since the distance between each outlet is equivalent.  The only difference would be what's connected to the "steps remaining" node, which would be the function that activates one of the four LEDs (if that makes sense).  I was thinking that doing it this way would be a little counterintuitive since the only thing that needs to be changed is the LED indicator.

  • Stepper motor spinning in random directions

    Our set up consists of a PCI-7334 connected to a UMI-7764.  One axis is wired to a MCB15081 Bipolar Microstep Driver driving a 200 step Lin Eng. motor.
    When trying the 1-D interactive move via MAX, I am sending it a command to perform a relative move 5000 counts.  The motor responds by moving some amount (not sure if it is the correct amount yet) in a given direction.  If I repeatedly hit the start button, over and over, sometimes the motr moves, clockwise, sometimes counter-clockwise.  On occasion it will stutter back and forth without really rotating.
    Any thoughts?
    Chris

    I was thinking of the same reason when I read your first posting. If only one winding of the motor is connected properly to the driver it will perform random moves, depending on whether the impact of the activated winding is sufficient to make it move more than 1 full step. Sometimes you can check it by trying to turn the motor shaft manually, it will continue to move in the same direction for a short time and then move randomly again.

  • Lin engineering stepper motor driver

    Has anyone out there written a motor driver VI for a stepper motor from Lin Engineering?  Specifically, I'm looking for a VI to control a Silverpak 23CE with integrated controller (model 5718X-01P).  A VI for any of Lin's integrated controllers might be useful as an example.

    Hey jaydiep,
    How does the Silverpak 23CE connect to the computer?  Is it through serial, ethernet, etc?  This will help in determining how you would need to communicate with this device. 
    Thanks!
    Andy F.
    National Instruments

  • Possible to drive a stepper motor with PCI-6111?

    Is it possible to drive a stepper motor with PCI-6111?

    Hello Tristan,
    If your stepper motor is TTL compatible you should be able to control it with one of the two counters on the board. Keep in mind that the stepper will ask for a certain amount of power so before attaching it track down how much power it consumes and take a look at the Specifications of the PCI-6111 to be sure that the counters on the board can deliver that amount. If the stepper takes to much power you have to use some kind of power drive which can be controlled with digital (TTL) signals or Analog signals between -10V and +10V.
    Hope this helps.
    Best regards
    RikP
    Application Engineering
    National Instruments
    Rik Prins, CLD
    Applications Engineering Specialist Northern Europe, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Control two stepper motors with PCI 7332 for sinusoidal movements

    Hello,
    I am now using two stepper motors of RK566BAE (Oriental motor). I connected those two motors with UMI-7764 and PCI-7332. I designed to have independent sinusoidal movement of each motor. The first motor is wired to Axis 1 and the second to Axis 2 (of UMI-7764).
    I want to use Ni-Motion to create  a single VI in LabVIEW which helps to control both motors. But I have not figured-out how to obtain the movement I desired.
    Could you please advise me.
    Thank you so much.

    There are two ways to do elliptical arc moves:
    Use contouring two download target position arrays to the onboard buffer
    Use arc moves in combination with gearing (shipping example). This requires three axes.
    The 7332 doesn't support contouring and gearing and it doesn't provide a third axis, so there is no way to use this board for this type of moves. The cheapest NI board that supports elliptical moves in contouring mode is the PCI-7342. As the second option requires three axes, at least a PCI-7344 is required for this method.
    Here is a link to a feature comparison table for all NI 73xx motion control devices.
    Kind regards,
    Jochen Klier
    National Instruments

  • Stepper motor /Labwindow​s 5.5 /PCI DIO 96

    Hi all,
    How can I make a software with LabWibdows 5.5 and PCI-DIO-96 to command stepper motor (360step/360°, with 4 rotation/s) ?, the second part driver and a choice of the motor is not up to me.
    the choice of the signals is up to me :
    1. cw and ccw
    2. pulse and direction.
    wich method is best ?
    Any exemple with CVI is welcome ?
    Thanks

    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 on the ball-screw linear positioning system 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.

  • Elliptical Motion of Two Stepper Motors with PCI 7332

    Greetings,
    I am trying to move two stepper motors on a 2d elliptical arc using LabView and PCI 7332 controller board. The 2D ellipse example in the LabView library does not work with the 7330 series. Is there any other easy way to perform such a motion with PCI 7332? Thank you in advance.

    There are two ways to do elliptical arc moves:
    Use contouring two download target position arrays to the onboard buffer
    Use arc moves in combination with gearing (shipping example). This requires three axes.
    The 7332 doesn't support contouring and gearing and it doesn't provide a third axis, so there is no way to use this board for this type of moves. The cheapest NI board that supports elliptical moves in contouring mode is the PCI-7342. As the second option requires three axes, at least a PCI-7344 is required for this method.
    Here is a link to a feature comparison table for all NI 73xx motion control devices.
    Kind regards,
    Jochen Klier
    National Instruments

  • Anaheim Automation stepper motor with PCI-7330 and UMI-7764

    Hi, I'm fairly new to LabView 2010 and stepper motors in general. I've been trying to get an Anaheim Automation stepper motor and encoder to work with LabView with some success but it isn't quite right. My main problem is when the home switch is activated the whole thing is killed and I cannot get it to respond unless I manually turn the motor so that it is not on the home switch anymore. After that it will run ok, unless it hits the home switch again (btw if it hits the forward limit switch it will stop but it will accept a command to move away from it).
    Could someone please take a look at my wiring diagram in the link below and let me know if there is anything obviously wrong with how I wired it up or if you have any suggestions on where my settings might be going wrong I'd really like to hear from you. 
    Thanks,
    Rob
    Wiring diagram: https://docs.google.com/present/edit?id=0AW08JmeQD7nyZHBzejljOF82OWc4NHg4Z2M4&hl=en_GB&authkey=CPbsv...
    Tech sheets:-
    Stepper motor: http://www.anaheimautomation.com/manuals/stepper/L010130%20-%2023MD%20Series%20Users%20Guide.pdf
    Encoder: http://www.anaheimautomation.com/manuals/encoder/L010723%20-%20ENC-A2N%20Single-Ended%20Encoder%20wi...

    Thanks for the reply, I am trying to run any of the find reference example VIs from NI. I've not edited the code in any way.
    The motors will run with the wiring I've posted, it'll move to the forward limit switch then come back again but it will then hit the home switch, the motor stops and cannot be started again until it is manually moved off the home switch. It has never made it all the way to the reverse limit switch meaning I cannot use home (it stops) or the centre (can't find the reverse limit) as a reference point.
    It was suggested to me I might have the grounds miswired, the manuels were not all that clear so I'm unsure.

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

  • Can I control a stepper motor by a time varying velocity input?

    I want to control the motion of the stepper motor by a velocity input that looks something like a Sine wave.The velocity is changing as a function of time. Can I change the velocity of the motor at a prescribed time interval?
    Thanks in advance
    Kevin

    Thanks for getting back to me on this. The controller card that I have is the PCI-7342 controller card. The time of a cycle is about seven minutes. I want to ramp the RPM of the motor from zero up to a max value then return it to zero and then go in the opposite direction . A graph of the RPM vs Time is attached.
    I thought that I could input an array of velocities into a Load RPM VI and specify the time for each input.I have not been able to do this as of yet, because the load RPM VI will not take an array input.
    All these inputs would be made in labview so they are inputs for the controller card. I was under the impression that the controller card generates the steps and direction from the data entered in labview and sends the step and direction impulses to the driver. Do I have the method of operation right?
    Do you think this is possible?
    Thanks again

Maybe you are looking for

  • Help needed in partitioning a Table

    Hi, We can partiton a table by the following create table sales (      product_id     number,      trans_amt     number,      sales_dt     date,      state_code     varchar2(2) partition by list (state_code) partition ct values ('CT'), partition ca v

  • Screen programming - Return statement

    Hi, In the middle of a user exit, I have called a screen in which two buttons are there "SAVE and Exit". If save button is pressed, data should update the value is table and  continue with the user exit. If exit button is pressed, nothing should happ

  • Content not displaying.

    I built a login form and put an Application.cfc file in the folder i want to restrict and it's not displaying the simple text i put in the index.cfm for testing purposes. ======= Application.cfc code (in folder name "admin_section")========== <cfcomp

  • EnableVersioning Problem

    I am trying to enable our dataset, which include some spatial data using 10.2.0.3.0 64bit on Solaris. From what I had prototyped in the past, I understand that before enable versioning you should first call FindRICSet to get a list of the tables (at

  • Help for MediaException:Missing protocol separator

    Hi all, I am trying to record voice in the mobile phone and save it to a file using MMAPI functions. I tried out the sample demo, "MMAPIExample" given in the NetBeans 5.0 Beta 2 with Mobility Pack 5.0 Beta 2. I selected Simple Player->Audio Capture f