SOLVED Motor phase A/B may be disconnected reported by driver(s) 0 1



  • Hi, I'm building a Jubilee with a Duet 2 Wifi + Duex 5. After assembly I couldn't get the XY motors to move, just "Warning: motor phase A/B may be disconnected reported by driver(s) 0 1". The phases seem to be wired correctly and the rest of the duet (and duex 5) drivers work, it's just these two ports. The motors work on duex (I remapped X to P5 and Y to P9).

    The receptacle seems to be soldered correctly and I get continuity, I also redid all the connectors and crimps but nothing seems to fix it so it seems like it must be a board problem.

    I'm running 2.03 (2019-06-13b2). The motors are 42STH60-2004MAC Rev B (https://www.filastruder.com/collections/jubilee/products/ldo-stepper-motor-set-for-jubilee)



  • Here's my config.g:

    ; Jubilee 2.0 Config File
    ; drawing inspiration from the Railcore 300ZL config file
    
    ; Name and Identification
    M550 P"Cubilee"                         ; Machine name and Netbios name
    
    ; Networking
    ;M552 P192.168.86.100 S1                    ; Use Ethernet with a static IP
    ;M554 192.168.86.1                        ; Gateway
    ;M553 P255.255.255.0                     ; Netmask
    M586 P2 S1                              ; Enable Telnet
    
    ; Debugging
    M111 S0                                 ; Debug off
    M929 P"eventlog.txt" S1                 ; Start logging to file eventlog.txt
    
    ; General Preferences
    M555 P2                                 ; Set Marlin-style output
    G21                                     ; Set dimensions to millimetres
    G90                                     ; Send absolute coordinates...
    M83                                     ; ...but relative extruder moves
    
    ; Joints
    M584 X0 Y1 Z6:7:8 E3:4:5:9 U2   ; Map Z to drivers 6, 7, 8. Map extruders to 3 and 4. Create Toolchanger Lock axis.
    
    ; Remapped XY to Duex
    ;M584 X5 Y9 Z6:7:8 E3:4:5:9 U2   ; Map Z to drivers 6, 7, 8. Map extruders to 3 and 4. Create Toolchanger Lock axis.
    ;M569 P5 S0                  ; Drive 5 direction | X
    ;M569 P9 S0                  ; Drive 9 direction | Y
    
    M569 P0 S0                  ; Drive 0 direction | X stepper
    M569 P1 S0                  ; Drive 1 direction | Y Stepper
    
    M569 P6 S0                  ; Drive 6 direction | Front Left Z
    M569 P7 S0                  ; Drive 7 direction | Front Right Z
    M569 P8 S0                  ; Drive 8 direction | Back Z
    
    M569 P2 S0                  ; Drive 2 direction | Toolchanger Actuator
    
    M569 P3 S0                  ; Drive 3 direction | Extruder 0
    M569 P4 S0                  ; Drive 4 direction | Extruder 1
    
    ; Joint Kinematics
    M669 K1                                 ; CoreXY mode
    
    ; Kinematic bed ball locations.
    ; Locations are extracted from CAD model assuming lower left build plate corner is (0, 0) on a 305x305mm plate.
    ;M671 X300:5:152.5 Y354:354:24 S10 ; Front Left: (300, 354) | Front Right: (5, 354) | Back: (152.5, 24)
    M671 X297:2.5:150 Y313.5:313.5:-16.5 S10 ; Front Left: (297.5, 313.5) | Front Right: (2.5, 313.5) | Back: (150, -16.5)
    
    
    ; Axis and motor configuration
    ;M350 X16 Y16 Z16 E16 U4 I1              ; Set 16x microstepping for xyz axes & extruder, 4x for toolchanger lock. Use interpolation.
    M350 X8 Y8 Z16 E16 U4 I1              ; Set 8x microstepping for xy, 16x for z axes & extruder, 4x for toolchanger lock. Use interpolation.
    M574 X1 Y1 Z1 S1                        ; Set homing switch configuration x low-end, y low-end, z low-end, all active-high (NC)
    M574 U1 S1                              ; Set homing switch configuration for toolchange lock. Both switches should be wired NC and in series.
    M906 X1950 Y1950 Z1750 E1250            ; Motor currents (mA)
    M906 U670 I60                           ; LDO Toolchanger Elastic Lock Motor current and idle motor percentage.
    ;M906 U900 I60                           ; StepperOnline Toolchanger Elastic Lock Motor current and idle motor percentage
    M201 X1000 Y1000 Z20 E1300 U800        ; Accelerations (mm/s^2)
    M203 X13000 Y13000 Z800 E8000 U9000    ; Maximum speeds (mm/min)
    M566 X1000 Y1000 Z500 E3000 U50          ; Maximum jerk speeds mm/minute
    ;M92 X200 Y200                           ; Steps/mm for X,Y
    M92 X100 Y100
    M92 U30.578                             ; LDO Toolchanger Elastic Lock Motor Steps/deg for U from (200 * 4 * 13.76)/360
    ;M92 U11.515                            ; Stepper-Online Toolchanger Elastic Lock Motor Steps/deg for U from (200 * 4 * 5.18181)/360
    M92 Z3200                               ; Steps/mm for Z for a 2mm pitch leadscrew, 0.9mm stepper. (16 * 400)/2
    M92 E830                                ; Extruder - 0.9 deg/step
    
    ; Set axis software limits and min/max switch-triggering positions.
    ; Adjusted such that (0,0) lies at the lower left corner of a 300x300mm square in the 305mmx305mm build plate.
    M208 X-11.5:311.5 Y-44:341 Z-0.2:315
    M208 U0:200                                 ; Set Elastic Lock (U axis) max rotation angle
    
    ; Thermistors
    M305 P0 S"Bed" T10000 B3435 H0                ; BOM-specified Terminal Lug Thermistor values.
    ;M305 P0 S"Bed" T10000 B3984 H0 L160          ; BOM-specified Terminal Lug Thermistor values.
    ;M305 P0 S"Bed" T100000 B3950 R4700 H0 L0    ; Built-in Keenovo Bed Thermistor values.
    M305 P1 X200                                ; Map Extruder 0 sensor to PT100 Channel 0
    M305 P2 X201                                ; Map Extruder 1 sensor to PT100 Channel 1
    
    ;Heaters
    M570 S30                                    ; Print will be terminated if a heater fault is not reset within 30 minutes.
    M143 H0 S100                                ; Maximum H0 (Bed) heater temperature
    ;M143 H1 S260                                ; Maximum H1 (Extruder) heater temperature
    
    ; Default heater model
    M307 H0 A270.7 C90.4 D6.7 B0 S1.0           ; Default Bed Heater Parameters, before tuning / if config-override.g is missing
    
    ; Tool definitions
    M563 P0 S"Extruder 0" D0 H1 F0          ; Define tool 0
    G10 P0 X-4.5 Y44.02 Z-2.25              ; Set tool 0 offset from the bed
    G10 P0 S190 R170                        ; Set tool 0 operating and standby temperatures(-273 = "off")
    M572 D0 S0.1				; Set pressure advance on Extruder Drive 0
    
    M563 P1 S"Extruder 1" D1 H2 F2          ; Define tool 1
    G10 P1 X-4.15 Y44.62 Z-2.45               ; Set tool 1 offset from the bed with tool-0 as a reference.
    G10 P1 S190 R170                        ; Set tool 1 operating and standby temperatures(-273 = "off")
    M572 D1 S0.1                            ; Set pressure advance on Extruder Drive 1
    
    ; Fans
    M106 P0 S0                               ; Turn off fan 0
    ;M106 P1 S0                               ; Turn off fan 1
    
    ;Mesh Bed Leveling Settings:
    M557 X10:290 Y10:290 P6
    
    ; Z probing settings
    M558 P4 C2 H5 A1 T10000  S0.02
    ; P4 --> probe type: switch
    ; C2 --> endstop number
    ; H5 --> dive height
    ; A1 --> max number of times to probe
    ; T100000 --> travel speed between probe points
    ; S0.02 --> tolerance when probing multiple times
    
    M98 P"config-user.g"                    ; Load custom user config
    
    M501                                    ; Load saved parameters from non-volatile memory
    

    Here's config-user.g:

    ; Name and Identification
    M550 P"Jubilee"                         ; Machine name and Netbios name
    
    ; Networking
    M552 S1
    

    M122 diagnostics:

    M122
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03 running on Duet WiFi 1.02 or later + DueX5
    Board ID: 08DLM-996RU-N85T0-6J9F8-3S46T-9VTVN
    Used output buffers: 3 of 24 (9 max)
    === RTOS ===
    Static ram: 25680
    Dynamic ram: 94540 of which 48 recycled
    Exception stack ram used: 388
    Never used ram: 10416
    Tasks: NETWORK(ready,524) HEAT(blocked,1148) DUEX(suspended,156) MAIN(running,3780) IDLE(ready,160)
    Owned mutexes:
    === Platform ===
    Last reset 00:03:51 ago, cause: power up
    Last software reset at 2020-08-02 16:42, reason: User, spinning module GCodes, available RAM 10264 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: 9
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 3.8ms, max retries 0
    MCU temperature: min 36.6, current 39.8, max 40.0
    Supply voltage: min 24.1, current 24.3, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: standstill, SG min/max 0/1023
    Driver 1: standstill, SG min/max 0/1023
    Driver 2: standstill, SG min/max not available
    Driver 3: standstill, SG min/max not available
    Driver 4: standstill, SG min/max not available
    Driver 5: standstill, SG min/max not available
    Driver 6: standstill, SG min/max not available
    Driver 7: standstill, SG min/max not available
    Driver 8: standstill, SG min/max not available
    Driver 9: standstill, SG min/max not available
    Date/time: 2020-08-02 16:47:34
    Cache data hit count 892285412
    Slowest loop: 6.18ms; fastest: 0.07ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
    === Move ===
    Hiccups: 0, FreeDm: 169, MinFreeDm: 167, MaxWait: 119947ms
    Bed compensation in use: none, comp offset 0.000
    === DDARing ===
    Scheduled moves: 1, completed moves: 1, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    === 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: 43.81ms; 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 84:0d:8e:ad:74:e0
    WiFi Vcc 3.33, reset reason Turned on by main processor
    WiFi flash size 4194304, free heap 18656
    WiFi IP address 192.168.86.100
    WiFi signal strength -28dBm, reconnections 0, sleep mode modem
    Socket states: 0 0 0 0 0 0 0 0
    

    Testing:

    4:51:07 PM
    Warning: motor phase A may be disconnected reported by driver(s) 0 1
    Warning: motor phase B may be disconnected reported by driver(s) 0 1
    4:51:07 PM
    G1 X10 F1000
    4:50:58 PM
    G91
    4:50:45 PM
    G92 X100
    

  • Moderator

    Just to confirm, these are the motors you are using on X and Y?

    https://cdn.shopify.com/s/files/1/0239/9287/files/LDO-42STH60-2004MAC_RC_RevB.pdf?v=1585856919

    And you've paired the phases correctly? It would seem so as you've got the motors working on the Duex?

    Just for the sake of completeness, can you test one of the other working motors on the Duet on drivers 0 and 1?

    When and where was the Duet purchased?



  • Hi yes, these are the motors on X and Y. I'm pretty sure the phases are wired correctly. I've purchased them on July 1st from Filastruder (together with the motors kit), it's a brand new board. I'll try to test the drivers 0 and 1 with the toolchanger motor.



  • Other motors don't work either on these ports. It engages the motor when I try to home it, but doesn't move anything.


  • Moderator

    Does it still give the errors or it just doesn't move?

    Can you send m906 and m913 to check the currents assigned to those axis are correct?



  • It gives the same error.

    5:26:43 PM
    M913
    Motor current % of normal - X:100, Y:100, Z:100, U:100, E:100:100:100:100
    5:26:16 PM
    M906
    Motor current (mA) - X:1950, Y:1950, Z:1750, U:670, E:1250:1250:1250:1250, idle factor 60%
    

  • Moderator

    Thanks for checking. Please contact Filastruder to initiate a warranty claim. Include a link to this thread as authorization.


Log in to reply