Looks OK. But I'd turn off the coolant right after the M5, rather than after homing.
I am wanting to add a line of code to all of my files generated by Cut2D. This is just a simple line to home the x and y axis only. I do not want it to change z at all. I believe I can do this by editing the post processor file. When opening the postprocessor, I find a few lines at the end of it that are as follows:
+---------------------------------------------------
+ Commands output at the end of the file
+---------------------------------------------------
begin FOOTER
"[N]G00[ZH]"
"[N]G00[XH][YH]"
"[N]M09"
"[N]M30"
%
Currently I set my home position in cut 2D at X2, Y2, Z2 and it provides rapid travel to these postions. I still want to do that, but have it home x and y right after that. I am also wanting to add a spindle shutoff just before that. This is what I feel the codes should look like to make that happen.
+---------------------------------------------------
+ Commands output at the end of the file
+---------------------------------------------------
begin FOOTER
"[N]G00[ZH]" - Rapids Z to 2"
"[N]M05" - Turns off spindle
"[N]G00[XH][YH]" - Rapids X and Y to 2"
"[N]G28.1 X0 Y0" - Tells machine to home X and Y
"[N]M09" - Mist and Flood off (not needed in my case)
"[N]M30" - Program end and rewind
%
I believe this is correct, but I wanted a second set of eyes to look if you could.
Thanks
Dan
Similar Threads:
- Help editing post
- Newbie- Editing a toolpath
- Need help editing post
- Need Help!- Editing post
Looks OK. But I'd turn off the coolant right after the M5, rather than after homing.
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)
Thanks Gerry, Although I do not use coolant, the logic makes sense. Why would I want it spraying all the way through the homing sequence. I will move it just after the M05.
Dan