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

    tool offsets

    Scheduled Pinned Locked Moved
    General Discussion
    2
    7
    191
    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.
    • magdiundefined
      magdi
      last edited by

      Good evening,
      I have been scratching my head on this all day and cant seem to get it to work.

      Ive built a custom tool for my tool changer which I want to use to ‘engrave’ foam and make a wall of bricks for model making. The tool is a knife shape and can rotate from horizontal to vertical.

      I have made the gcode work and the machine carves in the horizontal directions (imagine lines in a note pad) but when i go to vertical mode, the tool does not go in between the lines - this is because the blade is not in the centre of the tool, but offset. Please see picture attached which might help?

      So the question is can i create a custom bit of gcode that works like it should in the x and y coordinate when cutting horizontal AND also then provides an offset when it is in the vertical? I thought a G52 offset would save me but this is not compatible with my duet. Can someone please guide me in the right direction!!

      brok.jpeg

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @magdi
        last edited by

        @magdi do you run the gcode interlaced together? Or separate jobs?
        How do you rotate the knife?

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        magdiundefined 1 Reply Last reply Reply Quote 0
        • magdiundefined
          magdi @jay_s_uk
          last edited by

          @jay_s_uk
          Hi Jay, its one big job, I was hoping it would just work but guess not yet. I have tried with 2 jobs but then the tool just doesnt play well at all and decides to run off the bed...

          I have a servo which rotates the blade using M280

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @magdi
            last edited by

            @magdi what I would do is create a couple of custom gcodes. With my pen plotter I use M5000 and M5001.
            Create a file in sys called M5001.g and put the M280 plus the correct tool offset using G10 in there. Then in M5001 put the M280 to rotate back and reset the offset using G10.
            Your gcode would then call M5000 and M5001 instead

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            magdiundefined 1 Reply Last reply Reply Quote 0
            • magdiundefined
              magdi @jay_s_uk
              last edited by

              @jay_s_uk this sounds like quite an elegant solution. I have probably a dumb question but how will all of the G10's interact with eachother? I have a G10 in the config.g and then two extra now... does each G10 command superseed the other? I will have a stab anyway hopefully it will work!

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @magdi
                last edited by

                @magdi the G10 as long as its for the same tool would supersede the other

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                magdiundefined 1 Reply Last reply Reply Quote 0
                • magdiundefined
                  magdi @jay_s_uk
                  last edited by

                  @jay_s_uk worked an absolute CHARM!! now just need to get the depth within tolerance in thank you!

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA