Hello Guest it is March 28, 2024, 09:06:58 PM

Author Topic: Dynamic Steps per Unit for fast rapids  (Read 3291 times)

0 Members and 1 Guest are viewing this topic.

Dynamic Steps per Unit for fast rapids
« on: November 02, 2011, 06:20:30 PM »
I was wondering if anyone had ever dynamically changed the Steps Per Unit to allow for faster rapids?

This would allow you to have very high steps per unit for the accuracy during cutting, then dynamically change the Steps Per Unit with SetParam(ParamName As String, ParamVal As Double), perform the rapid move, then set it back.

I am not sure how you could trap the rapid moves to set this parameter, possibly change the post processor to generate an M code between rapids and feed rates ?

Thoughts on this ?

Thanks,
JH

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Dynamic Steps per Unit for fast rapids
« Reply #1 on: November 02, 2011, 06:31:59 PM »
2nd question would be WHY(;-) If you spend that much time in rapid then I would think you might want to fix that part first(;-)

If servo driven first plan only the #steps to meet accuarcy levels then the rapids would take care of themselves.

No point in having .00001 steps for .001 accuracy then complain about slow rapids. Not picking on you just an example.

For your example How would you control accuracy when you changed the steps(;-) The steps per are to MAKE the machine move the distance correctly.

If you change those midstream then MACH would be lost as to where it actually was and could NEVER return to a know point.

Just a thought, or three (;-) TP
Re: Dynamic Steps per Unit for fast rapids
« Reply #2 on: November 02, 2011, 06:46:41 PM »
You limited to how fast Mach can drive the pulse train.  If your machine has .0001 per step, you rapids might cap out at say at 400IPM.  If you wanted 1000IPM for rapids, you could dynamically change the scale to .001 and change/scale the distance.  Then change it back for feed rates moves.

You would only have to trap the rapid calls for G0.  If the code block contained G0, change both the scale and the distance to increase your rapid speed that is limited by the pulse train.  Once the move is completed, you change it back.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Dynamic Steps per Unit for fast rapids
« Reply #3 on: November 02, 2011, 06:48:38 PM »
Best bet is external controller, SS, Galil Kflop etc etc then you dont have to worry about electronic gearing to get the rapids and you maintain the resolution. PP is definitely not the best for servos in my opinion.
Hood

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Dynamic Steps per Unit for fast rapids
« Reply #4 on: November 02, 2011, 07:23:05 PM »
The moment  you tried to dynamically change the steps per MACH would loose track of position as it depends on the MATH to keep track of position. From that point there is no going BACK (;-).

Then you have the problem CAN the motors even RUN that fast(;-)accurately AND the acell settings problems(;-)

The several times we have tried something LIKE that we had to refhome the machine before continuing as at that point MACH was lost.



BUT give it a whirl and see what you getts, (;-) TP



« Last Edit: November 02, 2011, 07:32:14 PM by BR549 »