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

    z-offset with two printheads

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    11
    309
    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.
    • axiomundefined
      axiom
      last edited by

      I have two printheads on the x-axis. The height ((z-axis) is adjusted via the bed. I have now set my capacitive sensor as an end stop approx. 2 mm in front of the print heads. How do I have to proceed to set the z-offset for both print heads?

      1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk
        last edited by

        you would adjust the Z offsets using G10 in your config. Best to probably leave the first with a 0 z offset and just the offset from the first head to the second on just the second one

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        axiomundefined 1 Reply Last reply Reply Quote 0
        • axiomundefined
          axiom @jay_s_uk
          last edited by

          @jay_s_uk said in z-offset with two printheads:

          you would adjust the Z offsets using G10 in your config. Best to probably leave the first with a 0 z offset and just the offset from the first head to the second on just the second one

          and how do I set the first z-offset?

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @axiom
            last edited by

            @axiom https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_testing

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            axiomundefined 1 Reply Last reply Reply Quote 0
            • axiomundefined
              axiom @jay_s_uk
              last edited by

              @jay_s_uk
              i have successfully done this step by step... how do i add a second print head in the code?

              Here my code:
              ; Configuration file for Duet WiFi (firmware version 3.3)
              ; executed by the firmware on start-up
              ;
              ; generated by RepRapFirmware Configuration Tool v3.3.12 on Wed Aug 24 2022 12:56:11 GMT+0200 (Mitteleuropäische Sommerzeit)

              ; General preferences
              M575 P1 S1 B57600 ; enable support for PanelDue
              G90 ; send absolute coordinates...
              M83 ; ...but relative extruder moves
              M550 P"DUKA1300" ; set printer name

              ; Network
              M552 S1 ; enable network
              M586 P0 S1 ; enable HTTP
              M586 P1 S0 ; disable FTP
              M586 P2 S0 ; disable Telnet

              ; Drives
              M569 P1 S1 ; physical drive 0 goes forwards
              M569 P1 S1 ; physical drive 1 goes forwards
              M569 P2 S0 ; physical drive 2 goes forwards
              M569 P3 S1 ; physical drive 3 goes forwards
              M569 P4 S0 ; physical drive 4 goes forwards
              M584 X0 Y1 Z2 E3:4 ; set drive mapping
              M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
              ;M92 X80.00 Y80.00 Z400.00 E420.00:420.00 ; set steps per mm
              M92 X80.00 Y80.00 Z640.00 E420.00:420.00 ; set steps per mm
              M566 X900.00 Y900.00 Z120.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
              M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
              M201 X500.00 Y500.00 Z30.00 E250.00:250.00 ; set accelerations (mm/s^2)
              M906 X1800 Y1680 Z2000 E1800:1800 I30 ; set motor currents (mA) and motor idle factor in per cent
              M84 S30 ; Set idle timeout

              ; Axis Limits
              M208 X0 Y0 Z0 S1 ; set axis minima
              M208 X600 Y700 Z1100 S0 ; set axis maxima

              ; Endstops
              M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
              M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
              ;M574 Z2 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin zstop
              ;M574 Z2 S2 ; configure Z-probe endstop for high end on Z
              ; Z-Probe
              M558 P1 C"!zprobe.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
              G31 P1000 X20 Y20 Z7 ; set Z probe trigger value, offset and trigger height
              M557 X15:215 Y15:195 S10 ; define mesh grid

              ; Heaters
              M308 S0 P"e1temp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin e1temp
              M950 H0 C"e1heat" T0 ; create nozzle heater output on e1heat and map it to sensor 0
              M307 H0 R1.797 K0.742:0.000 D7.57 E1.35 S1.00 B0 V23.8 ; disable bang-bang mode for heater and set PWM limit
              M143 H0 S250 ; set temperature limit for heater 0 to 250C
              M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
              M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
              M307 H1 R1.797 K0.742:0.000 D7.57 E1.35 S1.00 B0 V23.8 ; disable bang-bang mode for heater and set PWM limit
              M143 H1 S250 ; set temperature limit for heater 1 to 250C
              M308 S2 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin bedtemp
              M950 H2 C"bedheat" T2 ; create bed heater output on bedheat and map it to sensor 2
              M307 H2 R0.283 K0.463:0.000 D7.17 E1.35 S1.00 B0 ; enable bang-bang mode for the bed heater and set PWM limit
              M140 H2 ; map heated bed to heater 2
              M143 H2 S280 ; set temperature limit for heater 2 to 280C

              ; Fans
              M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
              ;M106 P0 S1 H0 T45 ; set fan 0 value. Thermostatic control is turned on
              M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
              ;M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on

              ; Tools
              M563 P0 D0 H0 F0 ; 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
              M563 P1 D1 H1 F1 ; define tool 1
              G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
              G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

              ; Custom settings are not defined

              ; Miscellaneous
              M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @axiom
                last edited by

                @axiom said in z-offset with two printheads:

                M563 P1 D1 H1 F1 ; define tool 1
                G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
                G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

                here

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                axiomundefined 1 Reply Last reply Reply Quote 0
                • axiomundefined
                  axiom @jay_s_uk
                  last edited by

                  @jay_s_uk said in z-offset with two printheads:

                  M563 P1 D1 H1 F1 ; define tool 1
                  G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
                  G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

                  Ok, but if the nozzle is 1 mm higher, then I can't do a test at all, because otherwise it will go into the print bed

                  jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @axiom
                    last edited by

                    @axiom can't you move tool 0 out the way of the bed to allow it move higher?

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    axiomundefined 1 Reply Last reply Reply Quote 0
                    • axiomundefined
                      axiom @jay_s_uk
                      last edited by

                      @jay_s_uk I can unscrew the nozzle from tool 0

                      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                      • jay_s_ukundefined
                        jay_s_uk @axiom
                        last edited by

                        @axiom so how do you expect to get to tool 1 if tool 0 is in the way?

                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                        axiomundefined 1 Reply Last reply Reply Quote 0
                        • axiomundefined
                          axiom @jay_s_uk
                          last edited by

                          @jay_s_uk
                          then I have to change something in the hardware... can you recommend me something?

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