Duet3D Logo

    Duet3D

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

    Solved Bed calibration error. 4 points requested, only 3 points probed.

    General Discussion
    2
    3
    470
    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.
    • Surgikill
      Surgikill last edited by Surgikill

      So I have 4 independent z leadscrews set up. I have configured the config.g and bed.g files appropriately. When I run G32 I watch it probe 4 points on the bed, however I get an error in the g-code console telling me it requested 4 probe points but only received 3.

      Here is my bed.g file

      ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool v2 on Fri Nov 16 2018 19:13:03 GMT-0500 (Eastern Standard Time)
      M561 ; clear any bed transform
      G28 ; home
      G30 P0 X51 Y15 Z-99999 ; probe near a leadscrew
      G30 P0 X51 Y280 Z-99999 ; probe near a leadscrew
      G30 P1 X300 Y280 Z-99999 ; probe near a leadscrew
      G30 P2 X300 Y15 Z-99999 S4 ; probe near a leadscrew and calibrate 5 motors
      

      and here is my config. g

      ; Configuration file for Duet WiFi (firmware version 1.21)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2 on Fri Nov 16 2018 19:13:03 GMT-0500 (Eastern Standard Time)
      
      ; General preferences
      G90                                         ; Send absolute coordinates...
      M83                                         ; ...but relative extruder moves
      
      M667 S1                                     ; Select CoreXY mode
      
      ; Network
      M550 P"CoreXY"                              ; Set machine name
      M552 S1                                     ; Enable network
      ;*** Access point is configured manually via M587
      M586 P0 S1                                  ; Enable HTTP
      M586 P1 S0                                  ; Disable FTP
      M586 P2 S0                                  ; Disable Telnet
      
      ; Drives
      M569 P0 S1                                  ; Drive 0 goes backwards
      M569 P1 S1                                  ; Drive 1 goes backwards
      M569 P3 S1                                  ; Drive 3 goes backwards
      M569 P5 S0                                  ; Drive 5 goes forwards
      M569 P6 S0                                  ; Drive 6 goes forwards
      M569 P7 S0                                  ; Drive 7 goes forwards
      M569 P8 S0                                  ; Drive 8 goes forwards
      M350 X16 Y16 Z16 E16 I1                     ; Configure microstepping with interpolation
      M92 X80.00 Y80.00 Z2560.00 E96.00           ; Set steps per mm
      M566 X900.00 Y900.00 Z12.00 E120.00         ; Set maximum instantaneous speed changes (mm/min)
      M203 X3000.00 Y3000.00 Z600.00 E1200.00     ; Set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 E250.00         ; Set accelerations (mm/s^2)
      M906 X1300.00 Y1300.00 Z1000.00 E1000.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30                                     ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z0 S1                            ; Set axis minima
      M208 X300 Y380 Z310 S0                      ; Set axis maxima
      
      ; Endstops
      M574 X1 Y1 S1                               ; Set active high endstops
      
      ; Z-Probe
      M574 Z1 S2                                  ; Set endstops controlled by probe
      M558 P1 H5 F120 T6000                       ; Set Z probe type to modulated and the dive height + speeds
      G31 P500 X0 Y0 Z2.5                         ; Set Z probe trigger value, offset and trigger height
      M557 X15:290 Y15:370 S20                    ; Define mesh grid
      
      ; Heaters
      M307 H0 B0 S1.00                            ; Disable bang-bang mode for the bed heater and set PWM limit
      M305 P0 T100000 B4138 R4700                 ; Set thermistor + ADC parameters for heater 0
      M143 H0 S90                                 ; Set temperature limit for heater 0 to 90C
      M305 P1 T100000 B4388 C7.060000e-8 R4700    ; Set thermistor + ADC parameters for heater 1
      M143 H1 S280                                ; Set temperature limit for heater 1 to 280C
      
      ; Fans
      M106 P0 S1 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"Extruder 0" D0 H1                 ; 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
      
      ; Automatic saving after power loss is not enabled
      
      ; Custom settings are not configured
      M584 X0 Y1 Z5:6:7:8 ; four Z motors connected to driver outputs 5, 6, 7 and 8
      M671 X51:51:347:347 Y-68:393:393:-68 S1 ; leadscrews at front left, rear left rear right and front right
      
      ; Miscellaneous
      M591 D0 P5 C3 R40:120 E3.0  ; Duet3D laser sensor for extruder drive 0 is connected to endstop input 3 (E0), tolerance 40 to 120%, 3mm comparison length
      T0                          ; Select first tool
      

      I'm sure I'm missing something somewhere, but I can visually see it probe 4 points. Maybe I need to change the S parameter for maximum correction?

      Stephen6309 1 Reply Last reply Reply Quote 0
      • Stephen6309
        Stephen6309 @Surgikill last edited by

        @surgikill You're first and second probe points have the same P#.

        1 Reply Last reply Reply Quote 0
        • Surgikill
          Surgikill last edited by

          @Stephen6309 Wow I'm a dipshit. Thanks.

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