02-13-2003 07:03 AM
02-13-2003 08:33 AM
01-17-2007 01:52 PM
Dear Jochen,
This is what I want to do, but I can't get it to work for me. I configured Axis 2 as an enabled stepper axis with no feedback. I can do 1D moves just fine, but no matter whether I use a circular arc or a 2D straigt line move, the motor moves a very short distance and then stops, with the move status set to complete. Can you help me figure out what I am missing?
Josh Moses
01-17-2007 02:02 PM
01-17-2007 02:17 PM
01-18-2007
03:01 AM
- last edited on
04-21-2025
09:07 AM
by
Content Cleaner
Josh,
here you can find some explanations about the allowed velocity range for arc moves. If you need more flexibility you should consider using contoured moves.
Jochen
01-18-2007 10:53 AM
Thank you for that link, Jochen. I still need some help understanding my problem. I am using the Circular Arc.vi example that comes with NI-Motion 7.2. I have the velocity set to 20,000 counts per second. With the radius at 300 counts, it correctly executes the motion, but with the radius at 250 counts, I get -70151 (NIMC_invalidVelocityError). It takes the velocity in counts per second, not RPM, so I don't need to multiply by counts/rev or divide by 60 sec/min, right? MAX says that my 2 enabled axes have a control loop update period of 125 microseconds. Plugging and chugging, 20,000 counts/second * 125 microSeconds per sample * 65536 / (2^14) = 10. Why can't I use a radius as small as 10 counts?
Please help,
Josh
01-22-2007
09:54 AM
- last edited on
04-21-2025
09:07 AM
by
Content Cleaner
Dear Jochen,
I am still having trouble getting sinusoidal motion faster than 6 or 7 Hertz. Did you see my 1-18-2007 post? I also tried a contoured profile with the example at http://zone.ni.com/devzone/cda/epd/p/id/1180, but still couldn't get sinusoidal motion faster than about 7 Hertz. I expected that with a position update rate of 125 microseconds, I should have no problem getting motion up to 150 or 200 Hz, but I can't fingure out how to do it.
Please help,
Josh Moses
The Modal Shop
01-31-2007 04:17 PM
02-01-2007
04:55 AM
- last edited on
04-21-2025
09:08 AM
by
Content Cleaner
Josh,
sorry for the delay but I was out of office.
With the motion control boards it's not the PID rate that limits the frequency of your sinusoidal profile but the speed of the trajectory generator which is much slower than the PID rate (typically about 10 ms) and can't be accelerated.
As a solution you could use an external sine signal (e. g. generated by an M-Series board like the PCI-6221) and connect to an ADC of you rmotion board. You could use this signal as master and run the axis in slave mode (electronic gearing). In this mode the axis should compare the current position to the "position" of the master signal at each PID cycle and follow as closly as possible.
Other than that I could think of mechanical solutions (excentric disc moving a plunger) or a more sophisticated control system (e. g. based on LV FPGA, SoftMotion and PXI)
I hope this helps,
Jochen