-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steppers misbehaving workaround and steps per mm wrong #14
Comments
Hi, i have discovered from manual that 32 microsteps means 8192 steps per 360° revolution. |
You do not read the documentation :P 42 Stepper Motor Closed Loop Driver Board User Guide 5、We found that when SKR V1.3 motherboard was used define MINIMUM_STEPPER_PULSE 3define MAXIMUM_STEPPER_RATE 1500002.Modify the pulse signal sampling frequency in the S42B |
The documentation is poorly written and translated (former tech documenter here). I did find a solution and documented it here for others to find. Funny enough, hard coding #define MINIMUM_STEPPER_PULSE 1 works as well. |
@Marcusbjol |
EDIT: I was interpreting the function wrong! setting TB6600 in Marlin will reduce all driver timings not only the respective axis! As I only have the extruder running on a hybrid stepper driver, I increased MAXMUM_STEPPER_RATE in configuration_adv.h to get at least the 500mm/s speed limitation on my X/Y removed. in Marlin firmware you can just select the TB6600 drivers for the axis with the S42B in the Configuration.h Stepper Drivers section. Worked for me without issues with TMC2209 on X/Y/Z and only extruder with S42B. This activates this timing profile just for the respective axis (see configration_adv.h in Marlin). Minimum delay before and after setting the stepper DIR (in ns) Minimum stepper driver pulse width (in µs) Maximum stepping rate (in Hz) the stepper driver allows and I also activated this here as well for my TMCs
|
Thats an awesome suggestion. I'm gonna try that right away. |
Seeing odd behavior regardless of which stepper timing I set (tried their recommended settings). The first move of the X-axis moves very rapidly and then moves as expected. Their firmware needs some work. Additionally, as stated before, their solution degrades performance with their TMC2130 stepper drivers as well. They are responsible for providing compatible firmware for all their products (using BTT SKR 1.4 Turbo, BTT 2130 Drivers for Z+E0+E1, and BTT closed loop for X+Y). Incomplete product they need to update. |
@Marcusbjol The timing can be set in Marlin per axis using the "TB6600" timing profile |
Implementing that fix solved the issues. Thanks for the help guys. |
Hey Quas7, Regards, |
Hey Kevin, great that it worked out as intended and thanks for giving positive feedback. :) Best regards, |
hello, i have same problem. i change X , Y axis driver with S42B 1.1 . Working but with wrong steps per mm..For examper: instead of moving 150mm this move 120mm.. with old driver work ok.. i add to configuration.h this lines.... but dont change nothing. how to fix this? sorry but my english is not good |
When I recieived the 2 stepper motors, one did not move. I followed the fixes in teaching techs video by changing 2 lines in config_adv.h
#define MINIMUM_STEPPER_PULSE 3
#define MAXIMUM_STEPPER_RATE 150000
After implementing this, both steppers worked.
However, both have radically altered the steps per mm setting. Before the changes, they were set to 1280 with 16 microstepps. After, the movement was way off. By some experimentation, I was able to get it to print properly with y 204.95 and x 207.03 and 32 microsteps on both.
Reading config_adv.h, I will try
#define MINIMUM_STEPPER_PULSE 1
#define MAXIMUM_STEPPER_RATE 500000
to match the driver.
The text was updated successfully, but these errors were encountered: