• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Duet 3 MB6HC + 1HCL Not Connecting

Scheduled Pinned Locked Moved Unsolved
Duet Hardware and wiring
3
8
362
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.
  • undefined
    big_plotter_man
    last edited by 7 Nov 2023, 17:05

    Hi all,

    I'm setting up a Duet 3 Mainboard 6HC and trying to drive a closed-loop stepper motor through a 1HCL expansion board. However, I can't seem to get the CAN connection to work at all.

    The only LEDs that light up on the 1HCL are V_FUSED and +12V, while STATUS remains completely off. The RJ11 cable is straight through.

    I've attempted to reset the CAN address back to the default by shorting the CAN_RST pins, but that appears to have done nothing. I get this message typing in M122

    M122 B123
    Error: M122: Response timeout: CAN addr 123, req type 6024, RID=7
    

    This is my config.g file

    ; Configuration file for Duet 3 MB 6HC (firmware version 3.3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.3.16 on Thu Nov 02 2023 15:57:08 GMT-0400 (Eastern Daylight Time)
    
    ; General preferences
    G90                                             ; send absolute coordinates...
    M83                                             ; ...but relative extruder moves
    M550 P"PRINTER_NAME"                               ; set printer name
    
    ; Wait a moment for the CAN expansion boards to start
    G4 S2
    
    ; Network
    M552 P0.0.0.0 S1                                ; enable network and acquire dynamic address via DHCP
    M586 P0 S1                                      ; enable HTTP
    M586 P1 S0                                      ; disable FTP
    M586 P2 S0                                      ; disable Telnet
    M552 I1 S0										; start WiFi module
    M552 I1 S1										; connect WiFi module
    
    ; Drives
    M569.1 P123.0 T2 C1000.0                        ; Configure the 1HCL board at CAN address 123 with a quadrature encoder on the motor shaft that has 1000 encoder pulses per revolution
    M569 P0.0 S1                                    ; physical drive 0.0 goes forwards
    M569 P0.1 S0                                    ; physical drive 0.1 goes backwards
    M569 P123.0 S1                                  ; physical drive 123.0 goes forwards
    M569 P0.2 S1                                    ; physical drive 0.2 goes forwards
    M569 P0.3 S1                                    ; physical drive 0.3 goes forwards
    M584 X0.0:0.1 Y0.2 Z123.0 E0.3                  ; set drive mapping
    M350 X16:16 Y16 Z16 E16 I1                      ; configure microstepping with interpolation
    M92 X80.00:80.00 Y80.00 Z400.00 E420.00         ; set steps per mm
    M566 X900.00:900.00 Y900.00 Z60.00 E120.00      ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00:6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00:500.00 Y500.00 Z20.00 E250.00      ; set accelerations (mm/s^2)
    M906 X800:800 Y800 Z800 E800 I30                ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                         ; Set idle timeout
    
    ; Axis Limits
    M208 X0 Y0 Z0 S1                                ; set axis minima
    M208 X1800 Y1800 Z130 S0                        ; set axis maxima
    
    ; Endstops
    M574 X1 S1 P"io0.in+io1.in"                     ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in
    M574 Y1 S1 P"io2.in"                            ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in
    M574 Z2 S1 P"123.io0.in"                        ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin 123.io0.in
    
    ; Z-Probe
    M558 P0 H5 F120 T6000                           ; disable Z probe but set dive height, probe speed and travel speed
    M557 X15:215 Y15:195 S20                        ; define mesh grid
    
    ; Heaters
    
    ; Fans
    
    ; Tools
    
    ; Custom settings are not defined
    

    Images of my setup:
    For some reason, I can't upload pics directly to the forum

    • The 1HCL Expansion board itself
    • How the MB6HC and 1HCL are wired together
    • The RJ11 cable itself
    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 7 Nov 2023, 20:20

      firmware version on the 6HC?

      Can you send M122 and M98 P"config.g" and share the results?

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 7 Nov 2023, 20:31 Reply Quote 0
      • undefined
        big_plotter_man @Phaedrux
        last edited by big_plotter_man 11 Jul 2023, 20:32 7 Nov 2023, 20:31

        @Phaedrux
        Firmware version is 3.4.6

        M122:

        M122
        === Diagnostics ===
        RepRapFirmware for Duet 3 MB6HC version 3.4.6 (2023-07-21 14:11:38) running on Duet 3 MB6HC v1.02 or later (standalone mode)
        Board ID: 08DJM-9P63L-DJ3T8-6JKD4-3SN6J-9U7MA
        Used output buffers: 13 of 40 (15 max)
        === RTOS ===
        Static ram: 153252
        Dynamic ram: 97320 of which 0 recycled
        Never used RAM 100028, free system stack 154 words
        Tasks: NETWORK(notifyWait,28.9%,227) ETHERNET(notifyWait,0.0%,658) HEAT(notifyWait,0.0%,371) Move(notifyWait,0.0%,214) CanReceiv(notifyWait,0.0%,943) CanSender(notifyWait,0.0%,335) CanClock(delaying,0.0%,341) TMC(notifyWait,7.7%,92) MAIN(running,62.7%,1101) IDLE(ready,0.6%,30), total 100.0%
        Owned mutexes: WiFi(NETWORK)
        === Platform ===
        Last reset 00:21:15 ago, cause: software
        Last software reset at 2023-11-07 15:04, reason: User, GCodes spinning, available RAM 100028, slot 2
        Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
        Error status: 0x00
        Step timer max interval 133
        MCU temperature: min 40.8, current 41.3, max 42.2
        Supply voltage: min 23.9, current 23.9, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes
        12V rail voltage: min 11.9, current 12.1, max 12.2, under voltage events: 0
        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: standstill, SG min 0, mspos 728, reads 52252, writes 19 timeouts 0
        Driver 1: standstill, SG min 0, mspos 248, reads 52252, writes 19 timeouts 0
        Driver 2: standstill, SG min 0, mspos 712, reads 52257, writes 14 timeouts 0
        Driver 3: standstill, SG min 0, mspos 392, reads 52257, writes 14 timeouts 0
        Driver 4: standstill, SG min 0, mspos 8, reads 52260, writes 11 timeouts 0
        Driver 5: standstill, SG min 0, mspos 8, reads 52261, writes 11 timeouts 0
        Date/time: 2023-11-07 15:26:13
        Slowest loop: 10.12ms; fastest: 0.05ms
        === Storage ===
        Free file entries: 10
        SD card 0 detected, interface speed: 25.0MBytes/sec
        SD card longest read time 2.3ms, write time 2.6ms, max retries 0
        === Move ===
        DMs created 125, segments created 3, maxWait 52720ms, bed compensation in use: none, comp offset 0.000
        === MainDDARing ===
        Scheduled moves 5, completed 5, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], 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 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 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 6389, received 0, lost 0, boc 0
        Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 49), ts 6378/0/0
        Tx timeouts 0,0,6377,6,0,0 last cancelled message type 30 dest 127
        === Network ===
        Slowest loop: 25.69ms; fastest: 0.03ms
        Responder states: HTTP(2) HTTP(2) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
        HTTP sessions: 1 of 8
        = Ethernet =
        State: establishingLink
        Error counts: 0 0 0 0 0 0
        Socket states: 0 0 0 0 0 0 0 0
        = WiFi =
        Interface state: active
        Module is connected to access point 
        Failed messages: pending 0, notready 0, noresp 0
        WiFi firmware version 2.1beta4
        WiFi MAC address 70:04:1d:be:b5:18
        WiFi Vcc 0.00, reset reason Power up
        WiFi flash size 4194304, free heap 215748
        WiFi IP address 192.168.0.211
        WiFi signal strength -42dBm, mode 802.11n, reconnections 0, sleep mode modem
        Clock register 00002002
        Socket states: 0 0 0 0 0 0 0 0
        === Multicast handler ===
        Responder is inactive, messages received 0, responses 0
        

        M98 P"config.g"

        Error: Response timeout: CAN addr 123, req type 6042, RID=11
        Error: Response timeout: CAN addr 123, req type 6043, RID=12
        Error: Response timeout: CAN addr 123, req type 6036, RID=13
        Tool 0: offsets X0.000 Y0.000 Z0.000 U0.000
        
        dc42undefined 1 Reply Last reply 8 Nov 2023, 07:22 Reply Quote 0
        • undefined Phaedrux marked this topic as a question 8 Nov 2023, 06:01
        • dc42undefined
          dc42 administrators @big_plotter_man
          last edited by 8 Nov 2023, 07:22

          @big_plotter_man please disconnect everything from the 1HCL except power and CAN, and see if the status LED then flashes when you power it up.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          undefined 1 Reply Last reply 8 Nov 2023, 15:06 Reply Quote 0
          • undefined
            big_plotter_man @dc42
            last edited by 8 Nov 2023, 15:06

            @dc42 the STATUS LED on the 1HCL doesn't flash with only power and CAN connected either.

            dc42undefined 1 Reply Last reply 8 Nov 2023, 16:01 Reply Quote 0
            • dc42undefined
              dc42 administrators @big_plotter_man
              last edited by 8 Nov 2023, 16:01

              @big_plotter_man thanks.

              @Phaedrux please arrange a warranty replacement.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              undefined 1 Reply Last reply 11 Dec 2023, 22:27 Reply Quote 1
              • undefined
                Phaedrux Moderator
                last edited by 8 Nov 2023, 21:25

                Please send an email to warranty@duet3d.com and CC your reseller. Include a link to this forum thread and the details of your original purchase. You'll receive a reply with a form to fill out.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 1
                • undefined
                  big_plotter_man @dc42
                  last edited by 11 Dec 2023, 22:27

                  @dc42 Apologies about the delay.

                  I received the 1HCL warranty replacement and installed it as before, but the connection problem persists; the MB6HC still doesn't recognize the expansion board, the STATUS LED on the 1HCL doesn't flash (the V_FUSED LED does light up solidly and the voltage indicators flash rapidly)

                  I attempted to diagnose the issue by seeing if there were any obvious problems such as powering the Mainboard and 1HCL with separate power supplies, checking the continuity of the RJ11 cable and voltage (there is continuity and voltage), cutting open the the RJ11 cable to see if their wires were twisted (they weren't), reflashing the Mainboard's firmware.

                  Nothing has worked and now I'm stumped.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA