Page 1 of 3 123 LastLast
Results 1 to 12 of 29

Thread: Strange tool length offset issue

  1. #1
    Registered
    Join Date
    Jan 2006
    Location
    USA
    Posts
    105
    Downloads
    0
    Uploads
    0

    Strange tool length offset issue

    I just finished installing and setting up a renishaw nc3 on my cnc router. Since the machine doesn't have an ATC, I set it up so that Txx calls macro 9000 for a tool change. In the macro, I have the machine go to a predetermined manual tool change location, wait for the manual change, then on cycle start it executes the tool measurement macro., sets the active tool with a m6 T#149, and returns to the calling program.
    The issue I'm having is that after returning to the program, z moves are not going to the commanded height, almost like it is applying the offset twice. I can watch the program zipping by and the commanded z height is not being followed. Oddly, if I jump out with a reset and go to the MDI, commanded Z heights are fine.
    Anyone have a thought on what might be going on here? After tool changes, the code calls a g43 h to apply the offset.


  2. #2
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,504
    Downloads
    0
    Uploads
    0
    I'm guessing this must be some super-secret proprietary macro, or you probably would've posted it here so maybe someone could figure out what it's doing.


  3. #3
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Would need to see the code.
    http://www.kirkcon.com/


  4. #4
    Registered
    Join Date
    Jan 2011
    Location
    UK
    Posts
    24
    Downloads
    0
    Uploads
    0
    is it possible the probe is resetting your tool #'s, we had a similar problem and we simply recall our tool #'s using goto function

    mick


  • #5
    Registered
    Join Date
    Jan 2006
    Location
    USA
    Posts
    105
    Downloads
    0
    Uploads
    0
    Nothing secret about the quick toolchange macro, I'm just not in front of the machine right now to grab the code to post it.

    The thing that is really confusing me is that the running program is calling z moves that specify negative coordinates, like z-0.0125, but the position in the current workpiece coordinate system where it ends up is almost an inch higher. If I reset while it is cutting in air and go directly to the MDI, I can issue a g01 z0.125 f20 and it goes to the appropriate position without issuing any other commands.

    I've checked the tool offsets and the macro programs them correctly. When it goes back to the program, the correct tool number is indicated, the correct H and D values are specified, and G43 is active. I'll post code this evening.


  • #6
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Is it stuck in G91 Mode?
    http://www.kirkcon.com/


  • #7
    Registered
    Join Date
    Jan 2006
    Location
    USA
    Posts
    105
    Downloads
    0
    Uploads
    0
    Strange tool length offset issue-imageuploadedbytapatalk1335142183.951235.jpgStrange tool length offset issue-imageuploadedbytapatalk1335142201.655028.jpg

    So, they say a picture is worth a thousand words. Here is a capture of the screen showing the just executed retract G00 Z0.4 that had been executed and look at the Z position on the screen. You can also see from this screen cap what modal G codes are active. Maybe this is just a lack of understanding on my part about how tool length offsets appear while the machine is running, because if you look at the two attached screenshots, you'll see that it is exactly the tool length above the workpiece while running.


  • #8
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    What is in the G54 offset for Z?
    http://www.kirkcon.com/


  • #9
    Registered
    Join Date
    Jan 2006
    Location
    USA
    Posts
    105
    Downloads
    0
    Uploads
    0
    Z offset is -4.2390. I used the tool change macro to install tool 1, then used the MDI to execute a G43 H1 to set the offset active. After which I touched off the top surface of the material and used the indicated Z position to input the offset.

    Maybe it is just my understanding of how G43 works that is the problem. When jumping between G49 and G43H1, I would expect the Z position to remain the same on the DRO and just the tool length offset to be applied and to tool to move in the positive direction by the distance of the length value. What I'm seeing is that when I jump between G49 and G43 modes, the DRO value changes.


  • #10
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Oh. No. I think I am understanding now. What I am not seeing is if you confirmed the DRO tool position is the actual tool position in the machine. If the DRO is reading 1.4126 positive above the set Z work zero, is that the actual distance from tool tip to the set Z work zero in the machine?
    http://www.kirkcon.com/


  • #11
    Registered
    Join Date
    Jan 2006
    Location
    USA
    Posts
    105
    Downloads
    0
    Uploads
    0
    Yep, that is the actual position of the tool above the workpiece when this is running.


  • #12
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Ok. Then yeah. You were misunderstanding the order of operations for the DRO to get where it is. Sorry for the misunderstanding and bad communication. If the DRO says the tool tip is at 1.4126" above the Z work zero and it physically is that distance, then all is well.
    http://www.kirkcon.com/


  • Page 1 of 3 123 LastLast

    Similar Threads

    1. Need Help!- Tool Length Offset
      By masterfabr in forum Fadal
      Replies: 22
      Last Post: 09-25-2011, 08:38 PM
    2. Tool length offset on Osp 500 m
      By rgm in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 0
      Last Post: 04-04-2011, 08:31 AM
    3. Need Help!- tool length offset
      By ahmed4040 in forum Fanuc
      Replies: 16
      Last Post: 06-15-2010, 12:49 PM
    4. Newbie- Tool length offset
      By vesene in forum Mazak, Mitsubishi, Mazatrol
      Replies: 0
      Last Post: 04-27-2010, 06:51 AM
    5. Need help with tool length offset
      By panaceabea in forum Haas Mills
      Replies: 32
      Last Post: 03-04-2009, 02: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.