586,171 active members*
3,239 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Haas Machines > Haas Mills > TM1-G47 subroutine locked up mill
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2009
    Posts
    15

    TM1-G47 subroutine locked up mill

    Hello, Running G47 engraving and went to background edit (f4)while subroutine was ahctive. Now getting alarm that m99 is needed to shut down sub program. I'm lost friends and need some help. Tried shutting it down and restarting. Nothing changed.

  2. #2
    Join Date
    Dec 2008
    Posts
    3110

    Re: TM1-G47 subroutine locked up mill

    A main running program requires M02/M30 at the end to rewind program
    - each sub-routine or sub-program requires a M99 to return,
    going back to the line after the subcall in the main program as to continue on machining.

  3. #3
    Join Date
    Feb 2009
    Posts
    15

    Re: TM1-G47 subroutine locked up mill

    Superman, Where would I put a m99? I've never been inside a sub program . Does the M99 go in the main program?

  4. #4
    Join Date
    Jul 2005
    Posts
    12177

    Re: TM1-G47 subroutine locked up mill

    The M99 goes at the end of the subprogram.

    I think the following is correct; I am working from memory here not having opened the engraving subprogram for many years.

    However, getting into the the subprogram that is referenced by G47 is not straightforward. G47 is an alias for a subprogram number beginning with the number 9; i.e. O9nnnn. If you look in List Program you will not see any programs starting with 9 because Setting 23, 9xxxx PROGS EDIT LOCK is ON. You have to turn this Setting OFF and then you can see and select the programs starting with 9. Now you can have a look at the actual code for the engraving subprogram. To see if there are any M99 commands in the program select EDIT, type M99 and press the down cursor. If the M99 is there this will jump the display down to it, or it will display NOT FOUND if there is no M99. If it is not found you can press END to go to the end of the program and you could type M99 and enter it as the last line. Now bring the program you were using in Graphics and see if it runs okay. You may find the engraving subprogram still does not run correctly. What I think it is very likely to have happened is that whatever glitch occured when you went into background edit erased many lines of code from the G47 subprogram. But you may be lucky and it may work.

    If things do not work you might find a copy of the G47 subprogram to reload on the usb drive that comes with the machine when it is purchased. When you are done remember to change Setting 23 back to ON.
    An open mind is a virtue...so long as all the common sense has not leaked out.

Similar Threads

  1. Lathe Code for Mill With Subroutine
    By wileydavis in forum G-Code Programing
    Replies: 4
    Last Post: 01-09-2012, 04:49 AM
  2. G&L horizontal mill locked out
    By charliemisa in forum Uncategorised MetalWorking Machines
    Replies: 1
    Last Post: 07-08-2011, 05:48 AM
  3. Found in archives - A2100 thread mill subroutine
    By Ron P in forum Cincinnati CNC
    Replies: 2
    Last Post: 05-17-2011, 02:38 PM
  4. subroutine
    By kendo in forum Okuma
    Replies: 3
    Last Post: 01-14-2010, 01:50 PM
  5. Example of a Subroutine?
    By donl517 in forum Fadal
    Replies: 14
    Last Post: 06-27-2007, 04:05 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
  •