584,812 active members*
5,404 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Fanuc > Leadwell Fanuc 0-MF lost atc macro
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2009
    Posts
    33

    Leadwell Fanuc 0-MF lost atc macro

    Its Leadwell MCV-600XL with Fanuc O-MF , customized by Fong Lee Singapore . So no help from Leadwell directly.

    I have backup of parameters but no diagnostic parameters or macro programs, but diagnostic params were in the book so I entered them from there.
    So parameter 230 = 6 was from backup , it means M6 calls O9020 , but in the book of parameters there are no parameters between 219 and 250 also there is no mention of parameter 40, in my backup it was 00010001

    Also 9894 00000001 , 9895 00000001 in backup but in original book only 9895 is 1

    ATC is carousel umbrella type

    So my question is how should this macro look, I have tried couple of examples found using T#4120 or T#20 with or without M6 . Using none of these in 9020 what I have got is that in some cases only carousel spins indefinitely in place, or in other case carousel aproaches the spindle, tool is released , carousel lowered and then it starts to spin indefinitely .

    Maybe it does not need a complicated macro because it seems all is done i ladder , I have complete ladder diagrams.

    This is my Macro page with variables dont know if this is Macro A or B

    Attachment 387166

    Attachment 387168

  2. #2
    Join Date
    Sep 2010
    Posts
    1230

    Re: Leadwell Fanuc 0-MF lost atc macro

    Quote Originally Posted by danilom View Post
    Its Leadwell MCV-600XL with Fanuc O-MF , customized by Fong Lee Singapore . So no help from Leadwell directly.

    I have backup of parameters but no diagnostic parameters or macro programs, but diagnostic params were in the book so I entered them from there.
    So parameter 230 = 6 was from backup , it means M6 calls O9020 , but in the book of parameters there are no parameters between 219 and 250 also there is no mention of parameter 40, in my backup it was 00010001
    Hello danilom,
    As far as a Tool Change Macro is concerned, parameter bit 0040.5 is important. When set to "1", program O9000 is called by a "T" Code.



    Quote Originally Posted by danilom View Post
    So my question is how should this macro look, I have tried couple of examples found using T#4120 or T#20 with or without M6 . Using none of these in 9020 what I have got is that in some cases only carousel spins indefinitely in place, or in other case carousel aproaches the spindle, tool is released , carousel lowered and then it starts to spin indefinitely .

    Maybe it does not need a complicated macro because it seems all is done i ladder , I have complete ladder diagrams.

    This is my Macro page with variables dont know if this is Macro A or B

    Attachment 387166

    Attachment 387168
    If your Macro Variables start at #100, that is, you can't find a page displaying Macro Variables 1 to 33, then you control is equipped with Macro A only.

    Macro Programs for Tool Change can be as simple as just positioning the axes in a safe position for the Tool Change, or more complex, interacting with PMC to complete the Tool Change. Its up to the MTB as to whether the PMC carries out the whole Tool Change, or in combination with a Tool Change Macro program. It is impossible to say whether a Tool Change Macro is required or not, without documentation outlining the Tool Change process, or careful examination of the PLC program. If you don't have further documentation for the machine, I suggest that you contact the MTB.

    Regards,

    Bill

  3. #3
    Join Date
    Jun 2009
    Posts
    33

    Re: Leadwell Fanuc 0-MF lost atc macro

    Thanks Bill

    I have a complete ladder diagram , tool change is in this order

    M19 - orient spindle
    M21 - Magazine right
    M26 - Tool unclamp
    M24 - Magazine down
    rotate to right tool
    M23 - magazine up
    M25 - Tool clamp
    M22 - Magazine left

    M11 & M12 are to rotate Magazine one position CW or CCW

    These functions are listed in manual for ATC troubleshooting

    Here are the pictures of PLC ladder

    Attachment 387250

    Attachment 387252

    Attachment 387254

    Attachment 387256

    Attachment 387258

    Attachment 387260

    Attachment 387262

  4. #4
    Join Date
    Jun 2009
    Posts
    33

    Re: Leadwell Fanuc 0-MF lost atc macro

    Some progress today.

    I enabled Macro B trough 900 parameters , and wrote this simple macro for O9020 from looking at lots of examples around here

    O9020;
    G40 G80 G98 G17 G91;
    G28 Z0;
    T#4120 M6;
    M99
    %

    Now toolchange in MDI works but in Auto something strange is happening , after the program finishes there is no alarm and I cant jog any of the axis or issue any movement command even on MDI. Next Cycle starts but halts on any movement like G1.
    After power cycling the control all is back and I can run the program once more. It seems that it has no connection with tool change because it will happily do couple of tool changes throughout the program and not hang.

  5. #5
    Join Date
    Jun 2009
    Posts
    33

    Re: Leadwell Fanuc 0-MF lost atc macro

    Forgot to inform anyone reading this that the problem was low oil, no alarm on that one but it would only run the program once.

Similar Threads

  1. Fanuc OM, lost tool change macro
    By laka in forum Fanuc
    Replies: 50
    Last Post: 06-08-2022, 09:11 PM
  2. Replies: 15
    Last Post: 05-19-2016, 11:05 PM
  3. Replies: 4
    Last Post: 12-24-2015, 05:33 PM
  4. Replies: 17
    Last Post: 09-17-2015, 01:07 PM
  5. LeadWell MCV-760 FANUC 0-MF ATC macro
    By cnc35 in forum Fanuc
    Replies: 0
    Last Post: 08-05-2013, 08:44 PM

Tags for this Thread

Posting Permissions

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