Lil help for a new guy to duet?
-
I upgraded an ender 6 with duet board. I performed the commisioning test got the motors and heaters all working right. I have a bltouch. I went to do a first print tower generated in cura pointing at reprap firmware. It did one probe and then started printing, immediately smashing into the build plate, bendint bltouch pin, and started printing in the corner of the buildplate until I shut it down quickly. What did I miss?
-
@Terradive We are going to need a bit more information. Can you post:
- response to M122 (shows firmware version and what Duet board you have)
- your config.g
- the result of running
M98 p"config.g"
- your homeall.g, deployprobe.g and retractprobe.g
- the gcode file you are trying to run
Please post as text (not images) in the 'code' style (use </> format when composing your post) or upload files.
Also, are you saying that the BLTouch pin stayed extended after probing? Is it a metal pin? Because I think only the Creality BLTouch (not genuine) has a metal pin. You can get replacements, or strip it down and try and straighten it.
Ian
-
Sure Ian, thanks for the help. The BLtouch pin is plastic so no worries there.
m122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.5 (2022-11-30 19:36:12) running on Duet WiFi 1.02 or later
Board ID: 0JD2M-9F8TA-GJ4TJ-6JTF2-3S86Q-TQVG6
Used output buffers: 1 of 26 (26 max)
=== RTOS ===
Static ram: 23836
Dynamic ram: 75492 of which 24 recycled
Never used RAM 12728, free system stack 170 words
Tasks: NETWORK(notifyWait,197.9%,242) HEAT(notifyWait,0.4%,333) Move(notifyWait,0.0%,363) MAIN(running,1150.4%,442) IDLE(ready,0.3%,30), total 1349.1%
Owned mutexes:
=== Platform ===
Last reset 01:22:28 ago, cause: software
Last software reset at 2023-02-14 04:45, reason: User, GCodes spinning, available RAM 12728, slot 1
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x04
Aux0 errors 0,0,0
Step timer max interval 0
MCU temperature: min 36.8, current 38.5, max 39.0
Supply voltage: min 23.8, current 24.0, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
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 n/a
Driver 1: standstill, SG min n/a
Driver 2: standstill, SG min n/a
Driver 3: standstill, SG min n/a
Driver 4: standstill, SG min n/a
Driver 5:
Driver 6:
Driver 7:
Driver 8:
Driver 9:
Driver 10:
Driver 11:
Date/time: 2023-02-14 06:07:51
Cache data hit count 4294967295
Slowest loop: 16.10ms; fastest: 0.18ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 0.7ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed 0, 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 0 -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
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== Network ===
Slowest loop: 13.05ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 1 of 8
= WiFi =
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.27
WiFi MAC address a4:e5:7c:03:da:4a
WiFi Vcc 3.39, reset reason Power up
WiFi flash size 2097152, free heap 26440
WiFi IP address 192.168.1.10
WiFi signal strength -66dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0M98 p"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled; called to deploy a physical Z probe ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Tue Feb 07 2023 20:54:03 GMT-0600 (Central Standard Time) ; insert codes for deploying the Z probe here M280 P0 S10
; retractprobe.g ; called to retract a physical Z probe ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Tue Feb 07 2023 20:54:03 GMT-0600 (Central Standard Time) ; insert codes for retracting the Z probe here M280 P0 S90
; Configuration file for Duet WiFi (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Tue Feb 07 2023 20:54:03 GMT-0600 (Central Standard Time) ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"My Printer" ; set printer name M669 K1 ; select CoreXY mode ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S0 ; physical drive 1 goes forwards M569 P2 S0 ; physical drive 2 goes backwards M569 P3 S1 ; physical drive 3 goes forwards M569 P4 S0 ; physical drive 4 goes forwards M584 X0 Y1 Z2 E3:4 ; set drive mapping M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z3200.00 E440.00:440.00 ; set steps per mm ;M92 X80.00 Y80.00 Z400.00 E415.00:415.00 ; set steps per mm M566 X1200.00 Y1200.00 Z100.00 E3600.00:3600.00 ; set maximum instantaneous speed changes (mm/min) ;M566 X900.00 Y900.00 Z60.00 E250.00:250.00 ; set maximum instantaneous speed changes (mm/min) M203 X50000.00 Y35000.00 Z450.00 E3600.00:3600.00 ; set maximum speeds (mm/min) ;M203 X6000.00 Y6000.00 Z180.00 E2700.00:2700.00 ; set maximum speeds (mm/min) ;M201 X500.00 Y500.00 Z20.00 E350.00:350.00 ; set accelerations (mm/s^2) M201 X1000.00 Y1000.00 Z100.00 E3000.00:3000.00 ; set accelerations (mm/s^2) M906 X1800 Y1800 Z1800 E600:600 I20 ; set motor currents (mA) and motor idle factor in per cent ;M906 X800 Y800 Z800 E900:900 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 X250 Y250 Z400 S0 ; set axis maxima ; Endstops M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 X20 Y10 Z2.453 ; set Z probe trigger value, offset and trigger height M557 X15:215 Y15:195 S20 ; define mesh grid M950 S0 C"exp.heater3" ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M307 H0 R0.219 K0.199:0.000 D8.53 E1.35 S1.00 B0 M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 ;M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M307 H1 R2.688 K0.478:0.000 D5.14 E1.35 S1.00 B0 ;V23.9 M143 H1 S280 ; set temperature limit for heater 1 to 280C M308 S2 P"e1temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2 ;M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M307 H2 R2.559 K0.393:0.000 D6.20 E1.35 S1.00 B0 ;V24.0 M143 H2 S280 ; set temperature limit for heater 2 to 280C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S0 H-1 ; set fan 1 value. Thermostatic control is turned off ; Tools M563 P0 D0 H1 F-1 ; 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 D1 H2 F-1 ; 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 M82
-
Preset Temperature Tower - PLA+.gcode
I saw the flavor marlin at the top of this, and verified the machine is set to reprap and is the active machine when slicing. The autotowers could be overwriting?
-
@Terradive This is the first few lines in the Gcode file:
T0 M190 S60 M104 S200 M109 S200 M82 ;absolute extrusion mode G28 ;Home G1 Z15.0 F6000 ;Move the platform down 15mm ;Prime the extruder G92 E0 G1 F200 E3 G92 E0 M83 ;relative extrusion mode G1 F1500 E-6.5 ;LAYER_COUNT:594 ;LAYER:0 M107 G0 F3600 X-23.4 Y14.4 Z0.3 ;TYPE:SKIRT G1 F1500 E6.5 G1 F1800 X-24.189 Y14.36 E0.01486 G1 X-24.969 Y14.241 E0.01484 ...
After the G28, there's a G1 move, but as far as I can tell this is in absolute positioning mode, not relative mode, so should move to Z15. After the extruder primes, it moves to Z0.3 with the first move before the skirt. Is the BLTouch still extended at this point? Test the deploy and retraction of the probe with
M401
andM402
(see https://docs.duet3d.com/User_manual/Reference/Gcodes/M401).Can you post your homeall.g? It may be there is something going wrong in there.
The other thing I notice is that the Gcode shows negative numbers for X and Y; I think the gcode expects the origin to be in the centre of the bed. You currently have the bed origin set in the corner. M208 controls this. To change this, see https://docs.duet3d.com/User_manual/Tuning/Bed_origin or alternatively set up your slicer with the origin at the corner of the bed.
Ian
-
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Tue Feb 07 2023 20:54:03 GMT-0600 (Central Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-255 Y-255 F1800 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X-255 ; home X axis G1 H1 Y-255 ; home Y axis G1 X5 Y5 F6000 ; go back a few mm G1 H1 X-255 F360 ; move slowly to X axis endstop once more (second pass) G1 H1 Y-255 ; then move slowly to Y axis endstop G90 ; absolute positioning G1 X15 Y5 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 G92 Z0 ;tell the firmware where we are
thanks for your assistance Ian, I'm very new to the duet and reprap world.
-
@Terradive The last part of the homeall.g is causing Z to be in the wrong place. The G30 probes the bed, and should give you Z0 where the nozzle touches the bed, if you have followed https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_testing
Then the homeall.g is lifting Z 5mm, then setting that as Z0 with G92. This might be okay for testing, but it is not what you want to happen! Remove the G92 line.If the BLTouch is working correctly, ie deploying and retracting the probe, the pin when retracted should be higher than the nozzle. If not, the BLTouch is set too low; see the BLTouch documentation:
Ian
-
The print did not do an extrusion/purge/prime line down the bed like it was previously it just started printing. the bltouch had been extended still, but does respond to the M401 and M402 commands from console.
-
@Terradive There's no purge line in the Gcode, just a very large brim.
Ian