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


Topics - 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 / 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