• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Tool offsets for CNC

Scheduled Pinned Locked Moved
CNC
2
4
299
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    kazolar
    last edited by 5 Sept 2020, 20:12

    I'm trying to implement semi automatic tool changing -- where my mill will using a know machine coordinate to measure the tool length using a fixed position button, then i will keep work coordinates relative to my stock independent of that -- mostly, zero on Z is zero in work coordinate system, will be based of an arbitrary tool which will be zero tool offset. Then when I need to change tools, I'll run a macro --which will turn the spindle off, move the toolhead for manual change, and with a few M291 commands to prompt me to change to the next tool -- that is pretty easy to accomplish, then once I confirm I've done so the machine will move to the probe point, measure the tool and adjust the offset. That, I don't know how to record. I can do an G38.2 to get to the probe, but then using a G10 L20 or something similar will mess up my work coordinates which are set relative to the stock, so now I just want to record the tool offset. Is there something like that available, i keep reading through new RRF3 additions and still can't find it.

    undefined 1 Reply Last reply 5 Sept 2020, 20:15 Reply Quote 0
    • undefined
      dc42 administrators @kazolar
      last edited by 5 Sept 2020, 20:15

      G10 P# with no L parameter, or with L1, will set the tool offsets without touching the workplace offsets.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        kazolar
        last edited by 5 Sept 2020, 21:04

        @dc42 yep -- just figured out I need to use G10 P0 -- that works. The tricky part now is how do I set it automatically, I don't know what Z offset will be, it will be measured when G38.2 does it's probing of the new tool. Basically assume it was Z0 -- then I probe the tool height, and I want to set the offset based on that difference.

        1 Reply Last reply Reply Quote 0
        • undefined
          kazolar
          last edited by 5 Sept 2020, 21:30

          @dc42 I think M585 does it -- I just tried it -- and it looks like it set my offset correctly. Will make a rigid mount for my button and do more tests.

          1 Reply Last reply Reply Quote 0
          3 out of 4
          • First post
            3/4
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA