Hello Guest it is April 23, 2024, 06:48:00 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

221
Mach4 General Discussion / Re: Using macros in mach4
« on: July 29, 2019, 08:40:10 AM »
Have you looked into writing a G Code Macro Program?  If it is just positional for punching you may be able to do what you suggested already, make a custom screen that the Macro Program can read using #VARS.

222
Mach4 General Discussion / Re: machine accuracy
« on: July 24, 2019, 10:09:12 PM »
It looks like you need to increase the acceleration of your motors.  The machine is trying to blend into the next cut.  You can increase your motor's acceleration and see if that helps, or you can turn CV off and turn Exact Stop on, that should take care of the issue whether the accel on the motors is slow or not. G64 turns on CV G61 turns on Exact Stop.
I would turn on Exact Stop (G61) only when doing finishing contours; Keep G64 on when roughing.

223
Mach4 General Discussion / Re: Mach4 automatic ways oiler
« on: July 24, 2019, 10:02:40 PM »
Glad you got it working.
Post your code to help others that may have the same question.

224
Mach4 General Discussion / Re: MACH4 LATHE
« on: July 22, 2019, 09:20:08 AM »
No, Mach3 uses VB Script Mach4 uses LUA.  It's a different scripting language.

225
Mach4 General Discussion / Re: MACH4 LATHE
« on: July 19, 2019, 02:46:18 PM »
If you have an ATC you will need to supply the tool changer code yourself.  There are examples in the Mach4 folder in "Lua Examples".
What is involved with the tool changer?  Does it have a motor that rotates the turret and also locks the turret when rotated in reverse?  Does it have switches the read the tool number?

226
Mach4 General Discussion / Re: Mach closing randomly 4162
« on: July 10, 2019, 04:26:49 PM »
Steve,
Yeah, the more I looked into, the more I think it was something from updating and going back and forth.  I have no idea. 
Glad to hear I'm the only one, 4162 looks awesome.  Like I said, I'll use it on the next machine, just gotta get this one going.

227
Mach4 General Discussion / Re: Mach closing randomly 4162
« on: July 10, 2019, 04:11:11 PM »
Steve, Thanks for the clarification.

As far as the 4162 closing randomly, still no luck; I was super frustrated with this closing and we need this machine going soon, so I went and bought another computer and reloaded 3804 on it and got everything working the way it is supposed to.
I really don't know what the issue with loading 4162 and then reverting back to 3804 was.  I ran the unistaller, deleted everything dealing with Mach4 off of the computer, reloaded 3804 and it still said I was missing a file; and when I reloaded 4162 it was still closing.  The new computer fixed my issue.  Maybe someone else will run into the same problem I had (I hope not!), I just don't have time to delve into it anymore.  Gotta start making chips soon!!

I will try 4162 on the next machine we get going.

228
Yes, the DROs should reflect simulated motion. 
Are you running the simulator?  I've had the same issue you're having in the past.  I don't recall how I fixed it, I made sure the simulator was my motion device, I made sure the motors were enabled in Mach Configuration.

229
Mach4 General Discussion / Re: Mill Profile Initialisation String
« on: July 10, 2019, 09:00:56 AM »
Does this happen the first time you press enable?
On a lathe in the shop, I get the first instance of the Enable, it is a Core/inst register "cmdEnable" if that is == to 1 then I run a function that will set the current tool in the turret and then set the cmdEnable to 2 that way it doesn't loop the function endlessly.   
You may be able to do this to set your desired work offset.

230
Andygraphy,
It looks like you're using the Lathe profile, the colors from mill to lathe are different.
Will the axis move it you command them to from MDI?