Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: MitchB on February 17, 2020, 02:41:55 PM

Title: Regen Toolpath Hangs
Post by: MitchB on February 17, 2020, 02:41:55 PM
I am using Mach4 Build 4300 on Win 7.  When I load or regenerate a toolpath, the progress bar progresses a little and then hangs.  This just started happening and nothing that I'm aware of has changed with my system.  This occurs with all .nc files including ones which have worked fine previously.
Title: Re: Regen Toolpath Hangs
Post by: Graham Waterworth on February 18, 2020, 09:57:58 AM
Are the gcode files very big
Title: Re: Regen Toolpath Hangs
Post by: MitchB on February 18, 2020, 10:36:11 AM
Are the gcode files very big

No.  Very small.
Title: Re: Regen Toolpath Hangs
Post by: Graham Waterworth on February 18, 2020, 11:01:34 AM
Has the code any calls to special M codes?
Title: Re: Regen Toolpath Hangs
Post by: patsgunrepair on February 18, 2020, 12:39:23 PM
I'm having the same problem. I've uninstalled Mach 4 ver 4300 and reinstalled several times. If I run a engraving code from the wizard the cnc will generate the toolpath and will engrave. I've tried several programs that I ran before I updated to ver 4300 and they don't work. I know have gone back to version 3804 and everything works properly. I contacted Machsupport about a week ago, which they wanted me to send a .nc file, I have. I haven't heard anything from them in almost a week. So I'm hoping that they reply to my last email in the future. I'll check back to this post to see if anything has been done to cure this problem instead of using an older version.

Pat
Title: Re: Regen Toolpath Hangs
Post by: MitchB on February 18, 2020, 03:51:09 PM
Thanks for that suggestion.  Going back to version 3804 fixed my problem as well.
Title: Re: Regen Toolpath Hangs
Post by: KatzYaakov on February 18, 2020, 04:54:43 PM
mitch you didnt answer Garham
and as my experience with the jump between this 2 version in his question you have yours answer
the big different i had in that 2 version was in function in lua
new version can use same function name in 2 diferent M function
also each function cant see any other variables ,all variables act like privet for that function(i mean the function iside the M function)
so my sugest its first test yours M function  ,debug them and see if you can compile
work with old ver its can help you this time but its cant be answer for long time
they explain after that the reason its worked with old version was mistake
but this didnt help me ,because i had change all my function
Title: Re: Regen Toolpath Hangs
Post by: MitchB on February 18, 2020, 05:28:36 PM
Sorry for not replying to Graham.  The files I am trying are quite simple and small and have no special M codes.  They worked previously and I'm pretty sure they worked in version 4300 - so that is a bit mysterious.
Title: Re: Regen Toolpath Hangs
Post by: KatzYaakov on February 18, 2020, 05:56:54 PM
you didnt write or modify any m function ?never in yours profile?
Title: Re: Regen Toolpath Hangs
Post by: Graham Waterworth on February 18, 2020, 06:39:00 PM
I think you should try this version :-

ftp://www.machsupport.com/Mach4/DevlopmentVersions/
Title: Re: Regen Toolpath Hangs
Post by: patsgunrepair on February 19, 2020, 09:29:52 AM
Just curious MitchB, What program did you use to generate the .nc file. I use BobCad. v 28.

Pat
Title: Re: Regen Toolpath Hangs
Post by: MitchB on February 19, 2020, 09:37:50 AM
I think you should try this version :-

ftp://www.machsupport.com/Mach4/DevlopmentVersions/


Thanks for that suggestion.  As a test, I reinstalled 4300 after seeing that 3804 worked.  4300 still didn't work.  Then I tried version 4410 and that works fine.
Title: Re: Regen Toolpath Hangs
Post by: MitchB on February 19, 2020, 09:38:56 AM
Just curious MitchB, What program did you use to generate the .nc file. I use BobCad. v 28.

Pat

I used MadCam from Rhino.
Title: Re: Regen Toolpath Hangs
Post by: MitchB on February 19, 2020, 09:42:16 AM
Since there is interest in the gcode, I've attached a file which causes the problem.
Title: Re: Regen Toolpath Hangs
Post by: jbuehn on February 19, 2020, 11:35:43 AM
Looks like the M0 may be causing the issue and why it works in v4410

https://www.machsupport.com/forum/index.php?topic=42292.msg275421#msg275421
Title: Re: Regen Toolpath Hangs
Post by: MitchB on February 19, 2020, 12:26:49 PM
In version 4300, removing all the M codes made no difference.