@R3D said in Odd behavior of Stepper motors on Duet 3.:
M584 X10.0 Y11.0 Z0.0:0.5 C0.1 E20.0:21.0:22.0:0.4:0.2:0.3 ; Set Drive Mapping
M350 Z8 C8 I0 ; Configure Microstepping w/o Interpolation
M350 E16:16:16:16:16:16 I1 ; Configure Microstepping w/ Interpolation
M92 X80.00 Y80.00 Z1600.00:1600.00 C100.00 E208.70:208.70:208.70:111.69:111.69:111.69 ; Set Steps per mm
M566 X600.00 Y600.00 Z12.00:12.00 C120.00 E120.00:120.00:120.00:120.00:120.00:120.00 ; Set maximum instantaneous speed changes (jerk) (mm/min)
M203 X6000.00 Y6000.00 Z300.00:300.00 C3000.00 E2500.00:2500.00:2500.00:2500.00:2500.00:2500.00 ; Set Maximum Speeds (mm/min)
M201 X500.00 Y500.00 Z20.00:20.00 C400.00 E2500.00:2500.00:2500.00:2500.00:2500.00:2500.00 ; Set Maximum Accelerations (mm/s^2)
M906 Z1800 C400 E1100:1100:1100:1250:1250:1250 I100 ; Set Motor Currents (mA) and Motor Idle Factor (%)
The XYZ axes M584 is correct, but M92, M566, M203, M201 it is not possible to define multiple Z values. XYZ values are defined for those M G-Codes per axis, only one value each. Only for the extruders multiple values are allowed, because the are interpreted as if they are separate axes. deckingman explained it nicely, but I cannot find the link in the forum.
Found it: https://forum.duet3d.com/topic/17153/duet3-expansion-board-3hc-no-can-connection/31?_=1592929742064
Wiring stepper (stepper disconnected from the driver!): there is a simple method to find the pairs: keep all 4 wires separated, turn the shaft to find out the torque force. Then short two wires and if you cannot turn the motor any more, they belong together. You cannot find out the rotation direction with this method, however.