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

PCI-7334 Not working As Expected

$
0
0

Hi,

I'm using a PCI-7334 with the NI-Motion 17.0.  The 7334 controller is new, right out of the box (although it has been sitting in the box in my office for several months). My goal is to use the controller to drive  3rd party stepper drives in a cartesian robot, which is built except for the control.  The problem is that the controller doesn't seem to be working.  I connected to one of the drives and set up step and direction in MAX.  The drive had no response no matter what step rate I sent (the step rate shown in Max was not exactly the same as what was sent, but close).  Because there was no response, I connected an oscilloscope across the step and ground from the controller-no steps were observed.  I replaced the scope with a voltmeter- the step pin had a constant 5 volt no matter if it was on, halted or killed.  I also toggled the DIO pins in MAX, but there was no change- all the port 1 pins read 0 volts in all the possible settings sent from MAX.

To rule out the problem being caused by the PCI port, I downloaded and installed Labview and all the other relevant code in a second PC and repeated all the testing described above with the same results.

Finally, when I removed the board from the first PC, I went over the board carefully and tested all the fuses-none were blown.

I'm posting this hoping that someone can suggest something that I could have missed or done wrong before I call NI and ask for a RMA number to send the board back.


MAXON EPOS 4 control using embedded CAN for RIO

$
0
0

I am trying to control a MAXON EPOS 4 BLDC drive using a single board Rio and the embedded CAN for RIO library. I think I am close, but I am not quite sure whether my formatting of the data payloads is correct.

 

Sending a simple PDO message like Reset (x81 followed by the node address) seems to work fine, however I am not sure whether I am successfully sending more complex messages as PDOs or whether I need to implement this using CANopen SDO objects.

 

The MAXON device programming document seems to outline the minimum amount of commands I need to command rotation.

https://www.maxonmotor.com/medias/sys_master/root/8830265196574/EPOS-Application-Note-Device-Programming-En.pdf

 

Do my payloads need to be formatted as follows:

 

COBID, special byte, Index low byte, Index high byte, Sub-index, data

 

So for example, to set the operation mode, the payload might be;

 

x06 01 23 (special byte), 60 60 00 01 (Profile position mode)

 

Does the identifier need to be set to anything? I have just set it to zero when sending the reset command.

If I follow this methodology for formatting the payloads and send the controller all of the commands in one of the device programming examples, will I be able to command some kind of motion?

Nudrive Amplifier Box

$
0
0

I have a small CNC router that I'm working to get up and running. I'm looking for pdf manuals or documentation for a nuDrive 3 Axis Power Amplifier Box ser# 4067 mod# 3ST-211. The only manual I found online http://www.ni.com/pdf/manuals/321942b.pdf  is newer than my version and not compatible.

 

Any help would be appreciated.

Controlling a pump using myRio analog output

$
0
0

Hi,

I want to control the speed of a water pump (12V), I am planning to use Ni myRio which has 10V AO pin and I don’t need the pump to operate at its maximum speed

Is that possible?

Or what other setup can be used for this problem?

NI 9512 problems with overshooting position

$
0
0

I have inherited some code with a strange bug to do with SoftMotion. We have 4x ISM-7401D motors with non-NI encoders on the shafts. They are driven by 4x NI 9512 controllers sitting in a cRIO 9035 crate. We're currently running LabVIEW 2017, SoftMotion 17.0 and CompactRIO 17.0.

 

The code compensates for backlash in a mechanical goniometer. If a motor is moving clockwise it moves directly to the final position. If a motor is moving anti-clockwise it first moves to a calculated temporary position that is beyond the final position, so it can always approach the final position in a clockwise direction.

 

The bug occurs only when the backlash correction is required, and certain acceleration and velocity parameters make it more likely to happen. The motor will jolt or shudder, then move far beyond the temporary position at high speed, stopping at a random position. What happens next depends on how far out of position it is; If it's still relatively close to the final position it will get there and the "done" status will be true, if it's a long way off it will return part of the way and the "done" status will remain false.

 

The vi attached is as stripped down as I could make it, having been extracted from a very large project. I have added some things to help me debug, but the core of the code is as it is in the live system. The current velocity and acceleration parameters are very effective at replicating the fault. The bug is consistently repeatable with all combinations of hardware (all motors have been tried on all controllers.) I have also rewired the interface between the crates and the motors and encoders.

 

Any advice gratefully received!

 

Conexiones entre Drive P70360 al Modulo 9512

$
0
0

 

Hola

 

Necesito conectar un Drive P70360 SDN al modulo NI 9512 pero no cuento con el cable para hacerlo y me gustaría hacerlo yo mismo pero se la relación entre cada uno de los dispositivos.

Replacement for PCI-7334

$
0
0

I have a old system that uses a PCI-7334 board to control 3 stepper motors via a nuDrive 4SX-411. I would like to replace it with a newer system. NI discontinued the PCI-7334 product without providing a replacement. Does anybody know which product I can use instead of the PCI-7334 for controlling stepper motors?

Yaskawa servodrive controlled with s7-1200 via PTO

$
0
0

Hello,

My question would seem to be stupid for many of you but i still can't solve it myself. I'm trying to control a servodrive SGDM via PTO.

Wiring: 

i connected the pin 7 to the pulse output on the siemens board and the the pin 11 to the sign output, while the pin 8 and 12 were connected to the ground. 

the problem is the motor turn only in one direction. it seems that the drive doesn't receive the information about the reverse direction.

i attached the wiring diagram of position control mode below.

thanks in advance.

 


Trying to blend straight-line moves with an ethernet connection and Softmotion Lite

$
0
0

Hello All,

 

As it says, I am trying to blend multiple straight-line moves together on Softmotion lite, I'm also very new to labview. I have tried using the ExpressVI for blended moves to no success, as I get the error code -70037 or irrelevant attribute error when I tried to modify it for an ethernet stepper. I tried making my own, which is attached (I apologize in advance for the clutter, I haven't taken the time yet to clean up the front panel). While I have no errors while it is running, my motors do not do anything, and when I stop the VI I get the error -77005. For this I have attached a screenshot.

 

I was hoping to know:

1) Is it possible to blend moves at all with softmotion lite / ethernet control?

2) Is my code correct at all?

 

If it helps, I am running LabVIEW 2016 with Softmotion 2016, and my stepper driver is a SMD-7614. My stepper motors are running an 8-wire series connection.

 

I appreciate any help anyone can provide.

Gain tuning panel not present on NI 9514 axis (EtherCAT)

$
0
0

Hi,

 

I'm configuring a new axis with the NI 9514 servo drive interface (analog). The c-series module is mounted on an EtherCAT chassis 9144. Once I bound the axis to the module, I can access "Interactive Test Panel" and I can also access property to change the PID gain BUT "Gain Tuning panel" is now showing when right click on the axis.

 

If 9514 is mounted on a cRIO chassis, I can access that menu.

 

Is it a bug? why NI didn't add that option, is there work around or VI I can use to tune my motor.

 

Thank you.

Controlling a Linear Actuator through myDAQ (LabVIEW)

$
0
0

Hi,

 

My team is trying to connect an analog chopper drive (linked) to a linear actuator (also linked). We also have an NI myDAQ available to us as an intermediate analog switch. Our ultimate goal is to control the linear actuator through LabVIEW in ranges of 0.5mm-20mm displacements. 

 

However, what we are currently confused with is how to connect the stepper motor actuator to the NI. We are able to connect the drive to the actuator and get it to move in a continuous cycle, however we are struggling to control the increments/number of steps at which it moves. 

 

Any help would be appreciated!

 

Thanks!

NI 9514 in Scan Interface Mode (architecture questions)

$
0
0

Hi,

I would like to confirm that I understood correctly how the NI 9514 work. I'm used to build axis that have a trajectory and a supervisory code on the realtime side and an FPGA that do the spline / PID, etc.

 

Using the NI 9514 is quite different, I don't have a FPGA to build, from what I understood, the FPGA is on the c-series 9514.

Now, where is the realtime part for the trajectory generator and supervisory control and at what speed is its timed loop that do that TG? 

 

I have a critical application and I want a low (2-4ms) for to send setpoints. I don't see that code at all so I can't confirm.

 

Let me know please.That will help me.

Patrick

"Write Position Setpoint" Softmotion function not allowed anymore in 2018 with a 9514 Servo interface? why?

$
0
0

I'm upgrading a code from 2016 to 2018 and I now realize that I can't use anymore the "Write Position Setpoint" fonction is now not allowed with a 951x module.

 

My code use that fonction for proper tracking. What are my option and why NI decided to remove that fonction? It's a great feature.

 

I'm using that function at 2ms and it work great with version 2016.

SoftMotion timeout minimum value is 1 sec?

$
0
0

Read Motion I/O: Axis Limit Active takes too long.

Got invalid value error when set Axis:Timeout to 0.5 sec, no error for 1 sec.

Not documented.

 

 

SMC LECP6 step motor controller help needed

$
0
0

Hi

Can someone take a picture of the Zener diode behind the rj45 connector on board

It should be a 3 pin smd sot-23, someone has pluged in a ethernet cable and burned the rs485 port

unfortunately I cant see the number written on the Zener so I can replace it

all help appreciated, 

 

thank you all

 


XPS Motion Controller and IMS500LM stage

$
0
0

I have an XPS C motion controller and I am trying to connect it with an IMS500LM stage.  I have two drive cards that should be compatible with it and I have the cables that I need to connect it (motor, encoder and eor/therm) but when I try to initialize and then home the stage (step 3.8.1 in the manual) I get a timeout error (5) during the homing.  This happens when it is plugged in to either of the drive cards.  I have another stage (uts100cc) that experiences no problems when I use it with my controller.  Please advise.  I am not sure what to do to solve the problem, thanks.

Get separately the 3 axis of cell phone's accelerometer

$
0
0

Hello, 

I have the same problem as the problem in this post :  https://forums.ni.com/t5/LabVIEW/Accelerometer-3-axis/m-p/3707391#M1043053

but im using my cell phones accelerometer (cell phone: samsung j5 2016). I use the app sensor UDP ( https://play.google.com/store/apps/details?id=com.ubccapstone.sensorUDP&hl=en ) to transfer the accelerometer's data over UDP protocol in my PC and LabView , but i only take one value for each of the 3 axes. I need a value separately for Y axis as im working on a project in which my cell phone will make vertically a track of (max) 180 degrees. 

Thank you in advance!

PCI-7340 Operation Mode

$
0
0

Hello,

 

I am using a setup with a PCI-7340 card, NI Motion 18.0, and LabView 2018.I have everything wired and configured correctly and am able to perform position moves as part of a custom test device where I use the servo to drive a shaft.

 

In general, most of my moves are done using Relative Position operation mode. However, I also have some velocity mode moves mixed in where I monitor external sensors and do not care about the position of the servo shaft. I've noticed that if I request a relative position mode move after I have done a velocity mode move, the position that is referenced for relative motion is not the current position at the end of the velocity move but rather the last position from the last relative position move. The 7340 position count is updated throughout the velocity mode move, and so I feel the relative move should reference the position count at the time the command is issued based on the literature that I have read. However, that does not appear to be the case. As an example, if I command a positive 2 revolution relative move, the servo moves 2 revs in the positive direction. I then switch to velocity mode and move another approx 10 revolutions in the positive direction. If at this time I execute another positive 2 revolution relative move, the servo actually rotates 8 revs in the negative direction. I wanted to know if this is normal behavior or if I am misusing toolkit commands.

 

Thank you,

Rocky

LabVIEW Robotics Module Version 2012 Hardware setup error

$
0
0

Hi, I came into the problem of unable to configure my robotics module when using the Hardware setup software, the error code is -2147220308. And there is a call chain :

nisyscfg.lvlib:Uninstall All.vi:1
Install all available SW.vi
Wizard.vi

 

It should correspond to the error of   

Could not contact remote target. Ensure that the system is online

Don't know what that stand for, help.

error code -72015

$
0
0

I installed NI Motion 16 driver for PCI-7332 controller that is connected to UMI-7772 interface board. My LabView code is calling nimotion.dll function named nimcReadDigitalIOData(). Testing DIO was working at some point but now I am getting the error code -72015 and reading doesn't match the digital input. I searched this error code and nowhere to find. Can anyone, possibly developer of this DLL, let me know what this error code indicates?

Viewing all 1315 articles
Browse latest View live


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