4
« 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