585,937 active members*
3,907 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > How to Repeat in G81-cycle with G91
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2006
    Posts
    1

    Question How to Repeat in G81-cycle with G91

    Wonder how to do a repeat in G81?

    Ex:
    G81Z-20.R2.F500M51
    G91Y-5. ?5
    G80

    ?5= repeat 5 times, but what letter is-?
    I dont know if its possible, but i think so.

  2. #2
    Join Date
    Dec 2008
    Posts
    3109
    Quote Originally Posted by brinchen View Post
    Wonder how to do a repeat in G81?

    Ex:
    G81Z-20.R2.F500M51
    G91Y-5. ?5
    G80

    ?5= repeat 5 times, but what letter is-?
    I dont know if its possible, but i think so.

    Yes,
    G81 Z-20. R2. F500 M51
    G91Y-5.
    G91Y-5.
    G91Y-5.
    G91Y-5.
    G91Y-5.

    or make a sub-routine ( G71 set an initial plane, M53=return to G71, M54=return to R plane)
    Your sub must not have any interpolating g-codes ( G0,G1,G2, or G3)

    G0 X0. Y0.
    S1000 M3
    G43 H1 Z50.
    G71 Z10.
    M51 ( or M8 )
    G81 X0. Y0. Z-20. R2. F500 M53
    CALL OHOLE Q5 ( Q=# of repeats )
    G80 ( or G00 )( G80 forces spindle stop as well as cycle cancel )
    M9
    M5
    ...
    M30
    ()
    OHOLE ( PITCH )
    G91 Y5. ( move incremental Y 5mm )
    G90 ( back to absolute - just to keep it safe )
    RTS
    %

Similar Threads

  1. Repeat
    By cshim in forum G-Code Programing
    Replies: 4
    Last Post: 08-07-2008, 01:49 PM
  2. pattern repeat
    By ac123 in forum G-Code Programing
    Replies: 6
    Last Post: 06-22-2008, 06:23 AM
  3. How Do I Repeat?
    By TZ250 in forum Dolphin CAD/CAM
    Replies: 2
    Last Post: 03-04-2008, 12:11 PM
  4. program repeat
    By heartlnd in forum Haas Mills
    Replies: 3
    Last Post: 08-19-2006, 08:13 AM

Posting Permissions

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