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

    Dynamic axis minima and maxima

    Scheduled Pinned Locked Moved
    CNC
    3
    7
    461
    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.
    • kaleraundefined
      kalera
      last edited by

      Hi,

      I'm using the Duet wifi for my cnc router and its working great.

      When I start a milling operation, I set the machine's zero point to a suitable location on my stock. Currently I'm just using G92 X0 Y0 Z0 to set my zero point. What I would like to do also is set the axis minima and maxima according to the current position.

      I'll give an example of the steps I want to take:

      • Let's say I have a machine that can move X500 and Y500
      • I home the machine
      • I manually move the machine to the spot where I want to start machiening (lets say x100 Y100)
      • Then I want to call the macro which sets the minima to X-100 Y-100 and X400 Y400 for the maxima
      • After that I want to use G92 to set everything to 0

      Is it possible to do this?

      1 Reply Last reply Reply Quote 0
      • DocTruckerundefined
        DocTrucker
        last edited by DocTrucker

        It maybe easier to leave the machine coordinaye system constant but use tool offset to set a specific point within the macine to (0,0,0)?

        G10 P0 Xa Yb Zc

        ...will offset tool 0 relative to the machine coordinates.

        Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

        1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User
          last edited by

          Isn't this what the work coordinate system is for?

          https://duet3d.dozuki.com/Wiki/Gcode#Section_G54_to_G59_3_Select_coordinate_system

          DocTruckerundefined 1 Reply Last reply Reply Quote 0
          • kaleraundefined
            kalera
            last edited by

            Thanks guys, I can't believe I didn't see this in the GCode page, I went over it a few times already. I'm going to give this a try tomorrow

            A Former User? 1 Reply Last reply Reply Quote 0
            • DocTruckerundefined
              DocTrucker @A Former User
              last edited by

              @bearer good shout. I'm coming from the v0.6/0.8.5 side of the fence so need to bodge a few things like that! 😄

              Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User @kalera
                last edited by

                Thanks guys, I can't believe I didn't see this in the GCode page, I went over it a few times already. I'm going to give this a try tomorrow

                No worries; been there done that, have a closet full of the t-shirts..

                @bearer good shout. I'm coming from the v0.6/0.8.5 side of the fence so need to bodge a few things like that! 😄

                I got lucky;)

                1 Reply Last reply Reply Quote 0
                • kaleraundefined
                  kalera
                  last edited by

                  @bearer I got a chance of testing it today and the work coordinate system works perfectly, this is exactly what I was looking for. Thanks!

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