585,733 active members*
4,734 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Haas Machines > Haas Mills > HAAS DS30-SSY with M97 Looping
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2014
    Posts
    52

    HAAS DS30-SSY with M97 Looping

    Good afternoon,
    I am having a couple head scratchers with my DS30-SSY while attempting to run out a Macro Program I have made. The first thing I am curious about is when I press stop at any point in time and resume into the program I lose the loop counter. Does anyone know of a way to maybe manipulate this? The real problem occurs when an operator stops the program and starts the program again from the start. This resets the counter again at the value listed at the beginning of my code. I will post this code and would love to hear what anyone may think could be a quick fix here.

    My second concern isn’t really with the DS30-SSY it more so falls on the programming software side of things however I am sure you can manipulate the Haas to run it how I am thinking. I am using an inserted drill to blast through the center of my part and coming back with that same drill to turn the ID to size. How would I go about offsetting my tool? The first OP wants to use the tool centerline and the second wants to use the corner. My thought was that I could change the actual X dimension in the code so that it is no longer cutting on X0. I am unsure if that is the best way to cheat your machine though. If anyone else has a good idea for this please let me know! Anything is greatly appreciated, thanks ahead of time!

    Here is the start to my code where I am using M97:

    O12345
    M97 P1 L45 (Call sub-program O0100 – repeat subprogram 45 times)
    M30
    G20

    (TOOL - 3 OFFSET - 3)
    (DCLNL 12 4B INSERT - CNMG 12 04 08-PM)
    N1 T0303
    "The one who follows the crowd will usually go no further than the crowd..."
    -Albert E.

  2. #2
    Join Date
    Jun 2014
    Posts
    52

    Re: HAAS DS30-SSY with M97 Looping

    I posted this in the wrong location can I have this deleted by an admin please?
    "The one who follows the crowd will usually go no further than the crowd..."
    -Albert E.

  3. #3
    Join Date
    Nov 2014
    Posts
    19

    Re: HAAS DS30-SSY with M97 Looping

    You are using M97 incorrectly. M97 is a local subroutine call, not an external program call. M97 P1 will branch to N1 in the same program. L45 will have no effect.

  4. #4
    Join Date
    Jun 2014
    Posts
    52

    Re: HAAS DS30-SSY with M97 Looping

    Quote Originally Posted by cncurmudgeon View Post
    You are using M97 incorrectly. M97 is a local subroutine call, not an external program call. M97 P1 will branch to N1 in the same program. L45 will have no effect.
    There may have been a confusion with what I posted originally; I did not include that the program has a M99 at the bottom to loop back to the top. This causes the program to skip M30 for the amount set by the L"counter". I was able to run the program just fine as is and made 45 parts per button push. However, if the operator stopped the program to change and insert or to leave for the day we had issues with trying to recall which number of parts it had produced prior to the program being stopped. By this I mean that the counter will be reset if you exit and enter back into the program, which can be problematic in the case where I mostly want this to run without an operators attention.
    "The one who follows the crowd will usually go no further than the crowd..."
    -Albert E.

Similar Threads

  1. Looping
    By MikeB242 in forum G-Code Programing
    Replies: 7
    Last Post: 03-05-2018, 04:34 PM
  2. Replies: 2
    Last Post: 12-07-2017, 06:15 PM
  3. Haas DS30 Y lathe 2014, X Axis drift
    By Hammer-On in forum Haas Lathes
    Replies: 1
    Last Post: 09-24-2016, 10:04 PM
  4. HAAS DS30-SSY DUAL SPINDLE
    By WORKALONE in forum Haas Mills
    Replies: 1
    Last Post: 10-12-2011, 07:55 PM
  5. Sub Looping
    By murphyspost in forum Daewoo/Doosan
    Replies: 8
    Last Post: 12-27-2006, 05:28 PM

Tags for this Thread

Posting Permissions

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