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

    Duet Wifi - M587 unsupported command

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    8
    458
    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.
    • rotarysmpundefined
      rotarysmp
      last edited by dc42

      Hi All,

      I have a working printer. A Mendel90 derivative a good friend designed. He did the original Duet Wifi set up. I just replaced my WiFi router, so I need to reconnect to the new router.

      I tried the instructions on:
      https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7

      I am at an older version 1.18.1, but since it was working before, don't want to add variables by upgrading.

      In YAT I get...

      M115
      FIRMWARE_NAME: RepRapFirmware for Duet WiFi FIRMWARE_VERSION: 1.18.1 ELECTRONICS: Duet WiFi 1.0 FIRMWARE_DATE: 2017-04-09<LF>ok<LF>DuetWiFiServer version 1.03 (ch fork)<LF>Flash size 4194304, free RAM 34296 bytes, WiFi Vcc 3.07V, host name: duetwifi, reset reason: Turned on by main processor<LF>WiFi is running as an access point with name DuetWiFi<LF>
      M552
      Network is enabled, configured IP address: 192.168.1.10, actual IP address: 0.0.0.0<LF>ok<LF>
      M552 S0
      WiFi server stopped<LF>ok<LF>
      M587 S" removed from this thread " P"removed from this thread"
      unsupported command: M587 S"xxxxxxx" P"xxxxxxxxxx"<LF>ok<LF>

      I then tried the Macro method from here:
      https://www.instructables.com/id/Duet-WiFi-Activate-and-Connect-the-WiFi-When-It-Do/

      M552 S0<br>G4 P10000
      M587 S"xxxxxxx" P"xxxxxxxxxx"

      The instructions in the link above say to start the WiFi with M552 S0. I thought that ends it?
      Anyway, I pulled the USB plug, replugged it and restarted YAT and have...
      M552
      Network is enabled, configured IP address: 192.168.1.10, actual IP address: 0.0.0.0<LF>ok<LF>

      I get:
      M98 P/macros/SetNetwork
      Dud IP address: M552 S0<br>G4 P10000<LF>WiFi server stopped<LF>unsupported command: M587 S"xxxxxxxx" P"xxxxxxxx"<LF>ok<LF>

      Checking the G-Code list, that M552 P100000 seems weird, so I tried replacing it with P0.0.0.0.

      Now when I call the Set network macro, it doesn't error out on the first line, but I get the same "unsupported command" error on the second line.
      M98 P/macros/SetNetwork
      unsupported command: M587 S"xxxxxxxxxx" P"xxxxxxxxxxx"<LF>ok<LF>

      I searched the web, but only found one link to this behaviour, but that thread drifted off into a Z homing issue.

      I would appreciate your help in getting this reconnected and running again.
      Mark

      rotarysmpundefined 1 Reply Last reply Reply Quote 0
      • rotarysmpundefined
        rotarysmp @rotarysmp
        last edited by

        @rotarysmp Sorry, that header should read M587. If an Admin could ammend it, I appreciate that.
        Mark

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

          The connection instructions were completely different prior to firmware 1.19 and the associated WiFi firmware. Use a smartphone to look for wifi networks, find the one called Duet, connect to that (I think you may need to enter IP address 192.168.1.1) and enter your access point details there.

          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
          • rotarysmpundefined
            rotarysmp
            last edited by

            Thanks for you prompt response, and for correcting my error in the header.

            So if I understand that correctly, I need to go into the new WiFi access points setup and connect to the Duet, rather than use the Duet to connect to the axis point?
            Mark

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

              @rotarysmp said in Duet Wifi - M587 unsupported command:

              So if I understand that correctly, I need to go into the new WiFi access points setup and connect to the Duet, rather than use the Duet to connect to the axis point?
              Mark

              Yes. With the old firmware, when the Duet can't find an access point to connect to, it provides a temporary one itself that you must connect to in order to enter the settings for your router.

              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
              • rotarysmpundefined
                rotarysmp
                last edited by

                If I go the other route and upgrade from 1.18 to the current version, were there any significant changes which will need to modified in my printer set up?

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

                  @rotarysmp said in Duet Wifi - M587 unsupported command:

                  If I go the other route and upgrade from 1.18 to the current version, were there any significant changes which will need to modified in my printer set up?

                  Some changes to config.g may be needed. Look at all the "Upgrade notes" sections at https://github.com/dc42/RepRapFirmware/blob/dev/WHATS_NEW.md, from version 1.19 up to the latest version (2.04).

                  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
                  • rotarysmpundefined
                    rotarysmp
                    last edited by

                    With some help from my mate and this thread:
                    https://forum.duet3d.com/topic/1595/quick-fire-question-change-wifi-network-ap-router
                    ...it is up and running again.

                    Thanks for the support.
                    Mark

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