584,826 active members*
5,091 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Hello guys
    I’d like to work with SL20 and a rod gripper.
    What is the last line that starts the program over and repeats it e.g. 30 times?
    Does anyone know it?
    M97 or M98?
    Thanks in advance
    Arbeite nur,die Freude kommt von selbst!

  2. #2
    Join Date
    Nov 2006
    Posts
    279
    If you write M99 instead of M30 at the end of your program, that it’ll run until you’ll stop it.

    If you want it to be repeated 30 times, you may declare it with parameters.
    The second method is with M97. You have to put your program into a subprogram and then write:

    M97P1L30 (call subprogram1, repeat 30 times)

    Greetings

  3. #3
    Thanks a lot for the information!
    What parameters have to be set for 30 times?
    And what is the end line?
    Thanks
    Arbeite nur,die Freude kommt von selbst!

  4. #4
    Join Date
    Aug 2005
    Posts
    86
    Hello

    This is an example.
    The program has been working for years.
    Program with a multi-purpose tool.

    Greetings

    %
    O00008 (RADIUS-STOESSEL SK0251 ABSTECHEN)
    (STANGENMATERIAL 1520MM ABLAENGEN)
    (ANSCHLAG 25MM VOR BACKEN)
    M36
    M97 P10 L10 (ZYKLUS FUER 10 TEILE)
    M37
    M30
    N10 T101 (RADIUS ANDREHEN)
    G50 S1500
    G54 G90
    G96 S200 M03
    G00 X24. Z0.
    M08
    G00 Z-4.5
    G01 G41 X22.5 Z-3.464 F0.12
    G02 X-1.5 Z0. R20.
    G01 Z1.
    G40
    M09
    G00 G53 X-200. Z-450.
    M05
    T11 (STANGENGREIFER & ABSTECHEN)
    G54 G90
    M19 P185 (SPINDELSTOP M.ORIENTIERUNG)
    G00 X0. Z1.
    G98
    G01 X-60. F1000. (GREIFEN)
    M11 (FUTTER OEFFNEN)
    G01 Z140.4 F5000. (RAUSZIEHEN FUER 136MM)
    M10 (FUTTER SPANNEN)
    G01 X26.
    G99
    G00 Z0.5
    G96 S35 M03

    M08
    G01 X5. F0.06
    X-1.5 F0.03
    G00 X24.
    M09

    M05
    G00 G53 X-200. Z-450.
    M99
    %

Posting Permissions

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