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

    noob help dule z setup

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    59
    2.4k
    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.
    • droftartsundefined
      droftarts administrators @Mobietec
      last edited by

      @mobietec said in noob help dule z setup:

      need to figer out how to dule z level

      See https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      1 Reply Last reply Reply Quote 0
      • Mobietecundefined
        Mobietec
        last edited by

        @droftarts thank you i was thnking do i need to probe more than once im ow using a gen bltouch or is just 1 prob enoth many thanks

        droftartsundefined 1 Reply Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @Mobietec
          last edited by

          @mobietec generally you home all axes, which probes be centre, then probe as near as you can to each leadscrew, one probe per leadscrew.

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          Mobietecundefined 1 Reply Last reply Reply Quote 0
          • Mobietecundefined
            Mobietec @droftarts
            last edited by

            @droftarts thank you ian so once is enoth i know when i did it in marlin it did it a few times till it was spot on

            new error message now regarding mesh error invlaid higt map
            my bed is 330 x 330

            i have set center to 0

            M557 X-135:135 Y-135:135 P5 is what i have at present

            droftartsundefined 1 Reply Last reply Reply Quote 0
            • Mobietecundefined
              Mobietec
              last edited by

              @mobietec fixed that updated the web and that fixed that problem many thanks

              Mobietecundefined 1 Reply Last reply Reply Quote 0
              • Mobietecundefined
                Mobietec @Mobietec
                last edited by

                @mobietec where can i see the log reports please if this has any after the dual z i get bad command in config file any idears

                droftartsundefined 1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators @Mobietec
                  last edited by

                  @mobietec This is my bed levelling macro:

                  ; Two point bed levelling, automatic leadscrew adjustment
                  
                  M561                                 ; clear any bed transform
                  G29 S2                               ; disable compensation
                  G28                                  ; home all axes
                  M671 X255:-255 Y0:0 S5               ; leadscrews at right (255,0) and left (-255,0)
                  G30 P0 X135 Y-145 Z-99999            ; probe near right front adjusting screw
                  G30 P1 X-145 Y-145 Z-99999 S2        ; probe near left front adjusting screw and report adjustments needed
                  G1 X0 Y0 F6000
                  

                  I also have a macro for manually levelling the bed; I have just three of the adjustable screws, not all six:

                  ; Three point bed levelling
                  
                  M561                                 ; clear any bed transform
                  G29 S2                               ; disable compensation
                  G28                                  ; home all axes
                  M671 X160:-160:0 Y-160:-160:160 P0.5 ; adjusting screws at front right (160,-160) and front left (-160,-160), rear centre (0,160) thread pitch M3 0.5mm
                  G30 P0 X135 Y-145 Z-99999            ; probe near an adjusting screw
                  G30 P1 X-145 Y-145 Z-99999           ; probe near an adjusting screw
                  G30 P2 X0 Y145 Z-99999 S3            ; probe near an adjusting screw and report adjustments needed
                  G1 X0 Y0 F6000
                  

                  These rely on a number of settings in config.g, particularly M208 bed size and G31 probe X Y offset:

                  ; Dual Z
                  M584 X0 Y1 Z2:3 E4                                 ; Set drive mapping - 2 Z right, 3 Z left
                  ...
                  ; Axis Limits
                  M208 X-165 Y-165 Z0 S1                         ; set axis minima
                  M208 X165 Y165 Z400 S0                         ; set axis maxima
                  ...
                  ; Z-Probe
                  M950 S0 C"exp.heater3"                         ; create servo pin 0 for BLTouch
                  M558 P9 C"^zprobe.in" H5 F120 T6000            ; set Z probe type to bltouch and the dive height + speeds
                  M558 A10 S0.003 B0 R0.2                        ; BLTouch extra settings from Phaedrux
                  G31 P500 X-30 Y0 Z1.65                            ; set Z probe trigger value, offset and trigger height
                  M557 X-145:135 Y-145:145 P5                   ; define mesh grid
                  

                  Hope that helps.

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  1 Reply Last reply Reply Quote 0
                  • droftartsundefined
                    droftarts administrators @Mobietec
                    last edited by

                    @mobietec said in noob help dule z setup:

                    @mobietec where can i see the log reports please if this has any after the dual z i get bad command in config file any idears

                    In config.g? Send M98 P"config.g" to run config.g, and it will report errors in the console. Post config.g and error reported if you can't find it.

                    Ian

                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                    Mobietecundefined 1 Reply Last reply Reply Quote 0
                    • Mobietecundefined
                      Mobietec @droftarts
                      last edited by

                      @droftarts uploaded your did a twick all working well many thanks no errors upon running many thank and i do aprecate the help

                      im slowley getting the hang of this lol @ me i chouice duet3 as i was told its the best

                      im trying out the config forst on the tronxy x5sa upgrading it soon to 3z then im going to rebuild it at 500x500 would like to do 4z but 1 step at a time next will be tool board this will free up a driver for me to do 3 or 4z

                      ; Two point bed levelling, automatic leadscrew adjustment

                      M561 ; clear any bed transform
                      G29 S2 ; disable compensation
                      G28 ; home all axes
                      M671 X165:-165 Y0:0 S5 ; leadscrews at right (255,0) and left (-255,0)
                      G30 P0 X135 Y0 Z-99999 ; probe near right front adjusting screw
                      G30 P1 X-145 Y0 Z-99999 S2 ; probe near left front adjusting screw and report adjustments needed
                      G1 X0 Y0 F6000

                      Mobietecundefined droftartsundefined 2 Replies Last reply Reply Quote 0
                      • Mobietecundefined
                        Mobietec @Mobietec
                        last edited by

                        @mobietec nop run it again and again another problem its somthing i have done im sure of it left n right z screw

                        upon running code looking good untill it ajusts its self it ajusts left screw up and then the bed is out of wack grr not level

                        Mobietecundefined 1 Reply Last reply Reply Quote 0
                        • Mobietecundefined
                          Mobietec @Mobietec
                          last edited by

                          @mobietec off to bed will try again tommrow thanks all if you post any help ill pick it up in morning

                          1 Reply Last reply Reply Quote 0
                          • droftartsundefined
                            droftarts administrators @Mobietec
                            last edited by

                            @mobietec said in noob help dule z setup:

                            M671 X165:-165 Y0:0 S5 ; leadscrews at right (255,0) and left (-255,0)

                            This is a bit wrong. I define my Z motors in M584 first right, then left, and the M671 should be in the same order. You define yours left then right in M584, so you need to change the order of M671. Also it should be the position of the leadscrew, not the edge of the bed; my leadscrews are 90mm from the bed edge in X, so 165+90=255. Finally, you need to probe near the left leadscrew first, so swap the positions of the probe commands around, making sure the last command ends in S2.

                            Alternatively you can swap the Z motor connections on the Duet!

                            Ian

                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                            1 Reply Last reply Reply Quote 0
                            • Mobietecundefined
                              Mobietec
                              last edited by

                              @droftarts thank you that part working now

                              But new problem my E0nnot extruding i plug in a seprat drive i can see its trying and feel it but no turning

                              Mobietecundefined 1 Reply Last reply Reply Quote 0
                              • Mobietecundefined
                                Mobietec @Mobietec
                                last edited by

                                @mobietec my current config e0 seems not to have enoth current flowing into it thats what it feels like

                                setup
                                drive 0 =X
                                Drive 1=y
                                drive 2=z1
                                drive 3=e0
                                drive 4=z2
                                drive 5= not conected yet

                                ; Configuration file for Duet 3 (firmware version 3)
                                ; executed by the firmware on start-up
                                ;
                                ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun May 09 2021 20:06:02 GMT+0100 (British Summer Time)

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

                                ; Network
                                M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
                                M586 P0 S1 ; enable HTTP
                                M586 P1 S0 ; disable FTP
                                M586 P2 S0 ; disable Telnet

                                ; Drives
                                M569 P0.0 S1 ; physical drive 0.0 goes forwards
                                M569 P0.1 S1 ; physical drive 0.1 goes forwards
                                M569 P0.2 S0 ; physical drive 0.2 goes forwards
                                M569 P0.3 S1 ; physical drive 0.3 goes forwards
                                M569 P0.4 S0 ; physical drive 0.4 goes forwards
                                M584 X0.0 Y0.1 Z0.2 E0.3:0.4 ; set drive mapping
                                M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
                                M92 X80.00 Y80.00 Z400.00 E100.00:400.00 ; set steps per mm
                                M566 X900.00 Y900.00 Z60.00 E120.00:60.00
                                M584 X0 Y1 Z2:4 E3 ; two Z motors connected to driver outputs Z and E1 ; set maximum instantaneous speed changes (mm/min)
                                M203 X6000.00 Y6000.00 Z180.00 E1200.00:180.00 ; set maximum speeds (mm/min)
                                M201 X500.00 Y500.00 Z20.00 E250.00:20.00 ; set accelerations (mm/s^2)
                                M906 X850 Y850 Z850 E850:850 I30 ; set motor currents (mA) and motor idle factor in per cent
                                M84 S30 ; Set idle timeout

                                ; Dual Z Axis

                                M584 X0 Y1 Z2:4 E3; two Z motors connected to driver outputs Z and E1
                                M671 X-165:165 Y0:0 S2 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis
                                M208 X-165:170 Y-165:165 ; X carriage moves from -5 to 205, Y bed goes from 0 to 200

                                ; Axis Limits
                                M208 X-165 Y-165 Z0 S1 ; set axis minima
                                M208 X165 Y165 Z400 S0 ; set axis maxima

                                ; Endstops

                                M574 X1 S1 P"io3.in" ; configure active-low endstop for low end on X via pin !io1.in
                                M574 Y1 S1 P"io2.in" ; configure active-low endstop for low end on Y via pin !io2.in
                                M574 Z2 S2 ; configure active-low endstop for high end on Z via pin !io1.in
                                ;M574 X1 S3 ; configure sensorless endstop for low end on X
                                ;M574 Y1 S3 ; configure sensorless endstop for low end on Y
                                ;M574 Z2 S2 ; configure Z-probe endstop for high end on Z

                                ; Z-Probe
                                M574 Z1 S2 ; set endstops controlled by probe
                                M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
                                M558 P9 C"io7.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
                                M558 A10 S0.003 B0 R0.2 ; BLTouch extra settings from Phaedrux
                                G31 P500 X-22.6 Y-3.0 Z2.5 ; set Z probe trigger value, offset and trigger height
                                M557 X-145:140 Y-150:150 P5 ; define mesh grid

                                ; Heaters
                                M308 S0 P"temp0" Y"thermistor" T100000 B4092 ; 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 R0.612 C635.3 D7.63 S1.00 V24.4 ; 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"temp1" Y"thermistor" T100000 B4092 ; 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 R3.322 C149.5 D6.72 S1.00 V24.3 ; 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"out4" Q500 ; create fan 0 on pin out4 and set its frequency
                                M106 P0 S0 H T45 ; set fan 0 value. Thermostatic control is turned on
                                M950 F1 C"out5" Q500 ; create fan 1 on pin out5 and set its frequency
                                M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
                                M950 F2 C"out6" Q500 ; create fan 2 on pin out6 and set its frequency
                                M106 P2 S1 H1 T45 ; set fan 2 value. Thermostatic control is turned on
                                M950 F3 C"out7" Q500 ; create fan 3 on pin out7 and set its frequency
                                M106 P3 S1 H1 T45 ; set fan 3 value. Thermostatic control is turned on
                                M950 F4 C"out8" Q500 ; create fan 4 on pin out8 and set its frequency
                                M106 P4 S1 H1 T45 ; set fan 4 value. Thermostatic control is turned on
                                M950 F5 C"out9" Q500 ; create fan 5 on pin out9 and set its frequency
                                M106 P5 S1 H1 T45 ; set fan 5 value. Thermostatic control is turned on

                                ; Tools
                                T0
                                M563 P0 D0 H1 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
                                T0

                                ; Custom settings are not defined

                                ; Miscellaneous
                                ;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

                                Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator @Mobietec
                                  last edited by

                                  @mobietec said in noob help dule z setup:

                                  M584 X0.0 Y0.1 Z0.2 E0.3:0.4 ; set drive mapping
                                  M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
                                  M92 X80.00 Y80.00 Z400.00 E100.00:400.00 ; set steps per mm
                                  M566 X900.00 Y900.00 Z60.00 E120.00:60.00
                                  M584 X0 Y1 Z2:4 E3 ; two Z motors connected to driver outputs Z and E1 ; set maximum instantaneous speed changes (mm/min)
                                  M203 X6000.00 Y6000.00 Z180.00 E1200.00:180.00 ; set maximum speeds (mm/min)
                                  M201 X500.00 Y500.00 Z20.00 E250.00:20.00 ; set accelerations (mm/s^2)
                                  M906 X850 Y850 Z850 E850:850 I30 ; set motor currents (mA) and motor idle factor in per cent
                                  M84 S30 ; Set idle timeout
                                  ; Dual Z Axis
                                  M584 X0 Y1 Z2:4 E3; two Z motors connected to driver outputs Z and E1

                                  You've got M584 listed 3 times in there. It needs to be early in the config right after the M569 commands is fine. Delete the others. And make sure the one you leave is accurately mapping your drivers.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  Mobietecundefined 1 Reply Last reply Reply Quote 0
                                  • Mobietecundefined
                                    Mobietec @Phaedrux
                                    last edited by

                                    @phaedrux maks no diffreance

                                    ; Drives
                                    M569 P0.0 S1 ; physical drive 0.0 goes forwards
                                    M569 P0.1 S1 ; physical drive 0.1 goes forwards
                                    M569 P0.2 S0 ; physical drive 0.2 goes forwards
                                    M569 P0.3 S1 ; physical drive 0.3 goes forwards
                                    M569 P0.4 S0 ; physical drive 0.4 goes forwards
                                    ;M584 X0.0 Y0.1 Z0.2 E0.3:0.4 ; set drive mapping
                                    M584 X0 Y1 Z2:4 E3 ; two Z motors connected to driver outputs Z and E1
                                    ;M584 X0 Y1 Z2:4 E3 ; two Z motors connected to driver outputs Z and E1
                                    ;M584 X0 Y1 Z2:4 E3 ; two Z motors connected to driver outputs Z and E1 ; set maximum instantaneous speed changes
                                    M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
                                    M92 X80.00 Y80.00 Z400.00 E100.00:400.00 ; set steps per mm
                                    M566 X900.00 Y900.00 Z60.00 E120.00:60.00
                                    (mm/min)
                                    M203 X6000.00 Y6000.00 Z180.00 E1200.00:180.00 ; set maximum speeds (mm/min)
                                    M201 X500.00 Y500.00 Z20.00 E250.00:20.00 ; set accelerations (mm/s^2)
                                    M906 X850 Y850 Z850 E850:850 I30 ; set motor currents (mA) and motor idle factor in per cent
                                    M84 S30 ; Set idle timeout

                                    ; Dual Z Axis

                                    M671 X-165:165 Y0:0 S2 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis
                                    M208 X-165:170 Y-165:165 ; X carriage moves from -5 to 205, Y bed goes from 0 to 200

                                    di o have a dud board i can feel the E0 trying to turn i have yested with known working motor and lead etc

                                    have to pop out now will try again later thank you

                                    Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                    • Phaedruxundefined
                                      Phaedrux Moderator @Mobietec
                                      last edited by Phaedrux

                                      @mobietec said in noob help dule z setup:

                                      M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
                                      M92 X80.00 Y80.00 Z400.00 E100.00:400.00 ; set steps per mm
                                      M566 X900.00 Y900.00 Z60.00 E120.00:60.00
                                      (mm/min)
                                      M203 X6000.00 Y6000.00 Z180.00 E1200.00:180.00 ; set maximum speeds (mm/min)
                                      M201 X500.00 Y500.00 Z20.00 E250.00:20.00 ; set accelerations (mm/s^2)
                                      M906 X850 Y850 Z850 E850:850 I30 ; set motor currents (mA) and motor idle factor in per cent

                                      Now remove the second E value in those commands since you only have a single extruder.

                                      Ensure the stepper motor phases are paired correctly and the wires and crimps are good.

                                      https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Identifying_the_stepper_motor_phases

                                      If it's still having troubles, switch the wiring to E1 driver and change the M584 command to bind E to that driver and see if it's still a problem.

                                      Also ensure that you have the steps per mm for E close to correct.

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      Mobietecundefined 1 Reply Last reply Reply Quote 0
                                      • Mobietecundefined
                                        Mobietec @Phaedrux
                                        last edited by

                                        @phaedrux ty its sort of turning now thats it for tonight ill have anther play tomroe many thanks if need more help will ask (most likley will lol )

                                        Mobietecundefined 1 Reply Last reply Reply Quote 0
                                        • Mobietecundefined
                                          Mobietec @Mobietec
                                          last edited by

                                          @mobietec thank you all i did my first test print today only a cube it not looking too bad need to sort out ressur or liner advance nexr but getting their

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