587,790 active members*
3,453 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2007
    Posts
    4

    Unhappy need help: cant find out how to repeat a program

    hey peeps,

    i have being searching around and reading, but i cant seem to find out how to make mach repeat a program.
    ive read a few things about m99 etc but i cant make any sense of it .
    can anyone give me a link for a step by step guide or can someone explain me how to do it.
    what im trying to do is making mach repeat a program automatic for diffirent depht's.
    so for example -1, next program -2 etc.

    thanks in advance.
    :cheers:

  2. #2
    Join Date
    Sep 2007
    Posts
    4
    no1 has a idea?

  3. #3
    Join Date
    Sep 2007
    Posts
    4
    wups double post

  4. #4
    Join Date
    Mar 2005
    Posts
    78
    Subroutines are programs that start with an Onnnn and end with a M99. The main program will start with an Onnnn and end with a M30.
    The MAIN and SUB program will be in the same file.
    To call the SUB use M98 P(Program number) and L(number of times to repeat)
    Example
    %
    O15
    G0 G54 X0 Y0 M3 S5000
    G43 H1 Z1.0
    G1 Z-.10 F30.0
    M98 P12 L3
    G0 Z1.0 M5
    M30
    O12
    G1 X1 Y0 F60.0
    Y-1.0
    X0
    Y0
    M99
    %
    Although I dont have Mach3 running on a machine, I have a licenced 2.0 version and it looks good in graphics. Additionally adheres well to the
    FANUC 6M standard Im familliar with.

    Regards, Stephen

  5. #5
    Join Date
    Mar 2003
    Posts
    35538
    Try the Multi-Pass wizard.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Similar Threads

  1. program repeat
    By villiersterrace in forum G-Code Programing
    Replies: 6
    Last Post: 07-28-2010, 01:55 AM
  2. Okuma OSP500L program repeat?
    By mp- in forum Okuma
    Replies: 11
    Last Post: 11-13-2007, 02:17 PM
  3. Repeat command on TL-1?
    By Haeusser in forum Haas Lathes
    Replies: 4
    Last Post: 07-31-2007, 11:31 PM
  4. program repeat
    By heartlnd in forum Haas Mills
    Replies: 3
    Last Post: 08-19-2006, 08:13 AM
  5. How to repeat a EZ-Trac Program
    By Stoney372 in forum Bridgeport / Hardinge Mills
    Replies: 4
    Last Post: 02-16-2006, 08:24 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
  •