Warning: motor phase A (or B) may be disconnected



  • Hi ya'll,

    Symptoms below. What else should I check? Bad board? Curtains for Moose and Squirrel?😬

    Z-axis doesn't home. Swapping motor cables demonstrates that motor + cable is not the problem.

    Error when homing:
    Warning: motor phase A may be disconnected reported by driver(s) 2
    Warning: motor phase B may be disconnected reported by driver(s) 2

    M906
    Motor current (mA) - X:1000, Y:1000, Z:1000, E:500:500, idle factor 30%
    2/28/2020, 8:40:15 PM
    M913
    Motor current % of normal - X:100, Y:100, Z:100, E💯100

    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05 running on Duet WiFi 1.02 or later
    Board ID: 08DGM-9T6BU-FG3SS-6J9FL-3SD6R-1STHF
    Used output buffers: 3 of 24 (6 max)
    === RTOS ===
    Static ram: 25712
    Dynamic ram: 92620 of which 380 recycled
    Exception stack ram used: 272
    Never used ram: 12088
    Tasks: NETWORK(ready,676) HEAT(blocked,1232) MAIN(running,3800) IDLE(ready,160)
    Owned mutexes:
    === Platform ===
    Last reset 00:01:27 ago, cause: software
    Last software reset at 2020-02-28 20:38, reason: User, spinning module GCodes, available RAM 11920 bytes (slot 1)
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
    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 33.0, current 34.5, max 34.6
    Supply voltage: min 24.1, current 24.1, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: standstill, SG min/max not available
    Driver 1: standstill, SG min/max not available
    Driver 2: standstill, SG min/max not available
    Driver 3: standstill, SG min/max not available
    Driver 4: standstill, SG min/max not available
    Date/time: 2020-02-28 20:40:13
    Cache data hit count 258625669
    Slowest loop: 2.09ms; fastest: 0.06ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
    === Move ===
    Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
    Bed compensation in use: none, comp offset 0.000
    === DDARing ===
    Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    Heater 1 is on, I-accum = 0.0
    === GCodes ===
    Segments left: 0
    Stack records: 2 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: 15.44ms; fastest: 0.00ms
    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.23
      WiFi MAC address bc:dd:c2:45:d1:4b
      WiFi Vcc 3.33, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 26024
      WiFi IP address 192.168.1.224
      WiFi signal strength -52dBm, reconnections 0, sleep mode modem
      Socket states: 0 0 0 0 0 0 0 0

  • administrators

    The message is a warning. It doesn't stop the motors working. One possible cause is that is that you are trying to move the Z motor much too fast, and you don't have enough VIN voltage for that speed.

    Please post your config.g and homing files.



  • @dc42 said in Warning: motor phase A (or B) may be disconnected:

    The message is a warning. It doesn't stop the motors working. One possible cause is that is that you are trying to move the Z motor much too fast, and you don't have enough VIN voltage for that speed.

    Please post your config.g and homing files.

    Thanks for looking into my issue! See below:

    config:
    ; Communication and general
    M111 S0 ; Debug off
    M550 PD300VS ; Machine name and Netbios name (can be anything you like)
    M551 XXXXX ; Machine password (used for FTP)
    ; *** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xEF ; MAC Address
    ; Wifi Networking
    M552 S1 ; Enable Wifi by default

    M555 P2 ; Set output to look like Marlin

    ; *** Uncomment if you have the optional PanelDue display
    ;M575 P1 B57600 S1 ; Communication parameters for the PanelDue

    G21 ; Work in millimeters
    G90 ; Send absolute positional coordinates...
    M83 ; ...but relative extruder moves

    ; Axis and motor configuration
    M569 P0 S0 ; Drive 0 goes forwards (X tower)
    M569 P1 S0 ; Drive 1 goes forwards (Y tower)
    M569 P2 S0 ; Drive 2 goes forwards (Z tower)
    M569 P3 S1 ; Drive 3 goes forwards (extruder 1)

    M574 X2 Y2 Z2 S1 ; Set endstop configuration (all endstops at high end, active high)

    ; *** The homed height is deliberately set too high in the following - these will be adjusted with delta auto-calibration
    M665 R208.203 L360.31 B140 H432.897 X0.4 Y0.834 Z0.0 ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X-2.31 Y-2.38 Z4.68 ; Endstop offset adjustments, these will be adjusted with delta auto-calibration

    M350 X64 Y64 Z64 E16 I1 ; Set microstepping to 32 for X, Y and Z and 16 for extruder stepper with interpolation
    M92 X800 Y800 Z800 ; Set axis steps/mm
    M906 X1000 Y1000 Z1000 E500 ; Set motor currents (mA)
    M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2)
    M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min)
    M566 X1200 Y1200 Z1200 E300 ; Maximum instant speed changes mm/minute

    ; Fans
    M106 P1 T50 S255 H1 ; Set hotend heatsink FAN1 thermostatic control at 50�C

    ; Thermistors
    M305 P0 T100000 B3950 R4700 L54 H-97 ; Kapton bed heater thermistor
    M305 P1 R4700 T100000 B4725 C7.06e-8 ; E3D V6 Semitec GT-104 thermistor cartridge

    ; Heater configuration
    M307 H0 B1 ; Heater 0 (bed) use bang-bang control
    M307 H1 A512.9 C267.0 D9.0 B0 ; Heater 1 (hot end) use PID

    ; Tool definitions
    M563 P0 D0 H1 ; Define tool 0, the extruder
    G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
    M92 E800 ; Set extruder steps per mm

    ; Z probe and compensation definition
    ; Change "H25" to "H3" AFTER commissioning your printer
    M558 P4 X0 Y0 Z0 H3 I1 ; FSRs with JohnSL board Z probe behaves as a switch and is not used for homing any axes
    G31 X0 Y0 Z-0.25 P500 ; MUST READ: http://www.sublimelayers.com/2017/05/fdffsd.html

    T0 ; Select tool 0, the hot end
    M501 ; Load config-override.g

    config-override.g:
    ; This is a system-generated file - do not edit
    ; Delta parameters
    M665 L360.310 R210.976 H432.795 B140.0 X-0.034 Y-0.223 Z0.000
    M666 X-0.718 Y-3.354 Z4.072 A0.00 B0.00
    ; Heater model parameters
    M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B1
    M307 H1 A512.9 C267.0 D9.0 S1.00 V0.0 B0
    M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0

    Homing:
    G91 ; use relative positioning
    G1 S1 X800 Y800 Z800 F2500 ; move all carriages up 700mm, stopping at the endstops
    G1 S2 X-3 Y-3 Z-3 ; move all carriages down 3mm
    G1 S1 X6 Y6 Z6 F250 ; move carriages slowly up 6mm, stopping at the endstops
    G1 Z-5 F2000 ; down a few mm so that we can centre the head
    G90 ; back to absolute positioning
    G1 X0 Y0 F2000 ; centre the head and set a reasonable feed rate


  • administrators

    The Duet has two Z motor connectors Za and Zb, one right behind the other. You have only one Z motor, so you are using only one of the connectors. Are there 2 jumpers fitted on the other Z motor connector? They should have been fitted already when you received the Duet. See the top right of the board in the wiring diagram at https://duet3d.dozuki.com/Wiki/Duet_Wiring_Diagrams.



  • @dc42 said in Warning: motor phase A (or B) may be disconnected:

    The Duet has two Z motor connectors Za and Zb, one right behind the other. You have only one Z motor, so you are using only one of the connectors. Are there 2 jumpers fitted on the other Z motor connector? They should have been fitted already when you received the Duet. See the top right of the board in the wiring diagram at https://duet3d.dozuki.com/Wiki/Duet_Wiring_Diagrams.

    son of a ... that was it! Forgot to install them... oops.

    Thanks for the help dc!



  • I'm getting the same error now all of a sudden. My machine has been wired for several months. I've recently been getting anomalies in my prints, looks like not extruding enough on the border, could be layer height and have been trouble shooting. I swapped out the nozzle. Now I get this phase message when I try to home my Z axis. Here is my config.

    ; Configuration file for Mini Kossel kit from Think3DPrint3D for testing Duet WiFi

    ; Communication and general
    M111 S0 ; Debug off
    M550 PNCC1701 ; Machine name and Netbios name (can be anything you like)
    M551 Preprap ; Machine password (used for FTP)
    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
    ;*** Wifi Networking
    M552 S1 ; Enable WiFi

    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue

    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Axis and motor configuration
    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M574 X1 Y1 Z1 S1 ; set endstop configuration (all endstops at high end, active high)
    ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
    ;M665 R105.6 L215.0 B85 H240 ; set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them
    M350 X16 Y16 E16 I1 ; Set 16x microstepping with interpolation
    ;M92 X160.421 Y162.31 Z6437.16814 ;Set axis steps/mm
    ;M92 X159.90952 Y160.249756 Z6437.16814 ;Set axis steps/mm
    M92 X160.359205 Y156.903766 Z1068.78041 ;Set axis steps/mm
    M906 X1500 Y1800 Z1250 E1500 I60 ; Set motor currents (mA) and increase idle current to 60%
    M201 X180 Y180 Z15 E30 ; Accelerations (mm/s^2)
    M203 X15000 Y15000 Z300 E600 ; Maximum speeds (mm/min)
    M566 X1500 Y1500 Z30 E30 ; Maximum instant speed changes mm/minute
    M208 X250 Y230 Z270

    ; Thermistors
    M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
    ;M305 P1 T100000 B4388 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
    ;M305 P2 T100000 B4388 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
    M305 P1 B4725 C7.060000e-8
    M305 P2 B4725 C7.060000e-8
    ;M305 P1 B4725 C7.06e R4700

    ;M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds
    M570 H1 T20
    M570 H2 P15 T20

    ; Fans
    M106 P3 T50 H1 ;Heater fan for left nozzle
    M106 P4 H-1 ; disable thermostatic mode for fan 4 cooling fan for let nozzle
    M106 P5 T50 H2 ;heater fan for right nozzle
    M106 P6 H-1 ; disable thermostatic mode for fan 6 cooling fan for let nozzle

    ; Tool definitions
    M563 P0 D0 H1 F4:6 ; Define tool 0 associate cooling fans 4 and 6 to nozzle 1
    G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
    ;*** If you have a single-nozzle build, comment the next 2 lines
    M563 P1 D1 H2 F5 ; Define tool 1
    G10 P1 S0 R0 X45.4 Y1.8 ; Set tool 1 operating and standby temperatures
    M92 E300:300 ; Set extruder steps per mm

    ; Z probe and compensation definition
    ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
    ;M558 P1 X0 Y0 Z0 ; Z probe is an IR probe and is not used for homing any axes
    ;G31 X-35 Y0.0 Z0.1 P500
    ;M557 X5:230 Y10:210 S20 ; Set the zprobe height and threshold (put your own values here)

    M558 P1 T1000
    G31 X0.0 Y0.0 Z0.0
    M557 X35:210 Y0:200 S20 ;Mesh Bed Definition

    ;*** If you are using axis compensation, put the figures in the following command
    ;M556 S78 X0 Y0 Z0 ; Axis compensation here

    M208 S1 X0 Y0 Z-0.2 ; set minimum Z
    ;
    M501
    T0 ; select first hot end



  • I found a couple broken wires going to the motor but I still can't get it to work. Now I can't even connect to the board. The light by the wifi antenna is not one and I can't get a COM port by plugging in the USB cable. The only wires that are on are the LED +5v and LED VIN.



  • @bbriggstkd said in Warning: motor phase A (or B) may be disconnected:

    The only wires that are on are the LED +5v and LED VIN.

    Sounds like something is broken I'm affraid. Your 3.3v LED should light up if you have USB or Vin connected (as well as the 5v LED which does work).

    Pull the SD card out, see if anything is getting hot; wifi module, CPU or regulator U2.


Log in to reply