586,347 active members*
3,498 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Mastercam > Post Processors for MC > code needs some modification
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2013
    Posts
    9

    code needs some modification

    G21 G40 G98;
    G28 U0 W0;
    M06 T09;
    M03 S1000;
    G0 X32. Z1. M8
    G71 U0.5 R1;
    G71 P1 Q2 U0.1 W0.1 F50.;
    N1 G00 X0 Z1.;
    G01 X0 Z0;
    G01 X0.5 Z-17.276;
    G00 X1. Z-17.276;
    G01 X1. Z-17.776;
    G00 X0.5 Z-17.776;
    G01 X0.5 Z-18.588;
    G00 X2. Z-18.588;
    G01 X2. Z-19.088;
    G00 X0.5 Z-19.088;
    G01 X0.5 Z-19.9;
    G00 X4. Z-19.9;
    G01 X4. Z-21.524;
    G00 X12. Z-21.524;
    G01 X12. Z-23.148;
    G00 X16. Z-23.148;
    G01 X14. Z-24.148;
    G00 X15. Z-24.148;
    G01 X13. Z-25.148;
    G00 X14. Z-25.148;
    G01 X12. Z-26.148;
    G00 X13. Z-26.148;
    G01 X11. Z-27.148;
    G00 X12. Z-27.148;
    G01 X8. Z-28.208;
    G01 X8. Z-34.298;
    G01 X8.5 Z-42.418;
    G01 X9. Z-50.538;
    G01 X9.5 Z-54.598;
    N2 G01 X32.;
    G0 Z1.
    G70 P1 Q2 S1500 F30.;
    G28 U0 W0;
    M05;
    M30;


    The simulation just executes the first 5 lines and those make the cutting tool touch the work piece and then retreats back the rest of the code is skipped and I get a message saying the program ended ..the software I use is called CNCTRAIN
    Attached Thumbnails Attached Thumbnails 1176303_287108628097876_2043107723_n.jpg   KL Tower.png  

  2. #2
    Join Date
    May 2003
    Posts
    323
    You still have. G0 in your code between N1 and N2
    Replace it with G1

  3. #3
    Join Date
    May 2003
    Posts
    323
    Also you may have to number all lines with
    N1
    N2
    N3
    N4

  4. #4
    Join Date
    Aug 2013
    Posts
    9
    thanks bro will try that.

Similar Threads

  1. modification on newfangled add-on
    By bulunmaz in forum Mach Wizards, Macros, & Addons
    Replies: 0
    Last Post: 11-09-2012, 05:29 PM
  2. g-code format modification app
    By Peter H in forum G-Code Programing
    Replies: 13
    Last Post: 03-02-2012, 01:11 AM
  3. need help with modification
    By ironofeden in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 0
    Last Post: 12-23-2011, 06:21 PM
  4. Y Axis modification
    By Mike F in forum Syil Products
    Replies: 6
    Last Post: 11-12-2007, 11:23 PM
  5. New MCG's need modification
    By Swede in forum Servo Motors / Drives
    Replies: 3
    Last Post: 01-12-2005, 03:46 PM

Posting Permissions

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