Stepper Disable to Enable Timing Problem #299
Replies: 3 comments 1 reply
-
Lazyness? IMO the Grbl version number has lost its meaning now that there are several ports available with different functionality. I use the build date to determine controller functionality when I detect grblHAL firmware in ioSender.
Not without adding code support for it. I have no intention of doing so for MCUs without a FPU and the STM32F103 falls in that category.
There is a pause time implemented already - but somewhat randomly across drivers. For the F103 it is set in this function.
There will be an additional delay before the first step pulse is output - dependent on acceleration settings. |
Beta Was this translation helpful? Give feedback.
-
MSP432P401R and STM32F4xx - STM32F7xx is a candidate (no supporting board maps as of now). See the drivers overview. |
Beta Was this translation helpful? Give feedback.
-
Hello terjeio, thank you for your quick answers. To 1: Did I understand correctly that the delay for the StepperEN is already included, or do I have to insert the code lines from you if needed ? To 2. with the spindle synchronization and the MCUs with FPU I understand well. The statement that this is only provided for these MCUs is okay. How can I activate the spindle synchronization ? With your ingenious WebBuilder I have found no setting for it. Many thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Hello,
this is my first request or soagr an important note.
First of all I would like to thank everyone involved in this great software.
I have some questions and an important note with the request to add this in the software if necessary.
First my questions:
i noticed that the GRBL version 1.1f is used and not the version 1.1h. Why is that so ?
Can the board "BSMCE04U" be used with a rotary encoder for the spindle synchronization
for a lathe and where would it have to be connected?
I suspect that the STM32F103 CPU will not be able to do this.
Therefore I plan for the lathe, with a spindle synchronization, the Teensy 4.1.
Are there other microcontrollers for the spindle synchronization?
Now my important note:
I have used GRBLHAL on a BSMCE04U board for a CNC mill.
The DM542T (Z-axis) and two DM556T (X- and Y-axes) were used as output stages. Because the function "Stepper-Enable" is very important to me, I tapped this directly from the 74HC541 Pin1 and provided it via a npn-transistor as inverter with open collector as additional connection.
This connection I have directly connected with the enable connections of the stepperdriver.
This works quite well except for the sometimes strong step losses when changing from Stepper Disable to Enable.
I looked at the signals with a storage oscilloscope. The signals have a ralatively good timing despite the relatively simple hardware extension for the stepper enable pin.
Unfortunately, as is now common with the Chinese, the labeling has been removed from the stepper output stage, so it took me some searching to find the stepper IC. It is an Allegro 4989 which has a twake of 1ms. This time is also needed after the above mentioned change from Disable to Enable.
The explanation is relatively simple, this time is needed for the charging process of the bootstrap capacitors !!!.
All other stepper output stages are running fine with my invalidation. As other test stepper output stages I have used TB6600 TB6560 self-made without bootstrap capacitor. Only the output stages with Bootstrap-C make problems.
My request:
Can you please include a "pause time of about 1.5 to 2ms" after the change Disable-Enable (pin StepperEN). I.e. when the change has taken place, that the stepper pulses are output to the stepper output stages only after the delay of 1 to 1.5ms.
Many thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions