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

    Brake motors 1XD

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    3
    12
    632
    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.
    • 3Dreamundefined
      3Dream
      last edited by

      Good morning everyone,
      use of duet 3 + 1XD to drive closed loop stepper motors.
      On the Z I mount 4 motors of this type, but with brakes.
      Sometimes (not always) it happens to me that by doing the Home of Z the engine starts before the brake releases, sending the engine into alarm.
      I would need a slight brake release delay before the motors start.
      Can you tell me if it is possible? I did not find anything reading.
      Thanks to everyone and have a nice day
      David

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

        @3dream the easiest way would be to use M17 Z followed by a short G4 delay command in your homing file, before the homing move.

        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

        3Dreamundefined 2 Replies Last reply Reply Quote 1
        • 3Dreamundefined
          3Dream @dc42
          last edited by

          @dc42
          a thousand thanks
          very kind as always

          1 Reply Last reply Reply Quote 0
          • 3Dreamundefined
            3Dream @dc42
            last edited by

            @dc42
            Good morning DC42,
            even after inserting home Z and home all, M17 (not specific Z) and G4 P800 in the file, sometimes (not always) only 2 or 3 Z motors start. I switch the machine off and on again and everything works correctly. Can you give me some other solution to this problem please? Thank you

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

              @3dream do you have a G4 delay call near the start of config.g, earlier than any commands that refer to devices on expansion boards such as the M569.7 commands used to configure the brakes?

              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

              3Dreamundefined 2 Replies Last reply Reply Quote 0
              • 3Dreamundefined
                3Dream @dc42
                last edited by

                @dc42
                I put G4 S2 as the first line in config.g

                1 Reply Last reply Reply Quote 0
                • 3Dreamundefined
                  3Dream @dc42
                  last edited by

                  @dc42
                  Perhaps I have not explained myself well, I mean that in the config.g there is already the G4 command in the first line. Maybe I need to insert it just before M569.7? or even before M569?
                  Thanks

                  G4 S2; Pausa per avvio 1XD
                  G21; Unit millimetri
                  G90; Posizioni assolute
                  M83; Estrusore posizione relativa
                  ;Impostazioni rete
                  M550 P3Dream 1300 HYBRID ; Nome macchina
                  M552 P192.168.44.30
                  M554 P192.168.44.10
                  M553 P255.255.255.0
                  M552 S1
                  M586 P0 S1
                  M586 P1 S0
                  M586 P2 S0
                  M669 K0
                  ;Impostazione motori
                  M569 P40.0 R0 S1 T5:5:5:5; Senso rotazione motori Z0 Ant DX
                  M569 P41.0 R0 S1 T5:5:5:5; Senso rotazione motori Z1 Ant SX
                  M569 P42.0 R0 S1 T5:5:5:5; Senso rotazione motori Z2 Post SX
                  M569 P43.0 R0 S1 T5:5:5:5; Senso rotazione motori Z3 Post DX
                  M569 P44.0 R0 S0 T5:5:5:5; Senso rotazione motori X
                  M569 P45.0 R0 S1 T3:3:5:0; Senso rotazione motori E Antiorario visto da alto
                  M569 P46.0 R0 S1 T5:5:5:5; Senso rotazione motori Y0 Ant SX
                  M569 P47.0 R0 S1 T5:5:5:5; Senso rotazione motori Y1 Ant DX
                  M569.7 P40.0 C"out1";Freno Z0
                  M569.7 P41.0 C"out1";Freno Z1
                  M569.7 P42.0 C"out1";Freno Z2
                  M569.7 P43.0 C"out1";Freno Z3

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

                    G4 S2 at the start of config.g should be enough, but perhaps try increasing that to G4 S4 to give it another couple seconds just in case it's a bit slower.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    3Dreamundefined 2 Replies Last reply Reply Quote 0
                    • 3Dreamundefined
                      3Dream @Phaedrux
                      last edited by

                      @phaedrux
                      ok, I'll try thanks

                      1 Reply Last reply Reply Quote 0
                      • 3Dreamundefined
                        3Dream @Phaedrux
                        last edited by

                        @phaedrux
                        @dc42

                        Good morning,
                        even after inserting a 4 second pause the problem persists.
                        It would seem that the problem is always at the first start in the morning where 1 or 2 Z motors don't want to go.
                        I switch the machine off and on again several times and the problem disappears. The problem occurs only if the machine remains off for a few hours. Do you have any other ideas please?

                        3Dreamundefined 1 Reply Last reply Reply Quote 0
                        • 3Dreamundefined
                          3Dream @3Dream
                          last edited by

                          @3dream said in Brake motors 1XD:

                          @phaedrux
                          @dc42

                          Good morning,
                          even after inserting a 4 second pause the problem persists.
                          It would seem that the problem is always at the first start in the morning where 1 or 2 Z motors don't want to go.
                          I switch the machine off and on again several times and the problem disappears. The problem occurs only if the machine remains off for a few hours. Do you have any other ideas please?

                          config.g

                          G4 S4; Pausa per avvio 1XD
                          G21; Unit millimetri
                          G90; Posizioni assolute
                          M83; Estrusore posizione relativa
                          ;Impostazioni rete		 
                          M550 P3Dream 1300 HYBRID ; Nome macchina
                          M552 P192.168.44.30			 
                          M554 P192.168.44.10			 
                          M553 P255.255.255.0			                        
                          M552 S1                                  
                          M586 P0 S1                               
                          M586 P1 S0                               
                          M586 P2 S0
                          M669 K0                               	
                          ;Impostazione motori
                          M569 P40.0 R0 S1 T5:5:5:5; Senso rotazione motori Z0 Ant DX
                          M569 P41.0 R0 S1 T5:5:5:5; Senso rotazione motori Z1 Ant SX
                          M569 P42.0 R0 S1 T5:5:5:5; Senso rotazione motori Z2 Post SX
                          M569 P43.0 R0 S1 T5:5:5:5; Senso rotazione motori Z3 Post DX
                          M569 P44.0 R0 S0 T5:5:5:5; Senso rotazione motori X
                          M569 P45.0 R0 S1 T3:3:5:0; Senso rotazione motori E  Antiorario visto da alto 
                          M569 P46.0 R0 S1 T5:5:5:5; Senso rotazione motori Y0 Ant SX
                          M569 P47.0 R0 S1 T5:5:5:5; Senso rotazione motori Y1 Ant DX
                          M569.7 P40.0 C"out1";Freno Z0
                          M569.7 P41.0 C"out1";Freno Z1
                          M569.7 P42.0 C"out1";Freno Z2
                          M569.7 P43.0 C"out1";Freno Z3
                          M584 X44.0 Y46.0:47.0 Z40.0:41.0:42.0:43.0 E45.0 P3; Assegnazione motori
                          M92  X400 Y400:400 Z1280:1280:1280:1280 E224.6; Step giro motori
                          M566 X500 Y500:500 Z40:40:40:40 E300; Jerk motori
                          M203 X5000 Y5000:5000 Z600:600:600:600 E9000; Velocita motori 
                          M201 X500 Y500:500 Z40:40:40:40 E2000; Accelerazione motori
                          ;M572 D0 S0.05
                          ;Corse macchina
                          M208 X0 Y0 Z0 S1; Posizione corsa minima
                          M208 X1300 Y1290 Z1030.3 S0; Posizione corsa massima era 1031.5
                          ;Finecorsa
                          M574 X1 S1 P"io2.in"
                          M574 Y1 S1 P"46.io0.in+47.io0.in" ; doppio finecorsa microswitch su assi Y SU 1XD 46.io0.in
                          M574 Z2 S1 P"!40.io0.in+!41.io0.in+!42.io0.in+!43.io0.in" ; quadruplo finecorsa proximity su assi Z SU 1XD
                          ;Posizione proximity e bed levelling
                          M558 P8 C"^!io8.in" H8 R1 F120 T8000
                          G31 P600 X-28 Y60 Z0.5; era Z-0.8 con pellicola PP
                          M557 X100:1200 Y100:1200 S550:550
                          ;limiti temperatura estrusione
                          M302 P0 S150 R150
                          ;Piano riscaldato
                          M308 S0 P"temp_0" Y"thermistor" A"Piano" T100000 B3950  
                          M950 H0 C"out0" T0
                          M143 H0 S120
                          M307 H0 B1 S1.00
                          M140 H0
                          M570 H0 P1000000 T1000000
                          ;Estrusore Alto
                          M308 S1 F60 P"spi.cs0" Y"rtd-max31865" A"Alto"   ; definizione 
                          M950 H1 C"out1" T1 Q100                   ; heater 1 uses the high current output pin sensor 1
                          M143 H1 S400                              ; set temperature limit for heater 1 to 300C
                          M570 H1 P1000 T1000 
                          M307 H1 S0.50   
                          ;Estrusore Centro
                          M308 S2 F60 P"spi.cs1" Y"rtd-max31865" A"Centro"  ; define E0 temperature sensor
                          M950 H2 C"out2" T2 Q100                   ; heater 1 uses the high current output pin sensor 1
                          M143 H2 S400                              ; set temperature limit for heater 1 to 300C
                          M570 H2 P1000 T1000
                          M307 H2 S0.50
                          ;Estrusore Ugello
                          M308 S3 F60 P"spi.cs3" Y"rtd-max31865" A"Nozzle"  ; define E0 temperature sensor
                          M950 H3 C"out3" T3 Q100                   ; heater 1 uses the high current output pin sensor 1
                          M143 H3 S400                              ; set temperature limit for heater 1 to 300C
                          M570 H3 P1000 T1000
                          M307 H3 S0.50  
                          ;Camera
                          M308 S4 P"temp_1" Y"thermistor" A"Camera" T100000 B3950
                          Attivazioni varie
                          M950 P8 C"43.out0" ; Creazione GPIO pin 8 su 1XD Can 43 out0 alimentazione proximity finecors Z3
                          M42 P8 S1 ; abilita uscita 24V proximity Z3
                          M950 P9 C"42.out0" ; Creazione GPIO pin 9 su 1XD Can 42 out0 alimentazione proximity finecors Z2
                          M42 P9 S1; abilita uscita 24V proximity Z2
                          M950 P10 C"41.out0" ; Creazione GPIO pin 10 su 1XD Can 41 out0 alimentazione proximity finecors Z1
                          M42 P10 S1; abilita uscita 24V proximity Z1
                          M950 P11 C"40.out0" ; Creazione GPIO pin 11 su 1XD Can 40 out0 alimentazione proximity finecors Z0
                          M42 P11 S1; abilita uscita 24V proximity Z0
                          M950 P12 C"45.out0" ; Creazione GPIO pin 12 su 1XD Can 45 out0 alimentazione sensore granulo
                          M42 P12 S1; abilita uscita 24V sensore granulo
                          M950 P13 C"45.out1" ; Creazione GPIO pin 13 su 1XD Can 45 out 1 alimentazione valvola exair granulo tramoggia
                          M42 P13 S1; abilita uscita 24V sensore granulo tramoggia
                          ;M950 J7 C"45.io0.in" ; Creazione input Pin7 su 1XD Can 45 per sensore granulo
                          M591 D0 P2 C"45.io0.in" S1
                          ;M950 J14 C"^io0.in" ; Creazione input Pin 14 sensori porte
                          ;M581 P14 S1 T6 R1 ; invoca trigger 6 apertura porte
                          ;Ventole                           
                          M950 F0 C"out7" Q250                           
                          M106 P0 S0 H-1
                          ; Tools
                          M563 P0 D0 H1:2:3 S"Pulsar"        	 ; define tool 0
                          G10 P0 X0 Y0 Z0 
                          G10 P0 S0 R0            ; set tool 0 axis offsets
                          ;Autopoweroff
                          ;M911 S23 P"G91 M83 G1 Z3 E-2 F1000"  
                          M106 S0
                          M671 X1450:-150:-150:1450 Y-150:-150:1450:1450 S5 
                          M501
                          
                          Phaedruxundefined 1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator @3Dream
                            last edited by

                            @3dream said in Brake motors 1XD:

                            M92 X400 Y400:400 Z1280:1280:1280:1280 E224.6; Step giro motori M566 X500 Y500:500 Z40:40:40:40 E300; Jerk motori M203 X5000 Y5000:5000 Z600:600:600:600 E9000; Velocita motori M201 X500 Y500:500 Z40:40:40:40 E2000; Accelerazione motori

                            These are incorrect. Only multiple extruder motors require multiple values. If the axis is made up of multiple motors, there only needs to be a single value for the axis, not for each motor. So remove the duplicate Y and Z values. I don't know if this would cause an issue like what you are seeing, but it isn't helping.

                            You can also send M98 P"config.g" to get a syntax check of your config.g file.

                            It may also help to see the results of M122 and M122 B# where # is the can address of your expansion boards.

                            Z-Bot CoreXY Build | Thingiverse Profile

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