-
Notifications
You must be signed in to change notification settings - Fork 5
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
VFD does not stop spindle when gcode stopped #9
Comments
Is this with the latest version? |
Sorry for taking a bit to get back to you life has been crazy [VER:1.1f.20220325:] |
In doing some more testing A reset seems to stop the spindle while a stop does not. Not sure if that helps any. |
I have seen this before as well, all the way up to current version. It is consistent when using a VFD spindle. I have looked for the cause of this in the spindle/vfd code a couple of times but have not found the issue. I have tried adding a spindleSetState call (with null state and 0 rpm) in the VFD plugin to the driver reset function, but this didn't solve the problem. |
I can confirm that there is a bug in the sequencing of commands on a driver reset when a stop command is issued. I have not managed to fix it yet - will switch to a STM32 driver for easier debugging. |
Fix comitted - there are changes both in the core and the modbus code. Note that I have only tested with my simulator as I do not have a VFD. |
I have a HY 1.5K Spindle that works perfectly. I can start and stop the spindle from io sender without any problems. From time to time when i have to abort the program the spindle does not stop. IO Sender says its off and the rpm is 0 but its still spinning. I'm not sure what else you would like to help debug this but will answer any questions and provide any data you need.
The text was updated successfully, but these errors were encountered: