Quantcast
Channel: Motion Control and Motor Drives topics
Viewing all 1315 articles
Browse latest View live

Comment trouver Board ID sur MAX?

$
0
0

Bonjour,

 

Comment je peux trouver Board ID de la carte PCI 7334 sur MAX?

Capture.PNG


Setting Position to Zero

$
0
0

I have a system that is controlling several stepper motors via network variables and I need to be able move the motors and then zero each axis position so that can use the new zero as the "home". I have tried just writing to the position variable but it did not stick. is there a method to do what I need? I do not have any encoders on the system just counting the steps.

How to generate SVPWM signal ?

$
0
0

Hi, everyone. 

I just motor drives beginner. I am trying to build a simulation system which includes SVPWM controls a PMSM.   I have a trouble on building SVPWM. I am very confused with the relationship between the switching time and gate signals.  I do not know how to use the switching time and triangle wave to generates gate signals for my PMSM module. Could someone please answer my questions or give me an example program of SVPWM?

 

Thank you 

Driving a Stepper motor with NI-9503 and cRIO-9035

$
0
0

Hello,

 

I'm a student from the University of Auckland currently working on a project that requires the use of PWM Stepper motor driver (NI-9503) which is connected on cRIO-9035. This is to drive a two-phase stepper motor (NEMA 17) which is part of the MK8 3D print extruder.  

 

I've gotten the NI soft motion module and such and have successfully compiled and run the 9503 Stepper Drive (Torque Smoothing Coeff). The motor driver can be enabled but it only jitters when I change values in the drive configuration tab. I have been researching on topics related to this but I could not find examples that I can study on.

 

The goal for this section of my project is basically being able to alter and control the speed of the stepper motor through LabVIEW. I really appreciate any help you can provide. Please let me know if any other information of the project is required.

 

Best regards,

Lucas

Choosing parameters for Anti-Resonance function

$
0
0

Hi all,

 

I am trying to control a stepper motor with the NI-9503 driver. I would like to apply the anti-resonance function, but can't find any information about the coefficients (more than in the help view) and how they should be chosen. As the block diagram is password-protected i can't reverse engineer it either.

 

Does anyone have any tips?

 

Thank you,

Carl-Philip 

Error 70217 softMotion+cRio/+Axis, a required resource is in fault state

$
0
0

Hi, I am working on getting an existing program to run on LabVIEW 2016 on a new computer. The program sends a command through cRIO to move a motor, aka "axis 1." When I attempt to run the program, I get the following error:

error 70217.PNG

I got some ideas from another forum post (https://forums.ni.com/t5/Motion-Control-and-Motor-Drives/Error-70217-when-trying-to-run-NI-SoftMotion-SolidWorks/td-p/968151)

 

Here is what I've tried:

-  In the LabVIEW project, right-click on My Computer and got to Properties. Then go to the Scan Engine tab and make sure the box is checked next to Start Scan Engine on Deploy. You may also want to set the Scan Period to 10 ms if it's not already. If the value is above 5 ms, you'll get a warning message when you deploy but this is usually just fine for simulation with SolidWorks. 

-  Individually select each of the motion axes in your project and do the following: Select Properties and then click on the left-most button to configure the Axis Setup. Make sure the box is checked for Enable Drive on Transition to Active Mode.

-  Now select all of the motion items (including My Computer) in the LabVIEW Project, right-click and select Deploy. Normally, since this is your first deployment it will start the SolidWorks simulation running and so your are ready to run the LabVIEW shipping example. If not, right-click on My Computer and select Utilities>Scan Engine Mode>Switch to Active.

 

After trying those, I went to the interactive test panel, but still have the same error:

interactive test panel.PNG

 

Thanks for your help!

 

MG17Motor is not available in ActiveX object

$
0
0

Dear Friends

I am simulating a program to control Thorlabs microscopy stage driven by a servo motor. I have started with putting activeX container in front panel, now an object called MG17Motor  is needed to put in the container to further proceed for the program as directed by thorlabs, but this MG17Motor object is not available in the activeX create control. Can anyone help me to know the probable reason for this or how can I make available MG17Motor object in create control. Please help to find an answer. Looking forward to hearing from you guise.    

MTBF for NI 9512

$
0
0

Hello, Im looking for information of minimal time before failures(MTBF) for NI 9512. There is recomendation in user manual to ask technical support for this information. Can somebody help me with it? Technical Support request gives me no answer at this time.


Replacement for MID-7604

$
0
0

MID-7604 is obsolete.

What's the best replacement for existing projects?

 

It's connected to a PXI system.

 

Over-current Error with NI-9503

$
0
0

Hello,

 

So, NI-9503 is currently on cRIO-9035. A few days ago, I've accidentally short circuited the power supply that was connected to NI-9503 and cRIO-9035. After replacing the power supply, they are both now powered by a 24V 5A power supply.

 

However, I have been constantly getting Error code 4: over current whenever I try to enable the motor. This error is returned even when no motor is connected. I've also swapped the motor and power supply which also return the same error. This was working before the old power supply got short circuited. (Note: the fault is cleared whenever the program starts)

 

Do you guys think that short circuit may have damaged some components in the motor driver? The old power supply is 15V 8 A.

 

The compact RIO should be fine because other modules (digital In/Out...) are still functioning.

 

Please let me know if any other information is required.

Best regards,

Lucas

smooth motion of many line moves

$
0
0

I'm still very new to LV, so please do correct me if it seems that I have misunderstood something.

My goal is to control 3 Servos with a crio 9074, the servos are connected each to an akd drive. The commands for the drives stem from a text file and are in a gcode format and thus have to be interpreted.

 


At the moment I am finding it difficult to map out which task should run on what device (RTOS, FPGA).
By clearing some of the following questions, I hope to solve this problem.

1) Even though the move commands are many consecutive straight line moves which should result in a continues motion, I'm not sure how to implement that in softmotion. As far as I have understood the concept of a straight line move the drive will accelerate with given jerk, acceleration values (forming an S-curve ) until the max speed is reached ( if at all) and then decelerate to a halt reaching the set endpoint.
Q1) Would this result in a start stop kind of movement if I were to execute many line moves after one another?

Q2) Is there a way to circumvent the deceleration process and use the give limits of acc. and jerk to achieve continues movement by concatenating line moves? 

Q3) Is blend at deceleration what I'm looking for?
Q4) Does the Note at the end of the page refere to a comple direction change of one axis ( eg. move 1 in positive x direction and move 2 in negative x direction)

Alternativly I found contoured moves. But I'm not sure how these handle my constraints of max acc. , max jerk, max, speed. The page on contoured moves states:
"However, the NI Motion Assistant prototyping tool can remap a user-defined trajectory based on specified move constraints, preserving move characteristics and move geometry." 

But I'm not quite sure what is meant by that.  

 

function of Time Interval for Straight-Line polymove

$
0
0

Hey, I'm stille quite new to LV would like to know what  the Time Intervall property for a straight line polyline move does. 
I have an idea but am not sure. 

I tried to study the behavior using the "Offline Polyline Move" example.
As far as I've understood it, the Time Intervall specifies how many points are used to interpolate a line move form A to B.

To customize ActiveX control for Thorlabs APT Brushless DC controller for XY axis scan

$
0
0

Hi 

I am using ActiveX control in LabVIEW to operate Thorlabs Brushless BBD202 controller and MLS 203 stage to get X-Y scan profile. APT software of Thorlabs need to be installed to do this work.

I have written program to move the stage but each time jog button is required to press, I want to move the stage in raster scan (one motor along X and other along Y) like X stage will move 5 cm while Y waits then Y moves for 2 mm then the process repeats until a specified area (e.g 20cm^2) is covered.   

 

One program is available on the Thorlabs website but I am unable to operate with it as no control is given, file is attached. If you can expand this program and to show all control properly, it will be helpful.

 

Here is the link to get APT software from Thorlabs. Please select APT and bit according to system and Labview.

https://www.thorlabs.com/software_pages/ViewSoftwarePage.cfm?Code=Motion_Control

 

vi files containing APT programming will not work until APT is installed.

 

I have attached

(i) program by Thorlabs for 2D scan named TL Motor2DScan

(ii) A program done by myself but move occurs when Jog is pressed, I need automatic move over an area. named APT 2 

(iii) BBD202 controller manual

(iv) MLS203 stage manual

(v) Required type of Scan 2D_Raster_Drawing

(vi) Guide to APT and LabView

 

 

THB6128 can not drive motor to reverse

$
0
0

Hello~ everyone

 

These days I have a problem that THB6128 can not drive motor to reverse.

 

After the change of the chip CW/CWW's current, the motor was unable to change the driving direction or the motor can not turn. Please look at the diagram.

 

160021v7eog9oyef9c6fzt.png

 

CW/CWW: Motor Forward and Reverse Control End
When CW/CWW in low current, the motor turns forward.
When CW/CWW in high current, the motor turns reversely.

 

Who knows what is the reason?

Softmotion Ethernet Steppper Drive Error -70229 and -77072

$
0
0

Dear all,

we are experiencing timeout errors with our Ethernet Stepperdrives (SMD 7615).

Software: LabVIEW 2016 on a Windows-Host with the Softmotion Module.

Hardware Setup: Three Ethernet Stepper Drives (and one GigE camera) in a dedicated network.

 

Our application is not determnistic and can tolerate delays.

The application is a queued message handler design. QMH "Motor" may receive messages such as "move", "stop", "daq" and othres. ("daq" is called frequently with 4Hz)

It is ensured (by QMH design) that resources (axis references, motion refernces) are not accessed in parallel. There are 3 instances of "Motor" with different configurations.

By design any error in "Motor" will force a shutdown process to close any other motor and the main application (this is working).

 

After some random time "Motor" exits with error (and the Application exits). Random: After 4 hours, 5 hours, 1 hour, 90 min

-70229 : NIMC_communicationTimeoutError : "A function call made to the motion controller timed out waiting for a response to an executed command."

When trying to restart the Application "Motor" exits with

-77072 : NIMCDM_busOperationTimeoutError : "Communication to the hardware device exceeds the timeout limit."

Error Messages are described here:

NI SoftMotion Error Codes

 

When receiving -77072 the Stepper Drive is completely unresponsive

- no reply on "PING"

- stepper drive configuration utility cannot communicate to the device

- However: visually the Motor Does not indicate a fault (the status led is green or blinking green, not sure at the moment).

Only a hard restart resolves this problem.

Only the Motor that lead to the exit error -70229 is unresponsive, the other two are fine.

 

This is a very bad situation and very hard to debug. And I do not really understand the origin of the Error -70229.

What is the exact reason of -70229 and how can I handle it?

If there is any preset Timout, what is it and how do I change it? What exactly is timing out? Network communication?

 

I found this but do not understand how this helps me:

What Causes Error -70229 When Using NI SoftMotion?

 

Regards Christoph


3 Axis motion control with EtherCAT drives and FPGA

$
0
0

I'm still very to labview so please bear with me, even if my questions seem trivial. 

My Setup:
- cRIO 9074 
- Kollmorgen EtherCAT AKD-x00306 

- 3 AKM 21 Motors 

- Labview 2016 

 

My goal is to control 3 axis based on machine gcode with the given hardware. 

My first idea was to run everything on the RTOS, because there I have access to all the softmotion VIs and I'm a bit more flexible when it comes to datatypes, compared to the FPGA . But I realized that due to commands sometimes covering very small distances when a move from point A to point B is executed, that the move would possibly be finished before to RTOS had enough time to do all the preparation for the next move. And thus it would be impossible to achieve continuous motion. 
So my idea was to move the interpreting of the commands off the RTOS and onto FPGA. 
The RTOS would now process the gcode in a way, that I can send it to the FPGA (via a FIFO).

On the FPGA the individual commands would be interpreted and my axis and other possible Hardware would be controlled form the FPGA.

 

At this point in time I'm not sure:

1) if my RTOS is actually too slow and I could actually do everything on the RTOS

2) if i can even use the FPGA platform to control my akd drives

3)if my concept is halfway decant 

Best way to Belnd many moves

$
0
0

My final goal is to control a 3 axis system using a crio 9074 and EtherCAT AKD drives. 

At the moment I'm only simulating my code to find the best structure.
In my project I have a  coordinate system with 3 axis and I'm using a state machine to control my line moves. The individual points and their parameters (vellocity, acceleration, jerk) are stored in a RT-FIFO.
I would like the transition from one move to another to be as fast as possible. 
As I need to set values for velocity and acceleration I've decided against using a contoured move and am using the blend at deceleration function.

But I haven't quite understood how to achieve "flow control"".
Form my testing I've determined that if I send more then on straight line command while a move is in progress I get an error.

To circumvent that I've added an idle state in my state machine which checks if the current move is completed and then goes to get an new position point from the FIFO and then starts a new straight line move. But with this solution, I fear, that I will add an unwanted delay between moves. 

Thanks for the help.
Daniel

Dynamixel motor wheel mode velocity control cw / ccw

$
0
0

Hi~

I use LabVIEW to control dynamixel AX-12 motor, and use velocity command to motor

How can I change from CW to CCW in LabVIEW? 

 

Thanks

Control DC Motor with NI PXI-7350 Motion Controller

$
0
0

Hello everybody,

 

I am quite new with NI. I have a question that needs your support. All responses are highly appriciated.

We purchased a NI computer with 2 NI PXI-7350 Motion Controller Cards. The prolem is that am I able to use this computer to control DC Motor (not DC Step or Servo)?

Thank you in advance for your help!

 

Contour Move vs Straight Line Move

$
0
0

Hello, 

 

I am using NI9516 with a Kollmorgan AKD Basic Drive using Analog Control.  I am  able to move it sinusoidal movement with both straight line move and contour move although I think I would like to use contour move.  The problem is with the position move I can make it move exactly 1/4 of a turn if I send it a relative position move of 100 but with the contour move if I create a sign wave of 100 amplitude it moves slightly (~60deg I don't know exactly) more than a quarter of a turn.  

 

What am I doing wrong? 

Viewing all 1315 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>