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

Thread: Post a sample of the program.

  1. #1
    Registered Mitsui Seiki's Avatar
    Join Date
    Feb 2007
    Location
    USA
    Posts
    464
    Downloads
    0
    Uploads
    0

    Lightbulb Post a sample of the program.

    I have seen many posts where people are having problems with programs.
    The machine does this and that when it shouldn't.
    Why not make it a habit to post a sample of the program.
    It makes it so much easier to see what's wrong and help.
    Stefan Vendin


  2. #2
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,961
    Downloads
    0
    Uploads
    0
    I second this suggestion and add; copy and paste the actual program don't just retype a segment. Typos can occur during retyping which just confuses the issue.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  3. #3
    Registered
    Join Date
    Mar 2006
    Location
    U.K.
    Posts
    61
    Downloads
    0
    Uploads
    0
    It also makes sense to specify the machine the control and also put a few punctuation marks in sentences. Some of the posts are a joke we ought to start a new forum with all the worst examples posted. You know the kind " Need help how to mill a circle ? " .

    Stu


  4. #4
    Registered
    Join Date
    May 2007
    Location
    US
    Posts
    779
    Downloads
    0
    Uploads
    0
    Use of the code tags helps a lot, sets off the program and preserves the formatting.
    Just push this button and put your text between the start and end tags which are inside the two sets of square brackets.

    Code:
    N1M1(3/8 END MILL)
    T#101M6
    M1
    G0G90G#103X0.000Y0.000
    S3565M3
    G43Z1.000H#101M8
    (FEED RATE)
    #9=21.39
    ()
    G65P1001Z-0.750R0.100D#101A#100F#9
    G65P1002Z-0.625R0.100D#101A#100F#9
    G0Z1.000M9
    G91G28Z0M5


  • #5
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,961
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Andre' B View Post
    Use of the code tags helps a lot, sets off the program and preserves the formatting.
    Thank you; that is one of today's 'new things learnt'.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  • #6
    Registered Mitsui Seiki's Avatar
    Join Date
    Feb 2007
    Location
    USA
    Posts
    464
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Stu_M3 View Post
    You know the kind " Need help how to mill a circle ? " .

    Stu
    Well,maybe one or two come here to learn.
    Stefan Vendin


  • #7
    Registered
    Join Date
    Mar 2005
    Location
    Silicon Valley, CA
    Posts
    988
    Downloads
    0
    Uploads
    0
    Unfortunately, most of "them" won't actually read this thread to take the advice.....
    It's just a part..... cutter still goes round and round....


  • #8
    Registered
    Join Date
    Mar 2005
    Location
    Silicon Valley, CA
    Posts
    988
    Downloads
    0
    Uploads
    0
    .... Not very optimistic. Guess my glass was half empty today...



    It's just a part..... cutter still goes round and round....


  • #9
    Registered Mitsui Seiki's Avatar
    Join Date
    Feb 2007
    Location
    USA
    Posts
    464
    Downloads
    0
    Uploads
    0
    You're probably right.Most people won't read this thread.
    Maybe a sticky would be a good idea?!

    My glass is full so fill up. Cheers!
    Stefan Vendin


  • #10
    Registered
    Join Date
    May 2007
    Location
    USA
    Posts
    939
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Andre' B View Post
    Use of the code tags helps a lot, sets off the program and preserves the formatting.
    Just push this button and put your text between the start and end tags which are inside the two sets of square brackets.

    Code:
    N1M1(3/8 END MILL)
    T#101M6
    M1
    G0G90G#103X0.000Y0.000
    S3565M3
    G43Z1.000H#101M8
    (FEED RATE)
    #9=21.39
    ()
    G65P1001Z-0.750R0.100D#101A#100F#9
    G65P1002Z-0.625R0.100D#101A#100F#9
    G0Z1.000M9
    G91G28Z0M5

    Andre' B, I am pretty much a computer illiterate in many ways. What are "code tags"? Are you saying to do this?

    #
    part program
    #

    And this will show the program in the thread exactly as it was written for the machine?

    I also like to learn new things.

    Thanks.


  • #11
    Registered
    Join Date
    Jan 2008
    Location
    USA
    Posts
    85
    Downloads
    0
    Uploads
    0
    Here is a little tool that will help in trouble shooting G and M code, only draw back it does not recognize macros.
    Discriminator CNC Editor It is $10 and works well and is a good tool for teaching G and M code along with manual editing and trouble shooting.
    You are able to step through each line of code and visually see the output.
    My Response to "It's Close Enough", "Is Your Tool Box and The Door Close Enough?"


  • #12
    Registered
    Join Date
    May 2007
    Location
    US
    Posts
    779
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by g-codeguy View Post
    Andre' B, I am pretty much a computer illiterate in many ways. What are "code tags"? Are you saying to do this?

    Code:
    Put your code between the tags.

    Edit:
    Regular text in a reply the "extra" blank spaces get removed.
    * I put 9 spaces before the * char.


    Code:
             * I put 9 spaces before the * char.
    Inside the code tags the spaces are not removed.
    Also a mono spaced font is used inside the tags so stuff lines up vertically.
    Attached Thumbnails Attached Thumbnails Post a sample of the program.-code_tags.jpg  


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Sample 4th axis Program please....
      By bullseye in forum Mach Mill
      Replies: 7
      Last Post: 06-02-2010, 05:42 PM
    2. Need IEI-ISO sample program for Mazatrol 640 T
      By turkaygeyik in forum Mazak, Mitsubishi, Mazatrol
      Replies: 0
      Last Post: 05-29-2007, 10:03 AM
    3. Sample Nisshinbo g-code program
      By ehab in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 1
      Last Post: 09-16-2006, 06:20 PM
    4. Replies: 0
      Last Post: 02-03-2006, 06:58 AM
    5. I need sample G code program
      By bunalmis in forum G-Code Programing
      Replies: 1
      Last Post: 08-24-2004, 04:50 AM

    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.