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

    Fitting a duetwifi into a Wanhao D6

    Scheduled Pinned Locked Moved
    General Discussion
    7
    38
    5.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.
    • gzcwnkundefined
      gzcwnk
      last edited by

      M574 X0 Z0 Y0 S0 ; Define active low and unused microswitches

      what does this actually mean in plain english please?

      or where can i find this sort of thing?

      I have NOpen switches so S0 is right?

      does X0 mean its unused so I should have X1? indeed 1 for all of them?

      really this stuff doesnt explain anything…..

      1 Reply Last reply Reply Quote 0
      • Qdeathstarundefined
        Qdeathstar
        last edited by

        http://reprap.org/wiki/G-code#M574:_Set_endstop_configuration

        I just found this page recently, and everything is spelled out pretty well there 😄

        Parameters
        Xnnn Switch type for X axis
        Ynnn Switch type for Y axis
        Znnn Switch type for Z axis
        E Select extruder endstops to define active high or low
        Snnn Logic level
        Example
        M574 X1 Y2 Z0 S1
        This defines the type of endstop switch or opto sensor that the printer has for each axis: 0 = none, 1 = low end, 2 = high end. The optional S parameter defines whether the endstop input is active high (S1, the default) or low (S0). Intended for use with boards that provide a single endstop input for each axis that may be used for either a high or a low end endstop, such as the Duet. Supported by RepRapFirmware. On delta printers, the XYZ parameters refer to the towers and the endstops should normally all be high end. For the extruders endstops, S0 is for active low and S1 for active high. M574 E S1 select active high (used when endstop is a Z-probe, needed from v.1.14) - for all extruder endstops

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

          Have a look at the M574 description:
          http://reprap.org/wiki/G-code#M574:_Set_endstop_configuration

          The S parameters says if the endstop is active low (S0) or high (S1). Active high, normally closed, are safer as most failure modes result in them failing as triggered. Assuming you have active high end stops this example will use S1 but you need to check what you have.

          So if you have endstops on X and Y, but a probe not an endstop on Z, and the endstops are triggered at X Min and Y Min then you would use

          M574 X1 Y1 Z0 S1

          Or if you have endstops on all 3 axis minimum then:

          M574 X1 Y1 Z1 S1

          If you have endstops at Max instead of Min then:

          M574 X2 Y2 Z2 S1

          You should also check M208:
          http://reprap.org/wiki/G-code#M208:_Set_axis_max_travel

          As that is useful for setting what Max (and Min if <0) distances each of the printer axis are.

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • gzcwnkundefined
            gzcwnk
            last edited by

            So I have Xmoving and homing perfectly.

            Y moved fine but when I hit home it moves the wrong way, back towards the rear of the printer and not forward.

            I cant see how to fix this, so how do I fix this please?

            1 Reply Last reply Reply Quote 0
            • gzcwnkundefined
              gzcwnk
              last edited by

              I have set M208,

              M208 X190 Y190 Z170 ; set bed dimensions ssj

              1 Reply Last reply Reply Quote 0
              • gzcwnkundefined
                gzcwnk
                last edited by

                programming, i knew this would be the hard part ;(

                1 Reply Last reply Reply Quote 0
                • gzcwnkundefined
                  gzcwnk
                  last edited by

                  ok so homey.g was 200 when it should have been -200

                  So Y is now good.

                  Z moves the right way, (up) but ignores its end stop switch, ho hum, led lights so switch and circuit are ok.

                  so Y has stopped doing the fast initial movement….weird.....so Y is now broken....odd

                  1 Reply Last reply Reply Quote 0
                  • gzcwnkundefined
                    gzcwnk
                    last edited by

                    Ok so the web config tool's default was a probe and not a switch removed that so Z is done.

                    1 Reply Last reply Reply Quote 0
                    • gzcwnkundefined
                      gzcwnk
                      last edited by

                      So to "fix" Y I set the -200 back to 200, tried it, was backwards again. Set it back to -200 and saved and its works. I am finding this behavior odd, buggy in fact.

                      1 Reply Last reply Reply Quote 0
                      • gzcwnkundefined
                        gzcwnk
                        last edited by

                        Ok so basic homing is probably fixed, really the config tool was more of a hindrance….imho.

                        anyone have some good tutorials i can watch / read please? thanks.

                        1 Reply Last reply Reply Quote 0
                        • Qdeathstarundefined
                          Qdeathstar
                          last edited by

                          read through the entire reprap.org wiki, it has a lot of information.

                          1 Reply Last reply Reply Quote 0
                          • Corexyundefined
                            Corexy
                            last edited by

                            @gzcwnk:

                            M574 X0 Z0 Y0 S0 ; Define active low and unused microswitches

                            what does this actually mean in plain english please?

                            or where can i find this sort of thing?

                            I have NOpen switches so S0 is right?

                            does X0 mean its unused so I should have X1? indeed 1 for all of them?

                            really this stuff doesnt explain anything…..

                            I'm really feeling your pain with this….I really struggled with all this having never seen anything like it before.

                            It's a matter of taking a deep breath, asking a few questions here and going through the wiki slowly from start to finish.

                            Problem is (and absolutely no offense meant) is that David and the guys do this so much for a living that they have trouble "dumbing it down" for beginners in the way they describe things. You've just got to ask again...they probably roll their eyes, but you can't see that happening on your screen and they don't start shouting, so it's all good.

                            Mine's (converted Zortrax) working a treat, and I'm just printing up a matching set of bits (fan shroud/cable chain mounts/etc) and it's done and dusted.

                            Web interface and wifi is awesome.

                            You'll love it when it's all done.

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

                              @gzcwnk:

                              M574 X0 Z0 Y0 S0 ; Define active low and unused microswitches

                              what does this actually mean in plain english please?

                              or where can i find this sort of thing?

                              I have NOpen switches so S0 is right?

                              does X0 mean its unused so I should have X1? indeed 1 for all of them?

                              really this stuff doesnt explain anything…..

                              Does this help: https://duet3d.com/wiki/Connecting_endstop_switches#Microswitch

                              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
                              • gzcwnkundefined
                                gzcwnk
                                last edited by

                                The web ui is just neat. I understand, as a linux admin used to command line stuff sometimes users seem to ask, silly Qs. Sort of got used to it, its just hand holding until their confidence builds. There is just so much info to take in it overwhelms at times. The docs seem to reflect their assumptions a lot, typical developers, live and breath something then get confused when users flounder a bit, LOL. Hard to do as I do it in work so I know.
                                Its also some considerable nerves, I spent a lot of money for this board, I dont want to bugger it!

                                Anyway I am also documenting this and taking pictures on how to do it so it will be available and critiqued I am sure!

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