Hello Guest it is December 26, 2024, 07:07:27 PM

Author Topic: Delay Reading DRO's  (Read 4864 times)

0 Members and 1 Guest are viewing this topic.

Delay Reading DRO's
« 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
Re: Delay Reading DRO's
« Reply #1 on: March 05, 2010, 12:59:03 PM »
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
Re: Delay Reading DRO's
« Reply #2 on: March 05, 2010, 02:16:05 PM »
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