Z axis movement + + -+ or -+–
-
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 timeoutFirmware 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 -
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.
-
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.