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

    Cannot Connect to Duet 3 Web Control

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    69
    3.6k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Alright, I think we've solved the firmware problem since it's able to speak with YAT now and it is taking and executing commands.

      I think we have the SD card issue solved.

      Can you post your current config.g from the /sys/ folder please?

      Z-Bot CoreXY Build | Thingiverse Profile

      Frank 0undefined 1 Reply Last reply Reply Quote 0
      • Frank 0undefined
        Frank 0 @Phaedrux
        last edited by

        @phaedrux81d203ad-5107-4606-8185-eec35b821793-image.png

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          Copy and paste the text please.

          Z-Bot CoreXY Build | Thingiverse Profile

          Frank 0undefined 1 Reply Last reply Reply Quote 0
          • Frank 0undefined
            Frank 0 @Phaedrux
            last edited by

            @phaedrux ; Configuration file for Duet 3 (firmware version 3)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.3 on Thu Jul 15 2021 14:31:46 GMT-0700 (Pacific Daylight Time)

            ; General preferences
            G90 ; send absolute coordinates...
            M83 ; ...but relative extruder moves
            M550 P"My Printer" ; set printer name

            ; Network
            M552 P192.168.2.2 S1 ; enable network and set IP address
            M553 P255.255.255.0 ; set netmask
            M554 P192.168.1.254 ; set gateway
            M586 P0 S1 ; enable HTTP
            M586 P1 S0 ; disable FTP
            M586 P2 S0 ; disable Telnet

            ; Drives
            M569 P0.0 S1 ; physical drive 0.0 goes forwards
            M569 P0.1 S1 ; physical drive 0.1 goes forwards
            M569 P0.2 S1 ; physical drive 0.2 goes forwards
            M569 P0.3 S1 ; physical drive 0.3 goes forwards
            M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
            M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
            M92 X80.00 Y80.00 Z400.00 E420.00 ; set steps per mm
            M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
            M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
            M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
            M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
            M84 S30 ; Set idle timeout

            ; Axis Limits
            M208 X0 Y0 Z0 S1 ; set axis minima
            M208 X230 Y210 Z200 S0 ; set axis maxima

            ; Endstops
            ; WARNING: No endstops configured

            ; Z-Probe
            M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
            M557 X15:215 Y15:195 S20 ; define mesh grid

            ; Heaters
            M308 S0 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp1
            M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
            M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
            M140 H0 ; map heated bed to heater 0
            M143 H0 S120 ; set temperature limit for heater 0 to 120C
            M308 S1 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp0
            M950 H1 C"out2" T1 ; create nozzle heater output on out2 and map it to sensor 1
            M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
            M143 H1 S280 ; set temperature limit for heater 1 to 280C

            ; Fans
            M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency
            M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
            M950 F1 C"!out6" Q500 ; create fan 1 on pin !out6 and set its frequency
            M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on

            ; Tools
            M563 P0 D0 H1 F0 ; 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

            ; Custom settings are not defined

            Phaedruxundefined 1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator @Frank 0
              last edited by

              @frank-0 said in Cannot Connect to Duet 3 Web Control:

              M554 P192.168.1.254 ; set gateway

              Does this match the gateway you have set on your PC?

              On your PC open a command prompt and send ipconfig and see what it says.

              Z-Bot CoreXY Build | Thingiverse Profile

              Frank 0undefined 1 Reply Last reply Reply Quote 0
              • Frank 0undefined
                Frank 0 @Phaedrux
                last edited by

                @phaedrux I currently use one ethernet running to the router so my computer has wifi. Then I use another ethernet connected to the board and the desktop (via USB adapter). Only one of the ethernet cords shows information about IP/gateway. And this one does not match

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  One last test before we call it hardware failure.

                  Edit your config.g and remove these lines entirely

                  ; Network
                  M552 P192.168.2.2 S1 ; enable network and set IP address
                  M553 P255.255.255.0 ; set netmask
                  M554 P192.168.1.254 ; set gateway
                  

                  Replace them with just M552 S1 and boot up with the Duet connected to your router. It should attempt to get a DHCP address. If the port LEDs light up, then we just need to query the Duet in YAT to get the IP address.. IF no lights, then the port is probably dead and we will replace the board under warranty.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  Frank 0undefined 1 Reply Last reply Reply Quote 0
                  • Frank 0undefined
                    Frank 0 @Phaedrux
                    last edited by

                    @phaedrux I removed the lines and replaced it with M552 S1. I plugged in the USB on the duet and connected ethernet to router. Nothing happened. I opened YAT and tried some commands, but nothing has changed. Still no lights.

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      When and where did you purchase your product?

                      Please send an email to warranty@duet3d.com and CC your reseller. Include a link to this forum thread and the details of your original purchase. You'll receive a reply with a form to fill out.

                      Sorry for the inconvenience.

                      Z-Bot CoreXY Build | Thingiverse Profile

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