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

    [solved] Duet Crash on probing

    Scheduled Pinned Locked Moved
    Firmware installation
    2
    3
    725
    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.
    • toshiundefined
      toshi
      last edited by

      Hello everybody,

      I just receive my board this morning and I wiring it on my smartalu this evening with more or less problems.
      Every things seems to be properly connected, end stop and inductive prove recognize but I have a trouble with my bed auto leveling. When I launch it through the web interface, the printer move, home X, Y, probe 5 points and then crash …

      Thanks a lot for your help,
      Seb

      with the error :

      [[language]]
      Communication Error
      
      An AJAX error has been reported, so the current session has been terminated.
      
      Please check if your printer is still on and try to connect again.
      
      Error reason: SyntaxError: Unexpected token a in JSON at position 65
      
      

      Here my bed.g

      [[language]]
      ; Auto calibration routine for delta printers
      ; Before running this, you should have set up your zprobe Z offset to suit your build, in the G31 command in config.g.
      
      M561						; clear any bed transform, otherwise homing may be at the wrong height
      G31 X0 Y0					; don't want any probe offset for this
      G28							; home the printer
      
      ;*** Remove the following line if your Z probe does not need to be deployed
      ;M98 Pdeployprobe.g			; deploy the mechanical Z probe
      
      ; The first time the mechanical probe is used after deployment, it gives slightly different results.
      ; So do an extra dummy probe here. The value stored gets overwritten later. You can remove this if you use an IR probe.
      ;G30 P0 X0 Y0 Z-99999
      
      ; Probe the bed and do 6- or 7-factor auto calibration
      G30 P0 X15 Y15 Z-99999 H0			; X tower
      G30 P1 X170 Y15	Z-99999 H0			; between X and Y towers
      G30 P2 X170 Y170 Z-99999 H0			; Y tower
      G30 P3 X15 Y170	Z-99999 H0			; between Y and Z towers
      G30 P4 X90 Y90 Z-99999 S4			; Z tower
      
      ;*** Remove the following line if your Z probe does not need to be retracted
      ;M98 Pretractprobe.g				; retract the mechanical Z probe
      
      G1 X10 Y10 Z10 F8000			; get the head out of the way of the bed
      
      
      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        You need to probe clockwise around the bed, not anticlockwise. I've heard before that probing the wrong way causes problems, but I wasn't aware that it could cause the web interface to disconnect.

        You may wish to use mesh bed levelling instead because it allows a much larger number of probe points. See https://duet3d.com/wiki/Using_mesh_bed_compensation.

        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
        • toshiundefined
          toshi
          last edited by

          Thanks a lot for your quick answer, now it works !

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