Hello Guest it is May 29, 2020, 10:32:58 AM

Author Topic: G95 Lathe problem  (Read 3374 times)

0 Members and 1 Guest are viewing this topic.

G95 Lathe problem
« on: January 12, 2010, 07:21:20 AM »
OK this has been happening for the last three releases i am using Ver 3.042.035

This is with a smooth stepper

When i program my feed rates with G95 at first it does not conform to the speed selected there is some sort of buffer that after a few moves this buffer will empty then  the fed will suddenly start feeding at the correct rate.

Anyone have similar problems and got a fix ?

Phil
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: G95 Lathe problem
« Reply #1 on: January 12, 2010, 08:57:04 AM »
never tried the latest versions as dont think there is anything in them to improve Turn, so suppose the fix would be to go back to an older revision until Rev4 comes out. If I get a chance I will try with 035 in a bit and see if I get the same issues.
Hood
Re: G95 Lathe problem
« Reply #2 on: January 12, 2010, 09:17:19 AM »
Amazingly i fixed this myself. ;D ;D ;D

I do try to only ask if i have tried everything but the fix is this.

This was my original code

G95 F0.15
S500
M3
G0 X0 Z0
G1 X-15

The feed would only reach .04 which is way too slow

But i added a G4 P2 delay after the M3

This solves the problem

I found this out when i did the moves from the MDI line

As it worked perfectly which led me to believe i needed the delay as it was my slow typing that negated the error. ;D

Maybe this should be reported to the gurus.

Phil
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: G95 Lathe problem
« Reply #3 on: January 12, 2010, 09:26:33 AM »
So that is fine in earlier revisions without the delay?
Had just tried MDI a feed and it was fine on 035 but will go see if it happens for me if I load your code.
Hood
Re: G95 Lathe problem
« Reply #4 on: January 12, 2010, 09:28:28 AM »
OK i tried it in a program and it ignored the delay. ???

So i put a delay on the spindle setup and this time it ran OK

The advantage to this is you don't have to edit your files.

Phil
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: G95 Lathe problem
« Reply #5 on: January 12, 2010, 09:38:05 AM »
Well I just tried with your above code, changed the x to 100 and 10 so it didnt run out of axis on -x but it worked fine for me without any G4. I do have a delay of 1 second on my spindle so thats maybe why, will go test again without the delay.

Hood

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: G95 Lathe problem
« Reply #6 on: January 12, 2010, 09:43:32 AM »
Just tried with zero delay for spindle and it worked fine as well, might be worth re-installing again just to see if that helps you out.
Hood
Re: G95 Lathe problem
« Reply #7 on: January 12, 2010, 09:47:27 AM »
Hood and I will be gutting all the G95 code and making it better :)  I am moving the feed calculator down a level so it is as close to the driver / external device as I can get it..

Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: G95 Lathe problem
« Reply #8 on: January 12, 2010, 10:55:24 AM »
Hood and I will be gutting all the G95 code and making it better
Thanks
Brian


 ;D ;D ;D

Phil
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable