588,061 active members*
4,990 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2007
    Posts
    795

    0TB multiple subprogram call

    How to call subprogram several times on Fanuc 0TB?

  2. #2
    Join Date
    Mar 2003
    Posts
    2932
    M98 P00123456 calls sub O3456 12 times.

    M98 P00041111 calls sub O1111 4 times.

  3. #3
    Join Date
    Aug 2007
    Posts
    795
    thanks
    wiil try

  4. #4
    Join Date
    Feb 2006
    Posts
    1792
    I have not tried but read somewhere that P-word can have only seven digits, allowing a maximum of 999 repetitions???

  5. #5
    Join Date
    Jun 2010
    Posts
    161
    The 0-TB Operators Manual specified a 7 digit P-word and states that a call command can specify up to 999 repetitions of a subprogram.

    The 0-TC Operators Manual specifies an 8 digit P-word and states that a call command can specify up to 9999 repetitions of a subprogram.

  6. #6
    Join Date
    Mar 2003
    Posts
    2932
    Quote Originally Posted by cnc2149 View Post
    The 0-TB Operators Manual specified a 7 digit P-word and states that a call command can specify up to 999 repetitions of a subprogram.

    The 0-TC Operators Manual specifies an 8 digit P-word and states that a call command can specify up to 9999 repetitions of a subprogram.
    Sorry. I only have access to a 0T-C manual. I guessed the B was the same, but I guessed wrong.

  7. #7
    Join Date
    Jun 2010
    Posts
    161
    Your original reply was fine in that it presented the correct solution methodology. These forums are useful in not only solving the particular problem reported by the original poster, but also inform and educate others with various FANUC CNC models.

    Since FANUC's controls do vary somewhat in capabilities, if he encountered an error when running an 8 digit P-word on the 0-TB, he could go to that appropriate CNC manual and figure out the error.

    btw: I had no idea of this slight operational difference in the 0-TB vs 0-TC until after I checked on the question in sinha_nsit's post.

  8. #8
    Join Date
    Feb 2006
    Posts
    1792
    The best thing is to check on the machine. Manuals sometimes give contradictory information. For example, on page 129 of 0i-TC Operator's Manual, maximun repetition count is stated as 9999, but in the given syntax, only three spaces are shown for repetition count (followed by four spaces for subprogram number).
    And, IIRC, OiMate-TC ignores the eighth digit from right. But 9999 repetitions are still possible with L9999.

Similar Threads

  1. Rhinocam and multiple spindles and or multiple tables?
    By brett gallmeyer in forum Rhinocam
    Replies: 0
    Last Post: 02-23-2011, 08:30 PM
  2. Can I call a subprogram from within a canned cycle?
    By TXFred in forum G-Code Programing
    Replies: 5
    Last Post: 12-09-2010, 11:59 PM
  3. subprogram
    By krow in forum OKK
    Replies: 0
    Last Post: 09-30-2009, 11:18 PM
  4. Replies: 7
    Last Post: 06-14-2009, 02:56 PM
  5. eia subprogram
    By rs1982 in forum Mazak, Mitsubishi, Mazatrol
    Replies: 4
    Last Post: 04-11-2008, 02:10 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
  •