Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Web printing doesn't work for me

    Scheduled Pinned Locked Moved
    General Discussion
    5
    14
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ian Techundefined
      Ian Tech
      last edited by

      Hey guys, I just recently got my duet wifi board and got my printer configured with it, but I am having a problem with printing through the web interface. I use cura as my slicer and save the gcode files and upload them to print. When I tell the web interface to print the files, it starts to heat up the hotend to the desired temperature but stops after it reaches that temperature and says the print is finished.

      I am using firmware 1.18.1, wifi server 1.03(ch fork), and web interface 1.15a. I feel like i might be using the wrong version of one of these.

      I would really appreciate any help.
      Thanks.

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        Check the gcode console page of the web interface for error messages. If you don't see any, please post the first 50 or so lines of the gcode file you are trying to print.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • Ian Techundefined
          Ian Tech
          last edited by

          Ok the console didn't show any errors, so here are the 1st 50 lines

          ;FLAVOR:RepRap
          ;TIME:4180
          ;Filament used: 3.91746m
          ;Layer height: 0.2
          ;Generated with Cura_SteamEngine 2.5.0
          M104 S200
          M109 S200
          G28 ;Home
          G1 Z15.0 F6000 ;Move the platform down 15mm
          ;Prime the extruder
          G92 E0
          G1 F200 E3
          G92 E0
          ;LAYER_COUNT:240
          ;LAYER:0
          M107
          G0 F3600 X72.149 Y90.483 Z0.3
          G0 X71.726 Y90.858
          ;TYPE:SKIRT
          G1 F1800 X72.149 Y90.483 E0.0282
          G1 X72.846 Y90.055 E0.06901
          G1 X73.48 Y89.75 E0.10411
          G1 X74.005 Y89.542 E0.13228
          G1 X74.555 Y89.41 E0.1605
          G1 X74.967 Y89.363 E0.18119
          G1 X99.404 Y87.85 E1.40269
          G1 X99.871 Y87.848 E1.42599
          G1 X101.958 Y87.963 E1.53027
          G1 X102.491 Y88.028 E1.55706
          G1 X104.422 Y88.398 E1.65515
          G1 X104.776 Y88.483 E1.67331
          G1 X105.668 Y88.74 E1.71962
          G1 X106.024 Y88.861 E1.73838
          G1 X107.576 Y89.471 E1.82158
          G1 X107.98 Y89.657 E1.84377
          G1 X109.543 Y90.482 E1.93194
          G1 X109.987 Y90.754 E1.95792
          G1 X111.678 Y91.951 E2.06128
          G1 X112.097 Y92.293 E2.08826
          G1 X113.549 Y93.649 E2.18738
          G1 X113.937 Y94.067 E2.21583
          G1 X115.411 Y95.902 E2.33326
          G1 X115.722 Y96.347 E2.36035
          G1 X116.387 Y97.454 E2.42477
          G1 X116.643 Y97.958 E2.45298
          G1 X116.826 Y98.493 E2.48119
          G1 X116.938 Y99.116 E2.51277
          G1 X117.011 Y99.846 E2.54937
          G1 X117.028 Y100.411 E2.57757
          G1 X116.964 Y100.973 E2.60579

          Thanks

          1 Reply Last reply Reply Quote 0
          • forgetsundefined
            forgets
            last edited by

            I'm getting the same type of behavior. Bed and hotend heat up, machine homes X,Y,Z, then print goes to 100% finished and machine starts to cool down. I'm running the same firmware versions as Ian Tech. Config generated by the online tool as well.

            Gcode console only reports the file was selected for printing:
            [c]12:14:19 AMM32 2020_nt.gcode
            File 2020_nt.gcode selected for printing[/c]

            I'm generating my gcode with simplify3d, first 50 or so lines:
            [c]
            ; G-Code generated by Simplify3D(R) Version 3.1.1
            ; May 2, 2017 at 8:37:24 PM
            G90
            M82
            M106 S0
            M140 S60
            M190 S60
            M104 S200 T0
            M109 S200 T0
            G28 ; home
            ; G29 S1 ; Load HeightMap
            G92 E0
            G1 E-1.6000 F2800
            G1 Z0.180 F1000
            ; layer 1, Z = 0.18
            T0
            ; tool H0.200 W0.480
            ; skirt
            G1 X124.076 Y125.720 F6000
            G1 E0.0000 F840
            G92 E0
            G1 X125.720 Y124.076 E0.0835 F1500
            G1 X126.337 Y123.820 E0.1075
            G1 X135.663 Y123.820 E0.4425
            G1 X136.280 Y124.076 E0.4665
            G1 X137.500 Y125.296 E0.5285
            G1 X138.720 Y124.076 E0.5905
            G1 X139.337 Y123.820 E0.6145
            G1 X148.663 Y123.820 E0.9494
            G1 X149.280 Y124.076 E0.9734
            G1 X150.000 Y124.796 E1.0100
            G1 X150.720 Y124.076 E1.0466
            G1 X151.337 Y123.820 E1.0706
            G1 X160.663 Y123.820 E1.4056
            G1 X161.280 Y124.076 E1.4296
            G1 X162.500 Y125.296 E1.4915
            G1 X163.720 Y124.076 E1.5535
            G1 X164.337 Y123.820 E1.5775
            G1 X173.663 Y123.820 E1.9125
            G1 X174.280 Y124.076 E1.9365
            G1 X175.924 Y125.720 E2.0200
            G1 X176.180 Y126.337 E2.0440
            G1 X176.180 Y135.663 E2.3790
            G1 X175.924 Y136.280 E2.4030
            G1 X174.704 Y137.500 E2.4650
            G1 X175.924 Y138.720 E2.5270
            G1 X176.180 Y139.337 E2.5510
            G1 X176.180 Y148.663 E2.8859
            G1 X175.924 Y149.280 E2.9099
            G1 X175.204 Y150.000 E2.9465
            G1 X175.924 Y150.720 E2.9831
            G1 X176.180 Y151.337 E3.0071
            G1 X176.180 Y160.663 E3.3421
            G1 X175.924 Y161.280 E3.3661
            G1 X174.704 Y162.500 E3.4280
            G1 X175.924 Y163.720 E3.4900
            G1 X176.180 Y164.337 E3.5140
            G1 X176.180 Y173.663 E3.8490
            G1 X175.924 Y174.280 E3.8730
            G1 X174.280 Y175.924 E3.9565
            G1 X173.663 Y176.180 E3.9805
            G1 X164.337 Y176.180 E4.3155
            G1 X163.720 Y175.924 E4.3395
            G1 X162.500 Y174.704 E4.4015
            G1 X161.280 Y175.924 E4.4634
            G1 X160.663 Y176.180 E4.4875
            G1 X151.337 Y176.180 E4.8224
            G1 X150.720 Y175.924 E4.8464
            G1 X150.000 Y175.204 E4.8830
            G1 X149.280 Y175.924 E4.9196
            G1 X148.663 Y176.180 E4.9436
            G1 X139.337 Y176.180 E5.2786
            G1 X138.720 Y175.924 E5.3026
            G1 X137.500 Y174.704 E5.3645
            G1 X136.280 Y175.924 E5.4265
            G1 X135.663 Y176.180 E5.4505
            G1 X126.337 Y176.180 E5.7855
            G1 X125.720 Y175.924 E5.8095
            G1 X124.076 Y174.280 E5.8930
            G1 X123.820 Y173.663 E5.9170
            G1 X123.820 Y164.337 E6.2520
            G1 X124.076 Y163.720 E6.2760
            G1 X125.296 Y162.500 E6.3380
            G1 X124.076 Y161.280 E6.3999
            G1 X123.820 Y160.663 E6.4240
            G1 X123.820 Y151.337 E6.7589
            G1 X124.076 Y150.720 E6.7829
            G1 X124.796 Y150.000 E6.8195
            G1 X124.076 Y149.280 E6.8561
            G1 X123.820 Y148.663 E6.8801
            G1 X123.820 Y139.337 E7.2151
            G1 X124.076 Y138.720 E7.2391
            G1 X125.296 Y137.500 E7.3010
            G1 X124.076 Y136.280 E7.3630
            G1 X123.820 Y135.663 E7.3870
            G1 X123.820 Y126.337 E7.7220
            [/c]

            I've tried with G29 S1 to load height map, and just as G28 without but no dice either way.

            contents of my homeall.g:
            [c]
            ; homeall.g
            ; called to home all axes
            ;
            ; generated by RepRapFirmware Configuration Tool on Tue Apr 25 2017 17:32:13 GMT-0400 (EDT)

            ; Relative positioning
            G91

            ; Lift Z
            G1 Z5 F6000

            ; Course home X or Y
            G1 X-305 Y305 F4000 S1
            ; Course home X
            G1 X-305 S1
            ; Course home Y
            G1 Y305 S1

            : Move away from the endstops
            G1 X5 Y-5 F6000

            ; Fine home X
            G1 X-305 F360 S1
            ; Fine home Y
            G1 Y305 S1

            ; Absolute positioning
            G90

            ; Go to first bed probe point and home Z
            G1 X20 Y30 F4000
            G30

            ; Uncomment the following line to lift the nozzle after probing
            ;G1 Z5 F100
            [/c]

            Hopefully that helps diagnose this as well.

            1 Reply Last reply Reply Quote 0
            • deckingmanundefined
              deckingman
              last edited by

              I'm away from home and on my phone right now but seem to remember something similar in another thread and the fix was to change the "flavour" from reprap to Marlin.

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

              1 Reply Last reply Reply Quote 0
              • forgetsundefined
                forgets
                last edited by

                I just tried a new RRF config in case something was wrong, and it defaults to Marlin, deckingman. I tried toggling it to something else then back to Marlin, but it's still not working. I downgraded to 1.17E and I'm still getting the same results. All the previous gcode on my machine that worked now exhibits the "100% finished after homing" behavior. Maybe this was a result of the web interface upgrade? I'm going to see if that's downgrade-able next.. machine worked fine on 1.17E and the previous versions of web interface.

                1 Reply Last reply Reply Quote 0
                • deckingmanundefined
                  deckingman
                  last edited by

                  Just a thought. Have you got your config.g set to use absolute extrusion to match what you are using in the slicer ? If it's set to use relative in config .g but absolute in the slicer, that might screw it.
                  The comment about firmware flavour was for the guy using Cura as there is a comment in his start gcode saying RepRap as the flavour.

                  Ian
                  https://somei3deas.wordpress.com/
                  https://www.youtube.com/@deckingman

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators
                    last edited by

                    @Ian Tech, your gcode looks OK except that I recommend you include M82 in your slicer start gcode to tell it you are using absolute extrusion (Cura doesn't support relative).

                    @forgets, your gcode looks OK too, but as you are using S3D I recommend you switch it to use relative extrusion.

                    Both of you, what M563 command are you using to define tool 0?

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    1 Reply Last reply Reply Quote 0
                    • Ian Techundefined
                      Ian Tech
                      last edited by

                      @dc42 I added M82 to the start gcode and M563 P0 D4 H1 but there was no difference.

                      @deckingman The reprap option says marlin and sprinter in parenthesis in cura

                      1 Reply Last reply Reply Quote 0
                      • forgetsundefined
                        forgets
                        last edited by

                        @Ian Tech try hand editing your homeall.g file.. I took out all the extraneous spaces and notations and it prints again. I think it's possible the RRF configurator is adding some characters in that are causing it to stall / pause. I hope the fix works for you Ian Tech.

                        @dc42 I'll post if I find any differences so hopefully it can get sorted out. Maybe there's a character limit being exceeded with the homeall.g file that's being generated by RRF configurator? I just redid my settings for the file by hand typing them out and it works.. so… it's fixed.. but it seems like there's a bug there somewhere. Let me know what you need me to post to help you replicate so it can be squashed for future versions.

                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by

                          If you can send me a homeall.g file that replicates the problem, that would be helpful.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          1 Reply Last reply Reply Quote 0
                          • Ian Techundefined
                            Ian Tech
                            last edited by

                            Ok Removing many comments in homeall.g fixed the problem… Thank you guys for the help
                            @dc42 I don't have it but more than 1/2 of the whole file was comments.

                            1 Reply Last reply Reply Quote 0
                            • forgetsundefined
                              forgets
                              last edited by

                              @dc42, here's the complete contents of the homeall.g

                              [c]; homeall.g
                              ; called to home all axes
                              ;
                              ; generated by RepRapFirmware Configuration Tool on Wed May 03 2017 00:57:00 GMT-0400 (EDT)

                              ; Relative positioning
                              G91

                              ; Lift Z
                              G1 Z5 F6000

                              ; Course home X or Y
                              G1 X-305 Y305 F1800 S1
                              ; Course home X
                              G1 X-305
                              ; Course home Y
                              G1 Y305

                              : Move away from the endstops
                              G1 X5 Y-5 F6000

                              ; Fine home X
                              G1 X-305 F360 S1
                              ; Fine home Y
                              G1 Y305 S1

                              ; Absolute positioning
                              G90

                              ; Go to first bed probe point and home Z
                              G1 X30 Y30 F6000
                              G30

                              ; Uncomment the following line to lift the nozzle after probing
                              ;G1 Z5 F100[/c]

                              I don't have a dropbox account or anything so if you'd like me to send it to you give me an email address or let me know what's the easiest way to get it to you. Glad the fix is pretty simple on the user end, hopefully it will be on yours too.

                              1 Reply Last reply Reply Quote 0
                              • Luxinundefined
                                Luxin
                                last edited by

                                I would just like to add to this. I have just commissioned my printer with the Duet WiFi. Same issue. Same fix by editing the homeall.g file.

                                This is working:
                                G91 ; relative mode
                                G1 Z4 F200 ; raise head 4mm
                                G1 X-300 F3000 S1 ; move up to 240mm in the -X direction, stopping if the homing switch is triggered
                                G1 X4 F600 ; move slowly 4mm in the +X direction
                                G1 X-10 S1 ; move slowly 10mm in the -X direction, stopping at the homing switch
                                G1 Y200 F3000 S1 ; move up to 240mm in the +Y direction, stopping if the homing switch is triggered
                                G1 Y-4 F600 ; move slowly 4mm in the -Y direction
                                G1 Y10 S1 ; move slowly 10mm in the +Y direction, stopping at the homing switch
                                G1 Z5 F6000 ; Raise Head 5mm
                                G1 Z-325 F1800 S1 ; Move Z down until the switch triggers
                                G90 ; Back to absolute positioning
                                G92 Z2.5 ; Tell the firmware where we are

                                Firmware Name: RepRapFirmware for Duet WiFi
                                Firmware Electronics: Duet WiFi 1.0
                                Firmware Version: 1.18.1 (2017-04-09)
                                WiFi Server Version: 1.03 (ch fork)
                                Web Interface Version: 1.15a

                                D-Bot

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Unless otherwise noted, all forum content is licensed under CC-BY-SA