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.
    • Mobietecundefined
      Mobietec @Phaedrux
      last edited by

      @phaedrux
      @phaedrux my updated config file
      i cant get the bltouch to deply now grrr i am trying to look for answers befor i post first i have the bl on io3 now their are two grounds form touch that are wired together sence on io out and triger on ioin

      i have checked for contunety lol i cant spell today and i have also tried 3.3 and 5v lines and i have tried diffrent probs still get same

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

      ; General preferences
      ; 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 E440.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)
      ;M671 X-20:220 Y0:0 S0.5 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis
      ;M208 X-5:205 Y0:200 ; X carriage moves from -5 to 205, Y bed goes from 0 to 200
      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:250.00 ; set accelerations (mm/s^2)
      M906 X800 Y800 Z800 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; 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"io1.in" ; configure active-high endstop for low end on X via pin io1.in
      M574 Y1 S1 P"io2.in" ; configure active-high endstop for low end on Y via pin io2.in
      M574 Z2 S2 C"io4.in" ; configure Z-probe endstop for low end on Z

      ; Z-Probe
      M950 S0 C"io4.out" ; create servo pin 0 for BLTouch
      M558 P9 C"io4.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X-30 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
      M557 X-155:130 Y-155:155 P5 ; define mesh grid

      ;M558 A10 S0.003 B0 R0.2 ; BLTouch extra settings from Phaedrux
      G31 P500 X-37.6 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
      M557 X-155:130 Y-155:155 P5 ; 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 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 B4138 ; 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-1 ; set fan 0 value. Thermostatic control is turned off
      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

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

      ; 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

      Phaedruxundefined 2 Replies Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Does M401 and M402 work?
        Does M280 P0 S10 or M280 P0 S90 work?
        What do you have in your deploy and retract macros?
        Are those deploy and retract macros located in your /sys/ folder?

        Z-Bot CoreXY Build | Thingiverse Profile

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

          @phaedrux no im trying a clean install see if that helps

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

            @phaedrux said in noob help dule z setup:

            Does M401 and M402 work?
            Does M280 P0 S10 or M280 P0 S90 work?
            What do you have in your deploy and retract macros?
            Are those deploy and retract macros located in your /sys/ folder?

            no
            no
            ; deployprobe.g
            ; called to deploy a physical Z probe
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.3 on Thu May 20 2021 20:02:55 GMT+0100 (British Summer Time)
            M280 P0 S10 ; deploy BLTouch

            ; retractprobe.g
            ; called to retract a physical Z probe
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.3 on Thu May 20 2021 20:02:55 GMT+0100 (British Summer Time)
            M280 P0 S90 ; retract BLTouch

            yes

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

              99.9% of the time it's wiring.

              Z-Bot CoreXY Build | Thingiverse Profile

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

                @phaedrux i fully understand that i have checked and rechecked im using duet 3

                bl conected to io3

                5volt to 5volt in bl
                io out to sig
                both grounds from bl to gnd
                and out(z) to io3 in

                rom socket to bl no broken conections and correct readings ie cable conected ok

                hope this helps

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

                  @mobietec said in noob help dule z setup:

                  M950 S0 C"io4.out" ; create servo pin 0 for BLTouch
                  M558 P9 C"io4.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds

                  @mobietec said in noob help dule z setup:

                  bl conected to io3
                  5volt to 5volt in bl
                  io out to sig
                  both grounds from bl to gnd
                  and out(z) to io3 in

                  Are you using io3 or io4?

                  Z-Bot CoreXY Build | Thingiverse Profile

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

                    @phaedrux io3

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

                      @mobietec said in noob help dule z setup:

                      M950 S0 C"io4.out" ; create servo pin 0 for BLTouch
                      M558 P9 C"io4.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds

                      If you are connected to io3.... and your config is using io4....

                      Z-Bot CoreXY Build | Thingiverse Profile

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

                        @phaedrux i changed it just in case that was a problem port made no diffreance im pulling my hair out i have tested both bl in a marlin boards and work as they should just will not work in here

                        i have also reflashed board to 3.2 no luck i was on 3.3 so im going to put that back on

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

                          Ok, so your config is using io3 now as well?

                          when you tested on the marlin boards did you use the same cable harness?

                          Can you show a photo of your BLtouch connection at the duet board io3 connection?

                          Z-Bot CoreXY Build | Thingiverse Profile

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

                            @phaedrux yes same harness i have to change pins over so 5v n sig were correct

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

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • Mobietecundefined
                                Mobietec @Mobietec
                                last edited by Mobietec

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • Mobietecundefined
                                  Mobietec @Mobietec
                                  last edited by

                                  @mobietec alt text
                                  alt text

                                  links to photos i hope

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

                                    @mobietec Yellow pin crimp looks like it's up, not in the crimp shell properly. May not be making contact. Better to use the supplied Duet crimps and housings, rather than Molex Dupont connectors.

                                    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 1
                                    • Mobietecundefined
                                      Mobietec @droftarts
                                      last edited by

                                      @droftarts i can promice you its making good contection the dupont socket is just temp and i did push it down fully after pic and check it still not working i do have another bl with duet socket still same problem

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

                                        @mobietec Sorry, should have remembered this before; see https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Duet_Num_3

                                        Connect the BLTouch to IO_7 ... It's also possible to use IO_4 or IO_5 instead of IO_7.

                                        (Edit: I've updated the text on the wiki to make it clearer.)

                                        You can't use IO_3!

                                        Only IO_4, IO_5 and IO_7 are PWM capable, so able to control a servo (like the BLTouch). See table here for IO pin capability: https://duet3d.dozuki.com/Wiki/Duet_3_Mainboard_6HC_Hardware_Overview#Section_IO.
                                        Use one of IO_4, IO_5 or IO_7 instead. So, with the BLTouch connected to IO_4, your config.g should be (which is what you had earlier):

                                        ; Z-Probe
                                        M950 S0 C"io4.out" ; create servo pin 0 for BLTouch
                                        M558 P9 C"io4.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
                                        

                                        Also, this line is incorrect, and may be interfering:

                                         M574 Z2 S2 C"io4.in" ; configure Z-probe endstop for low end on Z
                                        

                                        Are you wanting to use the endstop on the high end (as in where Z value is 'high', with the bed furthest from nozzle, so bed at the bottom of travel)? That's what 'Z2' means. Though 'S2' means probe not endstop, and the 'C' parameter is wrong (should be P). To set it up correctly, see https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_RepRapFirmware_Num_3. For now, change it to:

                                        M574 Z0 ; No Z endstop
                                        

                                        Make these changes, test and post your config.g.

                                        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

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

                                          yipeee got the bl working

                                          now got to work on bedsize and bed mesh because it probs outside
                                          of bed aeira

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

                                            @droftarts said in noob help dule z setup:

                                            You can't use IO_3!

                                            Oof! that was on the tip of my brain yesterday. 😖

                                            Z-Bot CoreXY Build | Thingiverse Profile

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