Hello Guest it is April 19, 2024, 06:06:02 AM

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 - tatumoktfarm

Pages: 1
1
Mach4 General Discussion / Mach4 lathe macros
« on: August 29, 2021, 12:42:43 PM »
We are trying to upload Lua script to make our tool changes on the CNC lathe, but we keep getting an error message saying no script engine found.  Any ideas or suggestions would be greatly appreciated. 

2
Mach4 General Discussion / Re: Mach4 lathe macros
« on: August 29, 2021, 12:39:29 PM »
We are now getting an error that says no script engine found.  I have attached an image of the error.  Your help is greatly appreciated. 

3
Mach4 General Discussion / Re: Mach4 lathe macros
« on: August 26, 2021, 01:58:23 PM »
Hi Graham Waterworth,

 

I really appreciate this macro and your help. It reads like it is exactly what I need. I replaced the manual tool change M6 macro with this one, and now I’m in the process of debugging it for my machine.

Presently I call out a tool in Gcode, like T2 M6, and nothing happens, except screen shows it moved to offset 2. Tool stays at tool 1, and turret doesn’t rotate. Looking through the macros I see when I ask for a tool, like T6, it asks the A motor to rotate forward, then back onto its paw. I am guessing I need to assign a value to this movement after the A in counts, replacing the A- with A2, and make sure my A motor’s counts per unit add up so the 2 units rotate the turret 45 degrees per station. Since I can rotate the motor in the mill program by jogging the A axis, I should be able to figure these units and/or counts out pretty quickly from the display. Anyway, thanks again for all your help thus far. If I am barking up the wrong tree entirely, I sure would appreciate some more direction. Regards George Tatum

4
Mach4 General Discussion / Mach4 lathe macros
« on: August 24, 2021, 04:30:42 PM »
Mach 4 question here:

My Mach 4 operated, CNC  lathe, has a 4 position tool turret. It holds 8 tools, which would be 4 drills and 4 cutting tools. So I have assigned motor 1 to the turret, and A axis to motor 1

The 4 position turret has paws at its locking 90 degree positions.

Presently to change the turret position, I go to the Mach 4 Mill program, which lets me jog A-axis. It even gives me the counts.  I jog just beyond 90 degrees, then back just a tad to catch the paw. Then I go back to Mach4 lathe to run the Gcode program. All the offsets are spot on, and everything is working great, I just don’t know how to rotate the turret automatically.

So I am looking for a new M6 macro to replace the one I got in the Mach 4 lathe macros folder so I can get the turret to rotate to proper tool upon T command in G code. I have been looking for a script that seems to call out a motor or axis assignment, rotate 91 degrees, and then back a degree. Or if not degrees, counts.

I know this has been discussed in the forum before, though I am very new, and I simply can’t find any of the scripts posted here that seem to look like they will do what I want it to do. If anyone can point me to the right thread, I would be grateful.

Regards

Pages: 1