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

    #Solved G30 XY position and probe offset (G31)?

    Scheduled Pinned Locked Moved
    Firmware installation
    4
    4
    486
    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.
    • pro3dundefined
      pro3d
      last edited by pro3d

      Forget about this post - It just confuses me but should not be an issue. Thing is I got it backwards as it does count for the G31 numbers..
      ...............................................................................

      I am confused of the G30 command about the XY values and could not find it in the duzoki. (might have missed it just browsing through)

      Configuring my bed.g G32 file I figure out that the G30 command specifies the probe position and not the nozzle position which can be confusing.

      Is there a reason not using nozzle position and the probe offset from G31 in the G30 command?

      Example:
      ; bed.g
      ; called to perform automatic bed compensation via G32
      ; G31 P500 X-5 Y-25 Z1.75 ; set Z probe trigger value, offset and trigger height

      M401 ; deploy Z probe (omit if using bltouch)
      G1 F12000
      G30 P0 X0 Y0 Z-99999 ; probe near a leadscrew (actual X5 Y25)
      G30 P1 X300 Y0 Z-99999 ; probe near a leadscrew (actual X305 Y25)
      G30 P2 X150 Y260 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors (actual X155 Y285)
      M402 ; retract probe (omit if using bltouch)
      IMG_20220123_115342.jpg

      Valkyrie DIY High Temp 3D Printer

      R&D - Engineering Designer - Viking 3D Printers
      https://vkingprinter.com/

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • pro3dundefined pro3d marked this topic as a regular topic
      • fcwiltundefined
        fcwilt @pro3d
        last edited by

        @pro3d

        Perhaps I have not understood you post.

        When using G30 P# Xaaa Ybbb the X and Y parameters specify the XY point to probe, which is what you want it to do.

        Is it not working that way for you?

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        1 Reply Last reply Reply Quote 0
        • jamesarm97undefined
          jamesarm97
          last edited by

          I pretty much have the same question. I have a X probe offset of -23mm and have that entered in the probe configuration. I would expect based on some other firmware testing that issuing a probe command would take the offset into consideration on the x / y points to probe. For example, I wanted to probe at 0,0. The nozzle moves to 0,0 and tries to probe which will fail because the probe is hanging off the bed by -23mm. So when I created the mesh map, I had to take that into account and skew all my x numbers by the offset. Where is the probe X offset actually used? I do not think I have run a G29 with non-adjusted numbers because I didn't want to crash the bed so I don't really know if I give a coord like X150, Y150 if it will end up moving to X173 (since it has to account for the -23 offset).

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @jamesarm97
            last edited by

            @jamesarm97 said in #Solved G30 XY position and probe offset (G31)?:

            I pretty much have the same question. I have a X probe offset of -23mm and have that entered in the probe configuration. I would expect based on some other firmware testing that issuing a probe command would take the offset into consideration on the x / y points to probe. For example, I wanted to probe at 0,0. The nozzle moves to 0,0 and tries to probe which will fail because the probe is hanging off the bed by -23mm. So when I created the mesh map, I had to take that into account and skew all my x numbers by the offset. Where is the probe X offset actually used? I do not think I have run a G29 with non-adjusted numbers because I didn't want to crash the bed so I don't really know if I give a coord like X150, Y150 if it will end up moving to X173 (since it has to account for the -23 offset).

            Probably best to create your own thread and share your actual config files and printer details. There could be any number of things contributing to what you're seeing. If we can see your actual gcode being used we have a much better idea of what is actually happening.

            Z-Bot CoreXY Build | Thingiverse Profile

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