Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Cbyrdtopper on February 01, 2021, 10:59:54 AM

Title: Lathe Profile Randomly Closes Mach4
Post by: Cbyrdtopper on February 01, 2021, 10:59:54 AM
We just put a lathe into production and the operator tells me that it keeps shutting down Mach4 in random places while running a program.  It will run for a few hours just fine and then just close Mach4.
This is the first time I've had this issue using Mach4 on either mill or lathe profiles.
Using version 4300 HiCON Integra. 
Maybe something in the PLC script that is causing an error but usually a dialog box lets me know if something isn't correct; with this problem it just immediately closes Mach4 with no warning. 
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Brian Barker on February 01, 2021, 12:55:01 PM
What version are you on?
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Cbyrdtopper on February 01, 2021, 12:58:33 PM
4300 Hobby
It's strange, I've got 4 or 5 machines running the same build on hobby with no issue.
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Brian Barker on February 01, 2021, 01:28:14 PM
We are getting version 4599 or maybe 4600 ready for release . My guess it will be 4600 ... But in 300 Versions we may have sorted that issue ;) we are working all the time on the software to make it better for everyone!
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Cbyrdtopper on February 01, 2021, 01:29:42 PM
Ok. I’ll give it a try. I do t use the lathe much; didn’t know if it was a lathe specific issue.
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Brian Barker on February 01, 2021, 01:30:38 PM
Don't matter to me if  you use it once a year :) it must be correct for you !
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Cbyrdtopper on February 01, 2021, 02:18:35 PM
I put build 4599 on the lathe. Now when I go to do a canned cycle it goes to z0 and back to the initial point return. Side note: g98.1 and g99.1 aren’t working as expected. G98.1 adds whatever the r value is to the initial point and moves to that summed value. G99.1 returns to initia point. But that’s a different topic.
I’m getting this message.
@Capping a minimum to 0.0000 based on parameter 1801.
No idea what this is. Changing variable 1801 doesn’t change anything.
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Brian Barker on February 01, 2021, 02:37:24 PM
That is a Parameter in the parameter.ini file in the profile. I have someone looking to see if we can clean  up your profile. Looks like some of the settings are very old. Sorry but this will take a bit, and will only hurt a little ;)
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Cbyrdtopper on February 01, 2021, 02:39:34 PM
Further testing showed us that that setting is limiting our z travel. We can’t get z to move smaller than 0.00.
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Brian Barker on February 01, 2021, 02:57:22 PM
This is a Parameter that was in mill that we moved to lathe that didn't effect you before . You need to open the parameter.ini file in the profile. change the following to look like this with Mach4 OFF:

[1801]
Desc=OEM parameter 1801
Type=2
Value=NULL

The value is zero now... This is a place where you can change how Gcode is ran. Sort of cool you can limit the stroke of the Zaxis :)  . Please adjust that and tell me if your set.

Thanks and sorry for the troubles!
Brian
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Cbyrdtopper on February 01, 2021, 03:02:43 PM
Thanks Brian!  That took care of it!
Didn’t realize how easy it was to change stuff like that. Probably not a good thing I know that. Haha
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Cbyrdtopper on February 01, 2021, 03:23:14 PM
Now hopefully the newer build of Mach4 will stop the randomly closing of the program.  We will see, I've got the lathe running parts now.
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Brian Barker on February 01, 2021, 03:25:34 PM
Sweet! pound out the parts and see how she goes!
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Cbyrdtopper on February 03, 2021, 10:31:50 AM
I forgot to mention, the 4599 build of Mach4 took care of the problem of Mach4 randomly closing.  Or at least it has run for over 2 days without an issue.
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Brian Barker on February 03, 2021, 10:37:51 AM
If you guys need me I will be throwing a party!  :o  >:D
Title: Re: Lathe Profile Randomly Closes Mach4
Post by: Cbyrdtopper on February 03, 2021, 10:39:09 AM
I'll bring some pizza! HAHA