Attempt to move motors when VIN is not in range DWC shows 0.5V



  • Board is still showing 0.5 V in DWC so motors still refuse to move.... I have made a short sum of what is checked and tested as the latest comment.

    Hi guys,
    I got my Duet 2 Wifi yesterday and started setting it up, got past the wifi setup and all this worked fine.

    I then had some issues with my end stops but found the help here, I had wired it wrong. But my motors were running fine.

    Today after work and other stuff, I wanted to finalise the setup. So I homed the motors again just to reafirm that it was working. After this I wanted to fix the issues I have had with the fans, I have been using the always on plugs to test the fan connection. There is one of my fans I just cannot get to work but it should work okay still.

    So, I start up the printer and it says that it is not homed.. Odd, but when I press "homex" it says "Attempt to move motors when VIN is not in range" and it says this for whichever motor I try to talk with.

    Furthermore, now in the upper left hand corner the printer says "off"

    Did I kill my printer with a wrong wiring of fans?

    Br/
    Magnus



  • What is the reported VIN in the DWC?

    What do you see if you run M122?

    Are you VIN terminals tightly screwed down?

    What LEDs are lit on the edge of the board?



  • Unsure what DWC is in the context?

    The VIN terminals er screwed down tight

    I see green (3,3V) , red (5V) and blue ...

    I have switched it now to USB to interact via USB instead

    M122 reads as:

    6:52:18 AMM122
    Error: G0/G1: insufficient axes homed
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later
    Board ID: 08DGM-917DA-G4MSD-6J1F8-3SD6T-KSU7B
    Used output buffers: 3 of 20 (7 max)
    === RTOS ===
    Static ram: 25524
    Dynamic ram: 98568 of which 0 recycled
    Exception stack ram used: 360
    Never used ram: 6620
    Tasks: NETWORK(ready,648) HEAT(blocked,1232) MAIN(running,3868) IDLE(ready,200)
    Owned mutexes:
    === Platform ===
    Last reset 00:01:13 ago, cause: power up
    Last software reset at 2019-03-12 22:17, reason: Unknown, spinning module Platform, available RAM 6320 bytes (slot 2)
    Software reset code 0x40b0 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0042380f BFAR 0xe000ed38 SP 0x20001eac Task 0x5754454e
    Stack: 004450eb 004450ea 41000000 f8000000 4016afff 00000000 00000000 3e178897 3e1cd04f 41880000 3e3a3335 3e638e3a 423d19d1 00000000 476e5600 37d33333 3c113333 60000000 3fe22666 60000010 00449abb 00000001 0040607f
    Error status: 0
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms, max retries 0
    MCU temperature: min 29.8, current 41.3, max 41.5
    Supply voltage: min 0.4, current 0.5, max 0.6, under voltage events: 0, over voltage events: 0, power good: no
    Driver 0: ok, SG min/max not available
    Driver 1: ok, SG min/max not available
    Driver 2: ok, SG min/max not available
    Driver 3: ok, SG min/max not available
    Driver 4: ok, SG min/max not available
    Date/time: 2019-03-13 06:52:17
    Cache data hit count 177085076
    Slowest loop: 4.89ms; fastest: 0.06ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
    === Move ===
    Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 239, MaxWait: 62618ms, Underruns: 0, 0
    Scheduled moves: 2, completed moves: 2
    Bed compensation in use: none
    Bed probe heights: 0.000 0.000 0.000 0.000 0.000
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    === GCodes ===
    Segments left: 0
    Stack records: 1 allocated, 0 in use
    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
    serial is idle in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 14.03ms; fastest: 0.00ms
    Responder states: HTTP(4) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 1 of 8

    • WiFi -
      Network state is running
      WiFi module is connected to access point
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.21
      WiFi MAC address cc:50:e3:0d:27:75
      WiFi Vcc 3.42, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 16280
      WiFi IP address 10.44.0.21
      WiFi signal strength -55dBm, reconnections 0, sleep mode modem
      Socket states: 0 2 0 0 0 0 0 0


  • DWC in this context is the Duet Web Control. The web interface you connect to. The machine status box shows the current VIN.

    The M122 results will be more informative if you gather it right after the problem has occured.



  • @magnusjen said in Attempt to move motors when VIN is not in range:

    Supply voltage: min 0.4, current 0.5, max 0.6, under voltage events: 0, over voltage events: 0, power good: no

    you have no 12V or 24V. so when you try to move the motors they wont move.



  • @phaedrux ah! Right will look after work when i get WiFi connection again.



  • @veti the data is useless... I pulled it while it was connected with USB. I will pull better data in about 8 hours.



  • @phaedrux
    So! I am home from work now, and I plugged in the DUET to my Ender 3 power supply which supplies 24 V (I just checked with my Multimeter and it confirms that part.

    The DWC interface says I have 0.5V and the M122 prompt says the same.. For shits and giggles I looked at the fan pins and they also say 24V. I have had issues with my hot end fan not working when I plug it into the board so that is my next issue after getting the board to function again.

    3:49:47 PMM122
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later
    Board ID: 08DGM-917DA-G4MSD-6J1F8-3SD6T-KSU7B
    Used output buffers: 3 of 20 (15 max)
    === RTOS ===
    Static ram: 25524
    Dynamic ram: 98568 of which 0 recycled
    Exception stack ram used: 288
    Never used ram: 6692
    Tasks: NETWORK(ready,648) HEAT(blocked,1232) MAIN(running,3868) IDLE(ready,200)
    Owned mutexes: WiFi(NETWORK)
    === Platform ===
    Last reset 00:01:22 ago, cause: power up
    Last software reset at 2019-03-12 22:17, reason: Unknown, spinning module Platform, available RAM 6320 bytes (slot 2)
    Software reset code 0x40b0 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0042380f BFAR 0xe000ed38 SP 0x20001eac Task 0x5754454e
    Stack: 004450eb 004450ea 41000000 f8000000 4016afff 00000000 00000000 3e178897 3e1cd04f 41880000 3e3a3335 3e638e3a 423d19d1 00000000 476e5600 37d33333 3c113333 60000000 3fe22666 60000010 00449abb 00000001 0040607f
    Error status: 0
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms, max retries 0
    MCU temperature: min 36.7, current 37.6, max 37.6
    Supply voltage: min 0.4, current 0.5, max 0.5, under voltage events: 0, over voltage events: 0, power good: no
    Driver 0: ok, SG min/max not available
    Driver 1: ok, SG min/max not available
    Driver 2: ok, SG min/max not available
    Driver 3: ok, SG min/max not available
    Driver 4: ok, SG min/max not available
    Date/time: 2019-03-13 15:49:46
    Cache data hit count 297248498
    Slowest loop: 1.80ms; fastest: 0.06ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
    === Move ===
    Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 240, MaxWait: 0ms, Underruns: 0, 0
    Scheduled moves: 2, completed moves: 2
    Bed compensation in use: none
    Bed probe heights: 0.000 0.000 0.000 0.000 0.000
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    === GCodes ===
    Segments left: 0
    Stack records: 1 allocated, 0 in use
    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
    serial is idle in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 175.35ms; fastest: 0.08ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 1 of 8

    • WiFi -
      Network state is running
      WiFi module is connected to access point
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.21
      WiFi MAC address cc:50:e3:0d:27:75
      WiFi Vcc 3.42, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 15056
      WiFi IP address 10.44.0.21
      WiFi signal strength -50dBm, reconnections 0, sleep mode modem
      Socket states: 0 0 0 0 0 0 0 0


  • check the fuses if it is blown



  • @veti I just checked the fuses with my multimeter, they all read 24 V



  • you measure a fuse by measuring the resistance across it while its out of the socket.



  • @veti Huh? But then there is no current to the fuse?

    Edit: doh... ignore this



  • @veti Sorry mate, my bad... I took them out and checked them one by one and they are all fine.



  • @magnusjen said in Attempt to move motors when VIN is not in range:

    @veti Huh? But then there is no current to the fuse?

    Correct. Measure resistance, not voltage or current. Should be zero for a good fuse.

    In fact, measuring 24V across a fuse that is IN CIRCUIT is a strong hint that the fuse is "blown". Meaning open. Meaning no current able to pass through. If you think about a good fuse IN CIRCUIT, it should read very, very, very close to zero V 'across' the fuse, because a good fuse is not 'blocking' anything, i.e. not blown. So the 'voltage drop' across the fuse is (almost) nothing.



  • @magnusjen said in Attempt to move motors when VIN is not in range:

    @veti Sorry mate, my bad... I took them out and checked them one by one and they are all fine.

    "Good" as in "Zero Ohms"? (When out of circuit)



  • @danal Was to slow, I took them out and looked at resistance across and they all hit zero



  • @magnusjen said in Attempt to move motors when VIN is not in range:

    @danal Was to slow, I took them out and looked at resistance across and they all hit zero

    Perfect... then they are OK.

    Hmmm.... DWC still shows just 5V?



  • @danal Yes still shows 5V, I even pulled out the fans just for ease of work with the board.



  • @magnusjen said in Attempt to move motors when VIN is not in range:

    @danal Yes still shows 5V, I even pulled out the fans just for ease of work with the board.

    With USB UNPLUGGED, and 24V reading across the pins on the green connector that is circled, which lights are on?

    0_1552492303271_dfc8a2f0-2797-4e7b-8232-174853ffa40d-image.png



  • @danal
    Power in is in the correct spot Check
    Power reading across reads as 24V check
    USB not plugged in Check
    Wifi Blue light check
    3.3V green light check
    5V red light check
    VIN blue light check
    Z,Y, X stop red lights check


Log in to reply