Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Auto Calibration: G30 ignores settings if P* parameter is used

    Tuning and tweaking
    2
    4
    370
    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.
    • dgrat
      dgrat last edited by dgrat

      Hi there,
      I just build a Delta but have problems with G30. If used with P* parameter,
      it ignores M558 (P1 I1 R0.4 F1000 X0 Y0 Z0) and crashes right into the bed with max speed.
      Without P* it uses the settings, goes down with set feed rate, stops and reports the height.

      fails:

      G30 P0 X100 Y100 S-1 H0 Z-99999

      works:

      G30 X100 Y100 S-1 H0 Z-99999

      Any ideas?

      Edit: Btw. in both cases the X/Y coords are ignored. The head always just moves down.

      Best dgrat

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

        From the wiki page on calibrating a delta printer:

        Running auto calibration for the first time

        Initially, we recommend that you set the Z probe dive height in your M558 command to a large value, in case of large errors in your M665 R and H parameters or in your endstop trigger heights, that could otherwise cause the nozzle to scrape the bed before probing starts. For example, add parameter H30 to your M558 command in config.g. This will make probing start 30mm above where the firmware thinks the bed ought to be, instead of the default 5mm.

        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 1
        • dgrat
          dgrat last edited by dgrat

          I got it. There have been two problems. 1) My probe offset was just 5mm and the printer not calibrated. So it crashed into the bed, going too far to the edges, because the surface is convex (before calibration). This is more or less the case for nearly all new builds. Maybe 5mm is too optimistic as a standard. 2) G30 behaves unexpected. Without P* parameter, it just goes down slowly. With P* parameter it goes down fast, slows down when apporaching the distance from M558 (worked with 20mm for me). In my opinion a bug, G30 should behave always the same. Anyway, my printer seems calibrated now. I am impressed by how much smoother the motors run in comparison to my cheaper boards. Hope to print a test in the coming days.

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

            G30 with a P parameter is intended for auto calibration and similar operations performed when the printer has already been homed. So it starts probing from the dive height (M558 H parameter). Whereas G30 without a P parameter is intended for operations such as initial Z homing and measuring the Z probe trigger height, so it starts probing from the current height.

            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
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA