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

Thread: Fanuc tool lenght compensation??

  1. #1
    Registered
    Join Date
    Apr 2009
    Location
    Sweden
    Posts
    29
    Downloads
    0
    Uploads
    0

    Fanuc tool lenght compensation??

    Hello.

    Machine is mori seiki sh 5000 with fanuc MSG 501.
    Here's the deal, i wonder if this is possible...

    Machine running 4 different jobs, some with same tools, different people programming of course.
    In some of the programs lets say tool T23 needs tool lenght (H) added with 0.10 (mm) in next job it needs to be -0.10..and so on..( meaby in third job it needs to be 0.15...)
    Needles to say, much hassle.

    Ofcourse im aware i could have several H codes, but that could cause problems later on when running the program again.

    So is there any extra code that could be used just in program that could give you possibility to alter the tool lenght?


  2. #2
    Registered
    Join Date
    Nov 2006
    Location
    UK
    Posts
    160
    Downloads
    0
    Uploads
    0
    I've no idea what a Fanuc MSG 501 control is but on the controls I use, I would adjust the different tool lengths with the wear offset.

    In the prog use G10.

    In prog one...
    G10 L11 P23 R0.1

    In next prog...
    G10 L11 P23 R-0.1

    In next prog...
    G10 L11 P23 R0.15

    G10 = parameter setting
    L11 = wear offset (on newer control use L13)
    P23 = corresponding offset number
    R0.1 = amount of wear adjustment.


  3. #3
    Registered beege's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    546
    Downloads
    0
    Uploads
    0
    Used to be G45, G46, G47 and G48 would increase/decrease moves by an offset amount. Don't recall if it was usable in G41 or G42, though.

    G45 - single increase
    G46 - single decrease
    G47 - double increase
    G48 - double decrease

    These were used in place of cutter compensation a long time ago.


  4. #4
    Registered
    Join Date
    Feb 2006
    Location
    United States
    Posts
    293
    Downloads
    0
    Uploads
    0
    If you have custom macro A or B check your manual for macro variables in the 2000-3999 range, or 10001-19999 range. These allow just setting #2123=-0.1

    This is the same as ChattaMan described, just a different way to code it.


  • #5
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,504
    Downloads
    0
    Uploads
    0
    Why not set the tools to a common standard and use the G54, G55, G56, etc. Z offset?


  • #6
    Registered
    Join Date
    Apr 2009
    Location
    Sweden
    Posts
    29
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by ChattaMan View Post
    I've no idea what a Fanuc MSG 501 control is but on the controls I use, I would adjust the different tool lengths with the wear offset.

    In the prog use G10.

    In prog one...
    G10 L11 P23 R0.1

    In next prog...
    G10 L11 P23 R-0.1

    In next prog...
    G10 L11 P23 R0.15

    G10 = parameter setting
    L11 = wear offset (on newer control use L13)
    P23 = corresponding offset number
    R0.1 = amount of wear adjustment.
    Hi.
    Very good, exactly what i was looking for.
    I will try this on monday and see if it works.

    Thanks alot!


  • #7
    Registered
    Join Date
    Apr 2009
    Location
    Sweden
    Posts
    29
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by driftmaster View Post
    Hi.
    Very good, exactly what i was looking for.
    I will try this on monday and see if it works.

    Thanks alot!
    ChattaMan;

    I'd like to ask one more thing.
    The line with "G10 L11 P23 R0.1"
    Where should i place this?

    Lets say line like this after tool change.
    "G43 Z10 H23"
    Do i put the "G10 L11 P23 R0.1" before or after, or where should it be placed to work?


  • #8
    Registered beege's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    546
    Downloads
    0
    Uploads
    0
    Oh and I believe if you use G91 with the G10 thing, you adjust incrementally, and G90 replaces the value absolutely.


  • #9
    Registered samu's Avatar
    Join Date
    Feb 2007
    Location
    quebec
    Posts
    264
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by driftmaster View Post
    ChattaMan;

    I'd like to ask one more thing.
    The line with "G10 L11 P23 R0.1"
    Where should i place this?

    Lets say line like this after tool change.
    "G43 Z10 H23"
    Do i put the "G10 L11 P23 R0.1" before or after, or where should it be placed to work?
    you need to put the line G10 L11 P23 R0.1 before calling tool length compensation(G43 Hxx)


  • #10
    Registered
    Join Date
    Feb 2006
    Location
    United States
    Posts
    293
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by samu View Post
    you need to put the line G10 L11 P23 R0.1 before calling tool length compensation(G43 Hxx)
    Yes before, But possibly you will need to inhibit the read ahead buffer as well. I think 4 lines are standard, and optionally it will read something like 15 lines.

    Anyhow if you think it isn't working, look for a buffer inhibit G or M code in your manual and put that between the G10 line and the one with G43. It may be overly cautions for the G10, but definitely consider doing this if you use the Macro variable.


  • #11
    Registered
    Join Date
    Mar 2005
    Location
    Silicon Valley, CA
    Posts
    988
    Downloads
    0
    Uploads
    0
    As Coupar mentions and points to.... Why bother?

    Machine running 4 different jobs, some with same tools, different people programming of course.
    In some of the programs lets say tool T23 needs tool lenght (H) added with 0.10 (mm) in next job it needs to be -0.10..and so on..( meaby in third job it needs to be 0.15...)
    Needles to say, much hassle.
    Just set a tool length on the offset page and use work offsets (G54-G59) to control the zero point. No need to G10 anything....
    It's just a part..... cutter still goes round and round....


  • #12
    Registered
    Join Date
    Feb 2006
    Location
    United States
    Posts
    293
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by psychomill View Post
    As Coupar mentions and points to.... Why bother?

    Just set a tool length on the offset page and use work offsets (G54-G59) to control the zero point. No need to G10 anything....
    Not specific to this problem, but there are others that would solved via changing offset wear via code in the program.

    It may be more than 1 tool per program, and not in the same direction and amount. Or radius offsets, differing cutting conditions could require different offsets between parts of features.

    Another possibility is a rotary table. Fixture offsets often do not rotate with the part. So either offset the tool, or use several fixture offsets with translated axis values.


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Fanuc 5T Tool Nose Compensation
      By John3 in forum Fanuc
      Replies: 1
      Last Post: 07-15-2007, 11:58 PM
    2. tool lenght question
      By jedioliver in forum Visual Mill
      Replies: 7
      Last Post: 09-22-2006, 11:27 AM
    3. Tool compensation
      By bg_izio in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 3
      Last Post: 05-03-2006, 09:40 PM
    4. Tool compensation
      By bg_izio in forum CamSoft Products
      Replies: 3
      Last Post: 04-27-2006, 11:43 AM

    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.