586,645 active members*
1,950 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 21
  1. #1
    Join Date
    Sep 2009
    Posts
    91

    Fanuc OM tool change problem

    Hello to all
    I have buy Myano TSV21 milling and tapping centar with Fanuc OM control
    Starrting screen(OMM:0A06-03;PMC:G01A-01) but without parameters.I put back all parameters and everythink works great except changing tools.When i tip T1M6 in MDI nothing happened, machine wait without any error.This is happening also in AUTO mode.Macro program 9003 is not calling.I have macro for tool change but can't find parameters for setup.This control don't have parameters 220-229;230-239;240-242.They are going from 1-219 and than next page jump to 500.When i start directly macro program 9003 machine go to ref G28Z0 take M19 position start to unclamp the tool and ATC led ocurs.Any help for you guys ?

  2. #2
    Join Date
    Sep 2010
    Posts
    1230
    Quote Originally Posted by tano View Post
    Hello to all
    I have buy Myano TSV21 milling and tapping centar with Fanuc OM control
    Starrting screen(OMM:0A06-03;PMC:G01A-01) but without parameters.I put back all parameters and everythink works great except changing tools.When i tip T1M6 in MDI nothing happened, machine wait without any error.This is happening also in AUTO mode.Macro program 9003 is not calling.I have macro for tool change but can't find parameters for setup.This control don't have parameters 220-229;230-239;240-242.They are going from 1-219 and than next page jump to 500.When i start directly macro program 9003 machine go to ref G28Z0 take M19 position start to unclamp the tool and ATC led ocurs.Any help for you guys ?
    There are two versions of user Macro; A and B. Many OM controls were only equipped with the A series User Macro. The fact that the program number for your Tool Change Macro is 9003, the same parameter is used by both Macro A and B, and means that the Macro is being called as a Subprogram (arguments can't be passed via the Call Block). You need to register the numeral "6" in parameter 0242. This will instruct the control to call O9003 when M06 is executed either via MDI or Program.

    As the Macro is being called as a Subprogram, there will be code in the Macro Program that retrieves the last Tool Number commanded and stored in system variable #4120

    Regards,

    Bill

  3. #3
    Join Date
    Sep 2009
    Posts
    91

    Bill

    Thanks for your reply
    I don't have parameter 0242 in my case so i can't change it.One guy came to help me and told me that the control is OT from lathe combined to use on milling machine with inserting a card on the mother board but he is not sure that the macro program for milling machine is the same with this combined control

  4. #4
    Join Date
    Sep 2010
    Posts
    1230
    Quote Originally Posted by tano View Post
    Thanks for your reply
    I don't have parameter 0242 in my case so i can't change it.One guy came to help me and told me that the control is OT from lathe combined to use on milling machine with inserting a card on the mother board but he is not sure that the macro program for milling machine is the same with this combined control
    Even if the control is a lathe control, you should have parameters 0240 to 0242; you will need to get the parameter issue resolved first.

    Post a copy of the O9003 program here for the forum to see. If its use is to take the tool to the a tool change position only, with no reference to interface signals included, a work around may be suggested until the parameter issue is resolved.

    Regards,

    Bill

  5. #5
    Join Date
    Mar 2005
    Posts
    816
    Don't know why they used a M control instead of a T for a lathe, unless its more than a 2 or 3 axes machine or a mill/turn center.

    I will have to look at my params and see what I got in the 200's.

  6. #6
    Join Date
    Sep 2009
    Posts
    91
    Bill
    Here is the macro what i find in the book:
    O9003
    G04
    G65H81P800Q#1000R1
    G65H81P800Q#1004R1
    G91G28Z0M89
    G49
    G65H82P250Q#1001R1
    M80
    G65H82P350Q#1006R1
    G30Z0
    G65H82P450Q#1003R1
    M82
    G65H82P550Q#1004R1
    G28Z0
    G65H82P650Q#1002R1
    M81
    G65H82P750Q#1005R1
    M99

  7. #7
    Join Date
    Sep 2009
    Posts
    91

    gbowne1

    It's a 3 axis milling machine

  8. #8
    Join Date
    Sep 2009
    Posts
    91
    Those are pic from mother board of the machine with ATC problem
    Attached Thumbnails Attached Thumbnails IMAG0427.jpg   IMAG0428.jpg   IMAG0429.jpg   IMAG0431.jpg  


  9. #9
    Join Date
    Sep 2009
    Posts
    91
    Those are pic from similar machine in working condition
    Attached Thumbnails Attached Thumbnails IMAG0432.jpg   IMAG0433.jpg  

  10. #10
    Join Date
    Sep 2010
    Posts
    1230
    Quote Originally Posted by tano View Post
    Bill
    Here is the macro what i find in the book:
    O9003
    G04
    G65H81P800Q#1000R1
    G65H81P800Q#1004R1
    G91G28Z0M89
    G49
    G65H82P250Q#1001R1
    M80
    G65H82P350Q#1006R1
    G30Z0
    G65H82P450Q#1003R1
    M82
    G65H82P550Q#1004R1
    G28Z0
    G65H82P650Q#1002R1
    M81
    G65H82P750Q#1005R1
    M99
    Hi tano,
    It appears that your control only has the Model A, User Macro executable available.

    Many Tool Change Macro programs are used for convenience in positioning the spindle for Tool Changing. Others have a much more important purpose and carry out some of the functions that could have been accomplished by the PLC (PMC) program. Your Tool Change program falls into the last category.

    In your Tool Change Program:
    1. The H81 is an Equal to Conditional Divergence
    2. The H82 a Not Equal to Conditional Divergence
    3. All of the Q addresses are Interface System Variables and are being compared to a logic 1, or On state of the various Interface Signals.

    Accordingly, its not just a simple matter of programming a Tool Number and M06 and have the PLC do all the work.

    Until you get to the bottom of the missing 0240 to 0242, you could try having the Tool Change program called by a T code. This is done by setting parameter bit 0040.5 and have the Tool Change Macro registered under program number 9000. However, there is a possibility that this will not work with the current Macro Program exactly as is, as the Macro program will be called as soon as a T command is executed, and this will occur before the Tool Pot carrying the tool has been brought to the Ready Position. This would probably be the same using M06 to call the program, so it might be OK. You could find the Interface Input Signal for the Tool in the Ready Position and see if it's any one of those included in your Macro Program.

    Another work around would be to program your Tool Changes as follows:
    T01 M98 P9003
    .........
    .........
    T02 M98 P9003
    .........
    .........
    etc

    The above will work. However, even if you had parameter 0242 to register the reference to program O9003 in, your Tool Change Macro in its current form will fail. In each of the H81 and H82 Macro statements, the program is to diverge to sequence numbers specified by the P address in each case, depending on the state of the Interface Input signals. In your program there are no Sequence numbers whatsoever, therefore, the program will raise an alarm at the first H81 statement.

    You will have to find out where the Sequence Numbers 250, 350, 450, 550, 650, 750, and 800 should be placed in the program for it to work correctly. You could work this out, if all else fails, by consulting the ladder schematic of the PLC. You may or may not be able to view this at the control; it will depend on the model of the OM Series control. However, you should have a hard copy of the ladder in one of the manuals for the machine.


    Regards,

    Bill

  11. #11
    Join Date
    Sep 2009
    Posts
    91

    angelw

    I try with parameter 040.5 but nothing happened.I change the macro program 9003 to 9000 but still not calling when i tip T1 or M6.When i try with T1 M98 P9003 machine execute the macro program to the row (G65H82P250Q#1001R1) and than stop wait 20-30 sec and ATC led lights. I need info about commands for driving motors of the clamping and for indexing the magazine,to try to write my own macro program for change tools?If you know the commands in macro who are controlling the motors i think i can write my own macro.

  12. #12
    Join Date
    Mar 2005
    Posts
    816
    What is in your parameter 380 to 390 range?

    Just curious...

    Why a single board machine? Ok in the first set of pics look like a 10 or 11 control. The next set of pics the top board looks like a standard digital (-0285) series 0 board with just a axes board and power supply.

  13. #13
    Join Date
    Sep 2009
    Posts
    91

    gbowne1

    Like i say i don't have parameter from 220-499.Thay are going from 1-219 and continued with 500

  14. #14
    Join Date
    Mar 2005
    Posts
    816
    There are some toolchanger parameters in that range that's why I asked.

  15. #15
    Join Date
    Sep 2009
    Posts
    91

    gbowne1

    You are asking about PMC or DGN parameters?

  16. #16
    Join Date
    Mar 2005
    Posts
    816
    I'm talking about DGN. Curious why you don't have this range in PMC.

  17. #17
    Join Date
    Sep 2009
    Posts
    91

    gbowne1

    DGN are
    380 - 0
    385 - 0
    390 - 0
    395 - 0
    400 - 0
    and on other machine who is working are
    380 - 10000
    385 - 10000
    390 - 2000
    395 - 0
    400 - 0
    but i change this values and nothing happened
    I cant understand why i don't have those parameters 220-242 and other problem which is more important when i call macro program 9003 in auto mode i think if everythink is ok program should be executed but in my case machine go in ref try to unclamp, the motor start to rotate but only 90deg it should rotate 180 deg(for full unclamp), and stop with ATC alarm.
    Any ideas?

  18. #18
    Join Date
    Sep 2010
    Posts
    1230
    Quote Originally Posted by tano View Post
    I try with parameter 040.5 but nothing happened.I change the macro program 9003 to 9000 but still not calling when i tip T1 or M6.When i try with T1 M98 P9003 machine execute the macro program to the row (G65H82P250Q#1001R1) and than stop wait 20-30 sec and ATC led lights. I need info about commands for driving motors of the clamping and for indexing the magazine,to try to write my own macro program for change tools?If you know the commands in macro who are controlling the motors i think i can write my own macro.
    Is the Macro program you're executing, exactly the same as listed in your Post #10? If so, I'm surprised that errors relating to missing sequence numbers are not being raised. The above Macro statement is interpreted as follows:
    If Interface System Variables #1001 is Not Equal to 1 (in other words, if the Input Signal is Off; 1 indicates a logic ON state), then Go To Sequence number 250.

    If Input Signal #1000 and #1004 were both off, and #1001 is on, then there would have been no true condition for Divergence to sequence numbers 250 or 800to occur, and is the probable reason why no error relating to missing Sequence numbers is raised. The Macro Statement G65H82P250Q#1001R1 itself will not hold the program up, but the M80 not getting a confirm signal may halt the program. Often these Input signals are used to delay the Macro Programs execution until a certain switch condition has been achieved. For example the following code, N250 G65H82P250Q#1001R1, will continue to delay advance in the Macro Program until Input #1001 has gone to a logic "1" state. Accordingly, if you are using the Macro Program exactly as listed in Post #10, you need to dtermine were in the progran the Sequence numbers should be located.

    I'm thinking that the parameter set you have is not correct for the Control Model you have stated. By setting parameter bit 0040.5 and registering the Tool Change Macro under program number 9000 should have caused program number O9000 to execute when a "T" code was commanded.

    Regards,

    Bill

  19. #19
    Join Date
    Sep 2009
    Posts
    91
    I just want to share information about what was the problem.
    The DGN345(timer for clamping) was set to 200ms and i change to 1000ms.That's it

  20. #20
    Join Date
    Sep 2010
    Posts
    1230
    Quote Originally Posted by tano View Post
    I just want to share information about what was the problem.
    The DGN345(timer for clamping) was set to 200ms and i change to 1000ms.That's it
    Hi Tano,
    The Macro program you listed in Post #10 contains no Sequence Numbers. Did you use this program exactly as listed without Sequence Numbers?

    Regards,

    Bill

Page 1 of 2 12

Similar Threads

  1. Fanuc 0i-MC Automatic Tool Change Problem
    By M.RISHIKESH in forum Fanuc
    Replies: 0
    Last Post: 01-28-2012, 07:25 AM
  2. bp vmc 760/22 tool change problem
    By laserh20 in forum Bridgeport / Hardinge Mills
    Replies: 3
    Last Post: 07-01-2010, 03:19 PM
  3. TOOL CHANGE PROBLEM
    By Stebedeff in forum Fanuc
    Replies: 1
    Last Post: 03-18-2009, 02:23 PM
  4. Need Help With Tool Change Problem
    By AZDEN in forum Fanuc
    Replies: 1
    Last Post: 11-21-2007, 08:44 PM
  5. Replies: 6
    Last Post: 08-24-2005, 08:47 PM

Posting Permissions

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