Hello Guest it is March 28, 2024, 07:36:57 PM

Author Topic: Different motor tuning parameters for cutting feeds and rapids  (Read 5024 times)

0 Members and 1 Guest are viewing this topic.

The new Taiwanese and Chinese AC servo motors and drives are getting very inexpensive these days. With these we have the option of changing the electronic gear ratio during operation. Is it possible to have two sets of motor tuning parameters. One for cutting feeds and another for rapids. If mach3 could switch between the two sets of parameters during gcode execution then we can have a very fine resolution for cutting feeds and a nice rapid speed when we are not cutting. A resolution of .001mm and a rapid of 30 m/s would be possible this way within a kernel of 25 kHz. Also the X1, X10 and X100 buttons on a mpg can be programmed with it easily.

Zafar
« Last Edit: June 09, 2008, 11:54:08 PM by zafarsalam »
Re: Different motor tuning parameters for cutting feeds and rapids
« Reply #1 on: July 25, 2008, 08:03:01 AM »
I had this idea earlier, too, but Art said NO... however I still think this would be not a big thing (probably because I have no clue what is going on when MACH runs...)
Couldn't we solve it with a macro or something??? This should mean switching a few parameters when machine runs...
3 would be enough i think: one for rapids, one for roughing, one for finishing...
Re: Different motor tuning parameters for cutting feeds and rapids
« Reply #2 on: July 25, 2008, 11:57:51 PM »
Yes, this is possible with macros. But you'll have to put in these macros (M commands) into the gcodes which means rewriting the post processors for your cam application.

Zafar
Re: Different motor tuning parameters for cutting feeds and rapids
« Reply #3 on: July 26, 2008, 06:21:35 AM »
Well, I am not a good programmer, but couldn't we then have a macro which "pre-processes" the CNC code before MACH executes it?
So this could put those special M codes right in place... But as far as I understand this would be in fact a post-post-processor :) If it is a seaparte macro, then at least we wouldn't have to write it for each CAM application individually, but rather run it for the post-processed G-code set, and then load into MACH3
So unless Artsoft makes this auto-tuning-switching a built-in feature of MACH this could be a useable solution, no? And if we use standard G-code programs, well, nothing would happen, it would run as earlier...

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Different motor tuning parameters for cutting feeds and rapids
« Reply #4 on: July 26, 2008, 08:40:07 AM »
Get yourself a SmoothStepper and forget about electronic gearing ;)
Hood
Re: Different motor tuning parameters for cutting feeds and rapids
« Reply #5 on: April 24, 2009, 12:05:56 PM »
That is what I have decided after a while :)

Get yourself a SmoothStepper and forget about electronic gearing ;)
Hood