Movement Speed Issues with X16 Microstepping
-
I'm running a Duet2WiFi board with firmware version 3.2. Do I need to change my movement speeds when I change the microstepping value? I have been running X128 microstepping because that's what the web configuration builder set for me, but it was recommended for me to reduce that to X16 with Interpolation, in order to save on CPU processing. After changing the values from X128 to X16, all of my stepper motors move extremely fast to the point where the bind on the end stops. When I change the values back to 128 for all axis, they move normally again.
The only thing that I can think of is that the speeds in my homing files are too fast when the printer is set to X16. Below are the relevant movement speeds from my config and my homing file. I currently have interpolation set to off, but the issue persists with it on or off. Thanks for your help!
config.g
M350 X16 Y16 Z16 E16 I0 ; configure X16 microstepping without interpolation
M92 X640.00 Y640.00 Z3200.00 E95.00 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X12000.00 Y12000.00 Z1200.00 E3000.00 ; set maximum speeds (mm/min)
M201 X1000.00 Y1000.00 Z100.00 E5000.00 ; set accelerations (mm/s^2)
M906 X855 Y855 Z331 E855 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30homeall.g
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-205 Y-205 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F6000 ; go back a few mm
G1 H1 X-205 Y-205 F360 ; move slowly to X and Y axis endstops once more (second pass)
;G1 X2 Y59 F6000 ; go to first bed probe point and home Z
G90 ; absolute positioning
;G1 H1 Z-205 F360 ; move Z down stopping at the endstop
G1 X2 Y59 F6000 ; go to first bed probe point and home Z
;M558 P9 F300 ; speed up homing probe
M558 F300 ; speed up homing probe -- Was told to remove P9 from this command by forum moderator -- JSN
G30 ; home Z by probing the bed
;M558 P9 F120 ; slow down homing probe for second pass
M558 F120 ; slow down homing probe for second pass -- Was told to remove P9 from this command by forum moderator -- JSN
G30 ; home Z by probing the bed -
You need to adjust your steps/mm since you went from 128x microstepping to 16. I would assume it is your x, y and z so x & y should be 80 each and z would be 400.
-
This deals with that issue:
When M350 is processed, the steps/mm will be adjusted automatically to allow for any changes in microstepping. Therefore you can either:
a) Set Steps/mm correctly for the default 1/16 microstepping, then set the microstepping to the desired amount using M350:
M92 X80 Y80 Z400 ; set axis steps/mm
M92 E420:430 ; set extruder 0 and 1 steps/mm
M350 X128 Y128 Z128 E128:128 ; set microstepping
orb) Set the microstepping using M350 and then set the correct steps/mm for that microstepping amount:
M350 X128 Y128 Z128 E128:128 ; set microstepping
M92 X640 Y640 Z3200 ; set axis steps/mm @128 microstepping
M92 E3360:3440 ; set extruder 0 and 1 steps/mm
Assuming that in the first example the microstepping was initially at the default x16, both the above examples result in the same steps/mm settings.Since in your case M350 proceeded M92 changing M350 required a change in M92.
Had M92 proceeded M350 then changing M350 would have been all that was needed.
Something to remember for the future.
Frederick
-
Thanks JamesM and fcwilt!
Before I upgraded my board to the Duet2WiFi, (from a Melzi) I calculated my E Steps and set the E value to 95 steps/mm. I carried that value over, even when I had X128 microstepping enabled. I noticed in the instructions above that with X16 microstepping, the recommended E value is 420. Does that need to be modified for E Step calibration to ensure that the right amount of filament is extruded?
-
@jsn0327 said in Movement Speed Issues with X16 Microstepping:
Thanks JamesM and fcwilt!
Does that need to be modified for E Step calibration to ensure that the right amount of filament is extruded?
It is always a good idea to check E calibration and adjust the steps/mm as needed to get extruding exactly right.
Frederick
-
@fcwilt Ok, thanks!