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

Thread: G66

  1. #1
    Registered
    Join Date
    Nov 2005
    Location
    usa
    Posts
    233
    Downloads
    0
    Uploads
    0

    G66

    Does the G66 need a feedrate like is commented out?
    N190 G66 P0002 (F1.5 A2.9)
    Would it be okay to just program G66 P0002?

    Thank You

    %
    O0010
    N100 G20
    N110 G0 G17 G40 G80 G90 G94 G98
    N120 G91 G28 Z0.
    N130 G0 G28 X0. Y0.
    (ROUGH AREA K)
    (ENDMILL-.250-DIA-.50-F.L.-1.00-O.L.)
    N140 T4 M6
    N150 G55 G17 G90
    N160 M69
    N170 M11
    N180 G0 B0. (CHANGE TO 90)
    N190 C56.575
    N200 M68
    N210 M10
    N220 X-.849 Y-.3607 S2292 M3
    N230 G43 H4 Z4.54 M08
    N190 G66 P0002 (F1.5 A2.9)
    N200 M98 P0003
    N210 G67
    N220 G0 G28 G49 Z0. M9
    N230 G0 G40 X-5. Y0 M5
    N240 M01
    N240 Z4.44
    N430 M5
    N440 G91 G28 Z0. M09
    N450 G28 X0. Y0.
    N460 M69
    N470 M11
    N480 B0.
    N490 C0.
    N500 M30
    %
    O0002
    N250 G1 Z3.75 F4.58
    N260 X-.824
    N270 Y.3607
    N280 X-.874
    N290 Y-.3607
    N300 X-.849
    N310 Z4.44 F200.
    N320 G0 Z4.54
    N330 X-1.449
    N340 Z4.44
    N350 G1 Z3.75 F4.58
    N360 X-1.424
    N370 Y.3607
    N380 X-1.474
    N390 Y-.3607
    N400 X-1.449
    N410 Z4.44 F200.
    N420 G0 Z4.54
    M99

    O0003
    N10 C141.83
    N20 C231.83
    N30 C321.83
    M99


  2. #2
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,502
    Downloads
    0
    Uploads
    0
    AFAIK, if they're in parentheses, it's a comment, and they're not passed to the macro, so you should be able to delete them with no ill effects.


  3. #3
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    Your O0002 does not use any variables. So, there is no need to pass data to the macro. Even if you pass data, nothing would change in this case.
    Just command G66 P0002 or simply G66 P2.


  4. #4
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    First thing what control are you using?

    Considering that your F and A are in () it does not matter because it is not reading them. Anything in the () will not be read, it is just for notes/comments. At least on Fanuc.

    If you did not have them in the () then it would set #9=1.5 and #1=2.9 however considering the fact that you are not using #9 or #1 in your program then it does not matter.

    Dave...Sinha,
    After typing the above I realized I could be a bit off on this. Is G66 used for anything else other the macro modal call? I don't have any of my books or archives to cross reference at the moment.

    Stevo


  • #5
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by stevo1 View Post
    Is G66 used for anything else other the macro modal call?
    Stevo
    Modal call is its only purpose. But there is a subtle difference from the repeated G65 calls:
    The values specified in the G66 blocks are passed on to the macro only in its first call. All subsequect calls use the updated values from the previous call. See the attachment for more information (page 142-143 of my book).
    Attached Thumbnails Attached Thumbnails G66-g66.pdf  


  • #6
    Registered
    Join Date
    May 2007
    Location
    USA
    Posts
    939
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by sinha_nsit View Post
    Modal call is its only purpose. But there is a subtle difference from the repeated G65 calls:
    The values specified in the G66 blocks are passed on to the macro only in its first call. All subsequect calls use the updated values from the previous call. See the attachment for more information (page 142-143 of my book).
    I guess we'd have to have your book in order to understand why various values are being set to #1 and #501 in the pages of text shown???


  • #7
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    Run the given programs on your machine, and check the result.
    First, fact is to be established, followed by understanding the logic behind it.


  • #8
    Registered
    Join Date
    May 2010
    Location
    Norway
    Posts
    7
    Downloads
    0
    Uploads
    0
    this the normal way too use G66 right?

    G66 P0002
    C141.83
    C231.83
    C321.83
    G67


  • #9
    Registered
    Join Date
    Feb 2009
    Location
    Engerland
    Posts
    22
    Downloads
    0
    Uploads
    0
    Hi Sinha

    (''Run the given programs on your machine, and check the result.
    First, fact is to be established, followed by understanding the logic behind it. '')


    Surley we need to know what program 15 is doing????...........


  • #10
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Jonnis View Post
    this the normal way too use G66 right?

    G66 P0002
    C141.83
    C231.83
    C321.83
    G67
    This is correct, but normally we also have an argument list in the G66 block.


  • #11
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by jay4389 View Post

    Surley we need to know what program 15 is doing????...........
    O0015;
    #1 = #1 + 2;
    #501 = #1;
    M99;


  • #12
    Registered
    Join Date
    May 2007
    Location
    USA
    Posts
    939
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by jay4389 View Post
    Hi Sinha

    (''Run the given programs on your machine, and check the result.
    First, fact is to be established, followed by understanding the logic behind it. '')


    Surley we need to know what program 15 is doing????...........
    Glad to see I wasn't the only one who thought more information had to be provided in order to understand where sinha_nsit's attachment (pages 142-143) was getting its values from.

    sinha_nsit: May have to buy your new book to see what else I can learn. Seems like you are providing a bit more useful information than Peter Smid's book.


  • Page 1 of 2 12 LastLast

    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.