586,773 active members*
9,169 visitors online*
Register for free
Login
IndustryArena Forum > Community Club House > programming problem
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2013
    Posts
    2

    programming problem

    Hello I just purchased a colchester harrison tornado cnc lathe with a fanuc 21i-tb I can not figure out how to write a program to run 10 parts and stop can some one help

  2. #2
    Join Date
    Jun 2005
    Posts
    232
    Quote Originally Posted by area View Post
    Hello I just purchased a colchester harrison tornado cnc lathe with a fanuc 21i-tb I can not figure out how to write a program to run 10 parts and stop can some one help
    Oo123(main program) EXAMPLE
    T0101
    S2000M3
    GOX2
    M99
    Put M99 at end of the main program instead of M30

    Write separate up program this is called the sub program

    O0345(sub program)
    M98P0100123
    M30


    P0010 First four numbers times to repeat
    P00100123 last four numbers the program number to use.

    Remember use four places.

    Start sub program and it will go into main program it will repeate 10 times an stop.

    Tim
    Tim

  3. #3
    Join Date
    Sep 2013
    Posts
    2
    thank you for the answer it worked great!

Similar Threads

  1. fagor programming problem
    By PBSF in forum Fagor Automation
    Replies: 10
    Last Post: 05-29-2012, 02:01 AM
  2. Fanuc Programming Problem
    By URguys in forum Fanuc
    Replies: 9
    Last Post: 03-06-2012, 01:27 AM
  3. problem with ug nx 4 programming
    By kumar_manikonda in forum Uncategorised CAM Discussion
    Replies: 3
    Last Post: 01-14-2010, 03:19 PM
  4. programming problem
    By NaRbO in forum Fadal
    Replies: 2
    Last Post: 05-04-2008, 08:06 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
  •