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

    Z axis adjustment

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    10
    1.6k
    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.
    • synergy41undefined
      synergy41
      last edited by

      Hello everyone,

      Here I am back with my TEVO LITTLE MONSTER.

      After trying to adjust my Z axis, I followed the following procedure:

      1- Approach of the nozzle on a block of 0,10mm, after I enter the command G92 Z0 to define the current position as z = 0.

      2-Then I enter G30 S-1 the value that is displayed is Z 2,745.

      3- Then I open my file "Config.g" and I enter the value 2,745 at this line

      Z probe and compensation definition; *** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
      G31 X0 Y25 Z2.745 P500; Set the zprobe height and threshold

      4- I then run G29 S0 to probe the entire bed, no worries everything goes smoothly.

      5- Then when I run an impression my nozzle is found 2mm off the board.

      What can be my problem.

      Thank you .

      I LOVE MY DUET WIFI

      Board: Duet 2 WiFi (2WiFi)
      Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.1 (2022-06-01)
      Duet WiFi Server Version: 1.26
      Duet Web Control 3.4.1

      Cura 4.10

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        What does the height map look like after you run G29 S0 ?

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • synergy41undefined
          synergy41
          last edited by synergy41

          @dc42 said in Z axis adjustment:

          What does the height map look like after you run G29 S0
          Hello,
          here is what the map looks like.

          0_1525845488872_Capture d'écran 2018-05-09 07.55.35.png

          I am attaching my print start code if it can help you.

          "M280 P3 S160 I1 ; Reset the error status of the BL Touch probe
          M140 S60 ; Set Bed Temperature
          M104 S220 ; Set Extruder Temperature
          G28 ; Home all axes
          G28 ; Home all axes
          G29 S1 ; load the height map
          G1 Y-145 X0 Z60 ; Move to 145mm on the Y axis and 0mm on the X axis
          G1 E35 ; Extruding 35.00mm of material
          G4 P7000"

          Thank you

          I LOVE MY DUET WIFI

          Board: Duet 2 WiFi (2WiFi)
          Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.1 (2022-06-01)
          Duet WiFi Server Version: 1.26
          Duet Web Control 3.4.1

          Cura 4.10

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            Try adding G29 S2 before the G28 command. Homing with the height map already activated can give some surprising results.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • synergy41undefined
              synergy41
              last edited by

              @synergy41 said in Z axis adjustment:

              G31 X0 Y25 Z2.745 P500

              David
              I just entered the command G29 S2 before the command G28, but still nothing new, my nozzle is always above the board.
              At this line "G31 X0 Y25 Z2.745 P500" the value Z must be in positive sign?
              I have a bl touch.

              I LOVE MY DUET WIFI

              Board: Duet 2 WiFi (2WiFi)
              Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.1 (2022-06-01)
              Duet WiFi Server Version: 1.26
              Duet Web Control 3.4.1

              Cura 4.10

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by

                Yes, the Z parameter is positive if the probe triggers before the nozzle touches the bed.

                What I suspect has happened is that before you ran G29 S0 to generate the height map, you ran auto calibration, which set accurate delta parameters; but you didn't copy them back into config.g.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 0
                • synergy41undefined
                  synergy41
                  last edited by

                  What manipulation do I have to do?
                  here is my config file

                  **; Configuration file for testing Duet Ethernet and Wifi

                  ; Communication and general
                  M111 S0 ; Debug off
                  M550 PLittle Monster synergy41 ; Machine name and Netbios name (can be anything you like)
                  M551 Preprap ; Machine password (used for FTP)
                  ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
                  M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address

                  ;*** Networking - Enable for both WiFi and Ethernet boards.
                  M552 S1 ; Turn network on

                  ;*** Ethernet networking: Adjust the IP address and gateway in the following 2 lines to suit your network
                  M552 P192.168.1.14 ; (0 = DHCP)
                  M554 P192.168.1.255 ; Gateway
                  M553 P255.255.255.0 ; Netmask

                  M555 P2 ; Set output to look like Marlin
                  G21 ; Work in millimetres
                  G90 ; Send absolute coordinates...
                  M83 ; ...but relative extruder moves

                  ; Fans Hotends
                  ;M106 P0 S-1 ; disable thermostatic mode for fan 0
                  M106 P1 S-1 ; disable thermostatic mode for fan 1

                  M106 P1 T45 H1 L1 ;Fan Hotend
                  ;M106 P1 H1 T45:55 L1 F100 B1 ;Fan Hotend

                  ; Axis and motor configuration
                  M569 P0 S1 ; Drive 0 goes forwards
                  M569 P1 S1 ; Drive 1 goes forwards
                  M569 P2 S1 ; Drive 2 goes forwards
                  M569 P3 S1 ; Drive 3 goes forwards
                  M569 P4 S1 ; Drive 4 goes forwards
                  M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high)
                  ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
                  M665 L397.107 R156.996 H519.927 B175.0 X0.627 Y0.296 Z0.000 ; set delta radius, diagonal rod length, printable radius and homed height
                  M666 X0.484 Y-0.384 Z-0.100 A0.00 B0.00 ; put your endstop adjustments here, or let auto calibration find them

                  M350 X16 Y16 Z16 E16:16 I1 ; Set 16x microstepping with interpolation
                  M92 X80 Y80 Z80 ; Set axis steps/mm
                  M906 X1000 Y1000 Z1000 E1000 I60 ; Set motor currents (mA) and increase idle current to 60%
                  M201 X1000 Y1000 Z1000 E800 ; Accelerations (mm/s^2)
                  M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min)
                  M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute

                  ; Heaters
                  M143 S280 ; Set maximum heater temperature to 280C
                  M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
                  M305 P0 T100000 B4607 C8.950070e-8 R4700 ; Set thermistor + ADC parameters for heater 0
                  ;M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
                  M305 P1 T100000 B4267 C0 R4700 ; Set thermistor + ADC parameters for heater 1 Nozzle

                  M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds

                  ; Adjustments for J-heads used as dummy heaters on test rig
                  ;M307 H0 A75.6 C242.2 D3.8 S1.00 B0
                  ;M307 H1 A250 C140 D5.5 B0
                  ;M307 H2 A250 C140 D5.5 B0
                  M307 H0 A75.6 C242.2 D3.8 S1.00 B0
                  M307 H1 A250.0 C140.0 D5.5 S1.00 B0

                  M307 H2 A250.0 C140.0 D5.5 S1.00 B0
                  M307 H4 A340.0 C140.0 D5.5 S1.00 B0

                  M307 H5 A340.0 C140.0 D5.5 S1.00 B0
                  M307 H6 A340.0 C140.0 D5.5 S1.00 B0

                  M307 H7 A340.0 C140.0 D5.5 S1.00 B0

                  ; BL-Touch
                  M307 H3 A-1 C-1 D-1 ; use pin 3 on header for bltouch
                  M558 P5 X0 Y0 Z1 H15 F100 T2000 ; probe type and use probe for homing z
                  G31 X0 Y0 Z0 P25 ; set probe height

                  ; Tool definitions
                  M563 P0 D0 H1 ; Define tool 0
                  G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
                  ;*** If you have a single-nozzle build, comment the next 2 lines
                  M563 P1 D1 H2 ; Define tool 1
                  G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
                  M92 E414.375:414.375 ; Set extruder steps per mm

                  ; Z probe and compensation definition
                  ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
                  G31 X0 Y25 Z2.857 P500 ; Set the zprobe height and threshold (put your own values here)

                  ;*** If you are using axis compensation, put the figures in the following command
                  M556 S78 X0 Y0 Z0 ; Axis compensation here

                  M208 S1 Z-5.0 ; set minimum Z

                  T0 ; select first hot end

                  G29 S1 ; Charger la carte de hauteur**

                  I LOVE MY DUET WIFI

                  Board: Duet 2 WiFi (2WiFi)
                  Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.1 (2022-06-01)
                  Duet WiFi Server Version: 1.26
                  Duet Web Control 3.4.1

                  Cura 4.10

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators
                    last edited by

                    1. Run auto calibration.

                    2. Run M665 and M666 without parameters and note the values down.

                    3. Compare those values with the M665 and M666 parameters in config.g.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    1 Reply Last reply Reply Quote 0
                    • synergy41undefined
                      synergy41
                      last edited by

                      @synergy41 said in Z axis adjustment:

                      G31 X0 Y25 Z2.745 P500; Set the zprobe height and threshold
                      Thank you David,
                      That seems a lot to me now.
                      On the other hand if I want to crush one can my 1st layer, I must play on this line: G31 X0 Y25 Z2.745 P500; Set the zprobe height and threshold.
                      That's right ?
                      you must increase or decrease the value of Z.
                      Thank you for everything.

                      I LOVE MY DUET WIFI

                      Board: Duet 2 WiFi (2WiFi)
                      Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.1 (2022-06-01)
                      Duet WiFi Server Version: 1.26
                      Duet Web Control 3.4.1

                      Cura 4.10

                      dc42undefined 1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators @synergy41
                        last edited by

                        @synergy41 said in Z axis adjustment:

                        @synergy41 said in Z axis adjustment:

                        G31 X0 Y25 Z2.745 P500; Set the zprobe height and threshold
                        Thank you David,
                        That seems a lot to me now.
                        On the other hand if I want to crush one can my 1st layer, I must play on this line: G31 X0 Y25 Z2.745 P500; Set the zprobe height and threshold.
                        That's right ?
                        you must increase or decrease the value of Z.
                        Thank you for everything.

                        You can do that; however if you want to crush the first layer deliberately, I suggest you either use the "Z offset" facility of your slicer if it has one, or use M290 to send an absolute babystepping command in your start GCode.

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

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