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

    Workpiece Coordinate System (WCS)

    Scheduled Pinned Locked Moved
    Firmware wishlist
    2
    14
    1.6k
    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.
    • cnc65undefined
      cnc65
      last edited by

      I use a Duet WiFi to control a CNC Mill. What I miss is a workpiece coordinate system (G54 - G59).

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        I have looked at the NIST standard. What I think it means is that you can program up to 9 different sets of tool offsets for each tool by using G10 with the L parameter to select which set you are talking about; then select which set of tool offsets is used with commands G54 thru G59.3. Is that all, or have I missed something?

        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
        • cnc65undefined
          cnc65
          last edited by

          Yes, that is exact what I need.

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            That looks straightforward enough. Due to the extra memory needed to hold 10 sets of tool offsets instead of 1, I'll implement this on the Duet Ethernet and WiFi only, not the older Duets.

            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
            • cnc65undefined
              cnc65
              last edited by

              In my opinion most cnc users would be happy to have 3 or 4 sets of tool offsets.

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by

                Can you tell me what the use case is for multiple sets of tool 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
                • cnc65undefined
                  cnc65
                  last edited by

                  I use often more fixtures to mill the same part. With the WCS I can jump easy from one fixture to the next.

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators
                    last edited by

                    Thanks, that makes sense to me. I'll see if I can squeeze a partial implementation into RRF 1.21.

                    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
                    • dc42undefined
                      dc42 administrators
                      last edited by

                      Two further questions:

                      1. If I specify e.g. G10 L2 P1 X100 and then G54, does that mean that I should add 100mm to the coordinate the user asked to move the tool to, or subtract 100mm? i.e. is your second work piece 100mm in the +X or in the -X direction?

                      2. If I have multiple tools and I send G10 L2 P1 X100, does that 100mm offset apply to all tools, when I am using the G54 coordinate system?

                      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
                      • cnc65undefined
                        cnc65
                        last edited by

                        I hope you understand my explanations.

                        1. e.g. G10 L2 P1 X100 and then G54 G0 X20 -> absolute movement to X120 in machine coordinates (G53 G0 X120). The same result without WCS is to move absolute (G0 X120) or moving the MCS after homing (G92 X-100 and then G0 X20).

                        2. The offset apply to all tools, when you are using the G54 coordinate system.

                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by

                          Thanks. This will be implemented in firmware 1.21RC1 due out soon.

                          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
                          • cnc65undefined
                            cnc65
                            last edited by

                            Thanks for your great support.

                            1 Reply Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators
                              last edited by

                              This is now implemented.

                              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
                              • cnc65undefined
                                cnc65
                                last edited by

                                Thanks for the new RC!
                                I tried G53 to G56. All is working as expected.

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