Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 10:02:44 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Dynamic Steps per Unit for fast rapids
Pages: 1   Go Down
Print
Author Topic: Dynamic Steps per Unit for fast rapids  (Read 182 times)
0 Members and 2 Guests are viewing this topic.
JHChoppers
Active Member

Offline Offline

Posts: 364



View Profile WWW
« on: November 02, 2011, 05: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

Logged
BR549
Active Member

Online Online

Posts: 2,557


View Profile
« Reply #1 on: November 02, 2011, 05: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
Logged
JHChoppers
Active Member

Offline Offline

Posts: 364



View Profile WWW
« Reply #2 on: November 02, 2011, 05: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.

Logged
Hood
Active Member

Online Online

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #3 on: November 02, 2011, 05: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
Logged
BR549
Active Member

Online Online

Posts: 2,557


View Profile
« Reply #4 on: November 02, 2011, 06: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, 06:32:14 PM by BR549 » Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!