Steppers moving at different rates

Weird. What about M350 S16?

Or maybe M351? That looks much more annoying to use.

Send: M350 S16
Recv: MS1|2|3 Pins X:110 Y:110 Z:110 E0:110 E1:110

Interesting.

Your steps/mm will be wrong, but that should work. Have you tested a movement?

I’ll do that now.

I think the last bit might be able to be set with:

M351 S3 X1 Y1 Z1 E1 B1

The code for M351 (as future reference for me or anyone curious):

If you cant set the last bit, or you just don’t want to, the steps/mm should be 100,100,400:

M350 S16
M92 X100 Y100 Z400
M500

The steppers are working properly now. Awesome, thank you! I figured I hosed it with the endstops.

Send: M351 S3 X1 Y1 Z1 E1 B1
Recv: MS1|2|3 Pins X:111 Y:111 Z:111 E0:111 E1:111

Send: M350 S16
Recv: MS1|2|3 Pins X:110 Y:110 Z:110 E0:110 E1:110

Odd, they are all set.


So maybe the pins are not following the naming convention? Shoot, the Archim’s are great boards but they need to stop breaking them in the firmware. Way too much time poking around on them.

…also wondering if the current is the same on the rest of the drivers or if they are defaulted.

Is there a gcode for driver current? I twisted the steppers by hand and the X and Y were pretty hard to turn. Pretty much like it was last time it was working.

Can you share the output of M503?

The command to set current is either M906 or M907, I think. I can’t remember which one is for the archims.

I agree with Ryan that it is strange the microsteps weren’t set right. I don’t know if anyone has tried that before though.

I wonder if this is a problem with the eeprom reset stuff we were working on with anttix. This board did have an earlier version of the code one it. So it is possible for the spot in the eeprom for microstepping to move.

But then, why did M502 not work?

@bugilt, I would understand if you want to just move on. But I would be interested to know what the setting is after an M502:

  • M502
  • M350
  • reset, so it doesn’t save the changes.

No, I’ll do whatever you need to get some answers.

Send: M502
Recv: echo:Hardcoded Default Settings Loaded

Send: M350
Recv: MS1|2|3 Pins X:110 Y:110 Z:110 E0:110 E1:110

Send: M503
Recv: echo: G21 ; Units in mm (mm)
Recv: echo: M149 C ; Units in Celsius
Recv:
Recv: echo:; Steps per unit:
Recv: echo: M92 X100.00 Y100.00 Z400.00 E200.00
Recv: echo:; Maximum feedrates (units/s):
Recv: echo: M203 X50.00 Y50.00 Z15.00 E25.00
Recv: echo:; Maximum Acceleration (units/s2):
Recv: echo: M201 X180.00 Y180.00 Z80.00 E180.00
Recv: echo:; Acceleration (units/s2): P<print_accel> R<retract_accel> T<travel_accel>
Recv: echo: M204 P180.00 R3000.00 T180.00
Recv: echo:; Advanced: B<min_segment_time_us> S<min_feedrate> T<min_travel_feedrate> X<max_x_jerk> Y<max_y_jerk> Z<max_z_jerk> E<max_e_jerk>
Recv: echo: M205 B20000.00 S0.00 T0.00 X3.50 Y3.50 Z0.30 E5.00
Recv: echo:; Home offset:
Recv: echo: M206 X0.00 Y0.00 Z0.00
Recv: echo:; Endstop adjustment:
Recv: echo: M666 X0.00
Recv: Y0.00
Recv: echo:; Stepper motor currents:
Recv: echo: M907 X1125 Z1125 E1125

There’s your current setting. I think that is a bit high. Watch out for the steppers getting too hot.

Maybe this isn’t getting set with M502?

I’ll keep my fingers on those steppers. Anything else you want me to try?

Not right now. I think the next step is for me to dig into the M502 and see if it should be setting the microstepping better, or where it is coming from. And then maybe submit a ticket to Marlin.

ok, thanks for your help and work on this.

When I home Z it doesn’t stop when triggered. I tested it with a m119 and it shows open when open and triggered when triggered.