91
Mach4 General Discussion / Re: Help with Mach 4 controlling a PLC for tool changes.
« on: January 28, 2018, 08:22:51 PM »
To me a basic function of the tool changer is to have it move to a safe position to make a change. With my lathe it's near Machine Coord Home, G53, I just back it off some X.25 Z.25. I don't want to have to alter Gcode every time I post and what if I forget and all my tools go crashing into a 3000 RPM lathe chuck.
AH!! I was watching DaZ's post and didn't even think about it.
I do have it in a button, but the point of automation is to automate. I don't want to have to do anything for a tool change except execute the tool change.
I'm not sure I understand the module thing? I'll watch the video. Can't I just put in the M6 after Else?
mc.mcCntlGcodeExecuteWait(inst,"G53 G00 X0.25 Z0.25")
AH!! I was watching DaZ's post and didn't even think about it.
I do have it in a button, but the point of automation is to automate. I don't want to have to do anything for a tool change except execute the tool change.
I'm not sure I understand the module thing? I'll watch the video. Can't I just put in the M6 after Else?
mc.mcCntlGcodeExecuteWait(inst,"G53 G00 X0.25 Z0.25")