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

    Silly homing problem

    Scheduled Pinned Locked Moved Solved
    CNC
    2
    6
    268
    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.
    • YYCSparksundefined
      YYCSparks
      last edited by

      So I have a strange problem where my X and Y axis will home just fine and my Z will move and I can probe and everything but when I try to home it using the Home Z button it does not move at all.

      Any help on what I did wrong as I am sure its pretty easy fix and just something I overlooked.

      Here is my Config:

      ; Configuration file for Duet 3 Mini 5+ (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.10 on Thu Mar 24 2022 08:01:33 GMT-0600 (Mountain Daylight Time)
      
      
      ; General preferences
      M453                                            ; Set CNC Mode
      M550 P"MPCNC01"                                 ; set printer name
      G90                                             ; send absolute coordinates...
      G21												; Set units to mm
      ;M83											; ...but relative extruder moves
      
      ; Network
      ;M552 S1                                        ; enable network
      M586 P0 S1                                      ; enable HTTP
      M586 P1 S0                                      ; disable FTP
      M586 P2 S1                                      ; enable Telnet
      
      ; Configure Drives
      ;M669 K0                                        ; explicitly set Cartesian kinematics, even if I should not need to
      M569 P0.0 S1                                    ; physical drive 0.0 goes forwards
      M569 P0.1 S0                                    ; physical drive 0.1 goes forwards
      M569 P0.2 S1                                    ; physical drive 0.2 goes forwards
      M569 P0.3 S0                                    ; physical drive 0.3 goes forwards
      M569 P0.4 S0                                    ; physical drive 0.4 goes forwards
      
      ; Drive Mapping
      M584 X0.0:0.1 Y0.2:0.3 Z0.4                     ; set drive mapping, dual X axis and dual Y axis with single Z
      
      ; Configure Axis
      M92 X100.00 Y100.00 Z400.00				        ; set steps per mm
      M350 X16 Y16 Z16 I1                             ; configure microstepping with interpolation
      M566 X600.00 Y600.00 Z100.00				    ; set maximum instantaneous speed changes (mm/min)
      M203 X4000.00 Y24000.00 Z600.00 					; set maximum speeds (mm/min)
      M201 X300.00 Y300.00 Z100.00					; set accelerations (mm/s^2)
      M906 X1100 Y1100 Z900 I70						; set motor currents (mA) and motor idle factor in per cent
      M84 S600                                        ; Set idle timeout
      
      ; Configure Axis Limits
      M208 X0 Y0 Z0 S1								; set axis minima
      M208 X630 Y502 Z77 S0							; set axis maxima
      
      ; Configure Endstops
      M574 X1 S1 P"io5.in+io6.in"						; X axis configure switch-type (e.g. microswitch) endstop for low end on via pin io5.in and io6.in
      M574 Y1 S1 P"io3.in+io4.in"						; Y axis configure switch-type (e.g. microswitch) endstop for low end on via pin io3.in and io4.in
      M574 Z2 S1 P"io2.in"							; Z axis configure switch-type (e.g. microswitch) endstop for high end on  via pin io2.in
      
      ; Configure Z-Probe
      ;M558 K1 P8 C"!io1.in" H5 F100 T3000 			; XYZ Workpeice probe connected to io1 input
      ;M558 K0 P5 C"!io1.in" H5 F200 T6000			; set Z probe type to switch and the dive height + speeds
      ;M558 K1 P5 C"io0.in" H5 F500 T3000 
      ;G31 Z0											; set Z probe trigger value, offset and trigger height
      M558 K0 P8 C"!io1.in" H5 F100 T3000 			; XYZ Workpeice probe (bitzero) connected to io1.in input
      M558 K1 P8 C"!io0.in" H5 F500 T3000 			; TOOL Z probe (bitsetter)  connected to io5 input
      G31 Z0 											; Set Z probe trigger height
      
      ; BitSetter Location Variables
      ; Used in the BitSetter Macro
      global BtStrXLoc = -1							; X location where the BitSetter button is
      global BtStrYLoc = -377							; Y location where the BitSetter button is
      global BtStrZTrig = -113						; Z height where spindle with no tool loaded triggers the BitSetter
      
      ; Configure CNC Outputs
      ; Extras
      M950 P1 C"out1" 								;set e1heat as a GPIO output pin for LED Lights
      M950 P2 C"out2"									;set e0heat as a GPIO output pin for Laser
      
      ; Tools
      ; Spindle
      M950 R0 C"out5" L0:30000						; Create spindle index 0, on pin out6 and Supports range 0-24000 RPM
      M563 P0 R0 S"spindle1"                     		; define tool 0 with spindle1 
      G10 P0 X0 Y0 Z0                        			; set tool 0 axis offsets
      ;Laser
      ;M950 R1 C"out6" L0"24000						; Create laser index 1, with PWM pin on out3 and Supports range 0-24000 RPM
      ;M563 P1 R1 S"laser1"							; Define tool 1 with laser1
      ;G10 P1 X0 Y0 Z0									; Set tool 1 axis offsets
      ;M452 C"out6" R255 F200 ; Enable Laser mode, on out6, with max intensity being 255, and a PWM frequency of 100
      
      T0												; select tool 0
      
      ; Other Settings
      ;M575 P1 S1 B57600                              ; Enable PanelDUE
      G54                                             ; Select Workspace Coordinate 1
      ;M564 S1 H1 									; Disable jog commands when not homed
      M564 S0 H0                                		; Allow movement without homing (without axis maxima)
      M911 S21.0 R23 P"G91 G1 Z3 F1000" 				; Configure power loss resume
      M501											; Load Stored Parameters 
      
      ; Configure Heaters
      M140 H-1										; Disable heated bed
      M308 S2 Y"drivers" A"DRIVERS"              		; configure sensor 2 as temperature warning and overheat flags on the TMC2660 on Duet
      M308 S3 Y"mcu-temp" A"MCU"                      ; configure sensor 3 as thermistor on pin e1temp for left stepper
      
      

      Here is my HomeAll: Z Does not work but the other axis work fine

      ; homeall.g
      ; called to home all axes
      
      G91 ; relative positioning
      G21 ; Set units to mm
      G1 H1 Z100 F900 ; move quickly to Z axis endstop and stop there (first pass)
      G1 H1 X{-move.axes[0].max*2} F2400 ; move quickly to X axis endstops and stop there (first pass)
      G1 H1 Y{-move.axes[1].max*2} F2400 ; move quickly to Y axis endstops and stop there (first pass)
      G92 X{move.axes[0].min} Y{move.axes[1].min} Z{move.axes[2].max} ; Set Home Position
      G1 X5 Y5 Z-5 F2400 ; go back a few mm
      G1 H1 X{-move.axes[0].max*2} F300 ; move slowly to X axis endstops once more (second pass)
      G1 H1 Y{-move.axes[1].max*2} F300 ; move slowly to Y axis endstops once more (second pass)
      G1 H1 Z{move.axes[2].max*2} F300 ; move slowly to Z axis endstop once more (second pass)
      G92 X{move.axes[0].min} Y{move.axes[1].min} Z{move.axes[2].max} ; Set Home Position
      G90 ; absolute positioning
      

      HomeZ Does not work:

      ; homez.g
      ; called to home the Z axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.10 on Thu Mar 24 2022 08:01:33 GMT-0600 (Mountain Daylight Time)
      
      G91 ; relative positioning
      G21 ; Set units to mm
      G1 H1 Z{move.axes[2].max*2} F900 ; move quickly to Z axis endstop and stop there (first pass)
      G92 Z{move.axes[2].max} ; Set Home Position
      G1 Z-5 F2400 ; go back a few mm
      G1 H1 Z{move.axes[2].max*2} F300 ; move slowly to Z axis endstop once more (second pass)
      G92 Z{move.axes[2].max} ; Set Home Position
      G90 ; absolute positioning
      
      1 Reply Last reply Reply Quote 0
      • OwenDundefined
        OwenD
        last edited by

        Remove the G92's
        They are unnecessary and may cause issues.
        See the G1 command notes

        YYCSparksundefined 1 Reply Last reply Reply Quote 0
        • YYCSparksundefined
          YYCSparks @OwenD
          last edited by

          @OwenD okay thank you I will remove that.

          However if I put this into the console nothing happens with the Z axis:

          G1 H1 Z{move.axes[2].max*2} F900

          It should shouldnt it?

          OwenDundefined 1 Reply Last reply Reply Quote 0
          • OwenDundefined
            OwenD @YYCSparks
            last edited by

            @YYCSparks
            If your Z axis is energised then I would expect that to work.
            Try sending M564 S0 H0 ; allow movement before homing first

            YYCSparksundefined 1 Reply Last reply Reply Quote 0
            • YYCSparksundefined
              YYCSparks @OwenD
              last edited by

              @OwenD thanks man. Appreciate the help.
              Apparently it was user error. I was messing around with building a tool probe and it was set wrong causing the Z axis to see the probe as tripped and wouldn’t home.

              OwenDundefined 1 Reply Last reply Reply Quote 0
              • OwenDundefined
                OwenD @YYCSparks
                last edited by

                @YYCSparks said in Silly homing problem:

                it was set wrong causing the Z axis to see the probe as tripped and wouldn’t home.

                That'll do it 😁

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined Phaedrux marked this topic as a question
                • Phaedruxundefined Phaedrux has marked this topic as solved
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA