Machsupport Forum
Mach Discussion => Brains Development => Topic started by: willemmy on March 05, 2010, 12:30:24 PM
-
I am making a brain to watch spindle rpm and e-stop if the feedback from the VFD is 0 while spindle led is on.
Problem.....When the spindle on command is given, at that point the spindle feedback is 0 for a split second so there is a failure.
Question.....How can I delay the reading of the feedback RPM after the spindle led in on so I can wait so many seconds for the spindle to be at speed, then start checking the RPM feedback to make sure the spindle actually came on?
I have tried for several hours to use a timer to delay the reading, my assumption is that you can't use timers to delay the reading.
Thanks in advance!
Jim
-
Maybe you could include the "Dwell Active" LED in your brain as a condition.
Set the dwell in the spindle set-up for a second or two.
Just a guess.
RC
-
RC,
Great idea.....that should have worked.
But when I tired it there is a split second before the dwell takes active that the spindle is 0 rpm and throws a true.
So the brain runs thru too fast to see the dwell active.
Somehow I have to have time to get the spindle past 0 rpm before comparing that it is 0 rpm. >:(
Thanks for the idea!!
Jim