Hello Guest it is May 18, 2021, 05:37:11 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - mTron

Pages: 1 2 »
General Mach Discussion / Re: Lost steps - again?
« on: March 02, 2013, 04:05:17 PM »
Another status report seems due: I bought an ESS from a local Swiss representative. Taking it into operation was a walk in the park. Everything seemed to work at first go. During my further tests I noticed a strange behaviour when holding the feed (Space-bar) while running a G-Code:
  • When I leave the control of feed-hold to Mach3 there is more than 2 seconds delay after hitting the space-bar until the feed actually stops. The same delay applies when I resume operation (<Alt>-R). This seems awful long to me, although the operation is precise, i.e. clean ramping down and no lost steps.
  • When I leave the control of feed-hold to ESS, the response is immediate with clean ramping down and no lost steps. However resuming operation behaves strangely: Motion starts immediately after <Alt>-R, but briefly pauses after about a second. If I pause and resume a second time within that 1 second time span, the feed (or rapid) motion briefly pauses twice. Again, no steps seem to get lost, but these pauses are not very confidence-inspiring to me.

Do you know these phenomena? Did I do something wrong e.g. in configuration? Are there any known workarounds? (Just as a reminder: I am using Mach3.043.022, because the most recent version did not want to restart after a feed hold...)

Thanks for your ideas

General Mach Discussion / Re: Lost steps - again?
« on: February 09, 2013, 03:40:45 PM »
I had a brief look at CS-Lab's CSMIO IP-M. An impressive little box at a truly attractive price, indeed. If I started with a new CNC project this would be my favourite, too. But as things are my current system uses a slightly different approach: My hand control and the PC running Mach3 are connected to the stepper drivers via an electronic switch. If Mach3 is not running or the PC is off,I can control the mill directly using the hand control. That's how everything started. That's how I started machining the prototype drive gear. When I run Mach3, the hand control is ineffective and I use the jog functionality of Mach3.

Current CNC practice runs the hand control (MPG) through Mach3. In that context CSMIO IP-M exactly fills the bill. But I am glad that you directed my attention to CS-Labs. Whenever I should decide that my manual lathe might make good use of CNC...  ;)


General Mach Discussion / Re: Lost steps - again?
« on: February 09, 2013, 11:30:33 AM »
Hm, just to avoid misunderstandings: My mill is nothing fancy (cf. attachment as a prototype with open gear), so I want to keep cost within reasonable limits. Less for cost reasons than for personal thrill I developed all of the control electrics and electronics in-house. So far I didn't experience much sorrow re. EMC and signal quality, but I know what you mean. therefore I shall have a look at CS-Lab. Thanks for the suggestion.

General Mach Discussion / Re: Lost steps - again?
« on: February 09, 2013, 05:34:10 AM »
You wrote "personally I would go ESS". Yes, this has become my favorite, too. Be it then, order an ESS at Warp9. I'll keep you posted how I get along, once I'll receive it. Thanks so far  :)

General Mach Discussion / Re: Lost steps - again?
« on: February 08, 2013, 03:14:40 PM »
Hi Hood

The Dell Optiplex 755 has arrived in the meantime. I installed Mach3.043.022 and ran a few tests. At first sight all seemed to be well. Then I heard a thump from the steppers when I hit a key on the keyboard. I call it the sound of a missed step. It doesn't happen every time but often enough to worry about. And not all keys in all circumstances do it, but the space key to pause a running program is especially bad. When I hit it during a rapid move (G0) ever so often the screech and the lost steps are back!

After a through investigation I found that both the charge pump and the stepper pulses are cut out for some 400 microseconds every time I hit a key. The charge pump monostable is dimensioned at 290 us so it briefly disconnects the stepper drive which makes for the thump when it comes back. Making the monostable less stringent wouldn't resolve the problem because during those 400 us no stepper pulses are coming from the PC anyway. It seems that this is enough for the steppers (running at 20 kHz = 1200 mm/min @ 1000 pulses/mm) to lose track. My suspicion is that Dell has a concurrency problem between USB events (keyboard) and the LPT output. Scanning this forum for "Dell Optiplex" I seem not to be the first one having problems.

Apart of that the PC seems to be amply fast enough: The Windows (XP) task manager never showed more than 3% CPU load when running a reasonably complex G-code. And the PC is very small, just 26 x 9 x 26 cm and fits nicely under the workbench. What a shame!

So it seems there are a couple of options:
  • Buy another PC small enough for the workbench, e.g. one of the rare barebones with parallel port. But unless I can try that with Mach3 and the mill before actually buying it I risk another wasted expense.
  • Buy a SmoothStepper Ethernet. Electrically elegant, but not from a packaging point of view: There is not enough space left for it in the control electronic box - so I need another box plus power supply plus cabling.

What do you think?


General Mach Discussion / Re: Lost steps - again?
« on: February 03, 2013, 06:15:44 AM »
I did as I said: Using Mach3.043.022 on an Intel Pentium 4, 3 GHz with 2.5 GB RAM the mill ran as the famous Swiss clockwork. The first stress test was

m98 p2 l50
g0 x0 y0 z0
g0 x100 y100 z100

It tested not only the program's parameters but also the stability of the power supplies. When this ran well I started the maching program which crashed at the beginning of this thread. OK, for safety reasons I milled lots of air, but from time to time I stopped the run to verify that the real coordinates matched those of the DROs.  Well, I didn't wait some 5 hours till it came to the end, but within the first hour everthing was perfect.

So I went out and ordered a new/old workshop computer: a DELL Optiplex 755 2 x 2.33 GHz. I expect it to be delivered some time this week.

Again, many thank for your support which led to the solution of the mystery.


General Mach Discussion / Re: Lost steps - again?
« on: January 29, 2013, 04:48:09 PM »
Found Sherline mode - cheers! :D

So I'll reinstall version 022 on my office computer, drag it to the workshop and give my project another try. As I said from next weekend onwards. I'll keep you posted. Thanks so far!


General Mach Discussion / Re: Lost steps - again?
« on: January 29, 2013, 02:34:07 PM »
At the time I thought that the line in Driver Test was reasonably flat, but judge for yourself in the attachment. Comparing the details between the office PC with the workshop PC makes me hope for a clear improvement.

Regarding Sherline mode: How do I set it?

And regarding the other weirdies I encountered using Mach3.043.066: Would you suggest that I go back to 3.043.022?


General Mach Discussion / Re: Lost steps - again?
« on: January 28, 2013, 02:15:10 PM »
Hi Hood
Thank you for your rapid and helpful reply.
Please find attached the current xml-file. As you will see, the pulse width is already at its maximum of 5 us. The kernel runs at 25 kHz as you suspected. During the installation I ran the DriverTest which showed "excellent" pulsing up to 65 Hz. This BTW confirmed to me that the computer was fast enough for the job - maybe that conclusion was a bit premature. Anyway I shall take my office computer to the workshop to see if the "screeching problem" disappears. However this must wait till the weekend, because my job keeps me too busy. :(
What is the Sherline mode? (I couldn't find that term in the documentation.)

General Mach Discussion / Lost steps - again?
« on: January 27, 2013, 02:28:46 PM »

New to this forum I need your help in a strange problem I experience in my stepper-motor driven Quantum BF20L mill, controlled by Mach 3.043.022. The PC is an elderly Intel P5 machine running at 512MHz; it is dedicated to Mach3 and has no network connections.

At the very beginning of my work with Mach3, about 3 years ago, the motors just screeched and didn't move. It happened quite rarely, say once in an hour's operation and when doing a G0 rapid move under G-Code control. I never had the problem when jogging, even when using the shift-key. I then reduced the maximum speed on all axes from 1500 mm/min to 1200 and also reduced the ramp to now 60 mm/sec/sec. This seemed to cure the problem or at least reduced it to a tolerable frequency.

Recently the problem reoccurred for no apparent reason, several times in an hour. I further reduced speed and acceleration - no improvement. There seems to be a coincidence: Usually when jogging in Step-mode the speed is very low. After a number of jogging moves in both Cont- and Step-mode with and without shift-key (rapid jogging) the speed in step-mode suddenly equals the last feed speed, which may be much higher. I cannot reduce it unless I terminate and restart Mach3. I have never consciously experienced step-loss under G0 when step-jogging speed was low. It also seems to me that when there is step-loss under G0 the usual acceleration ramp has vanished, which would explain why the steppers cannot follow. However I couldn't really verify that.

I then downloaded and installed the newest version of Mach3.043.066 including its driver. It didn't cure my problem, but since then I have a couple of new problems:  :'(

a) When I pause a G-code run run with the space-key I cannot restart the run, i.e. "Cycle Start <Alt-R>" doesn't work any more.
b) When I zero the X- and Y-axes using an edge-finder in the Offsets-screen Mach3 correctly observes its radius. But when I then manually do a "G0 X0 Y0" command via MDI it has forgotten all about the edge-finder offset - the zero position is not where it ought to be.

Then I scanned this forum, but couldn't find anything that helped so far.

Does anyone of you have an idea what I could do next?  ???

Thanks in advance and cheers!


Pages: 1 2 »