Page 1 of 2 12 LastLast
Results 1 to 12 of 21

Thread: Post processor editing

  1. #1
    Registered
    Join Date
    Mar 2012
    Location
    usa
    Posts
    11
    Downloads
    0
    Uploads
    0

    Post processor editing

    Hi!
    I could use some help as i am new to editing mastercam posts. Ive got two major problems.

    For some reason it always gives me a -2.0 feed rate and at the beginning of each operation it returns to the part's zero before going where its supposed to.

    As you can imagine it gets tedious fixing every single operation. Id appreciate it if someone could tell me how to fix this.


  2. #2
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4519
    Downloads
    0
    Uploads
    0
    My first suggestion is just try a different post processor. If that does not work for you, attach a copy of the post processor you are using, a copy of the posted program, and a copy of the posted program with the corrections made that you want with those corrections well noted.
    http://www.kirkcon.com/


  3. #3
    Registered
    Join Date
    Mar 2012
    Location
    usa
    Posts
    11
    Downloads
    0
    Uploads
    0
    Ok. The post i am using is the best ive got so i cant use another one. so here is my processor and a bad program for a simple 4plc. 1/4-20 bolt hole pattern on a 3" dia. and a good copy of the same program. thanks
    Attached Files Attached Files


  4. #4
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4519
    Downloads
    0
    Uploads
    0
    Look for these lines in the post:

    pfr # Feedrate W/O Negative Feedrates
    if fr$ > 0, fr$

    I think you might need to add like this:

    pfr # Feedrate W/O Negative Feedrates
    if fr$ > 0, fr$
    if fr$ < 0, fr$=fr$*-1

    On the redundant line output, look at:

    prapidm # Linear line movement - at rapid feedrate
    psubseqn
    if mi2$ = 0, n$, pccdia, *sgcode, *x$, *y$, *zr$, pfr, *ss$, *spdlon
    if mi2$ > 0, sn, pccdia, sgcode, x$, y$, z$, pfr, ss$, spdlon

    Try commenting out one of the lines and see what happens, like:

    prapidm # Linear line movement - at rapid feedrate
    psubseqn
    if mi2$ = 0, n$, pccdia, *sgcode, *x$, *y$, *zr$, pfr, *ss$, *spdlon
    # if mi2$ > 0, sn, pccdia, sgcode, x$, y$, z$, pfr, ss$, spdlon
    http://www.kirkcon.com/


  • #5
    Registered
    Join Date
    Mar 2012
    Location
    usa
    Posts
    11
    Downloads
    0
    Uploads
    0
    Ive made the changes you suggested and touched nothing else, but when i saved it and tried to load it into mastercam it gave me 3 errors.

    1st it said: "corrupt or invalaid file" then when i clicked ok it said "selected machine definition file is not valid" again i clicked ok and it gave me another message "selected machine definition file not found"

    is there a certain way i have to reload the post?
    Last edited by Nadroj88; 03-23-2012 at 07:20 AM. Reason: missspelling


  • #6
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4519
    Downloads
    0
    Uploads
    0
    Did you change the file extension back to .PST?
    http://www.kirkcon.com/


  • #7
    Registered
    Join Date
    Mar 2012
    Location
    usa
    Posts
    11
    Downloads
    0
    Uploads
    0
    I had not but i just did that now and it still gave me the same 3 errors


  • #8
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4519
    Downloads
    0
    Uploads
    0
    What editor are you using?
    http://www.kirkcon.com/


  • #9
    Registered
    Join Date
    Mar 2012
    Location
    usa
    Posts
    11
    Downloads
    0
    Uploads
    0
    The default one the comes with mastercam


  • #10
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4519
    Downloads
    0
    Uploads
    0
    I just used Default mill and attached your my-post-processor-code.txt‎ changed to PST and posted the following code:

    O100 G0 T1 M6
    N110 G0 X214681 Y111381 Z1000 S1069 M3
    N120
    N130 G1 Z-10000 F64
    N140 X215565 Y112265
    N150 G3 X215931 Y113149 I214681 J113149
    N160 X215931 Y113149 I113421 J113149
    N170 X215565 Y114033 I214681 J113149
    N180 G1 X214681 Y114917
    N190 G0 Z1000
    N200 M2
    http://www.kirkcon.com/


  • #11
    Registered
    Join Date
    Mar 2012
    Location
    usa
    Posts
    11
    Downloads
    0
    Uploads
    0
    What do you mean you attached the code? i didnt even know you could do that. i saved the code, after i made the changes, under a different name and tried to load it as a whole new post. please expalin how you attached it


  • #12
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4519
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Nadroj88 View Post
    What do you mean you attached the code? i didnt even know you could do that. i saved the code, after i made the changes, under a different name and tried to load it as a whole new post. please expalin how you attached it
    I attached your POST PROCESSOR (my-post-processor-code.txt‎ changed to PST) to MasterCam's Default Mill. Do you know how to access and use Machine Definition Manager?
    http://www.kirkcon.com/


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. $50/hr Post processor editing?
      By NCMike in forum General Business Practices and Pricing
      Replies: 9
      Last Post: 03-12-2012, 04:53 PM
    2. Need Help!- POST PROCESSOR EDITING
      By blmmdes in forum Hypermill
      Replies: 5
      Last Post: 05-08-2008, 01:27 PM
    3. Newbie- Post Processor Editing
      By Malish in forum BobCad-Cam
      Replies: 20
      Last Post: 05-07-2008, 01:06 PM
    4. Editing post processor in v22
      By JDsto in forum BobCad-Cam
      Replies: 1
      Last Post: 01-21-2008, 08:17 AM
    5. Post Processor editing
      By CNC_savant in forum General Metalwork Discussion
      Replies: 2
      Last Post: 04-02-2007, 08:45 PM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.