Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved One motor dont move.. M122

    General Discussion
    2
    5
    103
    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.
    • peirof
      peirof last edited by

      Hi,

      well, nothing.... what's new this morning, one of the motors in Z doesn't turn... I've sent an M122 through the console, and I'll copy an extract at the beginning and then complete, but you can see that this Driver has different code...

      Driver extract of M122

      Driver 0: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 645, writes 9, timeouts 20, DMA errors 0, CC errors 0, failedOp 0x80
      Driver 1: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 12, reads 3800, writes 12, timeouts 0, DMA errors 0, CC errors 0
      Driver 2: pos -8000, standstill, SG min 0, read errors 0, write errors 0, ifcnt 12, reads 3800, writes 12, timeouts 0, DMA errors 0, CC errors 0
      Driver 3: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 11, reads 3801, writes 11, timeouts 0, DMA errors 0, CC errors 0
      Driver 4: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 10, reads 3802, writes 10, timeouts 0, DMA errors 0, CC errors 0
      Driver 5: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 10, reads 3802, writes 10, timeouts 0, DMA errors 0, CC errors 0
      Driver 6: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 10, reads 3802, writes 10, timeouts 0, DMA errors 0, CC errors 0
      

      complete M122

      m122
      === Diagnostics ===
      RepRapFirmware for Duet 3 Mini 5+ version 3.4.0rc1+1 (2022-02-10 13:07:40) running on Duet 3 Mini5plus WiFi (standalone mode)
      Board ID: YHY31-G096U-D65J0-40KMU-3F03Z-R26JL
      Used output buffers: 3 of 40 (14 max)
      === RTOS ===
      Static ram: 103652
      Dynamic ram: 109148 of which 0 recycled
      Never used RAM 28840, free system stack 164 words
      Tasks: NETWORK(ready,14.3%,226) HEAT(notifyWait,0.0%,342) Move(notifyWait,0.0%,292) CanReceiv(notifyWait,0.0%,942) CanSender(notifyWait,0.0%,372) CanClock(delaying,0.0%,339) TMC(notifyWait,0.9%,114) MAIN(running,83.5%,414) IDLE(ready,0.5%,29) AIN(delaying,0.8%,273), total 100.0%
      Owned mutexes: WiFi(NETWORK)
      === Platform ===
      Last reset 00:00:54 ago, cause: power up
      Last software reset at 2022-03-07 10:58, reason: User, GCodes spinning, available RAM 28600, slot 2
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
      Error status: 0x00
      Aux0 errors 0,0,0
      MCU revision 3, ADC conversions started 55849, completed 55848, timed out 0, errs 0
      Step timer max interval 751
      MCU temperature: min 11.3, current 13.9, max 14.1
      Supply voltage: min 23.9, current 24.0, max 24.1, 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
      Events: 0 queued, 0 completed
      Driver 0: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 645, writes 9, timeouts 20, DMA errors 0, CC errors 0, failedOp 0x80
      Driver 1: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 12, reads 3800, writes 12, timeouts 0, DMA errors 0, CC errors 0
      Driver 2: pos -8000, standstill, SG min 0, read errors 0, write errors 0, ifcnt 12, reads 3800, writes 12, timeouts 0, DMA errors 0, CC errors 0
      Driver 3: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 11, reads 3801, writes 11, timeouts 0, DMA errors 0, CC errors 0
      Driver 4: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 10, reads 3802, writes 10, timeouts 0, DMA errors 0, CC errors 0
      Driver 5: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 10, reads 3802, writes 10, timeouts 0, DMA errors 0, CC errors 0
      Driver 6: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 10, reads 3802, writes 10, timeouts 0, DMA errors 0, CC errors 0
      Date/time: 2022-03-07 11:07:21
      Cache data hit count 107006303
      Slowest loop: 15.30ms; fastest: 0.13ms
      === Storage ===
      Free file entries: 10
      SD card 0 detected, interface speed: 22.5MBytes/sec
      SD card longest read time 3.3ms, write time 0.0ms, max retries 0
      === Move ===
      DMs created 83, segments created 3, maxWait 24232ms, bed compensation in use: mesh, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 1, completed 1, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 1], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
      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
      SBC is idle in state(s) 0
      Daemon is idle in state(s) 0
      Aux2 is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty
      === CAN ===
      Messages queued 492, received 0, lost 0, boc 0
      Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 275/0/0
      Tx timeouts 0,0,274,0,0,216 last cancelled message type 30 dest 127
      === Network ===
      Slowest loop: 22.48ms; fastest: 0.00ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
      HTTP sessions: 1 of 8
      - WiFi -
      Network state is active
      WiFi module is connected to access point 
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.26
      WiFi MAC address f0:08:d1:03:80:36
      WiFi Vcc 3.41, reset reason Power up
      WiFi flash size 2097152, free heap 22152
      WiFi IP address 192.168.1.24
      WiFi signal strength -46dBm, mode 802.11n, reconnections 0, sleep mode modem
      Clock register 00002002
      Socket states: 0 0 0 0 0 0 0 0
      
      peirof 1 Reply Last reply Reply Quote 0
      • peirof
        peirof @peirof last edited by

        eee.... I don't know if it will have to do with it, but I notice how when turning that motor with the printer off, manually, it goes a little harder than the others....

        peirof 1 Reply Last reply Reply Quote 0
        • peirof
          peirof @peirof last edited by

          @peirof more things that I have realized... maybe it is something mechanical, since the engine starts to turn, and when it turns 4 or 5 times, maybe less, it stops....

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

            Can you post your config.g as well?

            Have you tried swapping that motor to another driver and seeing if the problem stays with the driver or the motor?

            Z-Bot CoreXY Build | Thingiverse Profile

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

              @phaedrux think I have find... Not duet related... Thx

              1 Reply Last reply Reply Quote 0
              • Topic has been marked as a question  Phaedrux Phaedrux 
              • Topic has been marked as solved  Phaedrux Phaedrux 
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA