cobra 42 with fanuc21t repeat program
Close
Login to Your Account
Likes Likes:  0
Results 1 to 6 of 6
  1. #1
    Join Date
    May 2015
    Country
    UNITED STATES
    State/Province
    New York
    Posts
    32
    Post Thanks / Like
    Likes (Given)
    3
    Likes (Received)
    2

    Default cobra 42 with fanuc21t repeat program

    Hi, I'm programming a job and would like to repeat the program but offset the workshift by a set amount each time, is there a quick way to do that? I'm still a bit new to this lathe. I'd like to get about 4-5 parts out of a bar before I need to rechuck it. I'd use the auto collet and bar puller but the stock is 3.25OD

  2. #2
    Join Date
    May 2015
    Country
    UNITED STATES
    State/Province
    New York
    Posts
    32
    Post Thanks / Like
    Likes (Given)
    3
    Likes (Received)
    2

    Default

    tried to delete this post as I found the answer going through the controller manual. if anyone searches for this topic in the future, the answer is using the G10 command, and the W word to incrementally change the workshift. i.e. G10 P0 X0 W0.5

  3. #3
    Join Date
    May 2007
    Country
    UNITED STATES
    State/Province
    Massachusetts
    Posts
    931
    Post Thanks / Like
    Likes (Given)
    14
    Likes (Received)
    112

    Default

    But I think if you use G52, that would be a better answer. Using G10 has the potential of losing your starting point, especially if your cycle is interrupted.

  4. #4
    Join Date
    May 2015
    Country
    UNITED STATES
    State/Province
    New York
    Posts
    32
    Post Thanks / Like
    Likes (Given)
    3
    Likes (Received)
    2

    Default

    Quote Originally Posted by beege View Post
    But I think if you use G52, that would be a better answer. Using G10 has the potential of losing your starting point, especially if your cycle is interrupted.
    thanks, I didn't see that in the manual for the lathe, I'll look into it and if the 21t supports it

  5. #5
    Join Date
    May 2015
    Country
    UNITED STATES
    State/Province
    New York
    Posts
    32
    Post Thanks / Like
    Likes (Given)
    3
    Likes (Received)
    2

    Default

    quick follow-up, will the repeat option just continue to repeat the program that's running or can I program it to repeat x number of times? or will I need to write a program that calls my whole program as a sub?

  6. #6
    Join Date
    Apr 2021
    Country
    UNITED STATES
    State/Province
    New York
    Posts
    1
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    0

    Default

    If I understand your set up correctly, you hang say 6 inches out of the chuck, cut a one inch part off the bar, repeat until the bar is gone, then pull the bar back out?
    You can do it a number of ways. You can make your own bar pulling tool and set it in one of your turret locations. You could program in incremental, move to x,z start. Repeat program. If you wanted to save space you could make it a sub program. You could also write a macro to loop x amount of times, use "IF THEN" statements to avoid running into the chuck for safety. Lots of ways you could do it.


Tags for this Thread

Bookmarks

Posting Permissions

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