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

    DUEX 5 V0.8 TO DUEX 5 V0.11

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    9
    283
    24.0k
    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.
    • SIamundefined
      SIam @paolozampini1973
      last edited by SIam

      @paolozampini1973 Did you use two different motors for the z axis ?

      M569 P1 S0 R1                                      ; Y    physical drive 1 goes forwards
      M569 P2 S1                                         ; Z    physical drive 2 goes forwards
      

      If you use the same motors with the same wiring, I would say you need to configure both motors the same way

      Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
      Duet WiFi 1.02 or later + DueX5
      RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
      Duet WiFi Server: 1.26
      Duet Web Control 3.4.0beta4 (2021-09-27)

      paolozampini1973undefined 1 Reply Last reply Reply Quote 0
      • paolozampini1973undefined
        paolozampini1973 @SIam
        last edited by paolozampini1973

        @siam Listen Thanks for the intervention but the machine has been running like this for months
        How do I cut a video ? you tell me the size is too big

        droftartsundefined 1 Reply Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @paolozampini1973
          last edited by

          @paolozampini1973 The order you define the axes in M584 and endstops in M574, configures the endstop for the axis. We moved them around the other day, so it's possible they got swapped.

          With

          M584 X0 Y1 Z2:1 E3:4:5:6
          
          M574 Z1 S1 P"!zstop+e1stop"
          

          Z2 uses zstop, Z1 uses e1stop.

          The same is true of leadscrew position, M671; the first leadscrew is the first one defined in M584.

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @paolozampini1973
            last edited by

            @paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:

            @siam Listen Thanks for the intervention but the machine has been running like this for months
            How do I cut a video ? you tell me the size is too big

            Use youtube, post link. Can't upload videos to Duet3D forum.

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            paolozampini1973undefined 1 Reply Last reply Reply Quote 0
            • paolozampini1973undefined
              paolozampini1973 @droftarts
              last edited by paolozampini1973

              @droftarts

              M574 Z2 S1 P"!zstop" ?
              M574 Z1 S1 P"e1stop" ?

              but Forgive me Excuse me for what reason it always worked even after when we made the changes I did the print tests it worked after we also made the changes and now it doesn't work anymore it's a very strange thing You can help me understand Thanks

              droftartsundefined 1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @paolozampini1973
                last edited by droftarts

                @paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                @droftarts

                M574 Z2 S1 P"!zstop" ?
                M574 Z1 S1 P"e1stop" ?

                NO. Z parameter in M574 sets where the endstop is physically, on the axis. High or low. Both endstops are low, and combined together. Listing them separately is incorrect. You also seem to have lost the inversion on the e1stop. It should be:

                M574 Z1 S1 P"!zstop+!e1stop"
                

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                paolozampini1973undefined 2 Replies Last reply Reply Quote 0
                • paolozampini1973undefined
                  paolozampini1973 @droftarts
                  last edited by

                  @droftarts

                  M574 Z2 S1 P"!zstop"
                  M574 Z1 S1 P"!e1stop"
                  So this is how it works that it goes towards the plus and then returns towards the minus but the first switch intervenes you can see both AXES

                  1 Reply Last reply Reply Quote 0
                  • paolozampini1973undefined
                    paolozampini1973 @droftarts
                    last edited by

                    @droftarts said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                    @paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                    @droftarts

                    M574 Z2 S1 P"!zstop" ?
                    M574 Z1 S1 P"e1stop" ?

                    NO. Z parameter in M574 sets where the endstop is physically, on the axis. High or low. They both should be Z1. Listing them separately is incorrect, too. You also seem to have lost the inversion on the e1stop. It should be:

                    M574 Z1 S1 P"!zstop+!e1stop"
                    

                    so it doesn't do the inversion it goes towards the plus and it doesn't come back towards the minus but the thing I don't understand why it doesn't work anymore has always worked even after we put our hands on it

                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @paolozampini1973
                      last edited by droftarts

                      @paolozampini1973 What does M119 report when:
                      No switch is pressed
                      Z1 endstop is pressed
                      Z2 endstop is pressed
                      Both endstops are pressed
                      ?

                      And post the endstop configuration you are using when testing.

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                      • paolozampini1973undefined
                        paolozampini1973 @droftarts
                        last edited by

                        @droftarts So the problem is not the speech of switches that have to close and open because practically when you give it back home it goes up 15 mm and then it has to do the inversion towards minus putting the separated the inversion towards minus does it however I repeat not get to the switches I have now done a try to take it myself manually the switches work both tested they work it is not a problem of the switches it is a problem towards the plus and then return towards the minus towards the Switch clearly if only one axis works only l the axis is rightly placed sideways

                        droftartsundefined 2 Replies Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators @paolozampini1973
                          last edited by

                          @paolozampini1973 Please just do the test and report, using M574 Z1 S1 P"!zstop+!e1stop" for configuration. It won't work with two separate M574 commands.

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                          • paolozampini1973undefined
                            paolozampini1973 @droftarts
                            last edited by

                            @droftarts said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                            @paolozampini1973 Please just do the test and report, using M574 Z1 S1 P"!zstop+!e1stop" for configuration. It won't work with two separate M574 commands.

                            Ian

                            25/3/2022, 17:34:11 M574 Z2 S1 P"!zstop!+!e1stop"
                            Error: M574: Unknown pin name 'zstop!'

                            droftartsundefined 1 Reply Last reply Reply Quote 0
                            • droftartsundefined
                              droftarts administrators @paolozampini1973
                              last edited by droftarts

                              @paolozampini1973 Also, the last homeall.g does not home z; it just sets Z=0 wherever Z is.

                              G91                     ; relative positioning
                              G1 S2 H2 Z15 F1500          ; lift Z relative to current position
                              G1 S1 H1 X-500 Y-500 F1500 ; move quickly to X and Y axis endstops and stop there (first pass)
                              G1 S2 H2 X5 Y5 F1500       ; go back a few mm
                              G1 S1 H1 X-500 Y-500 F360  ; move slowly to X and Y axis endstops once more (second pass)
                              G1 S1 H1 Z-300 F360        ; move Z down stopping at the endstop
                              G90                     ; absolute positioning
                              G92 Z0                  ; set Z position to axis minimum (you may want to adjust this)
                              

                              homez.g does a move towards home, then sets Z=0 when the endstops are triggered.

                              G91               ; relative positioning
                              G1 H2 Z15 F700    ; lift Z relative to current position
                              G1 H1 Z-300 F700 ; move Z down until the endstop is triggered
                              G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
                              

                              However, your M208 is M208 X500 Y500 Z320 S0, so Z axis is longer than the Z-300 move. In homez.g, change G1 H1 Z-300 F700 to G1 H1 Z-400 F700: it must be a bigger move than the axis length. Did you change M208 recently?

                              Ian

                              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                              paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                              • droftartsundefined
                                droftarts administrators @paolozampini1973
                                last edited by droftarts

                                @paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                                25/3/2022, 17:34:11 M574 Z2 S1 P"!zstop!+!e1stop"
                                Error: M574: Unknown pin name 'zstop!'

                                You have an extra ! in there.

                                AND CHANGE Z2 to Z1

                                Ian

                                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                                • paolozampini1973undefined
                                  paolozampini1973 @droftarts
                                  last edited by paolozampini1973

                                  @droftarts config (27).g
                                  you correct the files please and I start as you send me

                                  droftartsundefined 1 Reply Last reply Reply Quote 0
                                  • droftartsundefined
                                    droftarts administrators @paolozampini1973
                                    last edited by

                                    @paolozampini1973 Now you are missing the +

                                    USE THIS!

                                    M574 Z1 S1 P"!zstop+!e1stop"
                                    

                                    Anyway, I have to go now. See my earlier post about change homez.g.

                                    Ian

                                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                    paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                                    • paolozampini1973undefined
                                      paolozampini1973 @droftarts
                                      last edited by

                                      @droftarts said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                                      @paolozampini1973 Also, the last homeall.g does not home z; it just sets Z=0 wherever Z is.

                                      G91                     ; relative positioning
                                      G1 S2 H2 Z15 F1500          ; lift Z relative to current position
                                      G1 S1 H1 X-500 Y-500 F1500 ; move quickly to X and Y axis endstops and stop there (first pass)
                                      G1 S2 H2 X5 Y5 F1500       ; go back a few mm
                                      G1 S1 H1 X-500 Y-500 F360  ; move slowly to X and Y axis endstops once more (second pass)
                                      G1 S1 H1 Z-300 F360        ; move Z down stopping at the endstop
                                      G90                     ; absolute positioning
                                      G92 Z0                  ; set Z position to axis minimum (you may want to adjust this)
                                      

                                      homez.g does a move towards home, then sets Z=0 when the endstops are triggered.

                                      G91               ; relative positioning
                                      G1 H2 Z15 F700    ; lift Z relative to current position
                                      G1 H1 Z-300 F700 ; move Z down until the endstop is triggered
                                      G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
                                      

                                      However, your M208 is M208 X500 Y500 Z320 S0, so Z axis is longer than the Z-300 move. In homez.g, change G1 H1 Z-300 F700 to G1 H1 Z-400 F700: it must be a bigger move than the axis length. Did you change M208 recently?

                                      Ian

                                      No I haven't changed it recently this car was so configured for months this is what I was always doing Solving the problem of loss of pace and it seems that you can see that step has been resolved but I still have to try it well

                                      paolozampini1973undefined 2 Replies Last reply Reply Quote 0
                                      • paolozampini1973undefined
                                        paolozampini1973 @paolozampini1973
                                        last edited by

                                        @paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                                        @droftarts said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                                        @paolozampini1973 Also, the last homeall.g does not home z; it just sets Z=0 wherever Z is.

                                        G91                     ; relative positioning
                                        G1 S2 H2 Z15 F1500          ; lift Z relative to current position
                                        G1 S1 H1 X-500 Y-500 F1500 ; move quickly to X and Y axis endstops and stop there (first pass)
                                        G1 S2 H2 X5 Y5 F1500       ; go back a few mm
                                        G1 S1 H1 X-500 Y-500 F360  ; move slowly to X and Y axis endstops once more (second pass)
                                        G1 S1 H1 Z-300 F360        ; move Z down stopping at the endstop
                                        G90                     ; absolute positioning
                                        G92 Z0                  ; set Z position to axis minimum (you may want to adjust this)
                                        

                                        homez.g does a move towards home, then sets Z=0 when the endstops are triggered.

                                        G91               ; relative positioning
                                        G1 H2 Z15 F700    ; lift Z relative to current position
                                        G1 H1 Z-300 F700 ; move Z down until the endstop is triggered
                                        G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
                                        

                                        However, your M208 is M208 X500 Y500 Z320 S0, so Z axis is longer than the Z-300 move. In homez.g, change G1 H1 Z-300 F700 to G1 H1 Z-400 F700: it must be a bigger move than the axis length. Did you change M208 recently?

                                        Ian

                                        No I haven't changed it recently this car was so configured for months this is what I was always doing Solving the problem of loss of pace and it seems that you can see that step has been resolved but I still have to try it well

                                        ; homeall.g
                                        ; called to home all axes
                                        ;
                                        ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 19 2021 14:46:37 GMT+0200 (Ora legale dell’Europa centrale)
                                        G91 ; relative positioning
                                        G1 S2 H2 Z15 F1500 ; lift Z relative to current position
                                        G1 S1 H1 X-500 Y-500 F1500 ; move quickly to X and Y axis endstops and stop there (first pass)
                                        G1 S2 H2 X5 Y5 F1500 ; go back a few mm
                                        G1 S1 H1 X-500 Y-500 F360 ; move slowly to X and Y axis endstops once more (second pass)
                                        G1 S1 H1 Z-300 F360 ; move Z down stopping at the endstop
                                        G90 ; absolute positioning
                                        G92 Z=0 ; set Z position to axis minimum (you may want to adjust this)

                                        ; Uncomment the following lines to lift Z after probing
                                        ;G91 ; relative positioning
                                        ;G1 Z5 F100 ; lift Z relative to current position
                                        ;G90 ; absolute positioning

                                        1 Reply Last reply Reply Quote 0
                                        • paolozampini1973undefined
                                          paolozampini1973 @paolozampini1973
                                          last edited by

                                          @paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                                          @droftarts said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                                          @paolozampini1973 Also, the last homeall.g does not home z; it just sets Z=0 wherever Z is.

                                          G91                     ; relative positioning
                                          G1 S2 H2 Z15 F1500          ; lift Z relative to current position
                                          G1 S1 H1 X-500 Y-500 F1500 ; move quickly to X and Y axis endstops and stop there (first pass)
                                          G1 S2 H2 X5 Y5 F1500       ; go back a few mm
                                          G1 S1 H1 X-500 Y-500 F360  ; move slowly to X and Y axis endstops once more (second pass)
                                          G1 S1 H1 Z-300 F360        ; move Z down stopping at the endstop
                                          G90                     ; absolute positioning
                                          G92 Z0                  ; set Z position to axis minimum (you may want to adjust this)
                                          

                                          homez.g does a move towards home, then sets Z=0 when the endstops are triggered.

                                          G91               ; relative positioning
                                          G1 H2 Z15 F700    ; lift Z relative to current position
                                          G1 H1 Z-300 F700 ; move Z down until the endstop is triggered
                                          G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
                                          

                                          However, your M208 is M208 X500 Y500 Z320 S0, so Z axis is longer than the Z-300 move. In homez.g, change G1 H1 Z-300 F700 to G1 H1 Z-400 F700: it must be a bigger move than the axis length. Did you change M208 recently?

                                          Ian

                                          No I haven't changed it recently this car was so configured for months this is what I was always doing Solving the problem of loss of pace and it seems that you can see that step has been resolved but I still have to try it well
                                          i did as you told me i put Z = 0 this is the result
                                          0309a83d-5b0b-4c56-b50b-e02e6a9a6691-image.png

                                          SIamundefined 1 Reply Last reply Reply Quote 0
                                          • SIamundefined
                                            SIam @paolozampini1973
                                            last edited by SIam

                                            @paolozampini1973 and what have you done ? home z or home all ? If it was home z then you have to home x/y first.

                                            Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
                                            Duet WiFi 1.02 or later + DueX5
                                            RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
                                            Duet WiFi Server: 1.26
                                            Duet Web Control 3.4.0beta4 (2021-09-27)

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