584,860 active members*
5,359 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Vectric > Cut2D / Cut3D > Editing Postprocessor
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Posts
    636

    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!

  2. #2
    Join Date
    Mar 2003
    Posts
    35538

    Re: Editing Postprocessor

    Looks OK. But I'd turn off the coolant right after the M5, rather than after homing.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Mar 2004
    Posts
    636

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

Similar Threads

  1. Help editing post
    By dkrenfrow in forum Mastercam
    Replies: 9
    Last Post: 04-12-2012, 09:10 PM
  2. Editing a toolpath
    By jwelin in forum MadCAM
    Replies: 1
    Last Post: 05-06-2010, 11:18 AM
  3. Need help editing post
    By bugzpulverizer in forum Post Processors for MC
    Replies: 5
    Last Post: 08-25-2008, 05:35 PM
  4. Editing post
    By WingNutz in forum Mastercam
    Replies: 1
    Last Post: 08-15-2008, 03:43 AM

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
  •