Their Bug, Our Bug or Just Is What It Is
-
do you not need to set stepper timing for this?
-
@Veti said in Their Bug, Our Bug or Just Is What It Is:
do you not need to set stepper timing for this?
I think you may be correct. I do recall seeing that discussed and I completely forgot to see how it applied to my setup.
Frederick
-
External stepper drivers almost always need extended step timings.
-
@dc42 said in Their Bug, Our Bug or Just Is What It Is:
External stepper drivers almost always need extended step timings.
Thanks for the feedback.
My external device has connections for:
- power (two connections - 12 to 24 VDC for the stepper and 3.3 or 5 VDC for the electronics)
- ground
- enable (logic level can be set - defaults to active low)
- direction (logic level can be set)
- step
I don't have a lot of specs for the device:
- max speed 1000 rpm
- max current 1650 mA
- operating current - defaults to 800 mA - can be adjusted
- steps per 360 degrees - 512, 1024, 2048, 4096, 8192 - selectable
Reading the firmware docs it seems that only these M569 parameters apply for me:
-- Pnnn Motor driver number
-- Snnn Direction of movement
-- Rnnn Driver enable polarity
-- Taa:bb:cc:dd step pulse width and interval, direction setup time and hold timeAre these the correct parameters for me to work with?
Thanks.
Frederick
-
you need to set the t paramter
i would start the with a4950 datasheet
https://www.digchip.com/datasheets/parts/datasheet/029/A4950-pdf.php
-
@Veti said in Their Bug, Our Bug or Just Is What It Is:
you need to set the t paramter
i would start the with a4950 datasheet
https://www.digchip.com/datasheets/parts/datasheet/029/A4950-pdf.php
Thank you.
I will see what I can make of that information.
This morning as a test I changed the Y driver setting from reverse to normal in the config.g file.
It didn't appear to affect the normal operation of the stepper, it still went in the correct directions, but it did eliminate the movement in wrong direction after power up.
Perhaps that setting does not apply to external drivers like these but was causing the problem in some manner I do not fathom.
Frederick
-
You need to find the correct M569 T parameters for that controller. BigTreeTech should publish the following:
Minimum step high time (step pulse width)
Minimum step low time (step pulse interval)
Minimum direction-to-step setup time
Minimum step-to-direction hold timeThose values in microseconds should be used for the M569 T parameter.
If you can't find them, try something like 2:2:10:10.
-
@dc42 said in Their Bug, Our Bug or Just Is What It Is:
You need to find the correct M569 T parameters for that controller.
Thank you for that information.
I have the chip datasheet and will be studying it.
Oddly enough it seems to be working fine with what ever the default T values are.
At least "working fine" in the sense that simple test prints come out fine with no sign of strange stepper behavior.
Thanks again.
Frederick
-
For microcontroller-based controllers like that, it is usually the last T parameter (direction hold time) if any that causes the problem. The symptom if you get it too small is very small layer shifts.
-
@dc42 said in Their Bug, Our Bug or Just Is What It Is:
For microcontroller-based controllers like that, it is usually the last T parameter (direction hold time) if any that causes the problem. The symptom if you get it too small is very small layer shifts.
Thanks again.
I haven't had a chance to examine the datasheet but I will.
It's rather early to tell but the movement in XY for any given speed is very quiet compared to my other printers which are using typical steppers driven directly from the duet board.
I don't know if it is the driver, the nature of the "crossed rods" XY motion system or just the smaller size of the printer (build area roughly 200x200x200 compared to 300x300x300) but I am rather impressed with this little printer.
Frederick
-
Frederick,
Do you have any new info on this.
I am planning a new big build with Nema 23 closed loop steppers.
But first I would like to test for cheap and planing to instal S42B boards on my China 2 trees sapphire, just to see how it goes with duet, external closed loop drivers etc. I already have external stepper breackuot board
Martin -
@martin7404 said in Their Bug, Our Bug or Just Is What It Is:
Frederick,
Do you have any new info on this.
I am planning a new big build with Nema 23 closed loop steppers.
But first I would like to test for cheap and planing to instal S42B boards on my China 2 trees sapphire, just to see how it goes with duet, external closed loop drivers etc. I already have external stepper breackuot board
MartinThe S42B's seem to be doing just fine, enough so that I ordered four more.
Closed loop on the cheap and no largish external driver to deal with.
Frederick
-
@fcwilt You got set or drivers only. I have fancy 0.9 steppers on this and I would like to keep them
-
@martin7404 said in Their Bug, Our Bug or Just Is What It Is:
@fcwilt You got set or drivers only. I have fancy 0.9 steppers on this and I would like to keep them
I got the set in the hope the pieces would work well together.
Frederick
-
I will go without the motor to test , Could you share your config for these
-
@martin7404 said in Their Bug, Our Bug or Just Is What It Is:
I will go without the motor to test , Could you share your config for these
Be glad to but I am traveling for the next couple of weeks.