Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: MegaMoog on March 02, 2019, 07:26:47 PM

Title: Lathe Turn Cycle with Threading (Prog hangs at end)
Post by: MegaMoog on March 02, 2019, 07:26:47 PM
Hi,
Has anybody else had this happen with Mach4 Lathe Cycles?

Dell Desktop
CPU 650@3.2 Ghz
8 Gb ram
64 bit
Windows 10 Pro, Ver1803
...............
Mach4 Hobby 4.2.0.3804, Licensed

...............
PMDX 416
Gecko G540
...............
Turn Cycles

Program runs the OD Cycle, Tool 1010
then runs the Threading Cycle, Tool 1111
it finishes the physical threading OK.....
then near the end of  the program just hangs there..... line with M09.....
It kicks out the Cycle Start/ GCode Button..... Greyed out... (Not sure but I think that is greyed out on any time the Cycle start Button is pressed?)

So I have to hit Disable Button n re-Enable Button n then hit Cycle Start n It will finish / Rewind Program back to beginning.

But if I do not post thread cycle but just turn cycle it will finish n rewind as it should at M30

The attached files are the .tap file.
  The .txt file extension was changed from .ini so it could be uploaded, you will have to change it back to .ini to use in Mach4  Lathe Cycles

Thanks MM
Title: Re: Lathe Turn Cycle with Threading (Prog hangs at end)
Post by: MegaMoog on March 02, 2019, 08:14:11 PM
Try this configuration file if other one is corrupt?
Unzip then import from Lathe Cycles Tab...


MM
Title: Re: Lathe Turn Cycle with Threading (Prog hangs at end)
Post by: Chaoticone on March 03, 2019, 05:56:20 PM
ini file types should be allowed now.
Title: Re: Lathe Turn Cycle with Threading (Prog hangs at end)
Post by: Graham Waterworth on March 03, 2019, 07:40:25 PM
I am not sure all the % signs in the program are a good thing especially as there is an odd number of them and they work in pairs normally.

They are normally to indicate the start and end of the program.

Just a thought
Title: Re: Lathe Turn Cycle with Threading (Prog hangs at end)
Post by: MegaMoog on March 10, 2019, 03:54:58 PM
I have been trying different settings in the lathe cycle for threading.
I'm not sure if this is a bug or some setting that just does not want to work.
If I change the Xc ( X Clearance ) from .010" (this will work thru COMPLETE) to .100" the program just hangs near the end n won"t complete the cycle?

I've attached the 2 files for comparison. I did not run either of these thru M4 simulation but ran my lathe using these.


ThanX MM