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

    Duet 2 Wifi not reading line of code

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    22
    681
    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.
    • PRIOR123undefined
      PRIOR123
      last edited by

      Hi All,

      Im trying to sort out my homing commands and am using the below. However the printer doesnt seem to be reading the BOLD

      G1 H2 Z-5 F6000 ; lift Z relative to current position

      G1 H1 X505 F1800 ; move quickly to X axis endstop and stop there (first pass)

      **G1 H2 X-5 F6000 ; go back a few mm

      G1 H1 X505 F360 ; move slowly to X axis endstop once more (second pass)**

      G1 H2 Z5 F6000 ; lower Z again

      G90 ; absolute positioning

      i know it will likely be my coding however im not sure whats wrong. Any help is much appreciated

      PRIOR123undefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
      • PRIOR123undefined
        PRIOR123 @PRIOR123
        last edited by

        I guess it would be useful to understand what H and F codes mean to if anyone is able to explain

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

          @prior123 said in Duet 2 Wifi not reading line of code:

          I guess it would be useful to understand what H and F codes mean to if anyone is able to explain

          See here - https://duet3d.dozuki.com/Wiki/G1

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

          PRIOR123undefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @PRIOR123
            last edited by

            @prior123 do you mean its homing properly, just not doing the back off and re try slower part?

            www.duet3d.com

            PRIOR123undefined 1 Reply Last reply Reply Quote 0
            • PRIOR123undefined
              PRIOR123 @T3P3Tony
              last edited by

              @t3p3tony - Yeah eactly, however i just tried to update the firmware to 3.3 and it went wrong.

              I have just connect it to YAT to try ad get it on the WIFI again and is giving me this

              Error: M587: Failed to add SSID to remembered list: another SPI transfer is pending

              Not sure you would know what id need to do?

              PRIOR123undefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
              • PRIOR123undefined
                PRIOR123 @deckingman
                last edited by

                @deckingman Thank you

                1 Reply Last reply Reply Quote 0
                • PRIOR123undefined
                  PRIOR123 @PRIOR123
                  last edited by

                  im unable to disconnect or reconnect due to this. Is there a way i can reset the firmware?

                  1 Reply Last reply Reply Quote 0
                  • T3P3Tonyundefined
                    T3P3Tony administrators @PRIOR123
                    last edited by

                    @prior123 try resetting the board.

                    What part of the upgrade to 3.3 went wrong.?

                    In YAT what is the response to M115?

                    www.duet3d.com

                    1 Reply Last reply Reply Quote 0
                    • PRIOR123undefined
                      PRIOR123
                      last edited by

                      @t3p3tony How do i reset the board?

                      PRIOR123undefined 1 Reply Last reply Reply Quote 0
                      • PRIOR123undefined
                        PRIOR123 @PRIOR123
                        last edited by

                        @prior123 it seemed like it had frozen on the DWC when installing (i expect i disconnected before i shoudve)
                        M115 says this

                        FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet

                        FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet WiFi 1.02 or later

                        FIRMWARE_DATE: 2021-06-15 21:45:03

                        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          T3P3Tony administrators @PRIOR123
                          last edited by

                          @prior123 ok and does DWC work now?

                          www.duet3d.com

                          PRIOR123undefined 1 Reply Last reply Reply Quote 0
                          • PRIOR123undefined
                            PRIOR123 @T3P3Tony
                            last edited by

                            @t3p3tony no, i cant get onto it at all

                            T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
                            • T3P3Tonyundefined
                              T3P3Tony administrators @PRIOR123
                              last edited by

                              @prior123 if you send M552 what response do you get?

                              www.duet3d.com

                              PRIOR123undefined 1 Reply Last reply Reply Quote 0
                              • T3P3Tonyundefined
                                T3P3Tony administrators @PRIOR123
                                last edited by

                                @prior123 also M122

                                www.duet3d.com

                                PRIOR123undefined 1 Reply Last reply Reply Quote 0
                                • PRIOR123undefined
                                  PRIOR123 @T3P3Tony
                                  last edited by

                                  @t3p3tony

                                  WiFi module is being started

                                  1 Reply Last reply Reply Quote 0
                                  • PRIOR123undefined
                                    PRIOR123 @T3P3Tony
                                    last edited by

                                    @t3p3tony
                                    === Diagnostics ===
                                    RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later
                                    Board ID: 0JD0M-9P6M2-NWNS4-7JKD8-3SD6S-KU1BM
                                    Used output buffers: 1 of 24 (2 max)
                                    === RTOS ===
                                    Static ram: 23876
                                    Dynamic ram: 75400 of which 0 recycled
                                    Never used RAM 15140, free system stack 170 words
                                    Tasks: NETWORK(ready,7.7%,517) HEAT(delaying,0.0%,330) Move(notifyWait,0.1%,340) MAIN(running,92.1%,445) IDLE(ready,0.0%,29), total 100.0%
                                    Owned mutexes: USB(MAIN)
                                    === Platform ===
                                    Last reset 00:47:08 ago, cause: power up
                                    Last software reset details not available
                                    Error status: 0x00
                                    Aux0 errors 0,0,0
                                    Step timer max interval 0
                                    MCU temperature: min 20.9, current 23.1, max 25.3
                                    Supply voltage: min 0.4, current 0.5, max 24.0, under voltage events: 1, over voltage events: 0, power good: no
                                    Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
                                    Driver 0: position 0, standstill, SG min/max not available
                                    Driver 1: position 0, standstill, SG min/max not available
                                    Driver 2: position 0, standstill, SG min/max not available
                                    Driver 3: position 0, standstill, SG min/max not available
                                    Driver 4: position 0, standstill, SG min/max not available
                                    Driver 5: position 0
                                    Driver 6: position 0
                                    Driver 7: position 0
                                    Driver 8: position 0
                                    Driver 9: position 0
                                    Driver 10: position 0
                                    Driver 11: position 0
                                    Date/time: 1970-01-01 00:00:00
                                    Cache data hit count 4294967295
                                    Slowest loop: 101.38ms; fastest: 0.14ms
                                    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 2.9ms, write time 0.0ms, max retries 0
                                    === Move ===
                                    DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
                                    === MainDDARing ===
                                    Scheduled moves 0, completed moves 0, 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, chamberHeaters = -1 -1 -1 -1
                                    Heater 1 is on, I-accum = 0.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 ready with "M122" 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: 0.32ms; fastest: 0.00ms
                                    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
                                    HTTP sessions: 0 of 8

                                    • WiFi -
                                      Network state is starting2
                                      WiFi module is disabled
                                      Failed messages: pending 0, notready 0, noresp 0
                                      Socket states: 0 0 0 0 0 0 0 0
                                      ok
                                    1 Reply Last reply Reply Quote 0
                                    • droftartsundefined
                                      droftarts administrators
                                      last edited by

                                      @prior123 Reflash the WiFi firmware from a USB terminal connection with M997 S1. It occasionally fails when updating all firmware files.

                                      Ian

                                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                      PRIOR123undefined 1 Reply Last reply Reply Quote 0
                                      • PRIOR123undefined
                                        PRIOR123 @droftarts
                                        last edited by

                                        @droftarts said in Duet 2 Wifi not reading line of code:

                                        M997 S1

                                        its says this :s

                                        Error: M997: File 0:/firmware/DuetWiFiServer.bin not found

                                        droftartsundefined 1 Reply Last reply Reply Quote 0
                                        • droftartsundefined
                                          droftarts administrators @PRIOR123
                                          last edited by droftarts

                                          @prior123 I guess you updated from 3.2, so firmware folder is not created yet. Try

                                          M997 S1 P”0:/sys/DuetWiFiServer.bin”
                                          

                                          Ian

                                          @prior123 said in Duet 2 Wifi not reading line of code:

                                          @droftarts said in Duet 2 Wifi not reading line of code:

                                          M997 S1

                                          its says this :s
                                          Error: M997: File 0:/firmware/DuetWiFiServer.bin

                                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                          PRIOR123undefined 1 Reply Last reply Reply Quote 0
                                          • PRIOR123undefined
                                            PRIOR123 @droftarts
                                            last edited by

                                            @droftarts said in Duet 2 Wifi not reading line of code:

                                            M997 S1 P”0:/sys/DuetWiFiServer.bin”

                                            It posted this
                                            Error: M997: expected string expression
                                            Thank you and im sorry this is being such a pain. I need to be more patient haha

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