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

Mesh Grid wrong coordinates

Scheduled Pinned Locked Moved
IR Height Sensor
2
5
277
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.
  • undefined
    Queevix
    last edited by 29 Jan 2022, 13:52

    Hey everyone,

    So I seem to behaving another strange little problem.
    The printer works, as I can home all axes as expected, and I also managed to make my first print, but I can't get the Mesh bed levelling to work as I want it to.

    This is the code I'm using for the moment on my Z-probe settings:
    ; Z-Probe
    M558 P5 C"!io3.in" H5 F120 T6000 ; set Z probe type to modulated and the dive height + speeds
    G31 P500 X48 Y65 Z0.35 ; set Z probe trigger value, offset and trigger height
    M557 X50:450 Y65:450 S80:77 ; define mesh grid

    Now, as I run the mesh bed compensation with either G32 or G29, the printhead for its first measurement moves to X0Y0, and probes there, which is problematic, as the bed is not under the probe at this coordinate.
    Over the last week, I have used many different coordinates for both the X and the Y position, as well as for the point spacing. I always get this same result.

    Anyone have any idea what I'm doing wrong?

    undefined 1 Reply Last reply 29 Jan 2022, 15:04 Reply Quote 0
    • undefined
      chrishamm administrators @Queevix
      last edited by 29 Jan 2022, 15:04

      @queevix In your G31 line you specify a probe offset. Are you sure it is correct? RRF adds the probe offset to the requested position when you run G29.

      Duet software engineer

      undefined 1 Reply Last reply 29 Jan 2022, 15:38 Reply Quote 0
      • undefined
        Queevix @chrishamm
        last edited by 29 Jan 2022, 15:38

        @chrishamm

        I had not considered this. I use this offset (X48 Y65) as is the position where I want the probe to home the Z-axis. And that's how it seems to work.

        Now, thanks to your advice I wrote it like this:
        ; Z-Probe
        M558 P5 C"!io3.in" H5 F120 T6000 ; set Z probe type to modulated and the dive height + speeds
        G31 P500 X48 Y65 Z0.35 ; set Z probe trigger value, offset and trigger height
        M557 X98:530 Y130:530 S80:77 ; define mesh grid

        Which to me doesn't make much sense, but it works, and I got a nice height map too, so I'm very happy. 😁

        Thank you!

        undefined 1 Reply Last reply 29 Jan 2022, 16:42 Reply Quote 0
        • undefined
          chrishamm administrators @Queevix
          last edited by 29 Jan 2022, 16:42

          @queevix Not quite ideal, you may find the heightmap compensation isn't 100% accurate then. The probe offset is the offset between the nozzle (or tool tip) and the probe. You should measure that and use it in G31. To adjust the homing position for Z, it's better to modify the last G1 move before G30 in your homeall.g/homez.g files.

          Duet software engineer

          undefined 1 Reply Last reply 29 Jan 2022, 17:06 Reply Quote 0
          • undefined
            Queevix @chrishamm
            last edited by 29 Jan 2022, 17:06

            @chrishamm
            That does make sense. Thanks a lot, I'll try this tomorrow 🙂

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