Editing Postprocessor
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
Check out what I am working on at www.routerbitz.com!