ATC cycle in endless loop
Close
Login to Your Account
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2015
    Country
    UNITED STATES
    State/Province
    Nebraska
    Posts
    29
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    1

    Default ATC cycle in endless loop

    I have a old daewoo vmc with a chain style side mounted 24 tool changer and Fanuc OM control. The atc has not worked since I bought the machine but finally had some time to try and troubleshoot. I found some bad solenoids and a bad output card relay. I now got the machine to try a tool change which it does complete but once it finishes the cycle the machine then proceeds to remove the tool it just put in and put it back into the original pocket then back to the spindle and round and round it goes until i press reset. Since it was not working originally I’m not sure if the machine has a memory of the tools and positions that needs to be cleared? I am calling m19 m6 t#. Any ideas why or where to start I have no Fanuc alarms but there is an ATC light that is on sometimes and off sometimes I can’t figure out the rhyme or reason for the light.
    Last edited by tquinn; 01-13-2019 at 08:45 PM. Reason: Correction

  2. #2
    Join Date
    Feb 2008
    Location
    MI, USA
    Posts
    656
    Post Thanks / Like
    Likes (Given)
    46
    Likes (Received)
    230

    Default

    I don't have experience with your machine specifically, so you'll have to do some digging to figure out which diagnostic parameters to look at, but this should get you looking in the right direction.

    Most likely, the machine is simply confused as to what tool is in the spindle, in the side arm, in the pocket, or some combination of it all.

    In my experience with several of our 0m controlled machines, there are diagnostic parameters which store information about what tool the machine has. For more complicated machines that have swing arms, random tool pockets, and sub-pockets for pre-staging tools, the machine has to keep track of which tool it has, and where.


    On one of our machines specifically, if you turn the machine off while it is doing stuff with the tool changer, it will go stupid, not have a clue where it is or what tools it has in the spindle or sub arm, and I have had it do similar to what you are experiencing.


    What you need to do is look in manuals (if you have any) for tool change information. The information would be stored in a "D" diagnostic parameter on the diagnostics page. It may be in the 400+ range of diagnostic parameters, although it could be lower or higher - it is up to the machine tool builder.

    In my mind, if we assume you try to change to tool 1 and this happens, it might think it has T1 in the spindle AND the sub arm AT THE SAME TIME, which confuses it, so it tries to correct the situation. In a case like this, you'd set the spindle tool diagnostic to 1, sub arm/pocket to 2 (or 0 maybe, depends on how it is set). While you are here, you'd also want to make sure that the tool change pot that is facing the tool changer matches the diagnostic bit.

    If the tool changer is a "random pocket" type where any tool number could be in any pocket, you might find a whole list of diagnostic D parameters that contain information about which tool is in which pocket, and if that was the case, you'd have to sort it out in a similar manner.



    I hope that helps.

  3. #3
    Join Date
    Jan 2014
    Country
    UNITED STATES
    State/Province
    Oregon
    Posts
    131
    Post Thanks / Like
    Likes (Given)
    17
    Likes (Received)
    77

    Default

    It's been a bit since I've played with Fanuc. Is it possible that the M6 macro is stuck in a loop?

  4. #4
    Join Date
    Sep 2010
    Location
    Victoria Australia
    Posts
    3,330
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    1316

    Default

    Hello tquinn,
    First determine if your machine uses a Tool Change Macro. Take a look at parameters 0230 to 0239 inclusive for the registration of the number 6 therein. These parameter numbers correspond to program numbers O9020 to O9029 respectively. If you find the number 6 registered, proceed as follows:

    1. Set parameter bit 10.4 to Zero to be able to view the O9000 Series Programs.
    2. Find the program corresponding to the parameter were 6 has been registered.
    3. Post a listing of the program here for the Forum members to view by either:
    a. uploading it to a computer, if connected, then Copy and Paste it to your Post to PM
    or
    b. copy manually and include it in your Post to PM.

    If a Tool Change Macro exists, its unlikely that you will have to execute M19 as well as M6.

    How are you trying to execute the Tool Change? Via MDI, or as a Command Block in a Program. If via MDI and if M6 is calling a Tool Change Macro, that may be your issue right there. It depends on how the MTB handles M99 at the end of a Sub, or Macro program when called via MDI. Generally M99 at the end of a Macro Program will return control to the program from whence it was called. When executing the Macro via MDI, you're calling the program directly; there is no Calling Program to return to. In this situation, M99 will return control to the Head of the current program (in this case, your Tool Change Macro) and therefore, repeat the Macro Program infinitum.

    Regards,

    Bill


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
  •  
2