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

Help: Stepper motor control with NI9401 and CompactRIO 9039

$
0
0

I want to generate the square waves to contorl the stepper motor through NI9401. And I have writen a simple FPGA code to generate the square waves as shown in Figure.

square waves.png

 

But now I want to generate finite steps for my stepper motor to move? How to do it?

Thanks very much!

English is my second language, sorry for my poor writting skills.


Stop motors (disable current) during DAQ - motor moves randomly

$
0
0

Hello,

 

I need to stop the step motors current during DAQ, to eliminate noise in the data.

I have used "Stop motion" function and then "Start motion" to enable it again.

However, the motors "sometimes" (there is not a pattern) moves randomly. The problem is in the moment of "start" it again.

Does anyone have any idea what might be happening?

 

Thank you.

proportional valve PWM to voltage

$
0
0

Hi All,

 

I have the following equipment:

1. proportional valve - https://www.aliexpress.com/item/33040257963.html

2. Frequency converter - https://www.amazon.com/KNACRO-Frequency-Voltage-Conversion-Converter/dp/B06XZFKPHP/ref=sr_1_fkmr0_2?keywords=pwm+to+voltage+converter+0-200hz&qid=1569266885&s=gateway&sr=8-2-fkmr0

3. NI9201 for reading voltage inputs

4. NI9263 for sending voltage outputs (to the porportional valve).

 

This valve is capable of sending PWM outputs, and I am trying to convert that to DC voltage so it can be read by NI9201 (please see attached picture). I expect that when I move the ball valve, the output frequency from the valve will change, which then be converted to DC voltage. After the connection has made, labview is picking up a voltage signal 4-5V.  However, when I change the  position of the ball valve. labview is still reading the same 4 to 5V signal. 

 

Does anyone have any idea what would be the issue? 

Note. I have not calibrated the converter, but this should not be the reason why it is not picking up the changes in signal.

 

Thanks!

Need a suitable Class D amplifer for transformer application

$
0
0

Hi,

Hope this post find you well.

My intention is to make an 3-phase power calibrator !

basic_idea.jpg

Similar to this link, https://us.flukecal.com/products/ele...wer-calibrator

 

My current AMP design might be class AB type.

 

I am not worried to much about PWM generation ruther I am thinking how can I move class AB to Class D amplification.

A lot of the design effort relates to maintaining linearity and avoiding crossover distortion.

2  amplifiers( current, voltage)  output will feed to CT and PT! Lets consider load will be connected in their output!



REQUIRMENTS :

 

1. The amp input  should be  plus and minus 7volt AC, 45-65Hz( 1 Hz has been converted to 1024)

2. Amp operating voltage should be more or less 24v.

3. 2 channel signal (not sure PWM) should be use , one for current, one for voltage.

4.Can run current transformer(input 16.5 V/1.5 A)  and potential Transformer (input15v/2A). PT output may be 15VAC.

5. If possible both voltage and current amplification is required in one IC.

6. Both positive and negative half signal should be amplify

 

PXIe 8840通过ethercat与科尔摩根S700驱动器相连,驱动科尔摩根TBM系列电机,电机不动

$
0
0

我的上位机通过RS232与科尔摩根S700驱动器相连,驱动科尔摩根TBM7631系列电机,用驱动器自带的drivegui软件,在位置运动任务模式下,电机可以正常的进行位置控制。

hgfdd.png我用PXIe 8840通过ethercat与科尔摩根S700驱动器相连,驱动科尔摩根TBM7631系列电机,通过选择位置运动任务映射,给定与drivergui软件一样的设置参数,电机不动。

fawq.png

我想问一下,这可能是什么问题?

Modified XML EtherCAT file is not updated when imported to the Ether CAT Master in LabVIEW Project

$
0
0

Dear all,

 

My project needs to control an EtherCAT Servo drive (BSD series by Beijer Electronics) from a NI cRIO and LabVIEW. 

 

Our goal is to use servo drives in torque mode and send the torque setpoint calculated by LabVIEW Programming in the CompactRIO controller directly via EtherCAT. I know I must modify the provided XML file of the servo drive in order to get access to right parameters like Target Torque, Actual Torque, …

 

In this way, according to the link below, I tried to modify the XML file to get access to 1st PDOs:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LesSAE&l=pl-PL

 

and I replaced the XML fie located at:

C:\Program Files (x86)\National Instruments\Shared\IndComECAT\DD

I carefully followed the recommendations in the link:

https://forums.ni.com/t5/Motion-Control-and-Motor-Drives/Customize-Motion-Control-using-cRIO-SoftMotion-and-AKD-EtherCAT/m-p/1436934

https://forums.ni.com/t5/LabVIEW/KollMorgen-AKD-controlled-by-cRIO-get-position/m-p/3958836/highlight/false#M1126895

The problem is that:

  1. When I import the new XML file as device profile to the EtherCAT Master, the modifications are not recognized to the EXISTING slave (which I add via New: Target or Device: Existing target or device). I remove slave then master then even cRIO from the project, or I restart the cRIO, or even I create new project from scratch and I repeated the steps again and again. Nothing happens. Just a list of 2nd PDOs are seen below the Slave device, as before.

 

  1. I tried to add the slave to the project as the NEW one (via New: Target or Device: New target or device). [The name and the address of the added slave is the same as the one in the existing one]. and Then good news: I see the list of 1st PDOs which I managed through the XML file to have access to, below the added slave. BUT when I want the scan engine to go to active mode and to use these parameters inside the LabVIEW programming environment, the error happens: the slave device deployed to the real-time target does not match the device in the EtherCAT network.

And in Online Device State, every LED state are off and there is an alarm in red: DIVICE DISCONNECTED

 

Any help is appreciated. Many thanks in advance.

 

PCI-7350 / PCI- 6320 under windows 10

$
0
0

Hi all,

 

we delivered for some years a PC with a PCI-7350 and a PCI- 6320 with Windows 7.

 

I written a custom-specific C#-software (VS2008), which uses two NI-DLLs (FlexMotion32.dll and NIMotion.dll).

 

Our Customer wants to upgrade the PC to Windows 10.

 

Do we need new NI-drivers?

Are this drivers compatible to the old DLLs?

If not: Are new DLLs compatible to our software?

 

Regards

Peter

 

Launch Labview program through Python

$
0
0
 

I am working on a project in which I have to launch a VI (Labview program) through my GUI written in python. I have not the administrator rights so I installed PyCharm Community with the JetBrain Toolbox and Python 3.3 with an MSI file.

I read on the internet that to do what I want, I need to install the pywin32 extension: extension-link, but when I launch it, it doesn't find my Python installation.

So, my question is: is there another way to control VI from python?

 


Elmo Gold Twitter : CSV and CST Mode of Operation

$
0
0

Hi,

 

In hardware setup, I have an Elmo Gold Solo Twitter drive as an ethercat slave connected to cRio 9074. 

As per example given in the elmo gold sdi plugin, I was able to run them on the drive.

 

But for my application, I need to work with slave in Cyclic sync Velocity and Cyclic sync Torque mode. As per the documentation of example, it is mentioned that softmotion support only CSP, PP, PV, modes (attched image). Is it possible to run the drivein CSV and CST modes.

 

Thanks,

Piyush

Softmotion and SolidWorks Motion

$
0
0

Hi, I need help with Labview softmotion, I am doing a virtual cnc with two axis.

I am using solidworks motion, where I use two linear motors. In labview I use the VI express straight line move.

My question is what type of motor is used, if is a stepper motor or servomotor, as well as the control loop. I think it is a servomotor and the control system is open loop, but feedback is used for errors.

Regards!

Controlling a Solenoid valve using NI 9485

$
0
0

Hi,

 

I want to use a NI 9485 SSR Module to control four 24 V Solenoid Valves. Do I need to use a Fly-back Diode across the loop to prevent Back Emf?

Will the module be damaged if I don't use a fly-back Diode or does the NI 9485 Module have inbuilt protection against such occurrences from a solenoid ?

I would like to stop using the the fly-back diode if possible since it would remain  exposed to the elements in our application and I would like to avoid that .

 

Thank You.

 

Have a Good Day.

cRio-905x series softmotion compability

$
0
0

Hi,

I am building up a testbed which involves sending commands (e.g. velocity profile) to motor controllers and measuring forces/distance etc. while the motors execute the commands.

 

I was thinking of using a cRio-905x for the data acquisition and sending commands to the motor controllers via EtherCat (Note: no control algorithms run on the cRio).

 

I was planning to use the Softmotion Module for setting up the motor control, but I noticed that under http://www.ni.com/product-documentation/53594/en/ the 905x is not listed among the Softmotion compatible devices.

 

My question is, is true or are the cRio-905x controllers actually compatible with Softmotion? I was thinking that the list might be incomplete, because I couldn't find any further information about the cRio-905x being incompatible with Softmotion.

 

Thanks

 

 

myRIO Control Board Adapter

$
0
0

Everything worked, the adapters were determined. After exiting when vi started up, this error appeared. Either a wire or a board. Is something going to happen?

xl_41306_tetrix_controlboardadapterformyrioortho.jpg

 

Без названия.jfif

2019-12-09 14-04-37.JPG

 

SMC-4DL-PE Motion Control

$
0
0

Hi,

Anyone who use Contec SMC-4DL-PE Motion Control?
I got "Unknown Status" when the system is idle (for almost an hour), Also all limit status of my sensor are "ON"

STATUS:
Outpulse = -1
Encoder Count = -1
Bank No = 0
OutPulse Status = Unknown Status
Move Status = PTP Motion
Stop Status = Moving

Limit Status :
SD= ON
ORG = ON
-LIM = ON
+LIM = ON
ALM = ON

How to prevent this problem?

Capture.png

寻求关于”NI softmotion: the specified device was not detected“问题的解决方法

$
0
0

打算用cRIO-9045中的NI 9512模块驱动两相混合式步进电机,照着Getting Started with NI 951x C Series Modules and LabVIEW手册操作,当我向项目中添加axis1并且部署的时候,就会出现NI softmotion: the specified device was not detected这个提示,并且部署失败,远程系统里的软件里有labview softmotion module 18.0.0和NI scan engine 7.0,如图所示,求各位帮忙解决下,不胜感激

4ab2494be6527e395972553a68cadfb.png


Find the VI Named "AI Acquire Wafeform.vi"

$
0
0

We have and old XY-table wich the code was written in Labview on an old windows XP-computer wich crashed.

So I prepared a new computer with windows xp on, installed Labview 8 and the folowing vi's in encloser.

We have two cards : PCI-7344 and NI PCI-6034E.

drivers : NI-DAQmx 8.0, NI-IMAQ 3.5.0, NI-motion 7.1.0.3004.

When I try to run the head vi 'alm.vi', I get the following message : 'Find the VI Named "AI Acquire Wafeform.vi" and "AI Acquire Wafeform (scaled array).vi

How can I solve this problem?

NI 9514 counter reset in FPGA mode

$
0
0

Hi,

 

In our lab we use a NI 9514 in FPGA mode to implement our PID.

I can't find how to reset the encoder counter of the 9514 in FPGA mode. I can only read the encoder position.

 

If someone have any idea. I think that it is impossible and that we need to use the NI 9514 in RT mode (softmotion and scan motion mode). But we don't want to develop a new code.

 

Regards,

Alain

NI Motion Pack Controller, Error message: Configure Buffer -70137

$
0
0

Hello,

 

I am trying to operate a motion platform with an already supplied LabView software.

Unfortunately this software is not working properly and I get an error message. I also do not seem to be able to move the motors (I donot know if this is due to the error, or if this is another issue).

I modified the LabView code to output the error directly at the start (ErrorMonitor), and it gives me these Error messages:

 

error.PNG

What are these mentioned objects?

 

How can I proceed? What is the best way to troubleshoot? Is this a LabView problem or a problem with NI Motion/motors/cards/....?

 

(We use an NI Motion PCI-7340, everything was configured before I started to have a look at it).

 

 

I am new to this topic, and I will gladly add more information if you need anything else.

 

Thank you very much!! 🙂

Looking for help to find an appropriate motor

$
0
0

We currently have this horizontal actuator 7.2 meters in length.

The motor running it is a stepper motor, 2 phase, NEMA 34 (N33HRHJ-LNK-NS-00 Step Motor, P70530 drive, NEMA34 1710 oz-in sgl shaft) (Part number: 780095-01) 

 

I notice that the motor can only get to about 1.5 m/s (600 rpm) running on full or half step resolution. Past this speed and the motor seems to jam and the motion stops. I imagine this is because the motor is not rated to move that quickly under the load of the 14 meter belt. 

 

How could we find an appropriate motor to buy that could get speeds up to 5 m/s? Is there a way to find the torque we would need? Thanks for any help.

Igus motor controller Dryve D1 drive using Modbus TCP/IP

$
0
0

Hello all,

 

I am Vijay. Me and my Team are looking forward to establish a connection between Igus Dryve D1 and Labview via Modbus TCP/IP. The motor control manufacturer provided a sample Labview code to control stepper motor via TCP/IP. There is no manual/user guide to follow instructions. Although we are not labview experts tried many ways and we are facing an errors.   

 

The motor controller supports Modbus TCP/IP as per manufacturers product description (Igus Dryve D1)

If someone has previously worked with them and could give me some feedback on either the drive or connection type. I would preferably use Ethernet.

 

To conclude, I'm looking forward to see if someone has:

1) How can we control Ethernet IP or Modbus TCP/IP to control a Dryve D1, which connection type is best if any.

2) Recommended any alternative method?

3) Before run VI do we need to configure the drive in Labview?

 

Thank you very much for your help and time

 

PS: If something is unclear, i am ready to explain in more detailed way.

 

Error details:

Error 56 occurred at TCP Open Connection in MB Master.lvlib:MB_Master_TCP.lvclass:Core.vi:1450001->MB Master.lvlib:MB_Master_TCP.lvclass:Core.vi.ACBRProxyCaller.7B200035

Viewing all 1315 articles
Browse latest View live


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