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

    Help me with dual z motors

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    7
    222
    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.
    • nirmal2013undefined
      nirmal2013
      last edited by

      Hi,

      I am using duet 2 wifi, 12v PSU and 2 Z motors.

      when i do "G1 H2 Z10" only one motor is rotating & another is making some noise and not rotating. this when in no load condition itself.

      thanks in advance!

      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by Veti

        do not use H2 for the testing

        post your config.g

        how are the motors connected.
        what are the specs of the motors

        1 Reply Last reply Reply Quote 0
        • nirmal2013undefined
          nirmal2013
          last edited by

          Thanks for your reply...

          Here is my config file:

          ; Configuration file for Duet WiFi (firmware version 3)
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v3.2.0 on Fri Jan 01 2021 10:57:11 GMT+0530 (India Standard Time)

          ; General preferences
          G90 ; send absolute coordinates...
          M83 ; ...but relative extruder moves
          M550 P"M4P" ; set printer name
          M669 K1 ; select CoreXY mode

          ; Network
          M551 P"mithunji" ; set password
          M552 S1 ; enable network
          M586 P0 S1 ; enable HTTP
          M586 P1 S0 ; disable FTP
          M586 P2 S0 ; disable Telnet

          ; Drives
          M569 P0 S0 ; physical drive 0 goes forwards
          M569 P1 S1 ; physical drive 1 goes forwards
          M569 P2 S0 ; physical drive 2 goes backwards
          M569 P3 S1 ; physical drive 3 goes forwards
          M584 X0 Y1 Z2 E3 ; set drive mapping
          M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
          M92 X80.00 Y80.00 Z2560.00 E100.00 ; set steps per mm
          M566 X600.00 Y600.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
          M203 X12000.00 Y12000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
          M201 X2000.00 Y2000.00 Z50.00 E3000.00 ; set accelerations (mm/s^2)
          M906 X950 Y950 Z950 E950 I30 ; set motor currents (mA) and motor idle factor in per cent
          M84 S30 ; Set idle timeout

          ; Axis Limits
          M208 X0 Y0 Z0 S1 ; set axis minima
          M208 X230 Y270 Z200 S0 ; set axis maxima

          ; Endstops
          M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
          M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop

          ; Z-Probe
          M558 P5 C"^zprobe.in" H5 F0 T6000 ; set Z probe type to switch and the dive height + speeds
          G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height
          M557 X15:215 Y15:195 S20 ; define mesh grid

          ; Heaters
          M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
          M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
          M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
          M140 H0 ; map heated bed to heater 0
          M143 H0 S120 ; set temperature limit for heater 0 to 120C
          M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
          M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
          M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
          M143 H1 S280 ; set temperature limit for heater 1 to 280C

          ; Fans
          M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
          M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
          M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
          M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on

          ; Tools
          M563 P0 D0 H1 F0 ; 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

          ; Custom settings are not defined

          ; Miscellaneous
          M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

          1 Reply Last reply Reply Quote 0
          • nirmal2013undefined
            nirmal2013
            last edited by

            Both the motors are connected in Z pins, & motors are NEMA17, 4.2kg/cm with 1.2Amps

            1 Reply Last reply Reply Quote 0
            • Vetiundefined
              Veti
              last edited by

              the motors on z are wired in series. this haves the voltage.
              6v will not be enough to drive the motors.

              connect the second z motor to e1.

              change M584 X0 Y1 Z2 E3 to M584 X0 Y1 Z2:4 E3
              place the jumpers back on the second z connector.

              M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin
              M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp

              your thermistor settings are incorrect. find the correct beta value in your thermistor documentation.

              you have not pid tuned the bed or heater.

              G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height

              you are missing the offset of the probe

              nirmal2013undefined 2 Replies Last reply Reply Quote 1
              • nirmal2013undefined
                nirmal2013 @Veti
                last edited by

                @Veti, thanks a lot for immediate reply...

                Z motors are sorted now....

                will check the thermistor settings...

                1 Reply Last reply Reply Quote 0
                • nirmal2013undefined
                  nirmal2013 @Veti
                  last edited by

                  @Veti said in Help me with dual z motors:

                  you have not pid tuned the bed or heater.

                  yes, yet to do... thanks!

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