Duet Wifi Unable to get past warm-up
-
HI All,
I apologise in advance, this will be a rather lengthy post to give all of the information i believe is relevant. I'm going to break it into smaller sections so you're welcome to skip over whatever is not relevant to the issue.General / Issue Background
My Duet Wifi appears to be functioning as intended for the most part - i can move all axes, i can heat up heat bed and the stepping seems to be correct on all of them (or within tolerance at least). When i start a print, the system heats up the heat bed during the warmup phase, then heats up the hotend to the desired temperature. Both ht the correct temperature, as the first layer begins and it halts, says 100% complete Layer 1 of 198, Filament Usage 0.0mm of 1455.0mm. The Extruder has not moved at this time.See here: http://imgur.com/a/9mq8H for an example of what occurs at the point of failure. A couple of things to note, the alert triangle at the top dissappears almost immediately - to the point that i have never seen it before and was just obscenely lucky to get it in that particular picture. Furthermore, the gcode console has no alerts or warnings - http://imgur.com/a/n4wXA. This has made this a difficult issue to track down as there are effectively no warnings as to why this has occurred.
Unit Background
Purchased approximately 12 days ago - have never managed to get a print out of it. Have managed to extrude plastic and have it move around however, never cnc/automatically. Have had other issues along the way, but nothing too drastic.Running off an ATX power supply (12V).
Firmware Version: 1.18.1
Web Interface Version: 1.15aConfig.g
[[language]] ; Configuration file for Duet WiFi ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Sat Jul 22 2017 23:44:03 GMT+0000 ; 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 M667 S1 ; Select CoreXY mode M208 X0 Y0 Z0 S1 ; Set axis minima M208 X200 Y190 Z155 S0 ; Set axis maxima ; Endstops M574 X1 Y1 Z1 S0 ; Define active low and unused microswitches M558 P0 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height M557 X15:185 Y15:175 S20 ; Define mesh grid ; Drives M569 P0 S0 ; X Goes Forwards M569 P1 S1 ; Y Goes Backwards M569 P2 S0 ; Z Goes Backwards M569 P3 S1 ; Drive 3 goes forwards M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X87.489 Y87.489 Z268.46 E94.479 ; Set steps per mm M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min) M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min) M201 X500 Y500 Z20 E250 ; Set accelerations (mm/s^2) M906 X1400 Y1400 Z1400 E1400 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Heaters M143 S260 ; Set maximum heater temperature to 260C M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0 M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1 ; Heater Tuning M307 H0 A98.4 C303.0 D5.5 B0 ; Heatbed M307 H1 A353.9 C112.3 D5.0 B0 ; Hotend ; Tools M563 P0 D0 H1 ; 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 ; Network M550 PHypercube ; Set machine name M552 S1 ; Enable network M586 P0 S1 ; Enable HTTP M586 P1 S1 ; Enable FTP M586 P2 S0 ; Disable Telnet ; Fans M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Custom settings are not configured T0
Gcode
[[language]] ;FLAVOR:RepRap ;TIME:2283 ;Filament used: 1.45501m ;Layer height: 0.1 ;Generated with Cura_SteamEngine master T0 M116 M190 S60 M104 S210 M109 S210 G28 ;Home G1 Z15.0 F6000 ;Move the platform down 15mm ;Prime the extruder G92 E0 G1 F200 E3 G92 E0 ;LAYER_COUNT:198 ;LAYER:0 M107 G0 F3600 X84.08 Y79.922 Z0.3 ;TYPE:SKIRT G1 F1800 X84.623 Y79.349 E0.03938 G1 X85.222 Y78.834 E0.0788 G1 X85.87 Y78.383 E0.11818 G1 X86.561 Y77.999 E0.15762
Firmware Diagnostics
[[language]] M122 === Diagnostics === Used output buffers: 1 of 32 (7 max) === Platform === Static ram used: 20320 Dynamic ram used: 73016 Recycled dynamic ram: 872 Stack ram used: 968 current, 8104 maximum Never used ram: 28760 Last reset 01:01:32 ago, cause: power up Last software reset code 0x0003, HFSR 0x00000000, CFSR 0x00000000, ICSR 0x00400000, BFAR 0xe000ed38, SP 0xffffffff Spinning module during software reset: GCodes, available RAM 28760 bytes (slot 0) Error status: 0 Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest block write time: 53.1ms MCU temperature: min 8.8, current 28.1, max 32.1 Supply voltage: min 11.4, current 12.4, max 12.6, under voltage events: 0, over voltage events: 0 Driver 0: stalled standstill Driver 1: stalled standstill Driver 2: stalled standstill Driver 3: standstill Driver 4: standstill Date/time: 2017-07-29 11:36:02 Slowest main loop (seconds): 0.079315; fastest: 0.000000 === Move === MaxReps: 2, StepErrors: 0, MaxWait: 1613660ms, Underruns: 0, 0 Scheduled moves: 1, completed moves: 1 Bed compensation in use: none Bed probe heights: 0.000 0.000 0.000 0.000 0.000 Probe change coordinates: === Heat === Bed heater = 0, chamber heater = -1 Heater 0 is on, I-accum = 0.4 === GCodes === Segments left: 0 Stack records: 2 allocated, 0 in use 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 serial is idle in state(s) 0 aux is idle in state(s) 0 daemon is idle in state(s) 0 queue is idle in state(s) 0 Code queue is empty. === Network === WiFiServer is running SPI underruns 0, overruns 0 === Webserver === HTTP sessions: 1 of 8
Thank you for any help!
Cheers,
Shiven -
That is an incomplete Gcode file, it shows that there should be 198 layers if you read it…. but then the only gcode that follows is for the skirt.... it is missing the gcode that prints your part
-
I cut the other lines from the Gcode file - its my understanding it goes sequentially and never gets to the skirt anyway, so the issue would be up top. I can post the full file if desired - its just movements however.
-
One problem I can see is that you are using Cura, which always outputs absolute extruder moves, but you have M83 in your config.g file. I suggest you add M82 to the start gcode in Cura.
But this doesn't explain why the print completes at layer 1. We might need to see more of the gcode file.
-
Full Gcode https://justpaste.it/19hkt
What would be the preferred slicer for this board? I'm not exactly sold on cura, it just appeared to be everywhere at the moment so i thought i'd give it a shot. I used to use Skeinforge, but i was looking for something a bit more straightforward…
Cheers for the advice thus far!
Shiven
-
Please can you put that gcode on a file sharing site and then edit that last post to link to it instead of including all of it in that post. I am using a tablet and it would take me forever to scroll to the bottom of that post.
Does the G28 homing command complete before DWC says the print is complete? I am wondering whether something in your homeall.g file could be to blame.
-
Please can you put that gcode on a file sharing site and then edit that last post to link to it instead of including all of it in that post. I am using a tablet and it would take me forever to scroll to the bottom of that post.
Does the G28 homing command complete before DWC says the print is complete? I am wondering whether something in your homeall.g file could be to blame.
I have updated the original post with a link to a paste site. The G28 command doesn't run or at least doesn't run fully. I'm not sure what order G28 actually runs in but i have heard a click (like the endstop un-triggering perhaps, or a relay potentially) prior to the print saying 'completed'. It all seems a little odd to me.
Cheers,
ShivenEdit: Homeall.g
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool on Sat Jul 22 2017 23:44:03 GMT+0000 ; Relative positioning G91 ; Lift Z G1 Z5 F6000 ; Course home X or Y G1 X-205 Y-195 F1800 S1 ; Course home X G1 X-205 ; Course home Y G1 Y-195 : Move away from the endstops G1 X5 Y5 F6000 ; Fine home X G1 X-205 F360 S1 ; Fine home Y G1 Y-195 S1 ; Move Z down until the switch triggers G1 Z-160 F1800 S1 ; Absolute positioning G90 ; Tell the firmware where we are G92 Z2.5 ; Uncomment the following line to lift the nozzle after probing ;G1 Z5 F100
-
G28 homes the printer. If you send G28 from the console, does the printer home correctly?
-
+@dc42:
G28 homes the printer. If you send G28 from the console, does the printer home correctly?
Alrighty, seems things are a little odd when i run that command (whee, getting somewhere!).
To explain the behaviour; its a corexy printer, running g28 when;
-
the x/y endstops are triggered, only the z axis moves, homes normally and then stops.
-
The X endstop is triggered alone, y moves back into position & rattles in place (trying to drive) once endstop triggered
-
The Y endstop is triggered alone, x moves into position & rattles in place (trying to drive) once endstop triggered
It appears that those two endstops aren't stopping the x/y axis when g28 is run. Using the +10/-10 triggers however, the endstops are adhered to.
-
-
I can see 3 problem with that homeall.g file:
- The line "Move away from the endstops" begins with a colon instead of a semicolon. Fix that and I think your print will work.
- The G1 command on the line following "Course home X" should have S1 at the end
- Same for the line after "Course home Y". Fix those 2 and homing should work.
We will fix configtool to generate these lines correctly in future.
-
Looks to me like you are missing few "S1s" in your homing file.
Going through your homeall file it's fine up to course home X and Y. The next command you have is
; Course home X
G1 X-205That should be G1 S1 X-205 (the S1 tell it to look for an end stop to be triggered)
The following line is the same. That is to say G1 Y-195 should be G1 S1 Y-195.
The rest looks OK at a glance.
Edit. Was typing while DC was typing (and I missed the colon that David spotted).
-
Thank you dc42! (& deckingman!)
I'm now able to extrude plastic. That was a little tougher than i anticipated but have a position to launch myself from.
Thank you very much!
-
Glad to help, and I'm sorry that configtool introduced those errors.