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

    Weird Issue with Duet Wifi Wifi connection

    Scheduled Pinned Locked Moved
    General Discussion
    6
    40
    1.5k
    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.
    • Norderundefined
      Norder @GBusy24
      last edited by Norder

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • Norderundefined
        Norder @GBusy24
        last edited by

        @gbusy24 said in Weird Issue with Duet Wifi Wifi connection:

        @phaedrux It is my x endstop switch. @Phaedrux I'm glad I'm having this conversation with you because what brought about these issues is the fact that I have been revamping my print carriage setup and changing from E3D V6 to Titan Aero and I printed your remix of a carriage on Thingiverse. I couldn't figure out how to wire the switch minus the PCB, so I did this. Can you share with me how to wire the switch directly to the board W/O using the PCB?

        https://docs.duet3d.com/User_manual/Connecting_hardware/Sensors_endstops

        GBusy24undefined 1 Reply Last reply Reply Quote 1
        • GBusy24undefined
          GBusy24 @Norder
          last edited by

          @günter-jibben Wow, Thanks! Didn't know this info was out there.

          No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

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

            Cool to see you've printed the carriage. I think you've got it sorted now though. The switch by itself doesn't actually require the PCB at all.

            Z-Bot CoreXY Build | Thingiverse Profile

            GBusy24undefined 1 Reply Last reply Reply Quote 0
            • GBusy24undefined
              GBusy24 @Phaedrux
              last edited by GBusy24

              @phaedrux Thank you. Not sure how to interpret this.Screenshot (37).png Sure could use a diagram.

              No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

              engikeneerundefined 1 Reply Last reply Reply Quote 0
              • engikeneerundefined
                engikeneer @GBusy24
                last edited by

                @gbusy24 outer 2 pins on the switch to the outer 2 pins on the Duet WiFi endstop plug. Doesn't matter which one goes to which, just don't connect the middle pins on either 🙂

                E3D TC with D3Mini and Toolboards.
                Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                i3 clone with a bunch of mods

                GBusy24undefined 3 Replies Last reply Reply Quote 0
                • GBusy24undefined
                  GBusy24 @engikeneer
                  last edited by

                  @engikeneer okay, great. Thank you

                  No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

                  1 Reply Last reply Reply Quote 0
                  • GBusy24undefined
                    GBusy24 @engikeneer
                    last edited by

                    @engikeneer I was able to put e-thing back togather last night and the Xstop wiring is correct now, but it is showing triggered when it's not and I thought the fix for this was changing the M574 command from S1 to S0 or vice versa, but that's not working. What am I doing wrong now?

                    No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

                    1 Reply Last reply Reply Quote 0
                    • GBusy24undefined
                      GBusy24 @engikeneer
                      last edited by

                      @engikeneer ; Configuration file for Duet WiFi (firmware version 3.3)
                      ; executed by the firmware on start-up
                      ;
                      ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jan 24 2022 20:50:56 GMT-0500 (Eastern Standard Time)

                      ; General preferences
                      G90 ; send absolute coordinates...
                      M83 ; ...but relative extruder moves
                      M550 P"CoreXY 1" ; set printer name
                      M669 K1 ; select CoreXY mode

                      ; Network
                      M552 S1 ; enable network
                      M586 P0 S1 ; enable HTTP
                      M586 P1 S0 ; disable FTP
                      M586 P2 S0 ; disable Telnet

                      ; Drives
                      M569 P0 S0 ; physical drive 0 goes forwards
                      M569 P1 S0 ; physical drive 1 goes forwards
                      M569 P2 S0 ; physical drive 2 goes forwards
                      M569 P3 S0 ; physical drive 3 goes forwards
                      M584 X0 Y1 Z2 E3 ; set drive mapping
                      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
                      M92 X80.00 Y80.00 Z400.00 E852 ; 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 Z900.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 E1200 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 X320 Y185 Z300 S0 ; set axis maxima

                      ; Endstops
                      M574 X1 S1 P"!xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
                      M574 Y2 S1 P"!ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop
                      M574 X1 Y2 S1 ; X home to min. Y home to max. Normally Closed limit switches.
                      M574 Z1 S2 ; Define Z to use Probe. Home to Min

                      ; Z-Probe
                      M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
                      M558 P9 C"^zprobe.in" H5 F120 T6000
                      G31 P500 X-41.8 Y32.2 Z2.2
                      M557 X10:320 Y0:190 S50 ; define mesh grid

                      ; Heaters
                      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
                      M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
                      M307 H0 R0.495 K0.404:0.000 D4.40 E1.35 S1.00 B0; disable 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"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
                      M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat 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"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
                      M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
                      M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 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
                      M501

                      No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

                      engikeneerundefined 1 Reply Last reply Reply Quote 0
                      • engikeneerundefined
                        engikeneer @GBusy24
                        last edited by

                        @gbusy24 you want to remove the exclamation mark from the pin name as that inverts the signal.

                        The S parameter sets the type of endstop, so should be S1 for X and Y.

                        You have also set your locations to be low end for x (I.e. the endstop is at x=0) and high end for Y (I.e. the endstop is at y=185). That is set by the X & Y parameters respectively.

                        See the docs for more details
                        https://docs.duet3d.com/User_manual/Reference/Gcodes#m574-set-endstop-configuration

                        E3D TC with D3Mini and Toolboards.
                        Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                        i3 clone with a bunch of mods

                        GBusy24undefined 1 Reply Last reply Reply Quote 0
                        • GBusy24undefined
                          GBusy24 @engikeneer
                          last edited by GBusy24

                          @engikeneer I tried removing the ! And it didn't change anything. Yes I have my Y set up like that because my end stop is at the back of the bed. I will give all this a look over again to try and figure out what I'm doing wrong and get back with you. I appreciate your response.

                          No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

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