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

    Z axis movement + + -+ or -+–

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    3
    523
    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.
    • tmreithundefined
      tmreith
      last edited by

      odd behavior with new Z axis stepper motor.

      Motor tests out on bread board with standard 4-wire hookup.

      Nema 17 3.71:1 Planetary Geared Stepper Motor. Current is 1.7a with 1.8 step angle

      When using Machine Control and pressing [Z-10] or [Z+10] multiple times in a row, the direction switches after 1 or 3 consecutive commands.

      Very confusing 🙂 I had to turn off microstepping on Z to get the motor to turn

      Below is snapshot of my current settings.

      ; Drives
      M569 P0 S1 ; Drive 0 goes forwards
      M569 P1 S1 ; Drive 1 goes forwards
      M569 P2 S1 T1 ; Drive 2 goes forwards
      M569 P3 S1 ; Drive 3 goes forwards
      M350 X16 Y16 Z1 E16 I0 ; Configure microstepping without interpolation
      M92 X200 Y200 Z33.333 E420 ; Set steps per mm
      M566 X12000 Y12000 Z3000 E120 ; Set maximum instantaneous speed changes (mm/min)
      M203 X180000 Y180000 Z9000 E1200 ; Set maximum speeds (mm/min)
      M201 X1000 Y1000 Z250 E250 ; Set accelerations (mm/s^2)
      M906 X2000 Y2000 Z1800 E2000 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      Firmware Name: RepRapFirmware for Duet WiFi
      Firmware Electronics: Duet WiFi 1.0
      Firmware Version: 1.20 (2017-12-23)
      WiFi Server Version: 1.20
      Web Interface Version: 1.20

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

        In some situations you can get a stepper motor to turn in a random direction with only one coil connected, first thing i would double check is your wiring and look out for cheap breadboards, some times the the wires do not make the best contact. Hard to imagine this getting caused by the Duet as that kind of error can cause physical damage to a printer and we would hear about it.

        1 Reply Last reply Reply Quote 0
        • tmreithundefined
          tmreith
          last edited by

          spot on! bad harness from Duet to motor. One of the connectors was sketchy. Replaced and humming along.
          Thanks for the 2nd set of eyes. I was spending way too much time on this hick up.

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