Rapid moves
- Andy123
- Offline
- Senior Member
- Posts: 44
- Thank you received: 0
Need some advice on setting rapid moves.
I have old CNC router that is running version 2.6.11 for many years without any problems.
It uses 1.25mm screws, NEMA 17 motors, drivers with 1/8 step.
Scale is set to 1280 (200*8/1.25). Base Period is set to 50000 ns. Acceleration 200, Stepgen ACC 250.
For many years fast moves were limited to 14mm/sec (840mm/min) for each axis.
Anything more than this would create following error. I never bothered to fix this.
Now I opened the Following error from 1 to 100, changed base period to 35000.
Following Errors are gone and I can move X, Y or both up to 20 mm/sec in MDI mode.
But once I run the actual NC program, X or Y axis stalls on some rapid moves making loud buzzing noise, then picking up moves without any issues but at the incorrect place.
It works better at 18mm/sec than 20, but not 100%.
So I thought that my drivers may not give enough current.
I changed settings peak limits from 1.7 to 2.2 to 2.7A and saw no changes.
I switched from 4A 28V power supply to 8A – no changes.
I actually measured PS current and it never go above 0.9A.
Also tried 1/4 step and different driver – no improvement.
I was playing with base period – I can easily go down to 20000 and it makes no change.
At 19000 I am getting real time delay errors.
I tried a faster computer - same results.
I also changed both ACC values up and down – still same issue.
One thing I need to mention is that its failing moves that use calculated values.
Calculations are simple +/- using 2 – 3 parameters, nothing fancy.
I am running out of ideas, so I am looking for help.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19516
- Thank you received: 6544
Changing the screws to 1204 or 1605 would improve speeds a lot.
Stepper motor usable torque is under 200RPM, and it drops down like a rock above that.
Please Log in or Create an account to join the conversation.
- Andy123
- Offline
- Senior Member
- Posts: 44
- Thank you received: 0
Changing screw on this machine is another option that was thinking about. Vendor is offering 8mm pitch replacement.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
- Posts: 4957
- Thank you received: 1441
Please Log in or Create an account to join the conversation.
- Andy123
- Offline
- Senior Member
- Posts: 44
- Thank you received: 0
Drivers are rated 42V.
The power supply I have can't go above 28V (24-28).
I have another 5V 5A power supply that I can add quickly in series to see if it will make a difference.
Please Log in or Create an account to join the conversation.
- Andy123
- Offline
- Senior Member
- Posts: 44
- Thank you received: 0
But when I tried 22 mm/sec it failed.
I don't have power supply to go any higher, and really can't use this setup with two supplies permanently.
Unless someone can offer something else to try, I will stick with 18 mm/sec and 28.5V.
Thank you.
Please Log in or Create an account to join the conversation.
- bbsr_5a
- Offline
- Platinum Member
- Posts: 544
- Thank you received: 105
12V around 160RPM
24V 220Rpm
and 36V MAX for Nema17 around 360RPM
but you shoudt increase your timing then the following error will disapear
can you upload the INI and HAL to get a look
BASE shoudt be set to 100k in INI on parport use
WHAT drivers are you using
you woudt benefitt some from the master as the interpreter is rewritten and gives you a better timing
Please Log in or Create an account to join the conversation.
- Andy123
- Offline
- Senior Member
- Posts: 44
- Thank you received: 0
If steppers are limited to 360 rpm, then all my efforts to run at 1000 RPM are pointless. I am surprised that I was able to get them running that high anyway.
I am not getting Following Errors, I have mentioned that I had these earlier, but this was resolved already, my issue is stall with buzzing noise at high speed.but you shoudt increase your timing then the following error will disapear
I disagree with this: period should be shorter than 1/(1280 * 20) sec or 39063ns. I am running at 30000BASE shoudt be set to 100k in INI on parport use
.
currently I am testing with TB6600, but I tried few other drivers.WHAT drivers are you using
Results are all the same.
At this point I think I am all set, I will leave it as-is and may be replace screws with 8mm lead later on.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19516
- Thank you received: 6544
They are not limited at that random value.If steppers are limited to 360 rpm,
The stepper speed is dictated by the inductance, voltage and current, inertia, etc.
There is no value that they are limited to, there is just a limit of what usable RPM can be achieved with a given setup, usable, not maximum, as you can spin them at 3000RPM but they will stall if you just look at them.
Good torque is usually up to 200RPM, usable torque up to 400 or 500RPM, anything above can be used only for rapids where the load on the motors does not change. This is for orientation only as a rough estimate.
First, 100K is preferred due to PC latency to start with, it can be lowered by a lot on a good PC, not a fast PC, but a good latency PC.
I disagree with this: period should be shorter than 1/(1280 * 20) sec or 39063ns. I am running at 30000BASE shoudt be set to 100k in INI on parport use
Second, where did that formula come from, as it is useless for anything latency related.
If you are getting no latency warnings at 30000, do not worry about it, leave it as is.
That is the best option.At this point I think I am all set, I will leave it as-is and may be replace screws with 8mm lead later on.
Please Log in or Create an account to join the conversation.