Hi, this appears to have fixed the issue, thanks.
Posts made by big_plotter_man
-
RE: Duet not connecting via Ethernet
-
Duet not connecting via Ethernet
Hi,
One of my MB6HCs is no longer connecting to the internet over ethernet.
I have 3 Duet MB6HCs, each running a large plotter machine. For connectivity, each board is connected to an Ethernet switcher which is then connected to a Wifi range extender. This setup has worked great for a couple months but one of my Duets no longer connects to the internet.
The machine appears to still think it's connected as entering M552 returns this response:
Ethernet is enabled, configured IP address: 0.0.0.0, actual IP address: 192.168.1.119
But going to the IP address listed either returns ERR_CONNECTION_TIMED_OUT on my browser or the web interface will work properly for around 2 minutes before disconnecting and never reconnecting.
If I enter M122, I get this:
=== Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.5.4 (2024-11-24 10:47:10) running on Duet 3 MB6HC v1.02 or 1.02a (standalone mode) Board ID: 08DJM-9P63L-DJ3S0-7JKDJ-3SN6M-TSMZA Used output buffers: 1 of 40 (1 max) === RTOS === Static ram: 155464 Dynamic ram: 120244 of which 0 recycled Never used RAM 69948, free system stack 138 words Tasks: NETWORK(1,ready,41.1%,182) ETHERNET(5,nWait 7,0.0%,434) HEAT(3,nWait 6,0.0%,353) Move(4,nWait 6,0.1%,238) CanReceiv(6,nWait 1,0.0%,939) CanSender(5,nWait 7,0.0%,334) CanClock(7,delaying,0.0%,336) TMC(4,nWait 6,9.3%,55) MAIN(1,running,49.3%,444) IDLE(0,ready,0.1%,29), total 100.0% Owned mutexes: USB(MAIN) === Platform === Last reset 00:05:53 ago, cause: power up Last software reset at 2024-08-13 14:56, reason: StuckInSpinLoop, Gcodes spinning, available RAM 99788, slot 1 Software reset code 0x4083 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a80f BFAR 0x00000000 SP 0x2041b448 Task NETW Freestk 4294962872 ok Stack: 00000000 20419a88 10000000 e000e000 fffffffb 0048a213 004897cc 61000000 004897bd 00000000 ffffffff 00000000 002f64bd 00000000 2041911c ffffffff 2041f90c 20424900 0048988f 20419228 2041b51c 00000074 00486f97 204190d8 004068e7 204190d8 00446b37 Error status: 0x00 MCU temperature: min 28.7, current 36.2, max 36.6 Supply voltage: min 26.2, current 26.3, max 26.4, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.1, current 12.2, max 12.5, 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: ok, SG min 0, mspos 600, reads 46812, writes 23 timeouts 0 Driver 1: ok, SG min 0, mspos 184, reads 46812, writes 23 timeouts 0 Driver 2: ok, SG min 0, mspos 328, reads 46812, writes 23 timeouts 0 Driver 3: standstill, SG min 0, mspos 120, reads 46812, writes 23 timeouts 0 Driver 4: standstill, SG min 0, mspos 952, reads 46812, writes 23 timeouts 0 Driver 5: standstill, SG min n/a, mspos 8, reads 46825, writes 11 timeouts 0 Date/time: 1970-01-01 00:00:00 Slowest loop: 273.00ms; fastest: 0.07ms === Storage === Free file entries: 19 SD card 0 detected, interface speed: 25.0MBytes/sec SD card longest read time 2.4ms, write time 0.0ms, max retries 0 === Move === DMs created 125, segments created 14, maxWait 98266ms, bed compensation in use: none, height map offset 0.000, max steps late 0, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 0.00 next step interrupt due in 94 ticks, disabled Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0 === DDARing 0 === Scheduled moves 529, completed 469, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state 3 === DDARing 1 === 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 === Movement locks held by null, null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is doing "G1 X1042.056 Y373.756" in state(s) 0 USB is ready with "m122" 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 File2 is idle in state(s) 0 Queue2 is idle in state(s) 0 Q0 segments left 1, axes/extruders owned 0x000000f Code queue 0 is empty Q1 segments left 0, axes/extruders owned 0x0000000 Code queue 1 is empty === CAN === Messages queued 1768, received 0, lost 0, errs 1711181, boc 0 Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 1768/0/0 Tx timeouts 0,0,1767,0,0,0 last cancelled message type 30 dest 127 === Network === Slowest loop: 1.44ms; fastest: 0.03ms Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0) HTTP sessions: 0 of 8 = Ethernet = Interface state: active Error counts: 14 0 4437 1 0 0 Socket states: 2 2 2 2 2 0 0 0 === WiFi === Interface state: disabled Module is disabled Failed messages: pending 0, notrdy 0, noresp 0 Socket states: 0 0 0 0 0 0 0 0 === Multicast handler === Responder is inactive, messages received 0, responses 0 ok
My config.g is:
; 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"Machine" ; set printer name ; Wait a moment for the CAN expansion boards to start ;G4 S1 ; 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 P0.0 S1 D2 ; X1 axis - physical drimve 0.0 goes forwards M569 P0.1 S0 D2 ; X2 axis - physical drive 0.1 goes backwards M569 P0.2 S1 D2 ; Y axis - physical drive 0.2 goes forwards M569 P0.3 S1 D2 ; Z axis - physical drive 0.3 goes forwards M569 P0.4 S0 D2 ; U axis - physical drive 0.4 goes forwards ;M569 P0.5 S1 D2 ; A axis - physical drive 0.4 goes forwards M584 X0.0:0.1 Y0.2 Z0.3 U0.4 ;A0.5 ; set drive mapping M350 X16:16 Y16 Z16 U16 ;A16 ; configure microstepping with interpolation M92 X40.00:40.00 Y40.00 Z53.33 U15.9 ;A53.33 ; set steps per mm M566 X900.00:900.00 Y900.00 Z60.00 U900.00 ;A120 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00:6000.00 Y6000.00 Z6000.00 U6000.00 ;A3600 ; set maximum speeds (mm/min) M201 X500.00:500.00 Y500.00 Z500.00 U500.00 ;A250 ; set accelerations (mm/s^2) M906 X1000:1000 Y1000 I70 ; set motor currents (mA) and motor idle factor in per cent M906 Z2000 U1000 I70 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Extruders ; M584 E0.5 ; set extruder mapping ; M350 E16 I1 ; configure microstepping with interpolation ; M906 E1000 ; set extruder driver currents ; M92 E400 ; configure steps per mm ; M566 E120 ; set maximum instantaneous speed changes (mm/min) ; M203 E3600 ; set maximum speeds (mm/min) ; M201 E250 ; set accelerations (mm/s^2) ; Axis Limits M208 X0 Y0 Z0 U0 S1 ; set axis minima M208 X1800 Y1760 Z155.5 U200 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"io3.in" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin io3.in M574 U1 S1 P"io4.in" ; configure switch-type (e.g. microswitch) endstop for low end on U via pin io4.in ;M574 A1 S1 P"io5.in" ; configure switch-type (e.g. microswitch) endstop for low end on A via pin io5.in ;M950 J1 C"io5.in" ; configure switch-type (e.g. microswitch) endstop for Extruder ;M581 P1 S0 R0 T2 ; retract extruder - trigger1.gcode ; Z-Probe M950 S0 C"io7.out" ; Sets an output pin for Z-Probe M558 P9 C"io7.in" H15 F120 T6000 ; Sets an input pin for Z-Probe G31 X0 Y0 Z10 P25 M557 X0:1400 Y0:1000 S200 ; define mesh grid ; Heaters ; Fans M950 F1 C"out7" ; create fan #1 M106 P1 S0.5 L0 X1 B0.1 ; configure fan #1 M950 F2 C"out8" ; create fan #2 M106 P2 S0.5 L0 X1 B0.1 ; configure fan #2 M950 F3 C"out9" ; create fan #3 M106 P3 S0.5 L0 X1 B0.1 ; configure fan #3 ; Tools ;M563 P0 S"Tool 0" D0 F0 ; define tool 0 ;G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets ;G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ;M563 P1 S"Pastel" D0 F0 ; define Tool 1 ;G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets ;G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C ; Custom settings are not defined
I've already attempted to fix this by:
-
Updating the firmware
-
Restarting the machine
-
Swapping the Ethernet cable
-
Swapping the port on the Switcher
Nothing has worked at the moment. The other two Duet boards still connect to the internet just fine.
Does anybody have any idea what could possibly be wrong?
-
-
RE: Duet 3 MB6HC + 1HCL Not Connecting
@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.
-
RE: Duet 3 MB6HC + 1HCL Not Connecting
@dc42 the STATUS LED on the 1HCL doesn't flash with only power and CAN connected either.
-
RE: Duet 3 MB6HC + 1HCL Not Connecting
@Phaedrux
Firmware version is 3.4.6M122:
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
-
RE: WiFi Module Not Recognized - Duet 3 6HC Mainboard
Thanks! That appears to have fixed my issue and now my MB6HC can now consistently connect to the internet.
-
Duet 3 MB6HC + 1HCL Not Connecting
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 -
WiFi Module Not Recognized - Duet 3 6HC Mainboard
Hi all,
I recently purchased a Duet 3 6HC Mainboard with a WiFi module. During setup, I noticed that the WiFi module didn't light up when I plugged the mainboard's USB cable.
Also, whenever I used the
M552
command, it would respond withEthernet is disabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0
.I updated the mainboard's firmware to 3.4.6 and was able to successfully perform a firmware upload to the WiFi module with
M997 S1
but checking the board's network status usingM552
always mentions ethernet instead of WiFi and attempting to connect to a network results in the following error:Error: M587: Failed to add SSID to remembered list: WiFi module is disabled
I've tried the above with another WiFi module which results in identical results and the voltage drop between PWR and GND on the pins for the ESP are the correct ~3.3v.