1) Does your g-code have an M5 to stop the spindle? It should.
2) How is UCCNC configured for tool changes? What M6 macro are you using?
Open it in Notepad and search for it.How can I check the M6 macro for:
exec.Stopspin();
UCCNC had been running without any problems. But now when an M6 tool change comes up in the g-code, there is a problem. Problem #1 - The spindle goes to the tool change position but the spindle will not stop turning. If I press start the spindle will continue to the touch off plate. Problem #2 - UCCNC skipped over the G-code M6 (did not run the M6) and just kept cutting with the 1/4" end mill that I was using. Ruined the sign I was making! I tried everything I could think of, to no avail.
How can I check the M6 macro for:
exec.Stopspin();
Similar Threads:
Last edited by gene8522; 10-17-2018 at 05:26 PM.
1) Does your g-code have an M5 to stop the spindle? It should.
2) How is UCCNC configured for tool changes? What M6 macro are you using?
Open it in Notepad and search for it.How can I check the M6 macro for:
exec.Stopspin();
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
I tried to add an M5 but it wouldn't run the M6.
Here's the part of the gcode that is made using Aspire 8.0. Looks the same as other gcodes I've used.
N84410G1X2.3859Y1.6058Z-0.1250
N84420G1X2.3743Y1.6118Z-0.1250
N84430G1X2.3610Y1.6179Z-0.1250
N84440G1X2.3457Y1.6238Z-0.1250
N84450G1X2.3284Y1.6296Z-0.1250
N84460G1X2.3093Y1.6352Z-0.1250
N84470G1X2.2883Y1.6404Z-0.1250
N84480G1X2.2408Y1.6497Z-0.1250
N84490G1X2.1861Y1.6571Z-0.1250
N84500G1X2.1246Y1.6623Z-0.1250
N84510G1X2.1119Y1.6630Z-0.1250
N84520G00X2.1119Y1.6630Z0.2000
N84530T12M6
N84540 (Tool: End Mill {0.125 inch})
N84550G43H12
N84560S24000M03
(Text Pocket 3)
()
N84590G00X-1.7351Y-1.4795Z0.2000
N84600G1X-1.7351Y-1.4795Z-0.1250F30.0
N84610G1X-1.7351Y-1.3847Z-0.1250F100.0
N84620G2X-1.6726Y-1.3222I0.0625J0.0000
N84630G1X-1.6297Y-1.3222Z-0.1250
N84640G1X-1.6044Y-1.3215Z-0.1250
N84650G1X-1.5817Y-1.3194Z-0.1250
N84660G1X-1.5608Y-1.3159Z-0.1250
N84670G1X-1.5416Y-1.3112Z-0.1250
The M5 has nothing to do with the M6.
If M6 isn't running, than UCCNC is not configured correctly. Depending on the version, it should be set to "Automatic Tool Change", or " Run the tool change macro".
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
I am running the 2017 Screenset and I've checked to make sure that "Automatic Tool Change" is checked. When I try to run an 'M6' the spindle goes to the tool change location but the spindle will not turn "off".
If I try to continue, the tool will go to the touch off plate but the spindle is still running. I can stop the spindle but that's no good because I can't change the tool.
Also if I run the M6 and continue after the spindle goes to the tool change location and as the spindle goes to the touch off plate if I press the "Cycle Stop" I get this pop-up.
https://www.screencast.com/t/TnMzEwllE
You either need to add the M5 to the g-code, or edit the macro.
Send me an email and I'll send you a modified macro that stops the spindle.
Do you have a Z axis home switch? That message is telling you that the machine is going to crash into it. When you see that message, what is the Z axis position, in both work and machine coordinates, and what is your Clearance Plane setting?
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Here's my email gcollier8522@gmail.com
2017 Screenset had been working, I can't guess what may have changed.
Hi Gerry,
The up-dated M6 works as advertised!
Thanks again for your help!!!
Gene