Solved 3.2.2 SBC homing X and/or Y delayed, Z not working
-
I'm running Duet 3 MB6HC V3.2.2 with 4 Z motors and 2 toolboards and I've hooked up rPi 4B. I'm using the same config.g file that I used in a working stand-alone mode along with the other sys/*.g files.
When selecting home x, from the SBC DWC, it takes about 15 seconds before it actually does the home and then another 15 seconds before it returns idle and ready. Same on Y but on Z, it doesn't do anything other than deploy BLTouch probe and waits. Also happens with home all.
The system works as expected in stand alone mode. When I issue a command to move X or Y, using G1, it does it without delay. Z doesn't doesn't move. Using macros to get information, like docking status, it responds right away.
-
@BeosDoc post your config
-
Ok, what will that tell you since it works fine in stand alone mode but not SBC since it's the same config.g?
; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Nov 14 2020 22:27:05 GMT-0600 (CST) ; General preferences G4 S1 ; Delay for 1 second to give toolboard time to catch up on reset G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Duet3" ; set printer name M669 K1 ; select CoreXY mode ; Drives M569 P0.0 S0 ; physical drive 0.0 goes backwards M569 P0.1 S0 ; physical drive 0.1 goes backwards M569 P0.2 S1 ; physical drive 0.2 goes forwards (Z FL(front left)) M569 P20.0 S0 ; physical drive 1.0 goes backwards (T0) M569 P21.0 S0 ; physical drive 1.0 goes backwards (T1) M569 P0.3 S1 ; physical drive 0.3 goes forwards (Z BL) M569 P0.4 S1 ; physical drive 0.4 goes forwards (Z FR) M569 P0.5 S1 ; physical drive 0.5 goes forwards (Z BR) M584 X0.0 Y0.1 Z0.2:0.3:0.5:0.4 E20.0:21.0 ; set drive mapping M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation M92 X200.00 Y200.00 Z800.00:800.00:800.00:800.00 E408.00:408.00 ; set steps per mm M566 X900.00 Y900.00 Z120.00:120.00:120.00:120.00 E300.00:300.00 ; set maximum instantaneous speed changes (mm/min) M203 X50000.00 Y50000.00 Z1980.00:1980.00:1980.00:1980.00 E6000.00:6000.00 ; set maximum speeds (mm/min) M201 X1500.00 Y1500.00 Z400.00:400.00:400.00:400.00 E3000.00:3000.00 ; set accelerations (mm/s^2) M906 X2100 Y2100 Z1600:1600:1600:1600 E1100:1100 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X4 Y0 Z0 S1 ; set axis minima M208 X404 Y549 Z390 S0 ; set axis maxima M671 X0:0:375:375 Y34:357:357:34 S15 ; leadscrews near each corner ; Endstops M574 X1 S1 P"io0.in" ; configure active-high endstop for low end on X via pin io0.in M574 Y1 S1 P"io1.in" ; configure active-high endstop for low end on Y via pin io1.in M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M558 P9 C"^io7.in" H5 F120 T6000 A4 ; set Z probe type to unmodulated and the dive height + speeds M950 S0 C"io7.out" G31 P500 X42.8 Y-19.2 Z2.0 ; set Z probe trigger value, offset and trigger height. add for closer, sub for farther M557 X43:390 Y00:370 S20 ; define mesh grid ; Bed Heater M308 S0 P"temp0" Y"thermistor" T100000 B4138 A"Bed" ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out1" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 R0.638 C553.0 D3.91 S1.00 V31.5 ; PID mode for temp0 M140 H0 ; map heated bed to heater 0 M143 H0 S160 ; set temperature limit for heater 0 to 160C ; Other temperature sensor M308 S8 P"temp1" Y"thermistor" T100000 B4138 A"Case" ; configure sensor 0 as thermistor on pin temp0 ; Tool heaters M308 S1 P"20.temp0" Y"pt1000" R2200 A"NzT0" ; configure sensor 1 as PT1000 on pin 1.temp0 M950 H1 C"20.out0" T1 ; create nozzle heater output on 1.out0 and map it to sensor 1 M307 H1 B0 S0.79 ; disable bang-bang mode for heater and set PWM limit M143 H1 S360 A0 ; set nozzle temp limit to 360C, heater fault if >360 M308 S2 P"21.temp0" Y"pt1000" R2200 A"NzT1" ; configure sensor 1 as PT1000 on pin 1.temp1 M950 H2 C"21.out0" T2 ; create nozzle heater output on 1.out0 and map it to sensor 2 M307 H2 B0 S0.79 ; disable bang-bang mode for heater and set PWM limit M143 H2 S360 A0 ; set nozzle temp limit to 360C, heater fault if >360 ; Fans M950 F0 C"out7" Q500 ; create fan 1 on pin out3 and set its frequency M106 P0 S0 H-1 C"L Fan" ; set fan 1 value. Thermostatic control is turned off M950 F1 C"out8" Q500 ; create fan 2 on pin out4 and set its frequency M106 P1 S0 H-1 C"R Fan" ; set fan 2 value. Thermostatic control is turned off M950 F2 C"out9" Q500 ; create Nozzle LEDs on pin out9 M106 P2 S0 H-1 C"Noz LED" M950 F8 C"out4" Q2000 M106 P8 I1 F2000 C"Case F" ; Tool fans M950 F3 C"20.out2" Q5000 ; create fan 3 on pin 20.out2 and set its frequency M106 P3 S255 H1 T45 C"T0 Hemera Fan" ; set fan 3 value. Thermostatic control is turned on M950 F4 C"21.out2" Q5000 ; create fan 4 on pin 21.out2 and set its frequency M106 P4 S255 H2 T45 C"T1 Hemera Fan" ; set fan 4 value. Thermostatic control is turned on ; Tools T0 M563 P0 D0 H1 F0:1 S"T0" ; 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 ; T1 M563 P1 D1 H2 F0:1 S"T1" ; define tool 1 G10 P1 X0.36 Y-0.6 Z-0.37 ; set tool 1 axis offsets G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C ; Filament Sensor ;M591 D20 P1 C"0.io1.in" S1 ; Detect filament issues M591 D0 P1 C"20.io1.in" S1 M591 D1 P1 C"21.io1.in" S1 ; Set up the dock and park indicator switches on the Hemera tools M950 J0 C"20.io2.in" ; T0 Docked indicator M950 J1 C"20.io0.in" ; T0 Parked indicator M950 J2 C"21.io2.in" ; T1 Docked indicator M950 J3 C"21.io0.in" ; T1 Parked indicator ; Custom settings if sensors.gpIn[0].value = 1 && sensors.gpIn[1].value = 0 ; Check to see if tool 0 is already docked/mounted and not parked T0 P0 ; Set tool 0, don't run macros if sensors.gpIn[2].value = 1 && sensors.gpIn[3].value = 0 ; Check to see if tool 1 is already docked/mounted and not parked T1 P0 ; Set tool 1, don't run macros if sensors.gpIn[0].value = 0 && sensors.gpIn[2].value = 0 ; Check to see if no tool is docked/mounted T-1 P0 ; deselect all tools, don't run macros ;M308 S5 Y"mcu-temp" A"MCU" ; Miscellaneous ;M575 P1 S1 B57600 ; enable support for PanelDue
-
Can you also share the results of M122 and M122 B1 and M122 B2?
Also your homing files please.
-
M122 === Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.2.2 running on Duet 3 MB6HC v1.01 or later (SBC mode) Board ID: 08DJM-956L2-G43S8-6J9D6-3S46L-KU2YD Used output buffers: 1 of 40 (11 max) === RTOS === Static ram: 149788 Dynamic ram: 63684 of which 76 recycled Never used RAM 145284, free system stack 152 words Tasks: Linux(ready,107) HEAT(blocked,297) CanReceiv(blocked,834) CanSender(blocked,352) CanClock(blocked,352) TMC(blocked,51) MAIN(running,1187) IDLE(ready,19) Owned mutexes: HTTP(MAIN) === Platform === Last reset 00:03:02 ago, cause: power up Last software reset at 2021-02-24 12:35, reason: MemoryProtectionFault iaccViol, GCodes spinning, available RAM 145256, slot 1 Software reset code 0x4163 HFSR 0x00000000 CFSR 0x00000001 ICSR 0x00400804 BFAR 0x00000000 SP 0x2041fd08 Task MAIN Freestk 1744 ok Stack: 00000000 00000000 00000000 00000000 0000020f 00444b2b a941c360 60000200 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffffffff 0000002f 0000001f 20429288 20429a08 00000001 ffffff6f ffffffff ffffffff ffffffff ffffffff ffffffff Error status: 0x00 Aux0 errors 0,0,0 Aux1 errors 0,0,0 MCU temperature: min 25.8, current 37.8, max 37.9 Supply voltage: min 27.9, current 31.3, max 31.4, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 11.9, current 12.0, max 12.0, under voltage events: 0 Driver 0: position 800, standstill, reads 46781, writes 19 timeouts 0, SG min/max 0/299 Driver 1: position 800, standstill, reads 46782, writes 19 timeouts 0, SG min/max 0/266 Driver 2: position 0, standstill, reads 46782, writes 19 timeouts 0, SG min/max 0/1023 Driver 3: position 0, standstill, reads 46782, writes 19 timeouts 0, SG min/max 0/1023 Driver 4: position 0, standstill, reads 46782, writes 19 timeouts 0, SG min/max 0/1023 Driver 5: position 0, standstill, reads 46782, writes 19 timeouts 0, SG min/max 0/1023 Date/time: 2021-02-24 14:09:07 Slowest loop: 95.58ms; fastest: 0.03ms === Storage === Free file entries: 10 SD card 0 not detected, interface speed: 37.5MBytes/sec SD card longest read time 0.0ms, write time 0.0ms, max retries 0 === Move === DMs created 125, maxWait 129253ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 5, completed moves 5, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1 Heater 2 is on, I-accum = 0.0 === GCodes === Segments left: 0 Movement lock held by null HTTP* is doing "M122" 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. === Filament sensors === Extruder 0 sensor: no filament Extruder 1 sensor: no filament === CAN === Messages queued 308, send timeouts 0, received 1747, lost 0, longest wait 2ms for reply type 6049, free buffers 48 === SBC interface === State: 4, failed transfers: 0 Last transfer: 2ms ago RX/TX seq numbers: 2511/2511 SPI underruns 0, overruns 0 Number of disconnects: 0, IAP RAM available 0x2c8a8 Buffer RX/TX: 0/0-0 === Duet Control Server === Duet Control Server v3.2.2 Code buffer space: 4096 Configured SPI speed: 8000000 Hz Full transfers per second: 29.14 Maximum length of RX/TX data transfers: 3088/948
M122 B20 Diagnostics for board 20: Duet TOOL1LC firmware version 3.2.2 (2021-02-12) Bootloader ID: not available Never used RAM 4056, free system stack 94 words HEAT 90 CanAsync 89 CanRecv 83 TMC 56 MAIN 216 AIN 64 Last reset 00:05:36 ago, cause: power up Last software reset data not available Driver 0: position 0, 408.0 steps/mm, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 12, reads 37097, writes 12, timeouts 0, DMA errors 0 Moves scheduled 0, completed 0, in progress 0, hiccups 0 No step interrupt scheduled VIN: 31.3V MCU temperature: min 20.1C, current 31.2C, max 31.3C Ticks since heat task active 142, ADC conversions started 335497, completed 335495, timed out 0 Last sensors broadcast 0x00000002 found 1 145 ticks ago, loop time 0 CAN messages queued 2816, send timeouts 0, received 3488, lost 0, free buffers 36 === Filament sensors === Interrupt 5726621 to 0us, poll 4 to 364us Driver 0: ok
M122 B21 Diagnostics for board 21: Duet TOOL1LC firmware version 3.2.2 (2021-02-12) Bootloader ID: not available Never used RAM 4056, free system stack 94 words HEAT 90 CanAsync 89 CanRecv 83 TMC 56 MAIN 218 AIN 64 Last reset 00:04:35 ago, cause: power up Last software reset data not available Driver 0: position 0, 408.0 steps/mm, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 12, reads 6443, writes 12, timeouts 0, DMA errors 0 Moves scheduled 0, completed 0, in progress 0, hiccups 0 No step interrupt scheduled VIN: 32.1V MCU temperature: min 25.2C, current 35.3C, max 35.3C Ticks since heat task active 83, ADC conversions started 274431, completed 274430, timed out 0 Last sensors broadcast 0x00000004 found 1 86 ticks ago, loop time 0 CAN messages queued 2051, send timeouts 0, received 2693, lost 0, free buffers 36 === Filament sensors === Interrupt 5726621 to 0us, poll 5 to 433us Driver 0: ok
-
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Feb 24 2021 10:08:10 GMT-0600 (CST) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G90 ; absolute positioning G1 X40.2 Y19.2 F6000 ; go to first probe point G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Feb 24 2021 10:08:09 GMT-0600 (CST) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-405 Y-554 F1800 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X-405 ; home X axis G1 H1 Y-554 ; home Y axis G1 X5 Y5 F6000 ; go back a few mm G1 H1 X-405 F360 ; move slowly to X axis endstop once more (second pass) G1 H1 Y-554 ; then move slowly to Y axis endstop G90 ; absolute positioning G1 X40.2 Y19.2 F6000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Feb 24 2021 10:08:09 GMT-0600 (CST) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-413 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 X5 F6000 ; go back a few mm G1 H1 X-413 F360 ; move slowly to X axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Feb 24 2021 10:08:10 GMT-0600 (CST) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Y-554 F1800 ; move quickly to Y axis endstop and stop there (first pass) G1 Y5 F6000 ; go back a few mm G1 H1 Y-554 F360 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning
-
Sorry, those were the wrong home g files. Here are the correct ones:
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Nov 14 2020 22:27:05 GMT-0600 (CST) if (sensors.gpIn[0].value = 1 && sensors.gpIn[1].value = 1) || (sensors.gpIn[2].value = 1 && sensors.gpIn[3].value = 1) M0 M291 P"A Tool is Parked and Docked can't do homing, Stop" R"Error" S2 abort G91 ; relative positioning G1 H1 Z10 F9000 ; lift Z relative to current position G1 H1 X-400 Y-532 F3000 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X-400 ; home X axis G1 H1 Y-532 ; home Y axis G1 X5 Y5 F9000 ; go back a few mm G1 H1 X-10 F360 ; move slowly to X axis endstop once more (second pass) G1 H1 Y-10 ; then move slowly to Y axis endstop G90 ; absolute positioning G1 X0 Y20 F10000 ; go to first probe point ;G29 S1 ; autoload the height map M558 A1 F1000 ; Set single probing at faster feed rate G30 ; Do a single probe to home our Z axis M558 A10 F200 ; Set multi probing at slower feed rate G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing G91 ; relative positioning G1 Z10 F1500 ; lift Z relative to current position G90 ; absolute positioning
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Nov 14 2020 22:27:05 GMT-0600 (CST) if (sensors.gpIn[0].value = 1 && sensors.gpIn[1].value = 1) || (sensors.gpIn[2].value = 1 && sensors.gpIn[3].value = 1) M0 M291 P"A Tool is Parked and Docked can't do homing, Stop" R"Error" S2 abort G91 ; relative positioning G1 H2 Z10 F9000 ; lift Z relative to current position G1 H1 X-400 F3000 ; move quickly to X axis endstop and stop there (first pass) G1 X5 F9000 ; go back a few mm G1 H1 X-10 F360 ; move slowly to X axis endstop once more (second pass) G1 H2 Z-10 F9000 ; lower Z again G90 ; absolute positioning
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Nov 14 2020 22:27:05 GMT-0600 (CST) if (sensors.gpIn[0].value = 1 && sensors.gpIn[1].value = 1) || (sensors.gpIn[2].value = 1 && sensors.gpIn[3].value = 1) M0 M291 P"A Tool is Parked and Docked can't do homing, Stop" R"Error" S2 abort G91 ; relative positioning G1 H2 Z10 F9000 ; lift Z relative to current position G1 H1 Y-532 F3000 ; move quickly to Y axis endstop and stop there (first pass) G1 Y5 F9000 ; go back a few mm G1 H1 Y-10 F360 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-10 F9000 ; lower Z again G90 ; absolute positioning
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Nov 14 2020 22:27:05 GMT-0600 (CST) if (sensors.gpIn[0].value = 1 && sensors.gpIn[1].value = 1) || (sensors.gpIn[2].value = 1 && sensors.gpIn[3].value = 1) M0 M291 P"A Tool is Parked and Docked can't do homing, Stop" R"Error" S2 abort G91 ; relative positioning G0 H1 Z10 F9000 ; lift Z relative to current position G90 ; absolute positioning G1 X0 Y20 F10000 ; go to first probe point M558 A1 F1000 ; Set single probing at faster feed rate G30 ; Do a single probe to home our Z axis M558 A10 F200 ; Set multi probing at slower feed rate G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing G91 ; relative positioning G1 Z10 F3000 ; lift Z relative to current position G90 ; absolute positioning
-
@BeosDoc The M92, M566, M203, M201 and M906 settings in your config.g all have multiple values for your Z motors. Which is not supported and as we found out on your other thread may be handled differently by DSF/RRF. I have no idea if this is causing a problem or not, but probably worth cleaning up.
-