Hello Guest it is March 28, 2024, 08:39:17 AM

Author Topic: Limitations of PC Parrallel Port  (Read 8771 times)

0 Members and 1 Guest are viewing this topic.

Offline Dom

*
  •  22 22
    • View Profile
    • Bridgeport CNC Retrofit Blog
Limitations of PC Parrallel Port
« on: June 17, 2009, 11:00:37 AM »
Just wondering what the realistic limitations are of pulse speed when using a pc parallel port. Will it run fine up to 100khz with a modern computer or will I have to limit Mach3 to something much lower?

Re: Limitations of PC Parrallel Port
« Reply #1 on: June 17, 2009, 01:18:37 PM »
Just wondering what the realistic limitations are of pulse speed when using a pc parallel port. Will it run fine up to 100khz with a modern computer or will I have to limit Mach3 to something much lower?



*Some* PCs will work at 100kHz. Most seem happier at 45kHz.  If you want high step rates, you should consider a SmoothStepper, which will step up to 4MHz, and with MUCH more stable, jitter-free timing than the PP.

Regards,
Ray L.
Regards,
Ray L.

Offline Dom

*
  •  22 22
    • View Profile
    • Bridgeport CNC Retrofit Blog
Re: Limitations of PC Parrallel Port
« Reply #2 on: June 17, 2009, 07:16:37 PM »
I'm trying to troubleshoot a problem which initially I thought was intereference but now having earthed everything and put in loads of 0.1uf caps everywhere that matters and still haveing problems I'm starting to think it is either to do with the computer pulse frequency or needing thicker cable running to the machine.

What I do know is previously I was running at 100khz (on parallel port) and had problems with juddery axis movement which usually manifested itself when i was moving two or three axes at once. After trying lots of other things I dropped down to 75khz and things improved a lot. However I'm still getting intermittent glitching (though much less than before) so perhaps dropping down to 45khz is the answer. Problem with that of course is it will reduce my max speed by half. However I might be able to get away with it by using 'electronic gearing' in the rutex firmware so 1 pulse moves the axis twice as much. That way i should be able to still get 5 metres a minute just by dividing my current mach3 steps per unit by two to give me a figure of nearer 400 rather than 800 and then I should still be able to get 5m/min (or close) at 45khz.

Either that or maybe this smooth stepper thing you speak of is another solution ... but is this not really expensive?


Regards,

Dom
Re: Limitations of PC Parrallel Port
« Reply #3 on: June 17, 2009, 07:24:48 PM »
SmoothStepper is about $150.  Go to www.warp9td.com

Regards,
Ray L.
Regards,
Ray L.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Limitations of PC Parrallel Port
« Reply #4 on: June 18, 2009, 02:15:52 AM »
I have never had a computer that was 100% stable at over 45KHz.
 I use SmoothSteppers on all my machines, the Lathe definitely needed it to get the rapids as I have industrial type AC Servos and drives with 2000 line encoders(8000 count). I did use electronic gearing of 1:2 to get 3m/min rapids but wanted more and with higher electronic gearing the cogging was noticable. When the SmoothStepper came out I used one and it is now capable of 20m/min with no electronic gearing although I just run at 10m/min as that is plenty fast enough.
Hood

Offline simpson36

*
  •  1,369 1,369
    • View Profile
Re: Limitations of PC Parrallel Port
« Reply #5 on: June 18, 2009, 06:55:07 AM »
Note that just because a computer can pass the driver test at a given speed does not mean it can operate Mach at that speed.

If you right click in the bar on the bottom of your windows screen, you get a window where you can choose task manager . . which has a performance tab . .  which tells you the CPU load. When  it maxes out, you have problems.
Re: Limitations of PC Parrallel Port
« Reply #6 on: June 18, 2009, 09:53:09 AM »
I'm a relative newbie and I'm still learning. I've been reading this (and similar) threads and I want to make sure I understand something.  Is speed of axis travel the only reason to increase the Pulse Frequency/Kernel Speed setting?  

I followed the Tutorial Video and set mine at 25,000 and things seem to work fine.  Is there any downside to having this setting too low (other than limiting max speed)? I'd like to understand the implications (pro/con) of increasing/decreasing this setting?

That also brings up the topic of motor tuning.  I have my accelleration ramping up very gradually to make my moves as smooth as possible.  Same question here.  Is there any downside to having your acceleration set too slow?
« Last Edit: June 18, 2009, 09:57:13 AM by bill-the-cat »
Bill (the Cat) Shubert

Offline simpson36

*
  •  1,369 1,369
    • View Profile
Re: Limitations of PC Parrallel Port
« Reply #7 on: June 18, 2009, 10:49:05 AM »
I don't know of any disadvantage to using the lowest pulse rate that gets you the speed you want, but setting it arbitrarily high is counterproductive as you gain nothing, but narrow the gap between 'it works' and 'it doesn't work'.

On the other hand, setting the acceleration arbitrarily low can cause a host of problems, depending on what you are cutting. This forum has a very large percentage of hobby users who cut soft materials at very low rates. If you are in that category, then you are probably OK with very low accelerations.

For short moves, a slow acceleration Will not allow the motors to reach full speed and the net effect would be an overall slower travel, but also a very inconsistent travel as longer moves would be faster and one would imagine this makes the CV operation far less effective.

The big problem is going to come in if you are cutting 300 series stainless or most tool steels and/or you are using carbide inserts. You want to maintain a certain chip load per tooth especially with inserts as if you stop cutting and ride up over the material, it gets extremely hard extremely fast and now you have a hard-as-hell 'crust' for the next tooth to cut through . . . which it may or may not be able to do.

It does not seem logical to persons new to cutting metal, but tiny chip loads (which you will get during slow accell and decell) can cause an incredible amount of heat build up in the tool and the part. The re son is that the if the chips are the right size and are cut at the right speed, the lion's share of the heat will go overboard in the chip itself, instead of sticking around to make our tool bit turn pretty colors  :(

Personally, I would run the acceleration a little below where the motors cannot tolerate. The faster the acceleration, the more consistent your feed rate will be on average. Mo' better to tool life and finish.

« Last Edit: June 18, 2009, 10:52:46 AM by simpson36 »
Re: Limitations of PC Parrallel Port
« Reply #8 on: June 18, 2009, 01:50:35 PM »
Thanks for the reply simpson36!  You confirmed my guess about the pulse rate.

As for the acceleration, I need to ask again.  I am familiar with the concept of "work hardening" from my machinist days (years ago).  I should have given more information or asked the question differently.  I will mainly be cutting wood (pool cue inlays) and the occasional piece of plastic or aluminum (fixtures/jigs).  I'm not a production shop, so cycle time is not my main concern.  I'm more concerned with the hightest level of accuracy and longest life (least wear-and-tear) I can obtain with the machine. My question about acceleration was more "what's best for the machine".  Could too slow an acceleration perhaps actually be bad for the motors?
Bill (the Cat) Shubert

Offline simpson36

*
  •  1,369 1,369
    • View Profile
Re: Limitations of PC Parrallel Port
« Reply #9 on: June 19, 2009, 05:43:15 AM »
Thanks for the reply simpson36!  You confirmed my guess about the pulse rate.

As for the acceleration, I need to ask again.  I am familiar with the concept of "work hardening" from my machinist days (years ago).  I should have given more information or asked the question differently.  I will mainly be cutting wood (pool cue inlays) and the occasional piece of plastic or aluminum (fixtures/jigs).  I'm not a production shop, so cycle time is not my main concern.  I'm more concerned with the hightest level of accuracy and longest life (least wear-and-tear) I can obtain with the machine. My question about acceleration was more "what's best for the machine".  Could too slow an acceleration perhaps actually be bad for the motors?

I'm not an electron guy, so that question is outside my knowledge, but I can think if no reason slow accelleration would hurt the motors. My understanding is that Steppers draw full current all the time so it would have no practical effect on those motors, and a servo motor would simply draw less current to accellerate the load more slowly, so theoretically it would run a little cooler. I don't think this is significant though.

While wood, plastic and most aluminum will not work harden on you, wood will definately burn and plastic will melt if you loose your feed rate. Softer grades of aluminum will often cling to and clog the tool bit if it gets too hot, so I would still go with the fastest accelleration the motors can reliably tollerate in order to achive the most consistent feed rate.