Hello Guest it is December 08, 2024, 01:02:03 AM

Author Topic: Spindle Delay?  (Read 14918 times)

0 Members and 1 Guest are viewing this topic.

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
Re: Spindle Delay?
« Reply #10 on: June 15, 2013, 09:51:40 AM »
Some drives have a zero speed output that would probably be easiest.  You could use the index pulse and a brain I think though but that would make things a good bit more complicated.  Internally mach's dwell will be tied to the delay set in spindle config.  So, I guess you could set the delay to 0 and then anything you want to wait for spindle stop confirmation you would have to be sure and set it up to watch the output from your brain instead of the dwell.  Also, your brain would need to be able to sense signal change, not just on or off state of the index signal because you don't know if the spindle is going to stop in a position that makes the switch active or inactive.  Then, you will only be able to guarantee the spindle is below a certain speed, not necessarily stopped unless you have a brake stopping the spindle rotation.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline sebba

*
  •  42 42
Re: Spindle Delay?
« Reply #11 on: June 15, 2013, 11:22:23 AM »
so not as simple as I hope :)
I'll try to translate and adapt a Romanian adage: "Don't ever touch if it's working!"
so... I'll keep my custom PP which add the Dwell parameter into G-Code, which is working good enough for me :)

kind regards