Maxon Motor Control and NI UMI7774

Hello,
I am using maxon motor control PWM servoamplifier ADS 50/10 for my application.I am currently working on a project that requires me to get the precise position (mesure) with an incremental encoder with 2 channels A and B. I am Using NI Motion, NI UMI-7774,NI PCI 7550, and Labview 10
I try to connect my maxon direct with the Labview Hardware NI UMI 7774 and i don t know how to do this.
anyone have any idea?

Hello,
can you please give me some more informations about the problems you see with the connection?
Generally you have to at least connect the "Analog Output", the "Ground" and the "Enable" from the NI-7350 with the Maxon ADS 50/10.
You can find an overview about the pins of the NI UMI-7774 here on page 16/17:
http://www.ni.com/pdf/manuals/373359c.pdf
The connector for the Maxon you can find here:
http://www.farnell.com/datasheets/6244.pdf
Please tell me, what informations you are looking for.
Johannes

Similar Messages

  • Maxon motor control with LabView

    Hello everybody, I am new here and I have been trying to learn how to make this process work for a while and I have ran out of options. LabView is very hard to comprehend.
    I am trying to control a Maxon motor using the epos 24/5 controller. I have a vi that does what I need to do, but I need to find a way to make the process run faster. Basically is going to control a wing that is going to go back and forth at very high speeds. I am not sure what I need to do, also I would like to generalize the process by being a able to input a function or a position wave of my choosing. If any of you all can help me it will be greatly appreciated. Thanks ahead. 
    Solved!
    Go to Solution.
    Attachments:
    Absolute Position Attempt.vi ‏26 KB

    Davide,
    I found some screen captures, this vi worked really well the only problem I ran into was the I could not adjust for the inertia of what I was controlling so it would  not follow the sinousoidal wave I needed. You can do a similar set up for analog input for position.
    I highly advise of learning labview properly first, instead of just going at it. As starting small knowing what is going on( a lot of little things) and working your way up.
    (i had help in this one so some of the details of the control such as outputting of the digital signal I do not comprehend fully)
    Carlos
    Attachments:
    Capture1.JPG ‏141 KB
    Capture2.JPG ‏263 KB
    Capture3.JPG ‏170 KB

  • Motor control and graphs

    Hye all
    I have a major problem. im using Lv to control a motor and the motor is moving a thermistor. LV is also reading the input from this thermistor and grpahing it. My problem is when the motor is off LV grpahs away perfectly yet when i press the button to turn on the motor it stops graphing and taking data yet if i turn off the motor it starts plotting again. im controlling the motor using a D.A.Q and taking in thermistor outputs with the same D.A.Q.
    Any help would be immensly appreciated
    Regards Martin Garvey
    Attachments:
    everything together half working.vi ‏176 KB

    Have you tried running with execution highlighting to see where it stalls?
    (I don't understand your VI at all, it makes little sense to me. Which button turns the motor on? Why are there 3 different stop buttons? What is the meaning of the two hidden "iteration (0:initialize)" terminals that never get a value? There is data dependency between the two parallel loops (via device #) so the upper loop cannot start until the lower loop finishes Is this as intended? Do you really need to send the PSU Command string with each iteration of the lower loop? What is the difference between the two case structures except for the wait? ...?)
    LabVIEW Champion . Do more with less code and in less time .

  • How to make a contour (3D) plot with motor control and DAQ?

    Hi,
    I have a instrument sitting on a movable slider. What I am doing right now is :
     a) Go to position 1 and wait until position reached.
     b) Measure the spot.
     c) Go to next position.
    What I want to do:
     a) Move the device and measure continously at the same time.
    Question: Is there a strategy, how to bring those to data streams (positions, measured data) together with not so much effort?
    System: I am using Labview 2014. Data aqcuisition rate is 20Hz.
    I can think of: collect data in a queue, manually setting timestamps and comparing them afterwards. But I guess, there is an easier solution existing already somewhere... Any advice?
    I can not easily support correct VI´s, because they require hardware connected. I will build a simulator in the meantime

    I made a small simulation Vi. But as I understood now, Labview can only scale the indices and not have a real matrix of data points with different distances.... So I need to have equal time distances and equal movements over the surface. I thought, I should track the actual position and give that arbitary parameters as an axis.
    Attachments:
    simulation of intensity graph synchronize.vi ‏18 KB

  • DAQ and motor control in the same VI

    Hello,
    I am a beginner in labview and I am trying to control a maxon motor and run a NIDAQ at the same time. Basically, I need to measure the pressures and the angles at the same time and record these.
    The problem that I am facing is that when I execute the VI, the motor runs first and this is followed by the measurement. I have twiddled around with it a lot getting a lot of help from this community but I can't figure it out. No matter what I do the motor starts running first and after the motor has completed its movement then the DAQ takes the measurements.
    Is there any way to run the motor and the sensors together? I can run the motor seperately and I can run the sensors separately in their own VIs but can't seem to run them sequentially.
    Any help would be appreciated.
    Aman
    Attachments:
    VI.jpg ‏64 KB

    In LabVIEW, your wires between VIs (and structures like While Loops) determine the order in which things happen.
    There are several approaches that you can take to de-couple the motor and DAQ processes.  The most obvious would be to put the motor control in one while loop, and the DAQ in another.  Yes, you can do this in LabVIEW.  Just don't get too carried away.  Each loop usually will go to a separate core to run.
    If there is data that has to be shared between the loops, you can use local variables, or the Value property nodes of the controls and indicators of your VI.
    Machine Vision, Robotics, Embedded Systems, Surveillance
    www.movimed.com - Custom Imaging Solutions

  • PID Control and Maxon EPOS 24/5

    Hello,
    I'm trying to control a Maxon RE-40 motor through a Maxon EPOS 24/5 motor controller. I'd like to use torque control, and eventually stiffness control, but for now I'm just hoping to do something super simple like current control. The attached VI is as simple as they come, but I can't find a set of control gains to make the system stable. I mounted my motor into an MTS Servo-Hydraulic System
    and oscilated the motor with a sine wave (1 deg amplitude, 0.5 Hz frequency) and no matter what set point or control gains I use, the PID output exceeds the maximum range I've specified (and I've been very generous with that). Do you have any ideas of what I might be doing wrong?
    Please help. I'm desperate
    Thanks,
    Brian
    Attachments:
    Current Control V1.vi ‏51 KB

    Hi,
    I am interested in doing torque control, but I think that's equivalent to current control for a DC motor. I can't open the VI you uploaded in your message. It's missing sub VI's that start with "PID." If you're willing to share your code, can you post all the VI's associated with it? I would like to send a particular current profile to the EPOS2 24/5 and have it execute the movement, and then send me back all the associated position data. Do you have this functionality?
    Thanks,
    Mary

  • Position drift during the stepper motor controlled back and forth motion

    Hi everyone there,
    I get a headache position drift problem during the stepper motor controlled back and forth motion. I have been wroking on the problem for the last two weeks, and still can not figure it out. So I write down here my problem in hope of getting some clues from those have some experiences in stepper motor motion control.
    My goal is to use a stepper motor to drive a beam flage fixed onto the shaft to go back and forth for a certain angle, and this back and forth motion needs to be stable and reproducible within hours. With the SMD1 stepper motor driver, I only need to send in a pulse train to control the number of steps(the pulse frequency defines the stepping rate), and another pulse to controle the direction (i.e., cw or ccw). To do this, in LabView, I used the counter of the DAQ board to produce a finite pulse train to step the motor, and used one digital line to produce a pulse to switch the direction every 500ms, the timing is contolled by the software.(I used the oscilloscope to monitor these two pulses, the pulse train produced by the counter looks very stable, and delay between the pulse edges of the direction pulse and the pulse train is also very stable within 500ms. There seems no software timing problems at such a long delay.)  And this labview controlled motor appears to work perfectly as I required, the motor steps a defined number of steps at one direction, and then steps back at the origin position. But after running for a few minutes, the back position shifts gradually(I can not observe a obvious shift at the first few minutes) with repect to the origin position(the position I start running). I looked it up at the manual and also the website, I got a clue that this might because the motor steps at the resonace frequency of the motor and hence misses or takes extral steps sometimes. So I changed the steping rate from 1Hz to 1000Hz to see if the shift disappears or gets smaller at certain frequency range, but the shift always exists.
    I did observe the shift got smaller within the same running time when change the step model from full step (1.8degree/step)to half and quarter step model. According to this, the motor did miss steps (or pulses) during running, the quarter step model has smaller shift due to the smaller steps.  But I also noticed that the motor always shift at one direction, no matter I started with clockwise or counter-clockwise, this seems really strange to me. Because the motor should shift at each direction with the same probability if we assume the motor missis steps randomly.
    There is something must be wrong, either the labveiw program or the motor, but I don't even know a clue of this weird shift problem. And because of this, I haven't made any progress in my lab for the last three weeks. So any suggestions could be very helpful for solving this headache and will be really appreciated.
    Thanks a million in advance and Merry Christmas!
    Li

    Hey, Brian Beal,
    Thanks for your quick response. "accel" and "decel" mean acceleration and deceleration, am I understanding right?
    If yes, then I don't have these in my LabView program, I just generate one TTL pulse train and one TTL pulse with LabView and send them into the SMD1 stepper motor driver.
    The pulse train steps the shaft, and the other switchs the direction.
    Yesterday, I confirmed that if the motor steer always at one direction either CW or CCW, then the stepping were very stable, no missing or extra steps happen for hours.
    And I also observed that the motor took one extra step  from time to time when the direction changes. And this only happens when the direction switch from CW to CCW. (bizarre!)
    I guess this indicates that some pulse noise happens when the motor switch the direction too often.  But I just don't have any clue for irregular extra steps.

  • Control DC Motor (start and stop) with LabView

    I never used Lab View before. For a project, we have to use Lab View to make a small dc motor (HP:1/2, RPM 1725) start, and stop. I have no idea how to do this. Any advice/help anyone? Any tutorial or vi. would help!

    Hi there,
    Search for “H-bridge” for a common DC motor control circuit, the input terminals from the bridge can be controlled using any DAQ device with digital output lines from LabVIEW. For example: https://decibel.ni.com/content/docs/DOC-17062
    Regards,
    Alejandro | Academic Program Engineer | National Instruments

  • FPGA programming for motor control using free downloadable IP cores for PWM and Quadrature encoder interfacing

    Hi,
    I have a cRIO-9014 with a NI9505 DC brushed servo drive module, and I would like to program the FPGA for PWM and Quadrature encoder interfacing using the intellectual property IP functions mentioned in the "CompactRIO Motor Control Basics Tutorial":
    Quadrature Encoder dX Method (FPGA, Use in SCTL).vi
    Pulse Width Modulation (FPGA, Use in SCTL).vi
    I made a search at ni.com/ipnet but I couldn't find them.
    Where can I find free downloadable IP cores for PWM and encoder blocks to include them in my FPGA interface program?
    Thanking you in advance,
    Manuel
    Solved!
    Go to Solution.

    Found by myself (google search!) at:
    https://lumen.ni.com/nicif/us/codepowelecguide/content.xhtml

  • How to control maxon motors using sinewave

    Hi, am using the maxon brushless motors controlled by epos2 24/5 contollers. I want to give an input like sinewave to run the motor .Could anyone help me on this. Thanks in advance..

    Hello,
    I have the same problem. I would like to do a velocity mode with a sinwave funktion. Did you slove the problem? 
    regards

  • A/C three Phase motor control using 1/4 bridge Load Cell output and a USB 9172 Daq

    NI Assistant,
    I am tasked with setting up a Motion Control using two each OMEGA LC712-100K, -50K and -10K load cells to monitor the cable tension on six A/C motor driven winches. I also need to Monitor and calculate a Moment as well as the load slope for Load verses Time.
    I have zero time to develop and I have searched your databases for existing Motor Controls to modify.
    Should I use Case Structures and then place them in a while loop?
    I setup a drawing in Word to visually define the task.
    Signed,
    Patrick Murphy
    Attachments:
    Layout for Testing Spars.docx ‏15 KB

    Hi Patrick,
    The reason why the Motion Control examples will not work for you is beacuse they are meant to be used with the NI Motion boards. Since you are using DAQ boards, the examples are probably not going to be able to help you too much. However, there is one example on the community that might be a place for you to start. 
    pmurphy wrote:  Should I use Case Structures and then place them in a while loop? 
    What exactly do you mean by this? What do you want in the case structure or while loop?

  • DC Motor Control - AKD Drive and LabVIEW Softmotion

    Dear all,
    I need to control a DC motor, which basicly has to rotate from -15 degrees to +15 degrees with changeable frequencies/time period.
    The motor is used for inducing vibrations, thus the frequency and positioning must be (easily) controlled in LabVIEW.
    My setup looks as follows:
    cRIO 9082, NI 9514 C-Module, AKD Servo drive and an AKD DC Brushless motor.
    Until this point i have used a "Contour move block - repetitive" for controlling the engine using a table, however, this doesn't allow me to configure velocity and acceleration etc. Furthermore, I don't know what units the block inputs are (radians, degrees, units/rotations whatsoever) - See pictures for details on diagram and setup.
    Also, i would like the possibility to actually see and/or control a PID-controller using the feedback option.
    So, i short, i basicly want to:
    - Control the positioning of my DC motor (from -15 to +15 degrees).
    - Control the motor using a PID controller (not necessarily needed, but i would like the possibilty)
    - Control the velocity, acceleration, deceleration and frequency/time period.
    Thanks in advance - looking forward to some good answers! 
    Have a great easter holiday.
    Best regards,
    Jzaulich
    Attachments:
    Motion and error.PNG ‏20 KB
    Project tree.PNG ‏22 KB

    Hi Anders,
    Thanks for your reply.
    I have the softmotion module installed and working - thats not the issue.
    However, at the moment i'm using the "countour move" example provided with the SoftMotion module.
    It works fine, however, it doesn't allow me to change the system too much and the unit of the input is not denoted anywhere (radians, degrees, revolutions etc.).
    As i am all new to both LabVIEW and SoftMotion there's obviously a lot of obstacles.
    I would like to model the motor control using a PID regulator with the position as input - is this possible, without making it too complex?
    Best regards,
    JZaulich.

  • Spindle motor control with labview

    Hi
    I want to control the spindle motor with Labview. It is maxon motor EC 32 with encoder and controller. I can control it with the GUI software. But, I am not sure that there have any such options in labview to control the motor? Please let me how I can control this spindle with the help of labview.
    Thank you for your co-operation.
    Best Regards
    Azim

    Hi Azim,
    It looks like Maxon posted a driver for the DES servoamplifier here: 
    http://shop.maxonmotor.com/maxon/assets_external/Katalog_neu/eshop/Downloads/maxon_motor_control/4-Q...
    The DES can communicate via a command voltage from a motion controller, in the NI case you would use a PCI or PXI 7340 or 7350 series motion controller, and set the drive to +-10V command input mode. 
    It can also communicate over Serial RS-232 or CAN. I believe the above linked driver implements serial communication, but I haven't had a chance to look at it, so I'm not positive. 
    See description of modes and comm interfaces here:
    http://shop.maxonmotor.com/maxon/assets_external/Katalog_neu/eshop/Downloads/maxon_motor_control/4-Q...
    Best Regards,
    Nate

  • Is LabView able to read digital inputs from maxon motors controller, EPOS2?

    Hello,
    I would like to ask that if LabView is able to read any digital inputs directly from a maxon motor controller, EPOS2. As i have tried making a new VI from the maxon example VI, but the difference is that i've added a input control. But the program doesn't seems to work.
    That's why i would like to ask if LabView can read a direct digital input from the maxon motor controller.
    Thank You & Regards,
    ParkyPak
    Attachments:
    sensor.vi ‏34 KB

    Hello Parky,
    I understand now. I check on the motion controller and it is connected through USB to your computer. In term of controlling the motion controller, you are using some LabVIEW library from maxon. The photosensor is connected to the motion controller may be as a switch or as a limit switch.
    In order to read the value of the Digital input port, you may need to take a look of the libraries to check on what function call and the supported command to check the digital input port. If this is not successful, then question or referring to examples from Maxon motors would be the best.
    I hope that this helps.
    James
    - Meadow -
    LabVIEW 7.0 - 2011, Vision, RT, FPGA
    TestStand 3.0 - 4.5

  • Quanser DC Motor Control Trainer Missing Some VI's

    Hi, my name is Ansel. I am working on a project to set up an NI ELVIS with the Quanser DC Motor Control Trainer board and create a few very simple experiments demonstrating basic mechatronic functions.
    I've been unable to utilize the VI's that came with the Quanser DC Motor Control Trainer board. The disc that was included must have been faulty because not a single file (not even simple html files) would open. I contacted Quanser about this and was directed to a website (http://www.meqtronics.com/public/requests/QCI_TEMP/QNETCDv1.20forLabVIEW8_5/) from which I was able to download the content of the disc. The files I downloaded seem not to be broken, however when I attempt to run one of the VI's, such as "04-QNET_DCMCT_Speed_Control," all but four of the sub-VI's necessary are found. The four missing VI's are "Intergrator.VI," "Integrator (DBL).VI," "Transfer Function.VI," "and "Transfer Function (DBL).VI." I have all the necessary components installed, as far as I know, and a search of my computer's hard drive returns no results for any of these VI's. I am running the full version of LabVIEW 8.5.
    I would appreciate advice from anyone concerning this issue, but I'd also like to know if the Quanser Trainer VI's are the best way to learn how to create my own very simple VI's. All of the documentation I have found on the internet has referenced the trainer VI's that were supplied, so without them I haven't made much progress. I am only interested in a very simple open-loop system for controlling motor velocity as well as a slightly more complex closed-loop system. Is it worthwhile to get the Quanser Trainer VI's working or could I build these experiments from scratch?
    Thank you for your time.
    Ansel
    Message Edited by Ansel on 04-29-2008 04:50 PM

    Ansel,
    Just to clarify, the version of the NI-ELVIS software that you may have is not the reason for the missing VIs in the Quanser program you downloaded.  The VIs in question are included as part of the LabVIEW PID Toolkit, which I'm assuming is not installed on your machine. However, these particular VIs (Integrator, Transfer Function, etc) are fairly out of date, and they are only included in the PID Toolkit to support legacy code.  I'm not sure if you have access to the PID Toolkit (it is also included as part of the LabVIEW Real-Time Module), but I would not suggest purchasing it just to get this Quanser code working.
    If you are going to be focusing on simple open-loop control of the Quanser DC Motor, you could start by looking at some of the basic DAQmx examples.  Driving the motor at a certain velocity would just require supplying a constant voltage through a DAQ output.  If you want to do more advanced closed-loop control, the LabVIEW Control Design & Simulation Module might be worth taking a look at.  Take a look at the 3-hour Control Design & Simulation course here.  It is written specifically with the Quanser DC Motor board in mind.
    Chris M.

Maybe you are looking for