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

    Problema di connessione DuetWIFI con driver esterno 2DM860H

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    21
    2.4k
    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.
    • giuseppeundefined
      giuseppe
      last edited by T3P3Tony

      Buongiorno, sulla mia stampante core xy per una modifica alla meccanica ho installato guide a ricircolo di sfere, per muovere il tutto ho istallato motori da 4 ampere, per pilotare i motori ho acquistato i driver 2DM860H e scheda expansion heater breakout duet, ho connesso la scheda al driver con le rispettive polarità ma il risultato è una piccola rotazione dei motori avanti e indietro, ma nessun movimento regolare verso "home", i driver ricevono segnale step dir en da +5 volt a 24 volt, cosa sto sbagliando?
      grazie a tutti

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

        You may need to add a T parameter to the M569 commands in config.g for your external drivers to lengthen the step pulses. Try T4.

        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
        • giuseppeundefined
          giuseppe
          last edited by

          Ok, provo domani e ti faccio sapere, grazie

          1 Reply Last reply Reply Quote 0
          • giuseppeundefined
            giuseppe
            last edited by

            Come faccio a capire a quale motore (P) corrisponde il segnale E2 della breakout?

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

              5 = E2
              6 = E3
              etc.

              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
              • giuseppeundefined
                giuseppe
                last edited by

                ok grazie....

                1 Reply Last reply Reply Quote 0
                • giuseppeundefined
                  giuseppe
                  last edited by

                  i miei driver esterni sono:
                  MOTORE X SU E2 (BREAKOUT)
                  MOTORE Y SU E3 (BREAKOUT)
                  quindi il comando corretto è:
                  M569 P5 T4 (MOTOR X)
                  M569 P6 T4 (MOTOR Y)

                  OK?

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

                    Yes, that looks correct.

                    Also check that the motors are free to move when you first power up the printer, but when you send the first movement command to each axis, the motor for that axis becomes no longer free because of the current flowing through it. That will check that you have the correct Enable polarity.

                    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
                    • giuseppeundefined
                      giuseppe
                      last edited by

                      la polarità di abilitazione riguarda ena+ ed ena- ?
                      io questi due poli non li ho collegati perchè vorrei i motori frenati quando gli assi non si muovono, è giusto?

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

                        Yes. If you want to keep the motors enabled permanently, you will need to connect ENA+ to +5V and ENA- to ground.

                        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
                        • giuseppeundefined
                          giuseppe
                          last edited by giuseppe

                          ho provato, ma è lo stesso i motori vanno avanti e indietro

                          1 Reply Last reply Reply Quote 0
                          • giuseppeundefined
                            giuseppe
                            last edited by

                            puo essere che dalla scheda breakout la tensione in uscita non sia veramente 5 volt?

                            1 Reply Last reply Reply Quote 0
                            • pacioc193undefined
                              pacioc193
                              last edited by

                              Ciao Giuseppe,

                              la tensione la puoi misurare con un semplice multimetro tra i poli ENA+ e ENA- in uscita dalla breakout board.
                              Io la ho provata e posso dirti che funziona bene!
                              Se non colleghi i poli ena+ e ena- probabilmente il driver esterno non alimenterà mai gli stepper.
                              La duet ha la possibilità di spegnere gli stepper tramite il comando : https://duet3d.dozuki.com/Wiki/Gcode#Section_M18_Disable_all_stepper_motors

                              M18.

                              Ti conviene usare questo comando e collegare tutti i cavi necessari al funzionamento dei driver esterni.

                              Inoltra considera il comando :

                              https://duet3d.dozuki.com/Wiki/Gcode#Section_M569_Set_motor_driver_direction_enable_polarity_and_step_pulse_timing

                              M569 e imposta correttamente il tempo per i microstep. Poichè i driver esterni di solito hanno tempi di microstep maggiori.

                              1 Reply Last reply Reply Quote 0
                              • giuseppeundefined
                                giuseppe
                                last edited by giuseppe

                                i poli ENA+ e ENA- servono per togliere la coppia ai motori quando la stampante non lavora, è necessario collegarli per dare ulteriore alimentazione?
                                ho gia aumentato la durata dell'impulso da 1 a 4 con il comando M569; (M569 P5 T4 (MOTOR X) (M569 P6 T4 (MOTOR Y), ma il risultato è lo stesso, forse perchè non ho collegato ENA+ e ENA-?

                                1 Reply Last reply Reply Quote 0
                                • pacioc193undefined
                                  pacioc193
                                  last edited by

                                  Ciao,

                                  Devi collegare i poli ENA+ e ENA-.
                                  Inoltre il comando esatto M569 è il seguente :

                                  M569 S"orario o antiorario" P"numero motore" R1 T4:4:5:0

                                  Hai l'obbligo di mettere tutti e 4 i parametri nell'opzione T o non funzionerà correttamente

                                  1 Reply Last reply Reply Quote 0
                                  • giuseppeundefined
                                    giuseppe
                                    last edited by

                                    ok grazie, provo stasera e poi ti faccio sapere....

                                    1 Reply Last reply Reply Quote 0
                                    • giuseppeundefined
                                      giuseppe
                                      last edited by

                                      i motori iniziano a vibrare con una rotazione avanti e indietro velocissima, invio file di configurazione
                                      M586 P0 S1 ; Enable HTTP
                                      M586 P1 S0 ; Disable FTP
                                      M586 P2 S0 ; Disable Telnet

                                      ; Drives
                                      M569 P0 S1 ; Drive 0 goes forwards
                                      M569 P1 S1 ; Drive 1 goes forwards
                                      M569 P2 S0 ; Drive 2 goes backwards
                                      M569 P3 S1 ; Drive 3 goes forwards
                                      M569 S1 P5 R1 T4:4:5:0
                                      M569 S1 P6 R1 T4:4:5:0
                                      M584 X5 Y6 Z2 E3 ; Apply custom drive mapping
                                      M350 X16 Y16 I0 ; Configure microstepping without interpolation
                                      M350 Z16 E16 I1 ; Configure microstepping with interpolation
                                      M92 X42.667 Y42.667 Z200 E1500 ; Set steps per mm
                                      M566 X900 Y900 Z900 E120 ; Set maximum instantaneous speed changes (mm/min)
                                      M203 X6000 Y6000 Z3000 E1200 ; Set maximum speeds (mm/min)
                                      M201 X500 Y500 Z500 E250 ; Set accelerations (mm/s^2)
                                      M906 X800 Y800 Z1300 E1300 ; Set motor currents (mA)
                                      M84 S0 ; Disable motor idle current reduction

                                      ; Axis Limits
                                      M208 X0 Y0 Z0 S1 ; Set axis minima
                                      M208 X300 Y300 Z400 S0 ; Set axis maxima

                                      ; Endstops
                                      M574 X1 Y1 Z1 S0 ; Set active low endstops

                                      ; Z-Probe
                                      M558 P0 H5 F120 T6000 ; Set Z probe type to switch and the dive height + speeds
                                      G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
                                      M557 X15:285 Y15:285 S20 ; Define mesh grid

                                      ; Heaters
                                      M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
                                      M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                                      M143 H0 S120 ; Set temperature limit for heater 0 to 120C
                                      M305 P1 X200 ; Configure thermocouple for heater 1
                                      M143 H1 S350 ; Set temperature limit for heater 1 to 350C

                                      ; Fans
                                      M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                      M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                                      M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

                                      ; Tools
                                      M563 P0 D0 H1 ; Define tool 0
                                      G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
                                      G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

                                      ; Automatic saving after power loss is not enabled

                                      ; Custom settings are not configured

                                      1 Reply Last reply Reply Quote 0
                                      • pacioc193undefined
                                        pacioc193
                                        last edited by

                                        Ciao,

                                        non vedo da nessuna parte il comando per settare la duet in cinematica CoreXY. Lo hai impostato?

                                        M667 S1 ; Select CoreXY mode

                                        1 Reply Last reply Reply Quote 0
                                        • giuseppeundefined
                                          giuseppe
                                          last edited by

                                          si è settato core xy, non lo vedi perchè ho preso solo una parte di configurazione

                                          1 Reply Last reply Reply Quote 0
                                          • giuseppeundefined
                                            giuseppe
                                            last edited by

                                            NESSUNO MI AIUTA?

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