Editing Postprocessor


Results 1 to 3 of 3

Thread: Editing Postprocessor

  1. #1
    Wanna be
    Join Date
    Mar 2004
    Location
    United States
    Posts
    636
    Downloads
    0
    Uploads
    0

    Default 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

    Similar Threads:


  2. #2
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: Editing Postprocessor

    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)


  3. #3
    Wanna be
    Join Date
    Mar 2004
    Location
    United States
    Posts
    636
    Downloads
    0
    Uploads
    0

    Default Re: Editing Postprocessor

    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



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Editing Postprocessor

Editing Postprocessor