G32 G30 Auto Calibration Issues



  • Hello,

    I'm in the midst of converting an Anycubic Kossel Linear Plus to Duet electronics and Haydn's magball arms. I am having difficulty with getting the auto-calibration to work properly, and I'm sure it's a very simple thing I have overlooked, but I've been stuck for a few days.

    Running G28 followed by G30 produces results as expected. Tap the nozzle, probing stops.

    When running G32, the effector descends, will not respond to Z-probe trigger, and crashes into the bed. Occasionally, when running calibration with a test height of M665 H100 instead of the H240 approximation I have below from my initial build and measurements, the effector will descend ~100mm, perform a Z probe going down 20mm dive height as specified in M558, not make contact with the bed, and fail the calibration due to no measurements.

    I think I've included relevant information below. Let me know if there's any other information you need or if you have questions. Thanks! 🙂

    TLDR, how do I stop my G32 from ignoring my z probe output and crashing into the bed?

    Firmware Electronics: Duet WiFi 1.02 or later
    Firmware Version: 2.04 (2019-11-01b1)
    Note that I was running an older version of the firmware when first encountering this problem, but updating to the newest release did not solve my issue either

    ;bed.g
    
    M561
    G28
    
    G30 P0 X0.00 Y100.00 Z-99999 H0
    G30 P1 X86.60 Y-50.00 Z-99999 H0
    G30 P2 X-86.60 Y-50.00 Z-99999 H0
    G30 P3 X0.00 Y50.00 Z-99999 H0
    G30 P4 X43.30 Y-25.00 Z-99999 H0
    G30 P5 X-43.30 Y-25.00 Z-99999 H0
    G30 P6 X0 Y0 S4
    
    ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.0.5 on Thu Oct 31 2019 11:01:24 GMT-0700 (Pacific Daylight Time)
    
    ; General preferences
    G90                                         ; send absolute coordinates...
    M83                                         ; ...but relative extruder moves
    M550 P"delta"                               ; set printer name
    
    
    
    M665 R130 L288.13 B110 H240              ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0                               ; put your endstop adjustments here, or let auto calibration find them
    
    ; Network
    M552 S1                                     ; enable network
    M586 P0 S1                                  ; enable HTTP
    M586 P1 S0                                  ; disable FTP
    M586 P2 S0                                  ; disable Telnet
    
    ; Drives
    M569 P0 S1                                         ; Drive 0 goes forwards
    M569 P1 S1                                         ; Drive 1 goes forwards
    M569 P2 S1                                         ; Drive 2 goes forwards
    M569 P3 S1                                         ; Drive 3 goes forwards
    M350 X16 Y16 Z16 E16 I1                            ; Configure microstepping with interpolation
    M92 X80 Y80 Z80 E96                                ; Set steps per mm
    M566 X300 Y300 Z300 E300                           ; Set maximum instantaneous speed changes (mm/min)
    M203 X1200 Y1200 Z1200 E12000                   ; Set maximum speeds (mm/min)
    M201 X3000 Y3000 Z3000 E3000                       ; Set accelerations (mm/s^2)
    M906 X1000 Y1000 Z1000 E1000 I30                   ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30  
    ; Axis Limits
    M208 Z0 S1                                  ; set minimum Z
    
    ; Endstops
    M574 X1 Y1 Z1 S1                            ; set active high endstops
    
    ; Z-Probe
    M558 P8 R0.4 F1200 H20               ; set Z probe type to effector and the dive height + speeds
    G31 P100 X0 Y0 Z-0.1                        ; set Z probe trigger value, offset and trigger height
    M557 R85 S20                                ; define mesh grid
    
    ; Heaters
    M305 P0 T100000 B4138 R4700                 ; set thermistor + ADC parameters for heater 0
    M143 H0 S120                                ; set temperature limit for heater 0 to 120C
    
    M305 P1 T100000 B4725 C7.06e-8                 ; set thermistor + ADC parameters for heater 1
    M143 H1 S280                                ; set temperature limit for heater 1 to 280C
    
    ; Fans
    M106 P0 S0 I0 F500 H-1                      ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45                   ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    
    ; Tools
    M563 P0 S"Hotend" D0 H1 F0                  ; define tool 0
    G10 P0 X0 Y0 Z0                             ; set tool 0 axis offsets
    G10 P0 R0 S0                                ; set initial tool 0 active and standby temperatures to 0C
    
    ; Custom settings are not defined
    
    


  • This post is deleted!


  • @whil said in G32 G30 Auto Calibration Issues:

    G30

    Running G30 should give you the height to put into M665.

    Change your bed.g to run 6 factor calibration. (the default recommended one -> S6).

    Normally there is no G28 in the Bed.g file



  • I think both of us might be confused here. Correct me if I'm wrong, but when G30 is called during auto calibration, triggering the Z probe should stop the effector. Correct? Currently, this is not the case with my setup.



  • home the printer
    run M119
    report the output.

    move the head down to where it should trigger.
    then run M119 again
    report the output.


Log in to reply