Having Some bed leveling issues



  • So I have a 400X400 printer with two Z axis motors. I figured I would try to use them to help with bed compensation, they work great moving them up and down but when I run the calibration script it does the probing and then it compensates the wrong direction (it tilts the bed even further). I'm not sure why. Any thoughts?

    CONFIG.G
    
    ; General preferences
    G90                                      ; Send absolute coordinates...
    M83                                      ; ...but relative extruder moves
    
    M667 S1                                  ; Select CoreXY mode
    
    ; Network
    M550 P"SpazCube"                         ; Set machine name
    M552 P0.0.0.0 S1                         ; Enable network and acquire dynamic address via DHCP
    M586 P0 S1                               ; Enable HTTP
    M586 P1 S0                               ; Disable FTP
    M586 P2 S0                               ; Disable Telnet
    
    
    ; Custom Configuration
    M584 X0 Y1 Z2:4 E3                	; Set Z motors on drives 2 and 4
    M671 X-30.0:430.0 Y0:0 S4 		; Set the Z motor relative locations
    M208 X0:400 Y0:400			; X carriage moves from -5 to 205, Y bed goes from 0 to 200
    
    ; Drives
    M569 P0 S1                               ; Physical drive 0 goes forwards
    M569 P1 S1                               ; Physical drive 1 goes forwards
    M569 P2 S1                               ; Physical drive 2 goes forwards
    M569 P3 S0                               ; Physical drive 3 goes forwards
    M350 X32 Y32 Z32 E16 I0                  ; Configure microstepping  without interpolation
    M92 X200 Y200 Z799.10 E409               ; Set steps per mm
    M566 X350.00 Y350.00 Z12.00 E3000.00      ; Set maximum instantaneous speed changes (mm/min)
    M203 X9000.00 Y9000.00 Z450.00 E3600.00  ; Set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E5000.00       ; Set accelerations (mm/s^2)
    M906 X800.00 Y800.00 Z900.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 X400 Y400 Z500 S0                   ; Set axis maxima
    
    ; Endstops
    M574 X0 Y0 Z0 S0                         ; Set active low and disabled endstops
    
    ; Z-Probe
    M558 P9 H5 A5 F120 T6000                 ; Disable Z probe but set dive height, probe speed and travel speed
    M557 X60:350 Y50:350 S50                 ; Define mesh grid  
    G31 P600 X59.5 Y0 Z2.10
    
    ; Heaters
    M305 P0 T100000 B4138 R2200              ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120                             ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R2200              ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280                             ; Set temperature limit for heater 1 to 280C
    
    ; Fans
    M106 P0 S0 I0 H-1 B1                     ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S1 I0 F500 H1 T45                ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    
    ; Tools
    M563 P0 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
    
    
    CALIBRATE CODE
    
    ; Warm Hotend and Bed
    T0			; Select Tool 0
    M104 S130		; Set Tool 0 temperature to 130 - no wait
    M190 S60		; Set Bed temperature to 60 - wait
    
    ; Clear Values
    G29 S2			; Clear Mesh Compensation Values
    M290 R0 S0      	; Clear Baby-stepping
    
    ; Home all Axes
    G28
    
    ; Bed leveling (G32)
    G30 P0 X60 Y200 Z-99999 	; probe near a leadscrew
    G30 P1 X360 Y200 Z-99999 S2 	; probe near a leadscrew and calibrate 2 motors
    


  • Well...... I'm dumb... swapped which spots the motors were plugged into and BAM. works great......

    Moral of the story... don't be like me


Log in to reply