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

    G28 Z error homing failed

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    11
    740
    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.
    • frnknstnundefined
      frnknstn
      last edited by

      ; General preferences
      G90                                                                     ; Send absolute coordinates...
      M83                                                                     ; ...but relative extruder moves
      
      ; Network
      M550 P"duet3"                        	                                ; 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
      M575 P1 S1 B57600							                            ; Panel Due
      
      ; Printer geometry
      M669 K1                	                                                ; Select CoreXY mode
      M208 X0:272 Y0:243 Z0:400                                             ; Axis Limits
      M564 H0							                                        ; allow unhomed movement
      
      ;------- drives from top---------------------------------------------------
      ;  B -------+------ A   
      ;   | P.02 | P.03 |
      ;   -------+-------  Z-Drives
      ;   | P0.1 | P0.4 |
      ;   -------+-------
      ;        Front
      
      ; Drive Mappings
      M569 P0.0 S1 V0                                                         ; Drive 0: E Axis
      M569 P0.1 S0 V0                                                         ; Drive 1: Z-LeftFront Axis
      M569 P0.2 S1 V0                                                         ; Drive 2: Z-LeftRear Axis
      M569 P0.3 S0 V0                                                         ; Drive 3: Z-RightRear Axis
      M569 P0.4 S1 V0                                                         ; Drive 4: Z-RightFront Axis
      M569 P1.0 S1 V0                                                         ; Drive 5: Expansion: B motor (X-axis)
      M569 P1.1 S1 V0                                                         ; Drive 6: Expansion: A motor (Y-axis)
      
      
      ; Motor remapping for Quad Z and axis Limits
      M584 X1.0 Y1.1 Z0.1:0.2:0.3:0.4 E0.0                                    ; Motor mapping
      M671 X-76.2:-76.2:406.4:406.4 Y0:374.65:374.65:0 S20	                ; Z leadscrews positions Left Front - Let Rear - Right Rear - Right Front
      
      ; Microstepping and Speed
      M350 X32 Y32 E16 Z16 I1                                                 ; Configure microstepping with interpolation   
      M92 X200.00 Y200.00 Z200.00 E400.00                                     ; Set steps per mm	1.8 motors							
      
      ; Speeds, Acceleration and Jerk
      M566 X400.00 Y400.00 Z25.00 E600.00 P1                                  ; Set maximum instantaneous speed changes (mm/min)
      M203 X12000.00 Y12000.00 Z1000.00 E3600.00                              ; Set maximum speeds (mm/min)
      M201 X3000.00 Y3000.00 Z100.00 E3600.00                                 ; Set accelerations (mm/s^2)
      
      ; Motor currents
      M906 X1200.00 Y1200.00 Z1200.00 E700.00 I60                             ; Set motor currents (mA) and motor idle factor in percent 
      M84 S600                                                                ; Set idle timeout
      
      ; Endstops for each Axis
      M574 X2 S1 P"io0.in" 					 	                            ; Set X endstop controlled by switch
      M574 Y2 S1 P"io1.in"                                                 	; Set Y endstop controlled by switch
      
      ; Z probes
      M558 K0 P8 C"^io2.in" T18000 F400 H5 A5 S0.01 R0.2
      ;G31 X-40 Y-10 Z0 P25 I1 ; Set Probe Offset and Z height to 0 ready for calibration
      ;G31 X-40 Y-10 Z1.458 P25 I1 ; 0mm (1.458)
      ;G31 X-40 Y-10 Z1.278 P25 I1 ; Set Probe Offset and height for z = nozzle gap (0.18mm) for a layer height of 0.2mm
      ;G31 X-40 Y-10 Z1.338 P25 I1 ; Set Probe Offset and height for z = nozzle gap (0.12mm) for a layer height of 0.15mm
      ;G31 X-40 Y-10 Z1.378 P25 I1 ; Set Probe Offset and height for z = nozzle gap (0.08mm) for a layer height of 0.1mm
      
      ; Stallgaurd Sensitivy (maybe use to pause print after crash)
      M915 X S2 F0 H200 R0		                                            ; Set X axis Sensitivity  1.8 motors
      M915 Y S2 F0 H200 R0		                                            ; Set y axis Sensitivity  1.8 motors
      
      ; Input Shaper and Accelerometer
      ;M955 P0 C"io4.out+io4.in"
      ;M593 F46.75 S0.2
      ;M593 F19 P4 S0.3 ; experimental 
                       
      
      ; Z Probe Offset (Probe behind Afterburner)
      G31 P500 X0 Y21 Z5-.07
      
      ; Heaters
      M308 S0 P"temp_0" Y"thermistor" A"Bed" T100000 B4138                    ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out_0" T0                                                     ; create bed heater output on out0 and map it to sensor 0                                             
      M307 H0 B0 R0.181 C640.6 D3.19 S1.00                                    ; set model parameters for heater 1 and use PID mode
      M140 H0                                                                 ; map heated bed to heater 0
      M143 H0 S120                                                            ; set temperature limit for heater 0 to 120C
      
      M308 S1 P"temp_1" Y"thermistor"  A"Hotend" T100000 B4725 C7.06e-8       ; configure sensor 1 as thermistor on pin temp1
      M950 H1 C"out_1" T1                                                     ; create nozzle heater output on out1 and map it to sensor 1
      M307 H1 B0 R2.436 C191.9 D3.44 S1.00                                    ; disable bang-bang mode for heater  and set PWM limit                                                     
      M143 H1 S280                                                            ; set temperature limit for heater 1 to 280C
      
      
      ; Fans
      M950 F0 C"out7" Q500                                                    ; Parts cooling create fan 0 on pin out7 and set its frequency
      M106 P0 S0 H-1                                           
      
      M950 F1 C"out8" Q500                                                    ; Extruder create fan 1 on pin out8 and set its frequency
      M106 P1 T45 H1                                           
      
      
      ; Fans Electronic compartment & Exhaust
      ;M950 F1 C"out3" Q100				                                    ; Creates Case Fan 1
      ;M106 P1 T40 S150 H0                                                    ; Case Fan 1 Settings (Turns on at 60°C tool temp) at low speed
      ;M950 F2 C"out4" Q100				                                    ; Creates Case Fan 2
      ;M106 P2 T40 S150 H0                                                    ; Case Fan 2 Settings (Turns on at 60°C tool temp) at low speed
      ;M950 F5 C"out7" Q100				                                    ; Creates Case Fan 2
      ;M106 P5 T95 S50 H0                                                     ; Exhaust fan
      
      ; Filament Runout sensor
      ;M950 J4 C"io5.in"                                                      ; Input 4 filament sensor
      ;M581 P1 T2 S1 R1                                                       ; Filament Sensor P1 triggers  inactive-to-active edge (S1) tigger2.g (T2) only when printing (R1)
      ;M591 D0 P1 C"io5.in" S1		                                    	; Filament Sensor 
      
      ; Tools
      M563 P0 D0 H1 F0
      G10 P0 X0 Y0 Z0                                                         ; Set tool 0 axis offsets
      G10 P0 R0 S0                                                            ; Set initial tool 0 active and standby temperatures to 0C
      T0
      
      
      
      
      
      
      
      
      
      
      
      ; bed.g file for RepRapFirmware, generated by Escher3D calculator
      M561 ; clear any existing bed transform
      M401 ; deploy Z probe if necessary
      G30 P0 X20 Y20 Z-99999 ; define 4 points in a clockwise direction around the bed, starting near (0,0)
      G30 P1 X20 Y240 Z-99999
      G30 P2 X240 Y240 Z-99999
      G30 P3 X240 Y20 Z-99999
      G30 P4 X100 Y100 Z-99999 S4 ; finally probe bed centre, and calculate compensation
      M402 ; retract the Z probe
      G1 X0 Y0 F5000 ; move the head to the corner (optional)
      

      I am able to get the probing done then when its done probing i get an error.

      Gixxerfastundefined 1 Reply Last reply Reply Quote 0
      • Gixxerfastundefined
        Gixxerfast @frnknstn
        last edited by Gixxerfast

        @frnknstn said in G28 Z error homing failed:

        ; Z Probe Offset (Probe behind Afterburner) G31 P500 X0 Y21 Z5-.07

        This doesn't look all OK. The minus sign is a bit misplaced.

        Also, I don't understand why you show the bed.g macro when talking about homing Z (G28 Z). Z must be homed before you can run bed leveling.

        G28 Z when called is executing the homez.g macro to home z.

        G32 (bed leveling) is calling the bed.g macro when leveling the bed or quad gantry leveling as with the Voron 2.4.
        G29 (bed mesh) is calling the mesh.g to create a bed mesh to compensato for an uneven bed or bent gantry.

        Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
        Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
        Ender 3 Pro with BTT SKR-2 + RRF

        frnknstnundefined 1 Reply Last reply Reply Quote 0
        • frnknstnundefined
          frnknstn @Gixxerfast
          last edited by

          @gixxerfast so my z home has to be off an estop. I cant use a specific point on the bed with the probe. Im not trying to be a pest i am trying to learn

          Gixxerfastundefined 2 Replies Last reply Reply Quote 0
          • Gixxerfastundefined
            Gixxerfast @frnknstn
            last edited by

            @frnknstn No problem.

            No you can home with a probe. You just config it in homez.g and in homeall.g (I just call homez.g in my homeall.g).

            I just don't understand what the problem is right now.

            Can you home all axis?

            What printer did you have now again?

            Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
            Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
            Ender 3 Pro with BTT SKR-2 + RRF

            1 Reply Last reply Reply Quote 0
            • Gixxerfastundefined
              Gixxerfast @frnknstn
              last edited by

              @frnknstn Don't get frustrated. Just do one thing at the time. 🙂

              Fix the Z-homing first, then move on

              Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
              Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
              Ender 3 Pro with BTT SKR-2 + RRF

              frnknstnundefined 1 Reply Last reply Reply Quote 1
              • frnknstnundefined
                frnknstn @Gixxerfast
                last edited by

                @gixxerfast i have been trying to figure this out on my own so i wasnt bothering people. but for some reason i think i keep making it worse.

                I am kind of running a voron2.4, i am running the voron gantry style with Duet3 6hc and expansion
                I installed a z stop thinking i was suppose to use that then the bed levels from that setting. but i keep reading i dont need a z endstop. So im not sure. I am really trying to learn this but i think someone telling what to do and why its that way is the only way it seems i can comprehend this stuff.

                frnknstnundefined 1 Reply Last reply Reply Quote 0
                • frnknstnundefined
                  frnknstn @frnknstn
                  last edited by

                  @frnknstn i can home x and y. when i tell it to home z it starts probing, when thats complete i get errors

                  frnknstnundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                  • frnknstnundefined
                    frnknstn @frnknstn
                    last edited by

                    @frnknstn ```
                    This is the homez

                    ; called to home the Z axis
                    ;
                    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Thu Apr 23 2020 19:55:13 GMT+0100 (British Summer Time)
                    G91 ; relative positioning
                    G1 H2 Z5 F6000 ; lift Z relative to current position
                    G90 ; absolute positioning
                    G1 X50 Y50 F6000 ; go to first probe point
                    G30 ; home Z by probing the bed
                    
                    ; Uncomment the following lines to lift Z after probing
                    ;G91 ; relative positioning
                    ;G1 Z5 F100 ; lift Z relative to current position
                    
                    ;G90 ; absolute positioning
                    
                    

                    This is the home all

                    ; called to home all axes
                    ;
                    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Thu Apr 23 2020 19:55:13 GMT+0100 (British Summer Time)
                    G91                     ; relative positioning
                    G1 H1 X-335  Y-335      ; move quickly to X or Y endstop and stop there (first pass)
                    G1 X5 Z5 F6000          ; go back a few mm
                    G1 H1 X-335 F360        ; move slowly to X axis endstop once more (second pass)
                    G1 H1 Y-335 F360        ; move slowly to Y axis endstop once more (second pass)
                    G1 X50 Y50		; Move z probe over bed
                    G1 H1 Z-405             ; then move slowly to Z axis endstop
                    G1 H1 Z5 F6000          ; lift Z relative to current position
                    G1 H1 Z-335 F1800       ; move Z down stopping at the endstop
                    G90                     ; absolute positioning
                    frnknstnundefined JoergS5undefined 2 Replies Last reply Reply Quote 0
                    • frnknstnundefined
                      frnknstn @frnknstn
                      last edited by

                      @frnknstn i am trying to go by these and adjust them

                      1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @frnknstn
                        last edited by

                        @frnknstn said in G28 Z error homing failed:

                        @frnknstn i can home x and y. when i tell it to home z it starts probing, when thats complete i get errors

                        What is the error?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • JoergS5undefined
                          JoergS5 @frnknstn
                          last edited by

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