Jump to content


- - - - -

Fanuc 21i loop program?


  • Please log in to reply
2 replies to this topic

#1 SLJ

SLJ

    Advanced Member

  • Members
  • PipPipPip
  • 1,224 posts

Posted 02 March 2005 - 06:22 AM

I'm trying to figure a way to loop the program on a pallet machine with the 21I control. Since the ready switch has to be turned on before the table will switch, we should be able to get away with having the program just restart instead of using a "M30" END PROGRAM and then hitting "cycle start" again. I did this years ago on an old 6M control, but can't remember how. Anyone do this?

#2 J Coulston

J Coulston

    Advanced Member

  • Members
  • PipPipPip
  • 1,159 posts

Posted 02 March 2005 - 06:36 AM

M99 instead of M30 works on 16i.  Program will stop until the pallet ready buttonis pushed.

I usually program with a block skip.  Run with block skip on. On the last part turn it off and it will end the program.


/M30
M99

#3 SLJ

SLJ

    Advanced Member

  • Members
  • PipPipPip
  • 1,224 posts

Posted 02 March 2005 - 06:48 AM

Thanks John, I just did the same thing, only a bit different. Block deleted the M30, added a M99P3 for the next line. Gets it to start after the tool change at the front of the program, already had that tool in the spindle.