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

    Help please

    Scheduled Pinned Locked Moved
    Firmware installation
    5
    18
    3.8k
    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.
    • flippnswitchezundefined
      flippnswitchez
      last edited by

      It will not home properly so I can print

      Tronxy X5S w? DuetWifi
      CTC

      1 Reply Last reply Reply Quote 0
      • flippnswitchezundefined
        flippnswitchez
        last edited by

        Here is the homeall code also

        ; homeall.g
        ; called to home all axes
        ;
        ; generated by RepRapFirmware Configuration Tool on Fri Mar 16 2018 20:00:07 GMT-0400 (Eastern Daylight Time)
        G91                    ; relative positioning
        G1 Z5 F6000 S2         ; lift Z relative to current position
        G1 S1 X-320 Y320 F1800 ; move quickly to X or Y endstop and stop there (first pass)
        G1 S1 X-320            ; home X axis
        G1 S1 Y320; home Y axis
        G1 X5 Y-5 F6000        ; go back a few mm
        G1 S1 X-320 F360       ; move slowly to X axis endstop once more (second pass)
        G1 S1 Y320; then move slowly to Y axis endstop
        G90                    ; absolute positioning
        G1 X15 Y15 F6000       ; go to first bed probe point and home Z
        G30                    ; home Z by probing the bed
        ;G1 Z5 F100 S2         ; uncomment this line to lift the nozzle after homing
        
        

        Tronxy X5S w? DuetWifi
        CTC

        1 Reply Last reply Reply Quote 0
        • Kezatundefined
          Kezat
          last edited by

          A good place to start would be making sure your endstops are set up correctly, if you connect with a web browser go to the settings tab and machine properties, check the if the endstop is hit. When the endstop is pressed by hand it should change from no to yes and back again as you let go.

          1 Reply Last reply Reply Quote 0
          • flippnswitchezundefined
            flippnswitchez
            last edited by

            Wasn't aware I could even do that HAHA! I have literally sat here all day trying and waiting for some help. Thanks for answering!

            Tronxy X5S w? DuetWifi
            CTC

            1 Reply Last reply Reply Quote 0
            • flippnswitchezundefined
              flippnswitchez
              last edited by

              the endstops all say yes automatically. when I press them they say no. It does not matter if i set them to active high or low and the option for end stop location is greyed out

              Tronxy X5S w? DuetWifi
              CTC

              1 Reply Last reply Reply Quote 0
              • Kezatundefined
                Kezat
                last edited by

                This may help:
                https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_Set_endstop_configuration

                Also this:
                https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches

                Im not sure what you mean by "endstop location is greyed out" where are you seeing that?

                1 Reply Last reply Reply Quote 0
                • flippnswitchezundefined
                  flippnswitchez
                  last edited by

                  That part is in the RRF Config tool.

                  Tronxy X5S w? DuetWifi
                  CTC

                  1 Reply Last reply Reply Quote 0
                  • flippnswitchezundefined
                    flippnswitchez
                    last edited by

                    I dropped back down to firmware 120 and now they are showing the endstops correct

                    Tronxy X5S w? DuetWifi
                    CTC

                    1 Reply Last reply Reply Quote 0
                    • flippnswitchezundefined
                      flippnswitchez
                      last edited by

                      Still no luck… banging head in to the wall

                      Tronxy X5S w? DuetWifi
                      CTC

                      1 Reply Last reply Reply Quote 0
                      • Kezatundefined
                        Kezat
                        last edited by

                        On my bot changing this line in config.g
                        M574 X1 Y1 Z1 S0
                        to
                        M574 X1 Y1 Z1 S1

                        Will cause my endstops to always be triggered until i press them. So it changing that will reverse the behavior, we know your endstops are wired correctly because pressing them on your bot will change the state, its just backwards.

                        You have M574 X1 Y2 Z1 S0 in your config so change it too M574 X1 Y2 Z1 S1.

                        1 Reply Last reply Reply Quote 0
                        • flippnswitchezundefined
                          flippnswitchez
                          last edited by

                          Thanks for the help. It was doing something weird. When I would change the switches or direction of a motor it was doing opposite of what I expected. I swapped the x and y motors on the board and boom it worked correct…. Not sure why I had to swamp them tho... I am just happy to have it up after a week of fight lol

                          Tronxy X5S w? DuetWifi
                          CTC

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

                            Firmware 1,20RC5 reports the endstop states incorrectly in DWC Machine Properties if they are set to active low. M119 reports them correctly.

                            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
                            • BigPrinterundefined
                              BigPrinter
                              last edited by

                              HI i have also had the same problem where the endstop locations are grayed out in the web config tool. I am using the duet3d wifi board with the firmware 1.21. Initially i had to change the directions of the steppers so that they would home correctly, but that created another problem of having the steppers driving the wrong way. The M574 command only tells it whether the endstop is at the high end or low end of the axis not what direction to drive to look for the endstop.
                              I then found the code for the homing ie the homex.g, homey.g, ect... and changed the direction that it drove to find the endpoint.

                              Original
                              G1 S1 Y1205 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                              G1 Y-5 F6000 ; go back a few mm
                              G1 S1 Y1205 F360 ; move slowly to Y axis endstop once more (second

                              Modified
                              G1 S1 Y-1205 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                              G1 Y5 F6000 ; go back a few mm
                              G1 S1 Y-1205 F360 ; move slowly to Y axis endstop once more (second pass)

                              after all that is there a reason the grayed out area is disabled?????

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

                                I think I've found a bug in the configurator. If you set the machine type to Delta, then the endstop locations are grayed out and disabled - which is sensible because the endstops are always at the high end. But if you then change the machine type back to Cartesian or CoreXY, it doesn't enable them again. I will get this fixed.

                                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 2
                                • BigPrinterundefined
                                  BigPrinter
                                  last edited by

                                  Thats great works now. Thanks

                                  1 Reply Last reply Reply Quote 0
                                  • MSquaredundefined
                                    MSquared @flippnswitchez
                                    last edited by

                                    @flippnswitchez On a CoreXY swapping the motors reverses an axis. There are 8 combinations:

                                    Motor 1 Motor 2
                                    X Motor forward Y Motor forward
                                    X Motor forward Y Motor backward
                                    X Motor backward Y Motor forward
                                    X Motor backward Y Motor backward
                                    Y Motor forward X Motor forward
                                    Y Motor forward X Motor backward
                                    Y Motor backward X Motor forward
                                    Y Motor backward X Motor backward

                                    One of these combinations will always result in a left handed cartesian system. The other combinations will result in either a right handed cartesian system, reversed axises, or swapped axises. The exact setup you need depends on your motor location, wiring, and possibly belt routing.

                                    For reference you ultimately want a left handed cartesian system. This is important because a right handed system will print things backwards, this isn't a problem 90% of time but is maddening 10% of the time. The correct cartesian co-ordinate system looks like this:

                                    0_1523851005936_Cartesian System.png

                                    Purple is the location of my end stops so they are configured for X min, Y max and in my homing files I tell the printer to "home" to back-left corner.

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