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

Motors doesn't work on drives from Duex 5

Scheduled Pinned Locked Moved Solved
Duet Hardware and wiring
3
33
898
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.
  • undefined
    Eken
    last edited by 4 Mar 2022, 23:42

    Tried to connect my Z-stepper motors from Duet 2 Ethernet over to a Duex 5 (RRF 3.3).
    The BL-touch works on the Duex as it should.
    Only LED that is lit up is end stop nr.6.

    When I use M115 it only says Duet 2 wifi/ethernet, nothing about Duex (it should?).
    FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet Ethernet 1.02 or later FIRMWARE_DATE: 2021-06-15 21:45:03

    Swapped the ribbon cable around, VIN-cable runs from Duet-board.

    Here's my config.g

    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"ME4080" ; set printer name
    M669 K1 ; select CoreXY mode
    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S0 ; physical drive 3 goes backwards
    M569 P4 S0 ; physical drive 4 goes backwards
    M569 P7 S1 ; physical drive 7 goes forwards
    M569 P8 S1 ; physical drive 8 goes forwards
    M569 P9 S1 ; physical drive 9 goes forwards
    M584 X0 Y1 Z2:8:9 E3 ; set drive mapping
    M350 Z16 I0 ; configure microstepping without interpolation
    M350 X16 Y16 E16 I1 ; configure microstepping with interpolation
    M92 X100.00 Y100.00 Z400.00 E402.00 ; set steps per mm
    M566 X900.00 Y900.00 Z90.00 E3000.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z720.00 E12000.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z400.00 E4000.00 ; set accelerations (mm/s^2)
    M906 X1400 Y1400 Z1400 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    Tried induvidual settings for Z-steps Z-speeds and Z-currents (Z400.00:400.00:400.00 and so on)

    Tried with Z-motors on drive 7, 8, 9 on Duex but I recieved error about temps probably because of nothing was connected to drive 2?
    So I swapped over to be using 2, 8, 9 (ZA, E5, E6).
    Can I put jumpers on both ZA/ZB and use 7, 8, 9 (E4, E5, E6) without error?

    I'm not stupid, I'm just unlucky when I try figuring it out.

    undefined 1 Reply Last reply 5 Mar 2022, 01:29 Reply Quote 0
    • undefined
      fcwilt @Eken
      last edited by 5 Mar 2022, 01:29

      @eken

      Execute an M122 and see if it mentions the Duex5.

      Frederick

      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

      undefined 2 Replies Last reply 5 Mar 2022, 01:42 Reply Quote 0
      • undefined
        Eken @fcwilt
        last edited by Eken 3 May 2022, 01:43 5 Mar 2022, 01:42

        @fcwilt
        Not what I can find in console:

        M122
        === Diagnostics ===
        RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet Ethernet 1.02 or later
        Board ID: 08DGM-917NK-F2MSW-6JTD4-3S46M-TG48D
        Used output buffers: 1 of 24 (11 max)
        === RTOS ===
        Static ram: 23876
        Dynamic ram: 70740 of which 24 recycled
        Never used RAM 19776, free system stack 190 words
        Tasks: NETWORK(ready,24.9%,246) HEAT(delaying,0.0%,330) Move(notifyWait,0.1%,340) MAIN(running,74.0%,445) IDLE(ready,1.0%,29), total 100.0%
        Owned mutexes:
        === Platform ===
        Last reset 00:01:32 ago, cause: power up
        Last software reset at 2022-03-05 00:05, reason: User, GCodes spinning, available RAM 19776, slot 0
        Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
        Error status: 0x00
        Step timer max interval 0
        MCU temperature: min 27.4, current 33.2, max 33.4
        Supply voltage: min 24.1, current 24.1, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
        Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
        Driver 0: position 0, standstill, SG min/max not available
        Driver 1: position 0, standstill, SG min/max not available
        Driver 2: position 0, standstill, SG min/max not available
        Driver 3: position 0, standstill, SG min/max not available
        Driver 4: position 0, standstill, SG min/max not available
        Driver 5: position 0
        Driver 6: position 0
        Driver 7: position 0
        Driver 8: position 0
        Driver 9: position 0
        Driver 10: position 0
        Driver 11: position 0
        Date/time: 2022-03-05 02:41:06
        Cache data hit count 3379310039
        Slowest loop: 5.73ms; fastest: 0.17ms
        I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
        === Storage ===
        Free file entries: 10
        SD card 0 detected, interface speed: 20.0MBytes/sec
        SD card longest read time 3.5ms, write time 0.0ms, max retries 0
        === Move ===
        DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
        === MainDDARing ===
        Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
        === AuxDDARing ===
        Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
        === Heat ===
        Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
        Heater 1 is on, I-accum = 0.0
        === GCodes ===
        Segments left: 0
        Movement lock held by null
        HTTP is idle in state(s) 0
        Telnet is idle in state(s) 0
        File is idle in state(s) 0
        USB is idle in state(s) 0
        Aux is idle in state(s) 0
        Trigger is idle in state(s) 0
        Queue is idle in state(s) 0
        LCD is idle in state(s) 0
        Daemon is idle in state(s) 0
        Autopause is idle in state(s) 0
        Code queue is empty.
        === Network ===
        Slowest loop: 5.81ms; fastest: 0.02ms
        Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
        HTTP sessions: 1 of 8
        Interface state active, link 100Mbps full duplex

        I'm not stupid, I'm just unlucky when I try figuring it out.

        undefined 1 Reply Last reply 5 Mar 2022, 02:10 Reply Quote 0
        • undefined
          Eken @fcwilt
          last edited by Eken 3 May 2022, 01:53 5 Mar 2022, 01:44

          @fcwilt
          E.stop 6 lights up
          E.stop 5 illuminates at half intensity

          Edit
          6 turns off with no motor connected but 5 illuminates with everything disconnected, except VIN of course. 🙂

          I'm not stupid, I'm just unlucky when I try figuring it out.

          1 Reply Last reply Reply Quote 0
          • undefined
            fcwilt @Eken
            last edited by 5 Mar 2022, 02:10

            @eken

            Well the Duex5 should be listed.

            So either something is wrong with the ribbon cable connection or the power connection.

            Can you post a picture of them?

            Frederick

            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

            undefined 1 Reply Last reply 5 Mar 2022, 12:59 Reply Quote 0
            • undefined
              Phaedrux Moderator
              last edited by 5 Mar 2022, 03:52

              Is this a new or existing Duex?

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 5 Mar 2022, 13:02 Reply Quote 0
              • undefined
                Eken @fcwilt
                last edited by 5 Mar 2022, 12:59

                @fcwilt
                1F24C921-EDB7-4EC5-8D87-2061711F8925.jpeg

                I'm not stupid, I'm just unlucky when I try figuring it out.

                1 Reply Last reply Reply Quote 0
                • undefined
                  Eken @Phaedrux
                  last edited by 5 Mar 2022, 13:02

                  @phaedrux
                  This is a "new" Duex, ordered it 13 months ago and installed it this week.

                  I'm not stupid, I'm just unlucky when I try figuring it out.

                  undefined 1 Reply Last reply 6 Mar 2022, 18:24 Reply Quote 0
                  • undefined
                    Eken
                    last edited by Eken 3 May 2022, 13:23 5 Mar 2022, 13:21

                    D11073AC-5A4B-4E79-B58D-AE9F92504FDB.jpeg

                    Tried with other drives on duex and remapped in config.g but the same LEDs behaves as before. Also swapped polarity on the motors.

                    It’s not that I completely missed some installation steps?
                    Because all I’ve done is connected the Duex with ribbon cable and VIN +/-.
                    I haven’t told the Duet there is a Duex in anyway if that’s necessary?

                    I'm not stupid, I'm just unlucky when I try figuring it out.

                    undefined 1 Reply Last reply 5 Mar 2022, 14:06 Reply Quote 0
                    • undefined
                      fcwilt @Eken
                      last edited by 5 Mar 2022, 14:06

                      @eken

                      The Duex should be detected automaticially.

                      Did you check the fuse on the Duex?

                      Frederick

                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                      undefined 1 Reply Last reply 5 Mar 2022, 14:28 Reply Quote 0
                      • undefined
                        Eken @fcwilt
                        last edited by 5 Mar 2022, 14:28

                        @fcwilt
                        Yea the fuse is solid.
                        So there aren’t a configuration step to let the Duet know I added a Duex?
                        That was one answer I was hoping for… 🤣

                        I'm not stupid, I'm just unlucky when I try figuring it out.

                        undefined 1 Reply Last reply 5 Mar 2022, 14:39 Reply Quote 0
                        • undefined
                          fcwilt @Eken
                          last edited by 5 Mar 2022, 14:39

                          @eken said in Motors doesn't work on drives from Duex 5:

                          @fcwilt
                          Yea the fuse is solid.
                          So there aren’t a configuration step to let the Duet know I added a Duex?
                          That was one answer I was hoping for… 🤣

                          Did you measure the voltage at the power input to the Duex board?

                          Frederick

                          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                          undefined 1 Reply Last reply 5 Mar 2022, 14:41 Reply Quote 0
                          • undefined
                            Eken @fcwilt
                            last edited by Eken 3 May 2022, 14:47 5 Mar 2022, 14:41

                            @fcwilt
                            24,2V if I remember correctly, same as at the Duet and PSU.

                            Edit
                            24,19V

                            I'm not stupid, I'm just unlucky when I try figuring it out.

                            undefined 1 Reply Last reply 5 Mar 2022, 14:50 Reply Quote 0
                            • undefined
                              fcwilt @Eken
                              last edited by 5 Mar 2022, 14:50

                              @eken said in Motors doesn't work on drives from Duex 5:

                              @fcwilt
                              24,2V if I remember correctly, same as at the Duet and PSU.

                              Edit
                              24,19V

                              All I can suggest at this point is to disconnect everything but power and the ribbon cable then run M122.

                              Of course turn off power first.

                              Frederick

                              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                              undefined 1 Reply Last reply 5 Mar 2022, 14:54 Reply Quote 0
                              • undefined
                                Eken
                                last edited by 5 Mar 2022, 14:53

                                And there is no need to perform a reset?
                                Necessary positioning of jumper?
                                No nothing to get the drive outputs active more than assigning them in config?

                                Noticed that if I disconnect all stepper motors the end6 LED turns off.
                                If I connect a motor on any of the drive outputs the end6 LED turns on.

                                I'm not stupid, I'm just unlucky when I try figuring it out.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Eken @fcwilt
                                  last edited by 5 Mar 2022, 14:54

                                  @fcwilt
                                  Ok, tried that as well.

                                  I'm not stupid, I'm just unlucky when I try figuring it out.

                                  undefined 1 Reply Last reply 5 Mar 2022, 15:12 Reply Quote 0
                                  • undefined
                                    fcwilt @Eken
                                    last edited by 5 Mar 2022, 15:12

                                    @eken said in Motors doesn't work on drives from Duex 5:

                                    @fcwilt
                                    Ok, tried that as well.

                                    With nothing still connected run M98 P"config.g" and see if any errors are reported.

                                    Frederick

                                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                    undefined 1 Reply Last reply 5 Mar 2022, 15:29 Reply Quote 0
                                    • undefined
                                      Eken @fcwilt
                                      last edited by 5 Mar 2022, 15:29

                                      @fcwilt
                                      M98 P"config.g"
                                      HTTP is enabled on port 80
                                      FTP is disabled
                                      TELNET is disabled
                                      Error: Heater 7 not found

                                      I'm not stupid, I'm just unlucky when I try figuring it out.

                                      undefined 1 Reply Last reply 5 Mar 2022, 15:34 Reply Quote 0
                                      • undefined
                                        fcwilt @Eken
                                        last edited by 5 Mar 2022, 15:34

                                        @eken said in Motors doesn't work on drives from Duex 5:

                                        @fcwilt
                                        M98 P"config.g"
                                        HTTP is enabled on port 80
                                        FTP is disabled
                                        TELNET is disabled
                                        Error: Heater 7 not found

                                        I'm running out of ideas. Please post your complete config.g file using the </> tag.

                                        Thanks.

                                        Frederick

                                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                        undefined 1 Reply Last reply 5 Mar 2022, 15:42 Reply Quote 0
                                        • undefined
                                          Eken @fcwilt
                                          last edited by 5 Mar 2022, 15:42

                                          @fcwilt

                                          ; Configuration file for Duet WiFi (firmware version 3)
                                          ; executed by the firmware on start-up
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v3.2.1 on Tue Jan 12 2021 00:28:54 GMT+0100 (centraleuropeisk normaltid)
                                          ; General preferences
                                          G90 ; send absolute coordinates...
                                          M83 ; ...but relative extruder moves
                                          M550 P"ME4080" ; set printer name
                                          M669 K1 ; select CoreXY mode
                                          ; Drives
                                          M569 P0 S1 ; physical drive 0 goes forwards
                                          M569 P1 S1 ; physical drive 1 goes forwards
                                          M569 P2 S1 ; physical drive 2 goes forwards
                                          M569 P3 S0 ; physical drive 3 goes backwards
                                          M569 P4 S0 ; physical drive 4 goes backwards
                                          M569 P5 S1 ; physical drive 7 goes forwards
                                          M569 P6 S1 ; physical drive 8 goes forwards
                                          M569 P9 S1 ; physical drive 9 goes forwards
                                          M584 X0 Y1 Z2:5:6 E3 ; set drive mapping
                                          M350 Z16 I0 ; configure microstepping without interpolation
                                          M350 X16 Y16 E16 I1 ; configure microstepping with interpolation
                                          M92 X100.00 Y100.00 Z400.00 E402.00 ; set steps per mm
                                          M566 X900.00 Y900.00 Z90.00 E3000.00 ; set maximum instantaneous speed changes (mm/min)
                                          M203 X6000.00 Y6000.00 Z720.00 E12000.00 ; set maximum speeds (mm/min)
                                          M201 X500.00 Y500.00 Z400.00 E4000.00 ; set accelerations (mm/s^2)
                                          M906 X1400 Y1400 Z1400 E800 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 X270 Y270 Z260 S0 ; set axis maxima
                                          ; Endstops
                                          M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
                                          M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
                                          M574 Z1 S2 ; Define Z to use Probe. Home to Min
                                          ; Z-Probe
                                          M558 P9 C"^zprobe.in" H10 F120 T6000 X0 Y0 Z1 ; Set Z probe type/mode 9. H=Dive Height. F=Speed the bed moves
                                          M557 X10:200 Y10:200 S50 ; define mesh grid
                                          G31 X60 Y60 Z3.0 P25 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
                                          M950 S13 C"duex.pwm5" ; Which pin BLTouch is connected to
                                          ; Heaters
                                          M307 H7 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board.
                                          M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
                                          M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
                                          M307 H0 B0 R0.724 C166.5 D3.47 S1.00 V24.2 ; 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 100C
                                          M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.060000e-8 ; 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 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"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
                                          M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
                                          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 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
                                          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
                                          T0 ; select first tool

                                          Don't understand what you meen with </> tag?

                                          I'm not stupid, I'm just unlucky when I try figuring it out.

                                          undefined 2 Replies Last reply 5 Mar 2022, 15:58 Reply Quote 0
                                          3 out of 33
                                          • First post
                                            3/33
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA