Famous error :Warning: motor phase A Drive1



  • Hi ,
    after one week of debugging and reading up on this forum
    I give up and reach out to you guys for some help.
    Maybe I will look like a fool at the end because it mite be a small
    error in my config ,but so be it.
    I know that this problem is handled a couple of times in this forum but maybe I miss
    something of didn’t read it correct.
    So ,the error :Warning: motor phase A may be disconnected reported by driver(s) 1 Warning: motor phase B may be disconnected reported by driver(s) 1
    When I try to home the Y axis I get this warning and this happened after I updated
    to 3.1.1 from 2.3 .
    The update was done via the web-server to first 2.5 and then to 3.0 but while upgrading
    to 3.0 after extracting the zip connection was lost and I have to restart the board manually
    before web sever was back available ,gave it a one more try with same problem , so I
    dug up USB cable from under the dust and poked it in the Wi-Fi board downloaded the
    hugely outdated looking pronterface ,
    took out the SD card and slide it in my laptop ,poor thing didn’t know there was a world outside the card slot.
    I placed the bin files Duet2CombinedFirmware and Duet2CombinedIAP in sys and DuetWiFiServer in WWW and put it back in the duet and installed it via pronterface
    with no problem.
    I checked it in settings machine specific and there was RFF3 so time too update to3.1.1
    same exact problem and same install like RFF3 .
    Made a new cofig;file via ,https://configurator.reprapfirmware.org/
    Replaced my old config with the new one and tried to Home the Y axis first ,but y moved 50mm give and take and then started to jitter on the spot ,i thought i did something wrong in the homing section when i made the new cofig file .
    I then homed the X and i noticed it home way way too fast i was even surprised it homed correctly .
    How the carriage stopped so fast ad the end stop it was amazing ,but then I thought something is wrong with the motor settings.

    I opened the config file and saw that the steps per mm was correct but the micro stepping was set to 1/16 instead of 1/128 so that explains the supersonic X axis , also for the Y axis ,after correction X homes at normal speed now but the Y give me that warning “Motor phase A on drivers 1.

    Can it be that the driver is nuked because of the wrong setting in config file ?

    If so , how can I remap the Y from driver 1 to one of the drivers on my duex 5?
    I tried M569 P1.3 S0 and M584 X0 Y1.3 Z2 E3:4:5 but that does not work
    I always get that error on drive 1.
    Here are my configfile and M112 report.
    configfile.txt
    M112_1.txt


  • Moderator

    @jacksat

    M569 P1.3 S0                                              ; physical drive 1 goes backwards
    M584 X0 Y1.3 Z2 E3:4:5                                    ; set drive mapping
    

    That's not how you remap drivers on Duet 2 Wifi + Duex; that's for Duet 3. Try

    M569 P6 S0                                              ; physical drive 1 goes backwards
    M584 X0 Y6 Z2 E3:4:5                                    ; set drive mapping
    

    (Edit) and connect the Y stepper motor to driver 6 on the Duex.

    Drivers on the Duet are 0, 1, 2, 3 and 4, and Duex are number 5, 6, 7, 8, and 9.

    As to your original problem, I'm really not sure. I'd wouldn't have thought you'd burn out the stepper driver by running it too fast (with the incorrect microstepping), but it's possible. Try swapping a different motor onto the existing Y axis (driver 2), and running the Y motor on a know good driver; easiest is to swap X and Y over. Make sure you power off the Duet and Duex BEFORE disconnecting/connecting stepper motors, or you risk damaging the driver.

    Ian



  • @droftarts
    Thank you for the reply, I will try this tomorrow.
    I checked the piece off Gcode to remap a driver again and I can see what I did wrong.
    Oops RTFM more than once. 😟 👓

    "In RRF_3, M584 works the same way as in RRF_2, with the exception that on Duet 3 the driver on expansion boards are assigned with <board address>.<driver number>. Example:
    M584 X0 Y1 Z2 E3:4:1.0:1.1
    The "0" index for the main board is implicit, this is equivalent to the previous example:

    M584 X0.0 Y0.1 Z0.2 E0.3:0.4:1.0:1.1"

    I didn't read the howto correct and i see now what i did wrong.
    The way I remapped the driver is only for the duet3 and its expansion board.
    and its expansion board.
    Some Howe I saw RRF3 and exeptation and then looked at the example and saw that the main board begin with a 0.0 and the add-on boards with a 1.0
    Thanks.

    For the Y driver: I already tested by swapping the X and Y but still no go.
    I tested with a different stepper and plugged it straight in the driver connector to rule out the wires , still no go
    checked the homing files nothing obvious wrong there.

    Thank you again @droftarts

    If someone has an explanation of what could happen with driver 1 Your comment would highly be appreciated.
    Can a stepper driver nuked by wrong settings in micro-stepping ?


  • Moderator

    @jacksat said in Famous error :Warning: motor phase A Drive1:

    Can a stepper driver nuked by wrong settings in micro-stepping ?

    No, not really.

    How do you have the drivers mapped now? Are you still getting the motor phase error?


  • administrators

    The rule for motor phase errors is:

    • If the errors are reported on just one phase, it's usually because of a bad connection.
    • If the errors are reported on both phases, the likely causes are:
      -- Trying to move a high-inductance motor at too high a speed for the VIN voltage to be sufficient
      -- Motor current set too low (although more recent firmwares suppress the message if the current is set to less than 500mA)
      -- Motor not connected, or connected to the wrong driver output


  • aren't you missing something?. The error tells you exactly what is happening. Instead of looking to your config files, check the continuity of you motor cables. I got this error once and it pop up because one of the motor cables was pinch by the printer's frame and eventually was severed. I repaired the cable and everything was fine.



  • @dc42 said in Famous error :Warning: motor phase A Drive1:

    The rule for motor phase errors is:

    • If the errors are reported on just one phase, it's usually because of a bad connection.
    • If the errors are reported on both phases, the likely causes are:
      -- Trying to move a high-inductance motor at too high a speed for the VIN voltage to be sufficient
      -- Motor current set too low (although more recent firmware suppress the message if the current is set to less than 500mA)
      -- Motor not connected, or connected to the wrong driver output

    I just solved the problem,it was a combination of three problems,
    Nr 1 : bad motor (probably didn't survive the wrong stepper settings )

    Nr 2 : no proper remapping of driver one to 7, if i did that right i would see that something was wrong with the spare stepper, because once
    i got the remap right (set it to driver 7) ,i got the same error
    message , so this could not be that this driver was faulty too.
    Could it be that the spare unused stepper was also faulty ,
    Hmm, i have some pancake steppers so when i tried one of these
    no errors , remapped to driver back to 1, and guess what no errors .

    Nr3 : the second motor who caused the same error had a bad intermittent connection at the connector, so when i cut the connector off and crimped a new one on the stepper worked fine no errors anymore on driver 1.

    So thank you all for the help and fast reply , that is why i always go for a duet board ,one off the best support forums .

    So again thank you all.


  • administrators

    Thanks for reporting back!



  • @FelixH said in Famous error :Warning: motor phase A Drive1:

    aren't you missing something?. The error tells you exactly what is happening. Instead of looking to your config files, check the continuity of you motor cables. I got this error once and it pop up because one of the motor cables was pinch by the printer's frame and eventually was severed. I repaired the cable and everything was fine.

    Yep, you are right on the spare stepper, but when i checked continuity it was fine no open coils or shorts, even on the stepper that is faulty.

    But after seeing your reply i checked the resistance instead of just continuity and the faulty stepper reads only half of the resistance of the working one (both same brand and specs) but the only difference is that the good one is measured in circuit with a meter of wire and the bad one out the circuit on the socket with 0.10m of wire .

    But i don't think that this is why the good one has double the resistance,
    I used decent silicone wire with real copper strands and not of those all pvc and 3 thin strands of aluminum wire.

    Thank you for your help.



  • glad I could help.
    Please check thoroughly all motors and wiring. According to my own experience with stepper motors, it is extremely difficult to damage one. If one motor doesn't respond as usual, it's usual anything else but not the motor itself.


Log in to reply