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

    CNC: Tool Offsets, Coordinate Systems, Confusion

    Scheduled Pinned Locked Moved
    CNC
    7
    25
    2.0k
    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.
    • vwegertundefined
      vwegert
      last edited by

      Thanks, @EasyTarget, that confirms part of what I've already figured out. The rule of thumb appears to be: Don't mess with the machine coordinate system after homing, set the approproiate WCS origin instead - right?
      However, I'm still unsure about several things:
      What does DWC display - always machine coordinates, or does it adjust to the WCS selected?
      What about the tool length offset - is that a change in the coordinate system, or is it just an offset that is applied to the G0/G1 movement commands? The offset changes the coordinates displayed by DWC, so that's got me a bit confused.
      I'm using a PCB with a known thickness to probe the tool height, so I need to adjust the offset by the thickness of the PCB

      EasyTargetundefined 1 Reply Last reply Reply Quote 0
      • EasyTargetundefined
        EasyTarget @vwegert
        last edited by EasyTarget

        @vwegert
        Yes; the normal way is to set machine zero at your home; even if that leaves all your work space 'machine negative' and then manually set a workspace zero at the work/gcode origin.

        I have a confession, I don't use Duet for my CNC's so I just don't know how DWC will present this; I'd hope it uses the current workspace co-ordinates but I have no experience to back this up.
        Similarly I have never played with tool offsets, I've only ever contact probed with the tool and always use the tool tip as zero.
        I don't want to guess an answer; unless others here can chip in I suggest putting something soft under your tool (so nothing breaks if things drive the wrong way) and then probing + offsetting on that, and working out the operation yourself. Sorry.

        Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
        PrintPy2024 to the rescue!
        MicroPython based; with simple wiring and and no custom PCB.

        1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators
          last edited by

          @vwegert have you read this:

          https://duet3d.dozuki.com/Wiki/Gcode#Section_G54_to_G59_3_Select_coordinate_system
          I know its not much information but points to the L parameter in G10:
          https://duet3d.dozuki.com/Wiki/Gcode#Section_G10_Set_workplace_coordinate_offset_or_tool_offset

          If Workspace co-ordinates work the same way as tool offsets the DWC display updates to show the co-ordinates of the system that is in use.

          I don't have a CNC machine myself so I hope @Danal, @Ryan-Lock or one of the other CNC experts can chip in.

          www.duet3d.com

          1 Reply Last reply Reply Quote 1
          • Danalundefined
            Danal
            last edited by

            I've seen the thread and will do my best to write a comment later today (Texas, so US central time).

            Meanwhile, a couple of quick thoughts:

            • DWC (should) always display the CURRENT 'work' coordinate system. Unless you change it, this will be G54.

            • This is an important concept: A given machine is ALWAYS in a work coordinate system. It my be true that the current work coordinate system does (or does not) exactly match machine coordinates... and this causes a lot of people who've never used work systems before to think "I've always operated in machine coordinates in the past"... but that's not really true. You've always operated in G54 which had 0,0,0 offset vs. machine.

            • If you do use G53 (machine coord) in a G-Code command line, remember it is NOT MODAL. That is, it applies only to the line on which it appears.

            Delta / Kossel printer fanatic

            1 Reply Last reply Reply Quote 1
            • T3P3Tonyundefined
              T3P3Tony administrators
              last edited by

              Thanks @Danal!

              www.duet3d.com

              1 Reply Last reply Reply Quote 0
              • Ryan Lockundefined
                Ryan Lock
                last edited by

                Hey, as above DWC only displays work coordinates of the system you are currently in. That homing position is the same as what we use on our CNC Machines. I am currently making an alternative web control for CNC Machines which puts all the buttons needed to hand and allows easy switching between work coordinates. You can download the beta at: https://learn.ooznest.co.uk/Wiki/WorkBee_Firmware_Releases

                T3P3Tonyundefined 1 Reply Last reply Reply Quote 2
                • T3P3Tonyundefined
                  T3P3Tony administrators @Ryan Lock
                  last edited by

                  @Ryan-Lock that looks interesting, will you be hosting the project on Github as a fork of DWC?

                  www.duet3d.com

                  1 Reply Last reply Reply Quote 0
                  • Ryan Lockundefined
                    Ryan Lock
                    last edited by

                    Yup you can find it here: https://github.com/lockryan/DuetWebControl

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

                      I suggested to chrishamm long ago that DWC needs an option to display both machine and work coordinates. But I am guessing that your fork goes beyond that.

                      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
                      • vwegertundefined
                        vwegert
                        last edited by

                        Thanks everyone - I've managed to run a few simple test cuts after using my "cheapishaw" probe, and I'll try a more complex part tomorrow. So far it's looking very promising.

                        EasyTargetundefined 1 Reply Last reply Reply Quote 0
                        • EasyTargetundefined
                          EasyTarget @vwegert
                          last edited by

                          @vwegert Good luck!
                          @Ryan-Lock ditto!
                          Workspace switching and handling sounds great, having been batch-making PCB's via a web interface without it i can comfortably call it a killer feature 😉 I got heartily sick of having to switch to the console to swap co-ordinate systems. Adding macro buttons helped, but made the UI look diseased.

                          Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
                          PrintPy2024 to the rescue!
                          MicroPython based; with simple wiring and and no custom PCB.

                          Ryan Lockundefined 1 Reply Last reply Reply Quote 0
                          • Ryan Lockundefined
                            Ryan Lock @EasyTarget
                            last edited by

                            @EasyTarget Yeah we have found for users doing production manufacturing they require easy use of all work coordinates. After the release of this version, the next thing i am going to add is the ability to apply custom names to the systems, instead of just numbers.

                            1 Reply Last reply Reply Quote 2
                            • Danalundefined
                              Danal
                              last edited by

                              This sounds very intriguing. Are there some screenshots anywhere of it up and running on a CNC?

                              Delta / Kossel printer fanatic

                              Ryan Lockundefined 1 Reply Last reply Reply Quote 0
                              • Ryan Lockundefined
                                Ryan Lock @Danal
                                last edited by

                                @Danal I haven't got any to hand right now, but will make some 🙂

                                1 Reply Last reply Reply Quote 0
                                • Danalundefined
                                  Danal
                                  last edited by Danal

                                  Take a quick look at the work coordinate selector built into ChiliPeppr.:

                                  http://chilipeppr.com/tinyg

                                  When not connected to a controller board, it WILL show the coordinate selector, it will not show the axis DROs for work and machine.

                                  I like the coordinate selector. Play with the + and - buttons, click on a level and see it highlight, etc. Source for it is here: http://github.com/chilipeppr/widget-wcs Javascript/HTML5, so easy to grab chunks and reuse them in browser based apps.

                                  Actually, I like the DRO style display as well, but I will need to be connected to a board to show you a screen shot.

                                  Screen Shot 2019-10-08 at 09.25.40.png

                                  Delta / Kossel printer fanatic

                                  1 Reply Last reply Reply Quote 2
                                  • Ryan Lockundefined
                                    Ryan Lock
                                    last edited by

                                    Thanks for the info, their system is pretty nice! I like their graphics to see which layer you are on.

                                    Mine is simply just a drop down list which allows you to select which one. On one of the settings page i am hoping to add a panel where you can see the work zero for each system in machine coordinates, edit them, and give each system a custom name, which will then show in the drop down instead of the number.

                                    Screenshot 2019-08-28 21.43.07.png

                                    1 Reply Last reply Reply Quote 1
                                    • Danalundefined
                                      Danal
                                      last edited by

                                      Nice screenshot.

                                      One suggestion: Make Work v Machine visually different. Larger/smaller, different colors, etc. It is fairly standard to make Work larger/bolder/brighter.

                                      Delta / Kossel printer fanatic

                                      1 Reply Last reply Reply Quote 0
                                      • Ryan Lockundefined
                                        Ryan Lock
                                        last edited by

                                        Thanks for the suggestion i will see what i can do.

                                        1 Reply Last reply Reply Quote 0
                                        • EasyTargetundefined
                                          EasyTarget
                                          last edited by EasyTarget

                                          IF we are making suggestions here; this is mine. I do a lot of manual jogging when making PCB's etc. The ESP3D derived jog control panel on my esp32 based controllers webUI is excellent; heartily recommended, very intuitive to use.

                                          The blue buttons at the right are Macros, the little buttons beside the machine position are for zeroing individual or all axes. Per-axis homing is also supported and has proved handy on occasions.
                                          Not shown is how each concentric ring is a different amount; and a clear animation hilights exactly what you are about to click on, and what it does.
                                          ESP3D-jog-panel.png
                                          This is slightly out of date; the latest version shows machine as well as workspace position, I like having the macro editor right there in the panel too.
                                          I just switched to using this after using the jog controls in LaserWeb a lot; those are similar layout to the Duet WebUI, easier to mis-click, I do have some foundation for preferring the bullseye approach.

                                          Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
                                          PrintPy2024 to the rescue!
                                          MicroPython based; with simple wiring and and no custom PCB.

                                          Ryan Lockundefined 1 Reply Last reply Reply Quote 0
                                          • Ryan Lockundefined
                                            Ryan Lock @EasyTarget
                                            last edited by

                                            @EasyTarget Thanks for the suggestions, i will take them all on board. I have had a few other people prefer the bullseye approach to jogging as well. I have stuck with the current Duet Web Control jogging in our control to speed up production. But definitely something for the future. I have also got a lot of request for keyboard jogging.

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