Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: cornwallav8r on October 11, 2012, 01:03:35 PM

Title: DriverTest - Pulsing Too Fast
Post by: cornwallav8r on October 11, 2012, 01:03:35 PM
I know, some of you've likely answered this one a hundred times.
 Here's the rub....I have 2 identical Dell Inspiron 8100 laptops, with XP SP3 freshly loaded just recently, and both now give up the same pulsing too fast error in drivertest, and lose steps while running live.
But I used this same laptop years ago, for both this engraver and a full sized mill.  So I know the hardware is fine, it used to run drivertest in the green with System Excellent all the time.  I almost couldn't get it out of the green status, as I recall, except by specifying a really high pulse rate.

So I removed and reloaded the driver, - no help.  Tried the alternate special driver and rebooted, - no help.
Eliminated all the unnecessary windows and applications processes in winconfig that I felt comfortable doing - still no help. 
I have NO extra applications loaded or running.
DriverTest will run in the yellow, pulsing too fast about 80% of the time, then occasionally go green for a few seconds, and back to pulsing too fast,  yellow.

Any thoughts?
Thanks in advance.
Title: Re: DriverTest - Pulsing Too Fast
Post by: cornwallav8r on October 11, 2012, 01:10:49 PM
All I can figure, thinking about this, is that EITHER Mach3 has changed somehow since the years' old version I used to run, or something in SP3 has changed.  Everything else here is the same from when it used to run fine.
Title: Re: DriverTest - Pulsing Too Fast
Post by: cornwallav8r on October 11, 2012, 04:43:49 PM
I just found a list of things to try in the downloads section, lemme go try all that. I see I have done most of it but this thing seems so close to being right... it shouldn't take much to create enough headroom.
Title: Re: DriverTest - Pulsing Too Fast
Post by: Hood on October 11, 2012, 04:49:54 PM
It could well be the driver has changed, there were a lot of alterations done to it a while back for spindle and threading, they may be affecting things.
Load an old version of Mach and see if it behaves, if it does then you will have to make the choice between getting a desktop computer and running the latest version or using the laptop and running an old version.
Hood
Title: Re: DriverTest - Pulsing Too Fast
Post by: cornwallav8r on October 11, 2012, 05:19:29 PM
Ok I ran through almost all the suggestions in the tweaking list, now it seems stable, though neutered, That's fine though, it's a dedicated CNC laptop.
Staying 90% in the System Excellent and remaining 10% in System Stable, in the driver test ....
Hood, thanks again for quickly responding.
Lemme run some parts again tomorrow and see if we are still losing steps. I suspect all is well now.
Title: Re: DriverTest - Pulsing Too Fast
Post by: Hood on October 11, 2012, 05:23:35 PM
Hopefully it will be fine :)
Hood
Title: Re: DriverTest - Pulsing Too Fast
Post by: cornwallav8r on December 03, 2012, 10:26:36 PM
I finally had a chance to put some time on the engraving table.  This is an absolute quandary.
I totally neutered the laptop to rid of any effect on Mach3's use of the system.
I have it at 25k Hz, and despite all I have tried, can't get it to behave.
The driver test runs right up fine, into the green, say System Stable and a couple seconds more says System Excellent.
I stopped for a few weeks till I had time to go back and check all my driverand motor wiring, ensured it is all shielded and wired correctly.
What it is doing, is randomly getting buzzy, that is, I can hear it missing like every 3rd or 4th step when jogging, but sometimes it works glass smooth.
So I don't think it is anything in the wiring or drivers, or it would stay consistent, and it is affecting all 3 drives.
I am using 3 motor reputable microstepping drives, they seem to operate fine.
This was formerly a professional Visual engraving table, run by an MSDOS Visual app and a separate driver box,and it operated fine that way.
I changed it to add a full z axis and make it Mach 3 capable.

I checked the step and dir polarities, it just sits there and buzzes if I change those, so I guess they are correct.
I am not sure what to try now.  It's a quandary.  Thoughts?

PS I did notice in the diagnostics screen, over on the right side, there is a timing indicator, and I noticed it will jump up to around 24,300, then back down to near zero for awhile, then a second or 2 later up to say 350, then repeat.  Is this a sign of a problem?
Title: Re: DriverTest - Pulsing Too Fast
Post by: Hood on December 04, 2012, 03:19:49 AM
Two options are get a desktop or an external controller, personally I would go both ;D
Laptops are not supported officially by Artsoft unless using an external controller. There is a reason for that and you have seen that reason first hand ;)
Hood
Title: Re: DriverTest - Pulsing Too Fast
Post by: cornwallav8r on December 04, 2012, 04:41:21 AM
Got a cheap solution to recommend in an external controller?
I don't have the physical space for a desktop....
Title: Re: DriverTest - Pulsing Too Fast
Post by: Hood on December 04, 2012, 04:56:37 AM
There is the PoKeys which I think is about the cheapest but not sure how well it works as I have not been keeping up to date on its progress as a controller. I think it is limited to 3 axis and 25KHz max pulse rate per axis. There are Ethernet and USB versions, Ethernet probably the better choice assuming your laptop has a network port. There is a PoKeys section on the forum so you could check that out.

The SmoothStepper is a common one and works very well, can control up to 6 axis and has a max pulse of 4MHz so thats plenty even for a servo system. It comes in USB or Ethernet versions and I would say Ethernet is the best one to go for, again assuming your laptop has Ethernet.

There is also the CSMIO/IP-M from CS-Lab which is probably about the same cost as an Ethernet  SmoothStepper, it is also Ethernet and has a max pulse of 125KHz which would be plenty for stepper systems and lower end servo systems. It is up to 4 axis  It has onboard analogue  for spindle control and analogue inputs for spindle or feed overrides  also it has differential step/dir and 24v Inputs and Outputs.

So really depends on your budget and what you are looking for, personally I would choose the CSMIO as 24v I/O and Differential Step/Dir is much more noise immune. All three should however work well and it just depends on your requirements which would suit you best.
Hood
Title: Re: DriverTest - Pulsing Too Fast
Post by: cornwallav8r on December 04, 2012, 05:26:27 AM
You didn't mention the UC100 USB to parallel adapter...from a user standpoint, it looks to be a good interface from ease of installation.   Woudl rather not have to rewire everything in the driver enclosure, it's all done now, and need to stay with a parallel D-sub interface.
It's $129 plus shipping, and will allow any old USB machine to work....I wonder whether it is any good though?
Title: Re: DriverTest - Pulsing Too Fast
Post by: Hood on December 04, 2012, 06:04:30 AM
Never seen that before and dont know anyone who uses one so cant say if its any good or not.
Regarding not wanting to do extra wiring, the SmoothStepper was designed on that basis, ie it takes the place of the parallel port so all you need to do is connect the parallel cable to the SS and the Ethernet or USB cable to the computer and you should be fine, plugin and driver to install as well of course but thats software and will be the same for whichever external  controller you chose. The added benefit of the Smoothstepper is it has 2 or 3 parallel ports worth of I/O (USB 2 ports plus 6 inputs, Ethernet 3 full ports) should you wish to expand in the future where that device is only 1 ports worth.

Lots of pros and cons for all devices and again all depends on your budget and what you are wanting, both now and the future.
Hood
Title: Re: DriverTest - Pulsing Too Fast
Post by: cornwallav8r on December 04, 2012, 06:16:01 AM
Won't I still need, for the smooth stepper, to find a place to mount it, add power wiring, etc?  I mean it isn't plug and play like the Uc100 or did I miss something?
Although I do like the idea of the additional ports and expansion, I don't see needing them, and would like to move this adapter over to the other machine I need to control...just thinking out loud...
Title: Re: DriverTest - Pulsing Too Fast
Post by: Hood on December 04, 2012, 06:25:09 AM
Some people mount the SmoothStepper in the computer, some in the cabinet, your using a laptop so would need to put it in the cabinet or make another box. Ethernet one will require a 5v supply which you can grab from the computers USB if you wish (chop up a USB cable), USB one can use the power from the USB direct or an external 5v.
 The one you linked to will still have to be mounted somewhere so not much difference, it will be a bit smaller I suppose but likely not much, the SS is only 70 x 90mm

Now not saying you should go for the SS, just saying they all have their place depending on requirements, as mentioned before the CSMIO would be the one I choose but my requirements are not the same as others.

Hood
Title: Re: DriverTest - Pulsing Too Fast
Post by: cornwallav8r on December 04, 2012, 06:29:38 AM
I guess what I am looking at, is the UC100 simply plugs into the USB port of the laptop, and into the cnc driver box just like a cable.  Then it's just software driver.
As simple as can be.  If I was going with a new design, and didn't have the driver box all done on both machines, it would maybe make sense to go with something else...wish I could get some commentary from a UC100 user. I see one over on another forum who indicates he owns an ethernet smooth stepper and hasn't even installed it, as his UC100 works fine.  Who knows...
Title: Re: DriverTest - Pulsing Too Fast
Post by: Hood on December 04, 2012, 06:36:13 AM
Ok I see, just looked at the manual and it is in a backshell so enclosed, pic on website shows its open. There is also a Russian one similar to that, again how well it works I have no idea, in fact it may even be the same one,see here http://www.machsupport.com/forum/index.php/topic,22235.0.html

Hood