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

    Heigh error after calibrating

    Scheduled Pinned Locked Moved
    General Discussion
    probe firmware
    5
    59
    2.8k
    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.
    • TristanKoelnundefined
      TristanKoeln @fcwilt
      last edited by

      @fcwilt thx for you advice, but first i want that my printer prints something befor i will realy start tweaking out some thing, right now my problem is that the nozzel is allways 1-2 mm to high

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @TristanKoeln
        last edited by

        @TristanKoeln said in Heigh error after calibrating:

        @fcwilt thx for you advice, but first i want that my printer prints something befor i will realy start tweaking out some thing, right now my problem is that the nozzel is allways 1-2 mm to high

        OK that should be easy to correct.

        One thing you need to remember is that before creating a height map with G29 S0 and before loading the height map with G29 S1 you need to perform a G1 to move the probe to the center of the bed and then do a single G30 to set the Z=0 datum.

        And of course for the Z probe to work properly it's Z trigger height value (in G31) needs to be set to the correct value.

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        Stephen6309undefined 1 Reply Last reply Reply Quote 0
        • TristanKoelnundefined
          TristanKoeln
          last edited by

          @fcwilt all of that is done see in the homeZ and the trigger hiegh is calibrated with :
          Move the nozzel to the middle
          G30
          than moving nozzel down till it hits the bed
          G92 Z0
          G1 Z10
          G30 S-1

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @TristanKoeln
            last edited by

            @TristanKoeln said in Heigh error after calibrating:

            @fcwilt all of that is done see in the homeZ and the trigger hiegh is calibrated with :
            Move the nozzel to the middle
            G30
            than moving nozzel down till it hits the bed
            G92 Z0
            G1 Z10
            G30 S-1

            That calibration looks fine.

            However homeZ.g looks a bit wonky.

            I've re-posted it here using the </> tag:

            ; homez.g
            ; called to home the Z axis
            ;
            G91               ; relative positioning
            G1 H2 Z10 F6000   ; lift Z relative to current position
            G1 H1 Z-500 F3000 ;Go down till endstop
            G1 H2 Z10 F6000
            G1 X200 Y200 F4000 ;go to midle
            G30 ; move Z down until the endstop is triggered
            G92 Z0         ; set Z position to axis minimum (you may want to adjust this)
            
            ; Uncomment the following lines to lift Z after probing
            ;G91              ; relative positioning
            ;G1 Z10 F100      ; lift Z relative to current position
            G90              ; absolute positioning
            

            This line, which occurs after the G30, may be the cause of your problems:

            G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

            On my printer, running firmware 3.2.2, after a G30 the Z position is the probe dive height (the H parameter in M558) plus the Z trigger height (the Z parameter in G31).

            But the G92 is telling the firmware that the Z position is 0.

            Perhaps that is correct for your firmware but it would cause a problem with mine.

            Frederick

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

            1 Reply Last reply Reply Quote 0
            • TristanKoelnundefined
              TristanKoeln
              last edited by

              @fcwilt with the G92 Z(dive heigh+triger high)
              is still the same problem

              fcwiltundefined 2 Replies Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @TristanKoeln
                last edited by fcwilt

                @TristanKoeln said in Heigh error after calibrating:

                @fcwilt with the G92 Z(dive heigh+triger high)
                is still the same problem

                After you performed the calibration routine you posted did you go back and update the G31 command with the correct Z trigger height as reported by the G30 S-1?

                Frederick

                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                1 Reply Last reply Reply Quote 0
                • TristanKoelnundefined
                  TristanKoeln
                  last edited by

                  @fcwilt jup its 3.760

                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                  • fcwiltundefined
                    fcwilt @TristanKoeln
                    last edited by

                    @TristanKoeln said in Heigh error after calibrating:

                    @fcwilt with the G92 Z(dive heigh+triger high)
                    is still the same problem

                    Since the G30 leaves Z at dive height + trigger height setting it again to the same value with G92 is redundant.

                    It doesn't hurt but isn't needed.

                    Frederick

                    Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                    1 Reply Last reply Reply Quote 0
                    • fcwiltundefined
                      fcwilt @TristanKoeln
                      last edited by

                      @TristanKoeln said in Heigh error after calibrating:

                      @fcwilt jup its 3.760

                      Are you still running the "PLA" macro?

                      If so what does it look like.

                      Frederick

                      Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                      1 Reply Last reply Reply Quote 0
                      • TristanKoelnundefined
                        TristanKoeln
                        last edited by

                        @fcwilt

                        G31 X-31.7 Y3,16 Z3,760 P25
                        M291 P"PLA Offset" S0 T5
                        
                        fcwiltundefined 1 Reply Last reply Reply Quote 0
                        • fcwiltundefined
                          fcwilt @TristanKoeln
                          last edited by

                          @TristanKoeln said in Heigh error after calibrating:

                          @fcwilt

                          G31 X-31.7 Y3,16 Z3,760 P25
                          M291 P"PLA Offset" S0 T5
                          

                          And that is the height reported by your calibration routine?

                          Frederick

                          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                          1 Reply Last reply Reply Quote 0
                          • TristanKoelnundefined
                            TristanKoeln
                            last edited by

                            @fcwilt ya

                            1 Reply Last reply Reply Quote 0
                            • fcwiltundefined
                              fcwilt
                              last edited by

                              Hi,

                              Recall that before creating a height map with G29 S0 or before loading the height map with G29 S1 you need to position the probe to the center of the bed and do a single G30 to set the Z=0 datum.

                              Having set the Z trigger height to the value as reported by your calibration routine did you go back and re-create the height map using the new value?

                              Are you also setting the Z=0 datum when loading the new height map?

                              I mentioned that changing the Z trigger height to accommodate different filaments was not a good approach - one reason being is that it will mess up setting the Z=0 datum which may cause the height map to not work right.

                              Frederick

                              Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                              1 Reply Last reply Reply Quote 0
                              • TristanKoelnundefined
                                TristanKoeln
                                last edited by

                                @fcwilt i reprobed everything still same problem, could it be something with the zmin stop and the prob are on 2 diff heights? if yes what would be the solution

                                1 Reply Last reply Reply Quote 0
                                • fcwiltundefined
                                  fcwilt
                                  last edited by

                                  Hi,

                                  I've re-posted your files using the </> tag - it saves everyone the trouble of downloading your files.

                                  Would you look at them and verify they are your current files?

                                  Thanks.

                                  Frederick

                                  ; Configuration file for Duet WiFi (firmware version 3)
                                  ; executed by the firmware on start-up
                                  ;
                                  ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                  
                                  ; General preferences
                                  G90                                                 ; send absolute coordinates...
                                  M83                                                 ; ...but relative extruder moves
                                  M550 P"BIGCREATOR"                                  ; set printer name
                                  
                                  
                                  ; Network
                                  M552 S1                                             ;Tun Network ON
                                                              
                                  ; Drives
                                  M569 P0 S0                                          ; 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
                                  M569 P4 S1                                          ; physical drive 4 goes forwards
                                  M584 X0 Y1 Z2:4 E3                                  ; set drive mapping
                                  M350 X16 Y16 Z16:16 E16 I1                          ; configure microstepping with interpolation
                                  M92 X80.00 Y100.00 Z405:405.00 E750.00              ; set steps per mm
                                  M566 X1800.00 Y1800.00 Z120.00:120.00 E500.00       ; set maximum instantaneous speed changes (mm/min)
                                  M203 X36000.00 Y36000.00 Z200.00:200.00 E500.00     ; set maximum speeds (mm/min)
                                  M201 X1000.00 Y1000.00 Z400.00:400.00 E500.00       ; set accelerations (mm/s^2)
                                  M906 X1200 Y1200 Z1000:1000 E1000 I30               ; set motor currents (mA) and motor idle factor in per cent
                                  M84 S30                                             ; Set idle timeout
                                  
                                  ; Axis Limits
                                  M208 X0 Y0 Z-10 S1                                  ; set axis minima
                                  M208 X440 Y440 Z400 S0                              ; set axis maxima
                                  
                                  ; Endstops
                                  M574 X1 S1 P"xstop"                                 ; configure active-high endstop for low end on X via pin xstop
                                  M574 Y1 S1 P"ystop"                                 ; configure active-high endstop for low end on Y via pin ystop
                                  M574 Z1 S1 P"!zstop+!e1stop"                        ; configure active-high endstop for low end on Z via pin zstop
                                  
                                  ; Z-Probe
                                  M558 P9 C"^zprobe.in" H5 F120 T5000                 ; BLTouch connected to Z probe IN pin
                                  M950 S0 C"exp.heater3"                              ; create servo/gpio 0 on heater 3 pin on expansion connector
                                  M98 P"/macros/NORMAL_Offset"                        ; set z probe offsets
                                  
                                  M280 P0 S10                                         ; send control signal to BLTouch through servo/gpio 0                                        
                                                                            
                                  ;G31 P500 X0 Y0 Z25                                 ; set Z probe trigger value, offset and trigger height
                                  M557 X10:390 Y10:390 S38:38                         ; define mesh grid
                                  
                                  ; Heaters
                                  M308 S0 P"bedtemp" Y"thermistor" T100000 B4092      ; configure sensor 0 as thermistor on pin bedtemp
                                  M950 H0 C"bedheat" T0                               ; create bed heater output on bedheat and map it to sensor 0
                                  M307 H0 B0 S1.00                                    ; disable bang-bang mode for the bed heater and set PWM limit
                                  M140 H0                                             ; map heated bed to heater 0
                                  M143 H0 S120                                        ; set temperature limit for heater 0 to 120C
                                  M308 S1 P"e1temp" Y"thermistor" T100000 B4092       ; configure sensor 1 as PT1000 on pin e0temp
                                  M950 H1 C"e0heat" T1                                ; create nozzle heater output on e0heat and map it to sensor 1
                                  M307 H1 B0 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"fan0" Q0                                  ; create fan 0 on pin fan0 and set its frequency
                                  ;M106 P0 S1 H-1                                      ; set fan 0 value. Thermostatic control is turned off
                                  M950 F1 C"fan1" Q0                                  ; create fan 1 on pin fan1 and set its frequency
                                  ;M106 P1 S1 H-1                                      ; set fan 1 value. Thermostatic control is turned off
                                  M950 F2 C"fan2" Q0                                  ; create fan 2 on pin fan2 and set its frequency
                                  ;M106 P2 S1 H-1                                      ; set fan 2 value. Thermostatic control is turned off
                                  
                                  ; Tools
                                  M563 P0 S"WaterColledHead" D0 H1 F-1                ; 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
                                  
                                  ; Miscellaneous
                                  M575 P1 S1 B57600                                   ; enable support for PanelDue
                                  M501                                                ; load saved parameters from non-volatile memory
                                  M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"  ; set voltage thresholds and actions to run on power loss
                                  
                                  G28                                                 ; home
                                  
                                  ; bed.g
                                  ; called to perform automatic bed compensation via G32
                                  ;
                                  ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                  M561     ; clear any bed transform
                                  G28      ;home
                                  G29 S1   ; probe the bed and enable compensation
                                  M280 P0 S90 ; retractProbe
                                  
                                  ; homez.g
                                  ; called to home the Z axis
                                  ;
                                  ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                  G91               ; relative positioning
                                  G1 H2 Z10 F6000   ; lift Z relative to current position
                                  G1 H1 Z-500 F3000 ;Go down till endstop
                                  G1 H2 Z10 F6000
                                  G1 X200 Y200 F4000 ;go to midle
                                  G30 ; move Z down until the endstop is triggered
                                  G92 Z0         ; set Z position to axis minimum (you may want to adjust this)
                                  
                                  
                                  
                                  ; Uncomment the following lines to lift Z after probing
                                  ;G91              ; relative positioning
                                  ;G1 Z10 F100      ; lift Z relative to current position
                                  G90              ; absolute positioning
                                  
                                  ; homeall.g
                                  ; called to home all axes
                                  ;
                                  ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                  
                                  ;DUAL Z 
                                  M584 Z2:4   
                                  
                                  M280 P0 S90
                                  G91                     ; relative positioning
                                  G1 H2 Z10 F6000         ; lift Z relative to current position
                                  G1 H1 X-405 Y-405 F5000 ; move quickly to X and Y axis endstops and stop there (first pass)
                                  G1 H2 X5 Y5 F6000       ; go back a few mm
                                  G1 H1 X-405 Y-405 F360  ; move slowly to X and Y axis endstops once more (second pass)
                                  M98 Phomez.g            ; move Z down stopping at the endstop
                                  G90                     ; absolute positioning
                                  G92 Z10                 ; set Z position to axis minimum (you may want to adjust this)
                                  
                                  ; Uncomment the following lines to lift Z after probing
                                  ;G91                    ; relative positioning
                                  ;G1 Z10 F100            ; lift Z relative to current position
                                  ;G90                    ; absolute positioning
                                  
                                  
                                  

                                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                  TristanKoelnundefined 1 Reply Last reply Reply Quote 0
                                  • Stephen6309undefined
                                    Stephen6309 @fcwilt
                                    last edited by

                                    @fcwilt I adjust the Z offset so I don't have to remember to do baby steps on every print. Currently I only change the filament when I run out on the spool.

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

                                      @Stephen6309 said in Heigh error after calibrating:

                                      @fcwilt I adjust the Z offset so I don't have to remember to do baby steps on every print. Currently I only change the filament when I run out on the spool.

                                      As I said changing the Z trigger height may cause the height map to not work correctly.

                                      And as I said you can use the filament management feature of DWC to allow you to select different filament types and make any adjustments desired to things like extruder temp, extrusion multiplier, baby step settings and more.

                                      You don't have to do it for every print - it will happen automatically if your "print start" code invokes the the command needed to trigger the changes specified by the current filament.

                                      Here is an example of a filament configuration file. Every filament type you enter into the DWC filament management feature will have it's own configuration file.

                                      M221 S100 D0    ; set extrusion multiplier
                                      G10 S200 R0	; set extruder temps
                                      M140 S60 R0	; set bed temps
                                      

                                      Here are the commands you would place into your "print start" code that will invoke the configuration file for the currently selected filament type.

                                      T0		; select tool 0 so extruder commands below will work
                                      M703		; configure selected filament
                                      

                                      So once you select a filament type it will remain selected and every print will run the commands you have entered into the configuration file for that filament type.

                                      Frederick

                                      Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                                        @fcwilt In my slicer's start gcode, I call the macros, then home, then G32 which does a G29 S1 or S0 depending on if it finds heightmap.csv. Never had a problem with the heightmap working correctly.

                                        1 Reply Last reply Reply Quote 0
                                        • TristanKoelnundefined
                                          TristanKoeln @fcwilt
                                          last edited by

                                          @fcwilt

                                          @fcwilt said in Heigh error after calibrating:

                                          Hi,

                                          I've re-posted your files using the </> tag - it saves everyone the trouble of downloading your files.

                                          Would you look at them and verify they are your current files?

                                          Thanks.

                                          Frederick

                                          ; Configuration file for Duet WiFi (firmware version 3)
                                          ; executed by the firmware on start-up
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                          
                                          ; General preferences
                                          G90                                                 ; send absolute coordinates...
                                          M83                                                 ; ...but relative extruder moves
                                          M550 P"BIGCREATOR"                                  ; set printer name
                                          
                                          
                                          ; Network
                                          M552 S1                                             ;Tun Network ON
                                                                      
                                          ; Drives
                                          M569 P0 S0                                          ; 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
                                          M569 P4 S1                                          ; physical drive 4 goes forwards
                                          M584 X0 Y1 Z2:4 E3                                  ; set drive mapping
                                          M350 X16 Y16 Z16:16 E16 I1                          ; configure microstepping with interpolation
                                          M92 X80.00 Y100.00 Z405:405.00 E750.00              ; set steps per mm
                                          M566 X1800.00 Y1800.00 Z120.00:120.00 E500.00       ; set maximum instantaneous speed changes (mm/min)
                                          M203 X36000.00 Y36000.00 Z200.00:200.00 E500.00     ; set maximum speeds (mm/min)
                                          M201 X1000.00 Y1000.00 Z400.00:400.00 E500.00       ; set accelerations (mm/s^2)
                                          M906 X1200 Y1200 Z1000:1000 E1000 I30               ; set motor currents (mA) and motor idle factor in per cent
                                          M84 S30                                             ; Set idle timeout
                                          
                                          ; Axis Limits
                                          M208 X0 Y0 Z-10 S1                                  ; set axis minima
                                          M208 X440 Y440 Z400 S0                              ; set axis maxima
                                          
                                          ; Endstops
                                          M574 X1 S1 P"xstop"                                 ; configure active-high endstop for low end on X via pin xstop
                                          M574 Y1 S1 P"ystop"                                 ; configure active-high endstop for low end on Y via pin ystop
                                          M574 Z1 S1 P"!zstop+!e1stop"                        ; configure active-high endstop for low end on Z via pin zstop
                                          
                                          ; Z-Probe
                                          M558 P9 C"^zprobe.in" H5 F120 T5000                 ; BLTouch connected to Z probe IN pin
                                          M950 S0 C"exp.heater3"                              ; create servo/gpio 0 on heater 3 pin on expansion connector
                                          M98 P"/macros/NORMAL_Offset"                        ; set z probe offsets
                                          
                                          M280 P0 S10                                         ; send control signal to BLTouch through servo/gpio 0                                        
                                                                                    
                                          ;G31 P500 X0 Y0 Z25                                 ; set Z probe trigger value, offset and trigger height
                                          M557 X10:390 Y10:390 S38:38                         ; define mesh grid
                                          
                                          ; Heaters
                                          M308 S0 P"bedtemp" Y"thermistor" T100000 B4092      ; configure sensor 0 as thermistor on pin bedtemp
                                          M950 H0 C"bedheat" T0                               ; create bed heater output on bedheat and map it to sensor 0
                                          M307 H0 B0 S1.00                                    ; disable bang-bang mode for the bed heater and set PWM limit
                                          M140 H0                                             ; map heated bed to heater 0
                                          M143 H0 S120                                        ; set temperature limit for heater 0 to 120C
                                          M308 S1 P"e1temp" Y"thermistor" T100000 B4092       ; configure sensor 1 as PT1000 on pin e0temp
                                          M950 H1 C"e0heat" T1                                ; create nozzle heater output on e0heat and map it to sensor 1
                                          M307 H1 B0 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"fan0" Q0                                  ; create fan 0 on pin fan0 and set its frequency
                                          ;M106 P0 S1 H-1                                      ; set fan 0 value. Thermostatic control is turned off
                                          M950 F1 C"fan1" Q0                                  ; create fan 1 on pin fan1 and set its frequency
                                          ;M106 P1 S1 H-1                                      ; set fan 1 value. Thermostatic control is turned off
                                          M950 F2 C"fan2" Q0                                  ; create fan 2 on pin fan2 and set its frequency
                                          ;M106 P2 S1 H-1                                      ; set fan 2 value. Thermostatic control is turned off
                                          
                                          ; Tools
                                          M563 P0 S"WaterColledHead" D0 H1 F-1                ; 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
                                          
                                          ; Miscellaneous
                                          M575 P1 S1 B57600                                   ; enable support for PanelDue
                                          M501                                                ; load saved parameters from non-volatile memory
                                          M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"  ; set voltage thresholds and actions to run on power loss
                                          
                                          G28                                                 ; home
                                          
                                          ; bed.g
                                          ; called to perform automatic bed compensation via G32
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                          M561     ; clear any bed transform
                                          G28      ;home
                                          G29 S1   ; probe the bed and enable compensation
                                          M280 P0 S90 ; retractProbe
                                          
                                          ; homez.g
                                          ; called to home the Z axis
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                          G91               ; relative positioning
                                          G1 H2 Z10 F6000   ; lift Z relative to current position
                                          G1 H1 Z-500 F3000 ;Go down till endstop
                                          G1 H2 Z10 F6000
                                          G1 X200 Y200 F4000 ;go to midle
                                          G30 ; move Z down until the endstop is triggered
                                          G92 Z0         ; set Z position to axis minimum (you may want to adjust this)
                                          
                                          
                                          
                                          ; Uncomment the following lines to lift Z after probing
                                          ;G91              ; relative positioning
                                          ;G1 Z10 F100      ; lift Z relative to current position
                                          G90              ; absolute positioning
                                          
                                          ; homeall.g
                                          ; called to home all axes
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                          
                                          ;DUAL Z 
                                          M584 Z2:4   
                                          
                                          M280 P0 S90
                                          G91                     ; relative positioning
                                          G1 H2 Z10 F6000         ; lift Z relative to current position
                                          G1 H1 X-405 Y-405 F5000 ; move quickly to X and Y axis endstops and stop there (first pass)
                                          G1 H2 X5 Y5 F6000       ; go back a few mm
                                          G1 H1 X-405 Y-405 F360  ; move slowly to X and Y axis endstops once more (second pass)
                                          M98 Phomez.g            ; move Z down stopping at the endstop
                                          G90                     ; absolute positioning
                                          G92 Z10                 ; set Z position to axis minimum (you may want to adjust this)
                                          
                                          ; Uncomment the following lines to lift Z after probing
                                          ;G91                    ; relative positioning
                                          ;G1 Z10 F100            ; lift Z relative to current position
                                          ;G90                    ; absolute positioning
                                          
                                          
                                          

                                          yaa its my current

                                          fcwiltundefined 1 Reply Last reply Reply Quote 0
                                          • fcwiltundefined
                                            fcwilt @TristanKoeln
                                            last edited by

                                            @TristanKoeln

                                            Thanks.

                                            So if they are current there are two things wrong that may be causing you problems.

                                            In homeZ.g there is that G92 Z0 after the G30 that is setting the Z position incorrectly. Since the G30 leaves Z in a known position you can simply remove the G92 Z0 or if you wish to move Z to some other known position you can use something like G90 G1 Z10.

                                            In homeALL.g there is G92 Z10 after the call to homeZ.g which again will set the Z position incorrectly.

                                            And the M584 command is not needed since it occurs in your config.g file.

                                            What is the intent of the M280 P0 S90 command? If you issue deploy/retract commands using M280 instead of M401/M402 then the firmware may lose track of the state of the probe.

                                            Frederick

                                            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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