585,752 active members*
3,906 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Daewoo/Doosan > Programing Fanuc OT in Daewoo 10
Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2006
    Posts
    13

    Programing Fanuc OT in Daewoo 10

    Need help with getting the control to use the M98 command.It will rerun and offset OK but I can't make it stop at a given quanity.Just checked and made sure my book is for this control and it is.I used the following:M98 P 0406 (my prog.#)L2 (for # of repeats) G50 W1.85(step over). Tried with and without a M99 after this line,no difference.I do have an M30 at the end of the program.

  2. #2
    Join Date
    Mar 2003
    Posts
    2932

    Re: Programing Fanuc OT in Daewoo 10

    Why not post your sub program and the section of the main where it's called?

  3. #3
    Join Date
    Dec 2006
    Posts
    13

    Re: Programing Fanuc OT in Daewoo 10

    My program is a simple Turn,Peck Drill and partoff. Don't hava a feeder setup so I just want to rerun the part twice then advance the material manualy.My book makes reference to using the letter P to call up a different # program and the letter L to use for a local program.

  4. #4
    Join Date
    Feb 2011
    Posts
    353

    Re: Programing Fanuc OT in Daewoo 10

    Try this

    Call to subroutine with repeats in the P address

    M98 P51001 (Call O1001 five times)

  5. #5
    Join Date
    Mar 2003
    Posts
    2932

    Re: Programing Fanuc OT in Daewoo 10

    Quote Originally Posted by anr.red View Post
    My program is a simple Turn,Peck Drill and partoff. Don't hava a feeder setup so I just want to rerun the part twice then advance the material manualy.My book makes reference to using the letter P to call up a different # program and the letter L to use for a local program.
    I'm baffled. I've been programming Fanuc's since 1976, and I've never seen L used with a M98 to specify calling a "local" sub program on a 0T (or any other Fanuc that I recall). Haas, yes... Fanuc, no. L is sometimes used as a #of repeats.

  6. #6
    Join Date
    Feb 2011
    Posts
    353

    Re: Programing Fanuc OT in Daewoo 10

    I have actually been using M98Qxxxx to call a subroutine with in the program (same as haas m97) it requires a parameter change and this was a fanuc 31 I and a fanuc om controls on vmc's
    with the parameter change it will also let you call a program Oxxxx (m98Pxxxx)
    it will also let you call an Nxxxx with that program(M98PxxxxQxxxx)
    I have not tried an L to see if it repeats

  7. #7
    Join Date
    Mar 2003
    Posts
    2932

    Re: Programing Fanuc OT in Daewoo 10

    Fascinating! Have you seen this in any Fanuc manuals?

  8. #8
    Join Date
    Feb 2011
    Posts
    353

    Re: Programing Fanuc OT in Daewoo 10

    the first i heard of it was in this forum
    the original poster said the manuals doesn't describe it
    but with okuma wiz's post i looked into the parameters book (6005.0) and there is a very brief statement about it
    the idea is that you can use it to jump to a sub-program after (m30/m2) and it will return to the line after the m98 call
    this keeps my programs much more manageable instead of trying to find all the subroutines for the parts as this becomes a single program to recall when i need to run the job again


    the post was M98 P/Q?

    M98 P1000 will call a sub program in file O1000.

    With 6005.0 set to 1, M98 Q1000 will Jump to line N1000 for the sub. This works well since line N1000 can be placed after the M2 and only one file is needed but can include multiple sub programs, so only one file to upload and download.

    M198 will call a sub program on the external flash card. Handy when memory is at a minumum.

    I know this is an old post, but wanted to add a tidbit to clarify how 6005.0 works.

    Best regards,

    PS: This works on the 0i control. Not sure about the 18...don't have one to try.

Similar Threads

  1. Replies: 12
    Last Post: 12-26-2016, 10:31 PM
  2. help fanuc programing
    By togr in forum Fanuc
    Replies: 5
    Last Post: 03-09-2013, 11:11 PM
  3. Fanuc 3T programing help
    By Kevin Taylor in forum Fanuc
    Replies: 1
    Last Post: 12-03-2008, 01:10 AM
  4. Help programing fanuc 0-m
    By PRIOR666 in forum Fanuc
    Replies: 2
    Last Post: 05-28-2007, 09:22 PM
  5. Fanuc 0M G10 programing
    By Chipload in forum G-Code Programing
    Replies: 3
    Last Post: 04-11-2007, 03:17 AM

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
  •