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

Unable to print G Code files.

Scheduled Pinned Locked Moved
Duet Web Control
6
15
1.7k
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.
  • undefined
    hussainsail2002
    last edited by 17 Dec 2018, 06:02

    I have wired my Duet wifi Board and I am able to Jog the machine and control everything through the web browser. Everything works fine. When I try to print though it gives me the following error.

    M32 "3DBenchy.gcode"
    GCode file ""3DBenchy.gcode"" not found
    Failed to open file "3DBenchy.gcode"

    I feel like I am missing something basic.

    Hussain

    undefined 1 Reply Last reply 17 Dec 2018, 09:18 Reply Quote 0
    • undefined
      JoergS5 @hussainsail2002
      last edited by JoergS5 17 Dec 2018, 09:18

      @hussainsail2002 There are a few M32 related threads here and you can find them by searching. One try you can make is to add a / in front of the filename (after the double quote), one other reason is release related, so please tell the firmware and DWC version. Another reason could be using the wrong sd card, please check https://forum.duet3d.com/topic/3166/m32-gcode-file-hindge-gcode-not-found/2
      Another possibility is that (if you use windows), an editor added .txt to the filename.

      1 Reply Last reply Reply Quote 0
      • undefined
        hussainsail2002
        last edited by 17 Dec 2018, 10:57

        @JoergS5
        Thanks for the reply.

        The firmware version is: 1.19 and Web interface version is : 1.21.2-dc42

        Hussain

        undefined 1 Reply Last reply 17 Dec 2018, 13:09 Reply Quote 0
        • undefined
          timcurtis67
          last edited by 17 Dec 2018, 11:34

          Are you sure you are loading the file named "3DBenchy.gcode" onto your SD card through DWC? Is it possible that you are loading "3DBenchy.stl" instead?

          I would pop the SD card out of your Duet and put it in a computer to see if the file is loaded on it.

          1 Reply Last reply Reply Quote 0
          • undefined
            hussainsail2002
            last edited by 17 Dec 2018, 12:37

            @timcurtis67

            Yes am sure its a gcode file. I sliced it and saved the gcode on my desktop and uploaded the gcode file through the web browser.I opened the file again and cross checked again as well.

            Hussain.

            1 Reply Last reply Reply Quote 0
            • undefined
              DocTrucker
              last edited by DocTrucker 17 Dec 2018, 12:47

              Just for a sanity check I would suggest downloading the gcode file from the machine (don't just use the original file from your computer) and upload the file to the following webpage just to check it is valid:

              http://gcode.ws/

              Second thing I'd try is instead of:

              M32 "filename.g"

              Try:

              M23 "filename.g"

              ...followed by:

              M24

              Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators @hussainsail2002
                last edited by 17 Dec 2018, 13:09

                @hussainsail2002, you are running an old firmware version and I think you are running a much newer version of the web browser. The old firmware doesn't accept the quotation marks that the newer web browser uses. I suggest you upgrade your main firmware to 2.02 or 2.02RC6.

                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

                undefined 1 Reply Last reply 18 Dec 2018, 06:40 Reply Quote 0
                • undefined
                  hussainsail2002 @dc42
                  last edited by 18 Dec 2018, 06:40

                  @dc42

                  I tried Updating the firmware:

                  I downloaded the file called duet2combinedfirmware.bin

                  I opened up the web browser page and clicked on settings. In settings I clicked on upload files and chose the .bin file that I saved earlier.

                  It gave me a message:

                  "You have just uploaded a firmware file. Would you like to update your Duet now?"

                  I pressed the Yes option.

                  It then gives me the following error

                  M997 S0
                  Error: Firmware binary "DuetWiFiFirmware.bin" not found

                  Am I doing this correctly ?

                  Hussain

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 18 Dec 2018, 08:03

                    See https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Upgrading_a_Duet_2_WiFi_or_Ethernet_to_firmware_1_21_or_later_from_1_20_or_earlier. As you have already upgraded DuetWebControl, your simplest option is to rename the uploaded file from Duet2CombinedFirmware.bin to DuetWiFiFirmware.bin. You can do this in the System Editor page of DWC. Then send M997 S0 through the GCode Console page.

                    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

                    undefined 2 Replies Last reply 18 Dec 2018, 08:58 Reply Quote 0
                    • undefined
                      hussainsail2002 @dc42
                      last edited by 18 Dec 2018, 08:58

                      @dc42

                      I went to the system editor page under settings , right clicked on Duet2CombinedFirmware.bin and renamed it to DuetWiFiFirmware.bin

                      When I type M997 S0 in the console I get the following error

                      M997 S0
                      Error: In-application programming binary "iap4e.bin" not found

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        hussainsail2002 @dc42
                        last edited by 18 Dec 2018, 09:11

                        @dc42

                        So I googled the problem and downloaded the file iap4e.bin and copied it to the SD card.

                        Once I got the SD card back in the board I tried M997 S0 , at first it said updating firmware so connection is closed . I then reconnected a few minutes later and typed M997 S0 and it now gives me a new error

                        M997 S0
                        Error: M997: Firmware binary "Duet2CombinedFirmware.bin" not found

                        Following are the version details that are mentioned under the settings tab

                        Firmware Version: 2.02RC6(RTOS) (2018-12-15b2)
                        WiFi Server Version: 1.19
                        Web Interface Version: 1.21.2-dc42

                        undefined 1 Reply Last reply 18 Dec 2018, 09:25 Reply Quote 0
                        • undefined
                          aidar @hussainsail2002
                          last edited by 18 Dec 2018, 09:25

                          @hussainsail2002 said in Unable to print G Code files.:

                          @dc42

                          So I googled the problem and downloaded the file iap4e.bin and copied it to the SD card.

                          Once I got the SD card back in the board I tried M997 S0 , at first it said updating firmware so connection is closed . I then reconnected a few minutes later and typed M997 S0 and it now gives me a new error

                          M997 S0
                          Error: M997: Firmware binary "Duet2CombinedFirmware.bin" not found

                          Following are the version details that are mentioned under the settings tab

                          Firmware Version: 2.02RC6(RTOS) (2018-12-15b2)
                          WiFi Server Version: 1.19
                          Web Interface Version: 1.21.2-dc42

                          You dont need this file anymore as you have now latest firmware already (2.02RC6). Now you should update wifi server and duet web control to latest also.

                          undefined 1 Reply Last reply 18 Dec 2018, 09:48 Reply Quote 0
                          • undefined
                            hussainsail2002 @aidar
                            last edited by hussainsail2002 18 Dec 2018, 09:48

                            @aidar

                            I have updated the server and web control by uploading the .bin file and .zip file accordingly.

                            Firmware Version: 2.02RC6(RTOS) (2018-12-15b2)
                            WiFi Server Version: 1.21
                            Web Interface Version: 1.22.5

                            When I type M997 S0 I still get the same error message.

                            M997 S0
                            Error: M997: Firmware binary "Duet2CombinedFirmware.bin" not found

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              aidar
                              last edited by 18 Dec 2018, 09:51

                              As i said before - you already have latest firmware installed, forget about M997 command, go testing and printing.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                hussainsail2002
                                last edited by 1 Jan 2019, 10:35

                                Thank you!!

                                I got it working !

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