Issue: RR3.1.1- homing causes the SBD to disconnect
-
I started having an issue on my toolchanger after updating to the RR3.1.1 - homing stoped working; execution of the macros causes the SBD to loos connection to Duet3
When pressing the Home All button from the DWC - this happens on homez (sequence is homec, homey, homex, homez)
When G28 is triggered from the gcode file - it blows up on homec/homeyThe setup is
RR3.1.1 - Duet 3 + 3HC, rPI SBD - toolchangerChecking the logs I get:
Jul 09 18:38:37 e3dtc DuetControlServer[1615]: [info] Selected file /opt/dsf/sd/gcodes/Tiger/Weapons/Stinger/Missile Loc Jul 09 18:38:37 e3dtc DuetControlServer[1615]: [info] Starting file print Jul 09 18:38:37 e3dtc DuetControlServer[1615]: [info] File: Optional macro file start.g not found Jul 09 18:38:37 e3dtc DuetControlServer[1615]: [info] Starting macro file homec.g on channel File Jul 09 18:38:50 e3dtc DuetControlServer[1615]: [info] Starting macro file /macros/Coupler - Unlock on channel File Jul 09 18:38:52 e3dtc DuetControlServer[1615]: [info] Finished macro file /macros/Coupler - Unlock Jul 09 18:38:52 e3dtc DuetControlServer[1615]: [info] Finished macro file homec.g Jul 09 18:38:52 e3dtc DuetControlServer[1615]: [info] Starting macro file homey.g on channel File Jul 09 18:38:53 e3dtc DuetControlServer[1615]: [warn] Lost connection to Duet (Timeout while waiting for transfer ready Jul 09 18:38:53 e3dtc DuetControlServer[1615]: [warn] Bad header checksum (expected 0xffff, got 0x6627)
The instalation is:
duetcontrolserver/unstable,now 3.1.1 armhf [installed] duetruntime/unstable,now 3.1.1 armhf [installed] duetsd/unstable,now 1.0.6 all [installed] duetsoftwareframework/unstable,now 3.1.1 armhf [installed] duettools/unstable,now 3.1.1 armhf [installed] duetwebcontrol/unstable,now 3.1.1 all [installed] duetwebserver/unstable 3.1.0 arm64 duetwebserver/unstable,now 3.1.0 armhf [installed]
09/07/2020, 18:44:05 M115 FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.1.1 ELECTRONICS: Duet 3 MB6HC v0.6 or 1.0 FIRMWARE_DATE: 2020-05-19b2 09/07/2020, 18:44:07 M115 B1 Board EXP3HC firmware 3.1.0 (2020-05-15b1)
When I downgrade to earlier releases I have no issues.
-
i think you may have to include the config and macros for anyone to have any idea whats going on.
Is it always during homey.g?
-
Sometimes it crashed home homey, sometimes it crashes on homez....
config.g
; Configurat; Configuration file for Duet WiFi / Ethernet ; executed by the firmware on start-up ; General preferences M111 S0 ; Debugging off G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P2 ; Set firmware compatibility to look like Marlin ; Network M550 P"e3dtc" ; Set machine name M552 S1 ; Enable Networking M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Printer Type M667 S1 ; Select CoreXY mode (fw: 2.02) ; Drive direction M569 P0.0 S0 ; Drive 0 X M569 P0.1 S0 ; Drive 1 Y M569 P0.2 S1 ; Drive 2 Z M569 P0.3 S0 ; Drive 3 C M569 P0.4 S1 ; Drive 4 E0 M569 P0.5 S1 ; Drive 5 E1 M569 P1.0 S1 ; Drive 6 E2 M569 P1.1 S1 ; Drive 7 E3 M569 P1.1 S0 ; Drive 8 UNUSED ; Stepper motor settings M584 X0.0 Y0.1 Z0.2 C0.3 E0.4:0.5:1.0:1.1 ; Apply custom drive mapping M208 X-30:328.5 Y-46:243 Z0:300 C0:500 S0 ; Set axis maxima & minima M350 E16:16:16:16 C8 I1 ; Configure microstepping without interpolation (change steps to Hermera) M350 C8 I0 ; Configure microstepping for tool lock mechanism M350 X16 Y16 Z16 I1 M92 X100 Y100 Z1600 C100 E409:409:409:409 ; Set steps per mm (changed to 409 for Hemera) M566 X200 Y200 Z8 C2 E25:25:25:15 ; Set maximum instantaneous speed changes [Lord Miauzer: Changed from 600->200] M203 X24000 Y24000 Z720 C5000 E5000:5000:5000:5000 ; Slowed X/Y to 200mm/s [units mm/min], Z = 12mm/s M201 X6000 Y6000 Z400 C500 E1250:1250:1250:1250 ; Slowed acceleration (changed from 6000->2500) [units mm/s^2] M906 X2000 Y2000 Z1330 C500 E900:900:900:900 I30 ; Set motor currents (mA) and motor idle factor in percent - quieter M84 S120 ; Set idle timeout ; Endstops M574 X1 P"0.io1.in" S1 M574 Y1 P"0.io2.in" S1 M574 Z0 ; No endstop [RR3] using G30 homing ; Z probe M558 P8 C"0.io0.in" H3 F360 I0 T20000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds G31 P200 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height M557 X10:290 Y20:180 S40 ; Define mesh grid ; Coupler M574 C1 S3 ; Stall detect coupler at low end of its range ;Stall Detection M915 C S5 F0 H200 R0 ; Coupler M915 X Y S6 F0 H280 R0 ; X / Y Axes ; Heaters M308 S0 P"0.temp0" Y"thermistor" T100000 B4138 C0 ; Set thermistor M950 H0 C"0.out0" T0 ; Bed heater M143 H0 S225 ; Set temperature limit for heater 0 to 225C M140 H0 ; Map the heater to the bed M308 S1 P"0.temp1" Y"thermistor" A"T0" T100000 B4725 C7.06e-8 ; Set thermistor M950 H1 C"0.out1" T1 ; Extruder 0 heater M143 H1 S300 ; Set temperature limit for heater 1 to 300C M308 S2 P"0.temp2" Y"thermistor" A"T1" T100000 B4725 C7.06e-8 ; Set thermistor M950 H2 C"0.out2" T2 ; Extruder 1 heater M143 H2 S300 ; Set temperature limit for heater 2 to 300C M308 S3 P"1.temp0" Y"thermistor" A"T2" T100000 B4725 C7.06e-8 ; Set thermistor M950 H3 C"1.out0" T3 ; Extruder 2 heater M143 H3 S300 ; Set temperature limit for heater 3 to 300C M308 S4 P"1.temp1" Y"thermistor" A"T0" T100000 B4725 C7.06e-8 ; Set thermistor M950 H4 C"1.out1" T4 ; Extruder 0 heater M143 H4 S300 ; Set temperature limit for heater 4 to 300C ; Tools M563 P0 S"T0" D0 H1 F2 ; Define tool 0 G10 P0 X0 Y0 Z0 ; Reset tool 0 axis offsets G10 P0 R0 S0 ; Reset initial tool 0 active and standby temperatures to 0C M563 P1 S"T1" D1 H2 F4 ; Define tool 1 G10 P1 X0 Y0 Z0 ; Reset tool 1 axis offsets G10 P1 R0 S0 ; Reset initial tool 1 active and standby temperatures to 0C M563 P2 S"T2" D2 H3 F6 ; Define tool 2 G10 P2 X0 Y0 Z0 ; Reset tool 2 axis offsets G10 P2 R0 S0 ; Reset initial tool 2 active and standby temperatures to 0C M563 P3 S"T3" D3 H4 F8 ; Define tool 3 G10 P3 X0 Y0 Z0 ; Reset tool 3 axis offsets G10 P3 R0 S0 ; Fans M950 F1 C"0.out7" M950 F2 C"0.out4" M950 F3 C"0.out8" M950 F4 C"0.out5" M950 F5 C"1.out6" M950 F6 C"1.out3" M950 F7 C"1.out7" M950 F8 C"1.out4" M106 P1 S255 H1 T70 ; T0 HE M106 P2 S0 ; T0 PCF M106 P3 S255 H2 T70 ; T1 HE M106 P4 S0 ; T1 PCF M106 P5 S255 H3 T70 ; T2 HE M106 P6 S0 ; T2 PCF M106 P7 S255 H4 T70 ; T3 HE M106 P8 S0 ; T3 PCF ; MISC settings M593 F50 ; cancel ringing at 50Hz (https://forum.e3d-online.com/threads/accelerometer-and-resonance-measurements-of-the-motion-system.3445/) M376 H15 ; bed compensation taper ;deselect tools T-1 M572 D0 S0.05 ; pressure advance T0 M572 D1 S0.05 ; pressure advance T1 M572 D2 S0.05 ; pressure advance T2 M572 D3 S0.05 ; pressure advance T3 ; Lights M98 P"/macros/led_standBy" M569 P0.4 S1 ; Drive 4 E0 M569 P0.5 S1 ; Drive 5 E1 M569 P1.0 S1 ; Drive 6 E2 M569 P1.1 S1 ; Drive 7 E3 ; Setup retracts M207 P0 S0.5 F1200 M207 P1 S0.5 F1200 M207 P2 S0.5 F1200 M207 P3 S0.5 F1200 ; Tool Offsets M98 P"/macros/3. Tool Offsets"
homeall.g
; homeall.g ; called to home all axes M98 P"/macros/led_homeAll" G28 Y G28 X G28 Z G1 X150 Y-49 F15000 ; Park M98 P"/macros/led_standBy"
homey.g
; homey.g ; called to home the Y axis G91 ; use relative positioning G1 H2 X0.5 Y-0.5 F10000 ; energise motors to ensure they are not stalled ; To avoid crashing into the X sensor more X to the left G1 H1 X+30 F1800 ; avoidance of X switch G1 H2 Z3 F5000 ; lift Z 3mm G1 H1 Y-400 F1800 ; move to the front 400mm, stopping at the endstop G1 H1 Y2 F2000 ; move away from end G1 H1 Y-400 F360 G1 H2 Z-3 F1200 ; lower Z G90 ; back to absolute positioning
homex.g
; homex.g ; called to home the X axis G91 ; use relative positioning G1 H2 X0.5 Y-0.5 F10000 ; energise motors to ensure they are not stalled G1 H2 Z3 F5000 ; lift Z 3mm G1 H1 X-400 F1800 ; move left 400mm, stopping at the endstop G1 H1 X2 F2000 ; move away from end G1 H1 X-400 F360 ; move left again G1 H2 Z-3 F1200 ; lower Z G90 ; back to absolute positioning
homey.g
; homey.g ; called to home the Y axis G91 ; use relative positioning G1 H2 X0.5 Y-0.5 F10000 ; energise motors to ensure they are not stalled ; To avoid crashing into the X sensor more X to the left G1 H1 X+30 F1800 ; avoidance of X switch G1 H2 Z3 F5000 ; lift Z 3mm G1 H1 Y-400 F1800 ; move to the front 400mm, stopping at the endstop G1 H1 Y2 F2000 ; move away from end G1 H1 Y-400 F360 G1 H2 Z-3 F1200 ; lower Z G90 ; back to absolute positioning
homez.g
; homez.g ; called to home the Z axis ; [RR3] Added mandatory quotation marks for the macros ; [RR3] Changes the G1 S parameter to H M98 P"/macros/Coupler - Unlock" ;Open Coupler G91 ; Relative mode G1 H2 Z5 F5000 ; Lower the bed G90 ; back to absolute positioning G1 X150 Y100 F50000 ; Position the endstop above the bed centre M558 F1000 G30 M558 F300 G30
-
@mkudzia said in Issue: RR3.1.1- homing causes the SBD to disconnect:
Sometimes it crashed home homey, sometimes it crashes on homez....
I think I would insert some echo lines around the home files and see if I could narrow it down to a particular axis or type of move being the repeat offender.
-
No need for echo systemctl status shows exactly what is happening and when the disconnect is done.
Worrying thing is duetcontrolservice at that time complaining about bad chdcksum result on the pins.If I'm doing the home all from the GUI crash happens on homez
When I am triggering home all from a gcode file it happens on homey
-
@mkudzia said in Issue: RR3.1.1- homing causes the SBD to disconnect:
No need for echo systemctl status shows exactly what is happening and when the disconnect is done.
there is no line number information
@mkudzia said in Issue: RR3.1.1- homing causes the SBD to disconnect:
Worrying thing is duetcontrolservice at that time complaining about bad chdcksum result on the pins.
bad checksum on the first transfer after re-connecting is not the issue
-
Ok, in that case any wya i can increase login for you guys and try to reproduce the issue again?