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

    Simple G code question (reprap3firmware)

    Scheduled Pinned Locked Moved
    Gcode meta commands
    4
    7
    276
    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.
    • wingtipundefined
      wingtip
      last edited by

      I cant get my endstop switch to reverse/invert... the stop works and triggers but the light is always on unless you push the momentary lever...then it goes out... With this new reprap 3 i just switched to im getting confused on how to change this.... i was led to believe that adding the "!" after the p" would invert this but it does not... here is the line for the specific offender lol

      M574 Y1 S1 P"ystop"

      Am I missing something..?

      Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

      1 Reply Last reply Reply Quote 0
      • alankilianundefined
        alankilian
        last edited by

        The LED is directly connected to the switch input.

        It does not change its state based on the M574 configuration.

        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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

          The LED will be on when the endstop input is connected to ground by the switch. Whether this is when the switch is triggered or when it is not triggered depends on whether you are using the normally-closed or normally-open contacts of the switch. Putting ! or not at the start of the pin name does not affect the LED.

          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
          • wingtipundefined
            wingtip
            last edited by wingtip

            Now im more confused.... on all my other endstops on this printer and another printer all have the lights out untill you home something then when triggered (and holding against the switch) the lights stay on... once you move the axis away from the switch they go out. Why would this one be opposite?

            EDIT: ahhh so i just need to reverse two of the wires to change it from no to nc or vice versus?

            Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

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

              For complete clarity, show us your switches and how they are wired.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • wingtipundefined
                wingtip
                last edited by

                Ok let me take a pic but all of them are wired the same and 4 motor endstops so far work as they should, not this one. This 5th one is the last one that requires an endstop. Let me get a pic.

                Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

                1 Reply Last reply Reply Quote 0
                • wingtipundefined
                  wingtip
                  last edited by

                  Problem Solved:

                  Went to take a pic and was verifying the wiring and noticed on one of the breakout boards i had two wires backwards... Switch now works as it's suppose to...

                  Once again i just need to take a break now and then and stop spending 10 hours at a time working on this thing frying my old brain hahaha.

                  Thank you guys... Now i just need to figure a way to tighten the carriage belt without redesigning and reprinting some major parts... then build the bed, then start printing....

                  Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

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