Page 1 of 2 12 LastLast
Results 1 to 12 of 17

Thread: TOOL CHANGE NOT WORKING

  1. #1
    Registered
    Join Date
    Jan 2007
    Location
    india
    Posts
    81
    Downloads
    0
    Uploads
    0

    Red face TOOL CHANGE NOT WORKING

    Dear Friends

    (MACHINE: MORI SEIKI-VMC-FANUC OMD)
    In my machine alarm 901 appeared few days back, found its memory card defective same got repaired & reloaded the data. Everything is running ok except tool cycle.
    I Redownloaded MACRO PROG. 9020 prog but I dont know how it got corrupted. Here it is...
    &HE:%
    :9020(CAMBIO UTENSILE)
    WHILE[#11GT0]DO1
    G90YY[#25+#18*SIN[#1]]
    #3=#4003
    G28G91Z0M5
    T#4120
    M6
    G#3
    M99

    I am sure above prog need some little correction. Pl suggest me how to correct it.
    Any help will be a great help .
    Thanks
    Last edited by rajesh_1355; 07-09-2011 at 02:10 AM.


  2. #2
    Registered
    Join Date
    Jul 2011
    Location
    USA
    Posts
    1
    Downloads
    0
    Uploads
    0
    Why dont u try by just Txx M6 code.


  3. #3
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,504
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by suman View Post
    Why dont u try by just Txx M6 code.
    M6 on his machine probably calls macro O9020, which appears to be incomplete.


  4. #4
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,504
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by rajesh_1355 View Post
    Dear Friends

    (MACHINE: MORI SEIKI-VMC-FANUC OMD)
    In my machine alarm 901 appeared few days back, found its memory card defective same got repaired & reloaded the data. Everything is running ok except tool cycle.
    I Redownloaded MACRO PROG. 9020 prog but I dont know how it got corrupted. Here it is...
    &HE:%
    :9020(CAMBIO UTENSILE)
    WHILE[#11GT0]DO1 <------------- No matching END1 block
    G90YY[#25+#18*SIN[#1]] <------ Double address YY
    #3=#4003
    G28G91Z0M5
    T#4120
    M6
    G#3
    M99

    I am sure above prog need some little correction. Pl suggest me how to correct it.
    Any help will be a great help .
    Thanks
    Where did you download this macro from? It appears to be missing some blocks and has errors (see comments <---)


  • #5
    Registered
    Join Date
    Feb 2009
    Location
    usa
    Posts
    4,022
    Downloads
    0
    Uploads
    0
    If it is a mori with a 0m, you don't need a macro for atc. Someone has probably installed a macro assigned to m6. That was a common thing for people to do way back, if you called the tool that was in the spindle for a tool change, the machine would alarm out. There was a keep relay to do the same thing.


  • #6
    Registered
    Join Date
    Jan 2007
    Location
    india
    Posts
    81
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by dcoupar View Post
    Where did you download this macro from? It appears to be missing some blocks and has errors (see comments <---)
    Dear I downloaded it from machine when in good condition. I don't know how it got corrupted. Pl suggest some remedy to run the cycle. Its Mori Seiki Fanuc OMC machine.

    Do u have detail of Micros.
    Pl send.

    Thanks


  • #7
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,504
    Downloads
    0
    Uploads
    0
    Can you post your program here? Especially the tool change section.


  • #8
    Registered
    Join Date
    Jan 2007
    Location
    india
    Posts
    81
    Downloads
    0
    Uploads
    0
    Dear Sir,
    I tried many combination suggested in this forum for tool change prog 9020 but could not success-ed. Actually this machine is MORI SEIKI - MV 40 S WITH FANUC OMC. I tried to understand the ladder but it is too complicated. In the ladder for tool calling D 3265 bit is used which normally does not shown in ladder unless u make bit 64. 3 / 4 high. As soon as Txx command executed. Machine shows alarm EX 201 Tool data error ( like ).

    Any suggestion will be very helpful.

    Regards.


  • #9
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    We are going to use program 9020 since this is what you have. First thing you are going to have to do is make sure that parameter 230 is set to 6 as this will call program 9020 when you program an M6.

    Now since your program was corrupted I am only going to use what I think you will need and how I would write it.

    :9020(CAMBIO UTENSILE)
    #3=#4003
    G28G91Z0M5
    T#4120
    M6
    G#3
    M99

    This is just a basic tool change. You are setting your modal G90/G91 to #3 then sending the machine to Z0, calling your modal T() then the M6 to change the tool, finally setting your G90/G91 back to its original state.

    I always like to skip the tool call if you are calling the tool that is already in the spindle. You would need to see if the MTB set up a system variable that tracks the tool in the spindle or you have to set a common variable up to do this. Let me know if you want this and we can add it.

    Stevo


  • #10
    Registered
    Join Date
    Feb 2009
    Location
    usa
    Posts
    4,022
    Downloads
    0
    Uploads
    0
    Or just set parameter 230 to 0 and use the factory embedded macro...
    All mori's use an M6 that is embeded. Someone added that macro, not the factory. As long as z is at home, M6 will do a tool change when M6 is commanded. The ONLY time i've seen factory macros in the 9000 series, was for APC( pallet change) spec, and a couple for probing.


  • #11
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    That is another solution. Someone wrote the macro for that machine for a reason I would think. I had many machines that had the embedded macros but would not work unless Z0 was positioned before the tool change which was a PITA for some guys to remember. I also had machines that would alarm out if you were calling the current tool in the spindle. The custom macros came in handy to avoid any of these issues.

    Stevo


  • #12
    Registered
    Join Date
    Feb 2009
    Location
    usa
    Posts
    4,022
    Downloads
    0
    Uploads
    0
    I agree. Mori did use a keep relay just for the tool in spindle. It would just ignore and move on. The Z0 was no easy solution other than a macro.


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. help MORI SEIKI MV- 40 FANUC MF-M4
      By vladimir1409 in forum Fanuc
      Replies: 16
      Last Post: 01-17-2013, 12:58 PM
    2. Need Help!- mori seiki FL-2 problem
      By cnyttbircan in forum Mori lathes
      Replies: 2
      Last Post: 08-17-2010, 10:48 AM
    3. Need Help!- Mori Seiki SL-65 tailstock problem
      By brad63av in forum Mori lathes
      Replies: 3
      Last Post: 10-07-2009, 11:36 PM
    4. Need Help!- problem in MORI SEIKI SL-0
      By metoaly in forum Machine Problems, Solutions , Wireless DNC, serial port
      Replies: 0
      Last Post: 10-07-2009, 02:03 PM
    5. Mori Seiki ZL-15 Startup problem???
      By =ego= in forum General Electronics Discussion
      Replies: 11
      Last Post: 06-26-2007, 04:07 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.