Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 09:58:58 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  Delay Reading DRO's
Pages: 1   Go Down
Print
Author Topic: Delay Reading DRO's  (Read 941 times)
0 Members and 1 Guest are viewing this topic.
willemmy
Active Member

Offline Offline

Posts: 5


View Profile
« 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
Logged
Overloaded
Global Moderator
*
Offline Offline

Posts: 3,072



View Profile
« 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
Logged

"I haven't failed. I've just found 10,000 ways that won't work."         Edison

"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
willemmy
Active Member

Offline Offline

Posts: 5


View Profile
« 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.  Angry

Thanks for the idea!!

Jim
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!