https://electricalmotorcontrolsystem.pages.dev/posts/spindle-capping/