584,871 active members*
5,191 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Fanuc > fanuc oi-tc on a hyundai-kia skt21
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2007
    Posts
    32

    fanuc oi-tc on a hyundai-kia skt21

    does anyone know the code for looping the program to run until part count is up on a fadal it is L100 at the start and L101 at the end

  2. #2
    Join Date
    Nov 2006
    Posts
    174

    DO WHILE

    O001
    #3901=0 (sets part count to zero)
    WHILE[#3901LE100]DO1 (100 represents number of parts wanted)

    your prog here...
    ...blah..blah..
    ...
    #3901=#3901+1 (1 represents number of parts just made)
    END1 (ends the loop and returns to top)
    M30

  3. #3
    Join Date
    Dec 2007
    Posts
    32
    thanks for the reply i will try it and see
    you never know what you can do, until you have to undo something you have done!

  4. #4
    Join Date
    Dec 2007
    Posts
    32
    that worked great all i had to use was DO1 at the start and END1 after my M12
    thank you very much for the info
    you never know what you can do, until you have to undo something you have done!

Similar Threads

  1. hyundai hit 8
    By drill in forum MetalWork Discussion
    Replies: 5
    Last Post: 09-10-2012, 01:17 AM
  2. Opinion concerning Hyundai VMC
    By rdanielbasso in forum Uncategorised MetalWorking Machines
    Replies: 1
    Last Post: 12-15-2009, 06:52 AM
  3. Hyundai Hit 8s Problem
    By dillweed in forum DNC Problems and Solutions
    Replies: 2
    Last Post: 11-02-2008, 02:22 PM
  4. Hyundai 30M Problems
    By atmosports in forum DNC Problems and Solutions
    Replies: 0
    Last Post: 09-28-2006, 07:05 AM
  5. Thread blunting on cnc hyundai w/ seimans control
    By nowwhat in forum Community Club House
    Replies: 3
    Last Post: 07-02-2006, 12:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •