Hello Guest it is April 16, 2024, 06:35:07 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: 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. 

172
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.

173
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.

174
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

175
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.

176
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.

177
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.

178
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.

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

180
Joe,
I would've called it "tool".  But it probably means the pocket on a turret.  Lathes are different in the ways they deal with offsets for tools.  Gang tools for example... more than one tool on a "pocket" or "turret position" have different offsets.  So T101 could be the first tool in the gang tool setup and T102 is the second... The first number "1" is the tool turret or pocket position and the "01 and 02" are the offsets to set for those tools.