Hello Guest it is May 07, 2024, 08:31:41 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 - Cbyrdtopper

171
Mach4 General Discussion / Re: Lathe Profile Randomly Closes Mach4
« on: February 03, 2021, 10:39:09 AM »
I'll bring some pizza! HAHA

172
Mach4 General Discussion / Re: Lathe Profile Randomly Closes Mach4
« 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.

173
Mach4 General Discussion / Re: Is there a BLINK function?
« on: February 01, 2021, 04:29:52 PM »
I haven't used the PMC.  I may have to give it a try on machines that I don't put a PLC on. 

174
Mach4 General Discussion / Re: Scripting Custom Control Panel
« on: February 01, 2021, 04:26:36 PM »
When I make control panels I make them as simple as possible in the Screen Script.  I make it easy on myself, I use the provided code that has been commented out and copy it to each of my inputs that I'm using for button presses. 
The Cycle Start and feedhold I use just like they are in the SigLib, I just change the input# to match what I have it mapped to.
No need to make a new function if the code is already being provided my Artsoft.  From your first post, it seems like the stock functions will do what you want them to do.
You will need to make a function to adjust your MPG handle to switch Axis, but that could be as simple as making a new function and calling the appropriate API calls to set the axis and the increments that you want.  Call those functions on the button press, just like the cylcestart and feedhold are called. 

I also made a keyboard toggle button to toggle the keyboard inputs enable/disable that way I can easily push a button and edit code or mess with CAM without having to use a mouseclick to turn off the keyboard inputs. 

Having an LED... I get the handle of the feedhold state and use that to set an output on or off based on it's state. 
To have an LED on when code is running, use the GCodeRunning output.  That's the easiest way to do that. 
That's how I utilize the stack light I put on machines.  I also run most things through a PLC, but it can all be done in Mach4.

175
Mach4 General Discussion / Re: Lathe Profile Randomly Closes Mach4
« 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.

176
Mach4 General Discussion / Re: Lathe Profile Randomly Closes Mach4
« 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

177
Mach4 General Discussion / Re: Lathe Profile Randomly Closes Mach4
« 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.

178
Mach4 General Discussion / Re: Lathe Profile Randomly Closes Mach4
« 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.

179
Mach4 General Discussion / Re: Lathe Profile Randomly Closes Mach4
« 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.

180
Mach4 General Discussion / Re: Lathe Profile Randomly Closes Mach4
« 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.