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

    Calibrate Z Probe.

    Scheduled Pinned Locked Moved
    General Discussion
    3
    13
    343
    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.
    • Titus A Duxassundefined
      Titus A Duxass
      last edited by Titus A Duxass

      Voron 2.4 3 MB 6 + 3 EB
      Greetings,
      I am trying to calibrate the Z probe height using this procedure https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe#Section_Calibrate_the_Z_probe_trigger_height

      This is what I have been doing:
      G28
      M561
      Jog the Z down to it touches the paper.
      G92 Z0
      Jog the Z up 5mm
      G30 S-1
      The Z then travels down at stops at +1.2.
      Repeating the procedure gives the same results.

      Is there something overriding the result or am I doing something incorrectly?

      Thanks
      TAD

      Config.g
      ; Configuration file for Duet 3 MB 6HC (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.15 on Wed Jan 04 2023 15:34:18 GMT+0100 (Mitteleuropäische Normalzeit)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"Voron" ; set printer name
      M669 K1 ; select CoreXY mode

      ; Wait a moment for the CAN expansion boards to start
      G4 S2

      ; Network
      M552 P192.168.2.163 S1 ; enable network and set IP address
      M553 P255.255.255.0 ; set netmask
      M554 P192.168.1.254 ; set gateway
      M586 P0 S1 ; enable HTTP
      M586 P1 S0 ; disable FTP
      M586 P2 S0 ; disable Telnet

      ;Bed mapping
      M671 X-60:-60:357:357 Y-6:365:365:-6

      ; Drives
      M584 X0.4 Y0.5 Z0.0:0.1:0.2:0.3 E1.0

      M569 P0.4 S0 ; A goes forwards
      M569 P0.5 S0 ; B goes Backwards

      M569 P0.0 S1 ; FL goes forwards
      M569 P0.1 S0 ; RL goes backwards
      M569 P0.2 S1 ; RR goes forwards
      M569 P0.3 S0 ; FR goes forwards

      M569 P1.0 S0 ; physical drive 1.0 goes forwards

      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E720.03 ; set steps per mm
      M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X60000.00 Y60000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X6000.00 Y6000.00 Z4000.00 E250.00 ; set accelerations (mm/s^2)
      M906 X1600 Y1600 Z1400 E400 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S10 ; Set idle timeout

      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; set axis minima
      M208 X295 Y295 Z250 S0 ; set axis maxima

      ; Endstops
      M574 X2 S1 P"^io1.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin ^io1.in
      M574 Y2 S1 P"^io2.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ^io2.in
      M574 Z1 S1 P"^io3.in" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin ^io3.in

      ; Z-Probe
      M558 P5 C"^io4.in" H10 F120 T6000 ; set Z probe type to switch and the dive height + speeds
      G31 P500 X0 Y25 Z0.8 ; set Z probe trigger value, offset and trigger height
      M557 X15:265 Y15:265 S20 ; define mesh grid

      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
      M307 H0 B1 S1.00 ; enable 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"temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
      M950 H1 C"out1" T1 ; create nozzle heater output on out1 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"out9" Q500 ; create fan 0 on pin out9 and set its frequency PARTS FAN
      M106 P1 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"out7" Q500 ; create fan 1 on pin out7 and set its frequency TOOL FAN
      M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on

      ; Tools
      M563 P0 S"Revo" D0 H1 F1 ; define tool 0
      M563 P2 D0:1 H1:2 X0:3 F0:2
      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

      ; Miscellaneous
      M501 ; load saved parameters from non-volatile memory
      T0 ; select first tool

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

        If you are saying that the Z movement stops when th eprobe triggers and the result is 1.2mm each time, then you need to adjust this line in your config.g
        G31 P500 X0 Y25 Z0.8 ; set Z probe trigger value, offset and trigger height

        to

        G31 P500 X0 Y25 Z1.2 ; set Z probe trigger value, offset and trigger height

        or send M500 to have the new value stored in config-overide.g

        If you adjust config.g then make sure there is no G31 command in config-overide.g

        The 1.2mm is the offset distance between the nozzle and the probe trigger point, so it should remain static unless you move the nozzle or probe.

        Titus A Duxassundefined 1 Reply Last reply Reply Quote 0
        • Titus A Duxassundefined
          Titus A Duxass @OwenD
          last edited by Titus A Duxass

          @OwenD
          Thanks.
          I have done that several times, I now have 1.18 in that line.
          If I now zog down to Z0 the nozzle is too far into the bad, the paper cannot be removed.

          Repeating the process gives, once again, 1.2.

          There is no G31 in config-overide.g

          OwenDundefined 1 Reply Last reply Reply Quote 0
          • OwenDundefined
            OwenD @Titus A Duxass
            last edited by

            @Titus-A-Duxass
            I'm assuming that you are restarting the machine after editing the G31 value in config.g
            By your config you're using a limit switch.
            Try reducing the F parameter in your M558 command even further to check if it's more accurate.
            You can set two speed probing like this
            M558 P5 C"^io4.in" H10 F600:60 T6000

            Titus A Duxassundefined 1 Reply Last reply Reply Quote 0
            • Titus A Duxassundefined
              Titus A Duxass @OwenD
              last edited by

              @OwenD
              I am restarting the mainboard as required after a config.g change, but I am not restarting the printer.

              Titus A Duxassundefined 1 Reply Last reply Reply Quote 0
              • Titus A Duxassundefined
                Titus A Duxass @Titus A Duxass
                last edited by

                @Titus-A-Duxass
                At present G31 is 3.3
                So having done G92 Z0, G1 Z5, G30 the toolhead returns to 0.76, I get this result repeatedly.
                What I do not understand is having to enter 0.76 in the G31 line. Going from 3.3 to 0.76 is a huge change which makes no sense to me.

                Titus A Duxassundefined Falcounetundefined 2 Replies Last reply Reply Quote 0
                • Titus A Duxassundefined
                  Titus A Duxass @Titus A Duxass
                  last edited by

                  @Titus-A-Duxass
                  At this moment the printer is unusable, uploading a print from both S3D and Cura results in the nozzle dragging across the bed.

                  1 Reply Last reply Reply Quote 0
                  • Falcounetundefined
                    Falcounet @Titus A Duxass
                    last edited by Falcounet

                    @Titus-A-Duxass Did you do G92 Z0 with the nozzle touching the bed ?
                    I feel like you sent G92 Z0 again immediately after G30 S-1 returned its result.

                    Titus A Duxassundefined 1 Reply Last reply Reply Quote 0
                    • Titus A Duxassundefined
                      Titus A Duxass @Falcounet
                      last edited by

                      @Falcounet To be honest I cannot remember. I did find a mistake in my homez.g
                      G92 Z4 - I think that is incorrect and have changed to Z0.
                      Now when I jog down to the Z0 it stops 1.39mm above 0 and, naturally, I cannot jog below 0.

                      Falcounetundefined 1 Reply Last reply Reply Quote 0
                      • Falcounetundefined
                        Falcounet @Titus A Duxass
                        last edited by

                        @Titus-A-Duxass If you use a probe, you should use G30 for homing, not G92 Zx

                        1 Reply Last reply Reply Quote 0
                        • Titus A Duxassundefined
                          Titus A Duxass
                          last edited by Titus A Duxass

                          @Falcounet I have both the probe and the Z endstop switch.
                          I want to use the switch to set the height as I feel the probe is not so accurate.

                          I have changed the G92 entry in homez.g to 1.4 and now when I do the procedure I get a constant 0.43 but now I get a report in the console, I have never seen a feedback report until I changed the entry in homez.g

                          Falcounetundefined 1 Reply Last reply Reply Quote 0
                          • Falcounetundefined
                            Falcounet @Titus A Duxass
                            last edited by Falcounet

                            @Titus-A-Duxass If you don't use G30 to home, the G31 line is useless and the Z position is set by the endstop trigger and the value you use with G92 Zx.

                            Titus A Duxassundefined 1 Reply Last reply Reply Quote 0
                            • Titus A Duxassundefined
                              Titus A Duxass @Falcounet
                              last edited by Titus A Duxass

                              @Falcounet I think I have it now. I have set the G92 entry in homez.g to the height difference between the Z endstop switch trigger point and the height of the bed (1.5mm) and now it prints - it's only taken me 6 hours to find the solution.

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