Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 01:51:13 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  re brains timers
Pages: 1 2 »   Go Down
Print
Author Topic: re brains timers  (Read 2495 times)
0 Members and 1 Guest are viewing this topic.
woffler
Active Member

Offline Offline

Posts: 119



View Profile
« on: January 05, 2009, 10:56:49 PM »

Hi everyone ! i am starting into unknown territory here i need to get a warning buzzer to go off for say 1 to 2 seconds and delay the spindle start for same .I looked at the video the first one and could not get the advanced one to run . And i read the pdf file but the timers were not covered anyone that can lend a hand?
Logged
Chaoticone
South Carolina, US
Administrator
*
Offline Offline

Posts: 3,598


Precision Chaos



View Profile WWW
« Reply #1 on: January 05, 2009, 11:05:45 PM »

How do you want the buzzer to be turned on? When you turn the spindle on, you want a buzzer for 2 seconds then spindle starts?

Brett
Logged

Grin If you could see the things I have in my head, you would be laughing too. Grin
www.precisionchaos1.com
My guard dog is not what you need to worry about!
woffler
Active Member

Offline Offline

Posts: 119



View Profile
« Reply #2 on: January 06, 2009, 09:13:33 PM »

Yes that's exactly what i am looking for : if what i saw in the video is true you can control relays with brains and outputs now as to how the timers work I'm not sure or if what i am asking is possible if it is could you please provide a example with a little explanation on how to do it .I am installing a stack light warning system as this machine is a large mill sets next to a entrance to a building I've scared few folks with this machine starting up and would like to provide a little warning as well as a little safety. Your help would be greatly appreciated thank you
Logged
Chaoticone
South Carolina, US
Administrator
*
Offline Offline

Posts: 3,598


Precision Chaos



View Profile WWW
« Reply #3 on: January 06, 2009, 10:22:46 PM »

woffler, what your wanting to do will require a little more than a brain I believe. I have sent you a personal message.

Brett
Logged

Grin If you could see the things I have in my head, you would be laughing too. Grin
www.precisionchaos1.com
My guard dog is not what you need to worry about!
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #4 on: January 07, 2009, 07:36:15 PM »

Woffler,

   Goto ports/pins >spindle, and set your spin CW delay to 2 seconds, in your M3 macro, have a user led like 2000, turn on, have a Brain watch that LED, when it turns on gothrough a timer with a 2 second ON single shot pulse. That will do your Stack Light Buzzer. In your M5 put the User Off for LED 2000 to reset it for the next tool.

scott
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Overloaded
Global Moderator
*
Offline Offline

Posts: 3,072



View Profile
« Reply #5 on: January 07, 2009, 07:38:55 PM »

Hey Woffler/Brett,
This little block seems to do what you are describing.
Just put this in the M3 macro.
Is it SAFE ?


ActivateSignal(Output3)      'OUTPUT of choice for BUZZER
Code "G4 P2"                    'BUZZING for duration of "P" (sec.)
While IsMoving
Wend
DoSpinCW()                      'SPINDLE START
DeActivateSignal(Output3)  'BUZZER OFF


Just tinkering,
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
Overloaded
Global Moderator
*
Offline Offline

Posts: 3,072



View Profile
« Reply #6 on: January 07, 2009, 09:21:22 PM »

Hey Poppa...good timing !
Just tried your method for the practice and experience.....I like it.
Can you tell me if there are any advantages or disadvantages of using either your method or the one I posted ?

Just wondering if I may have overlooked anything that could come back and bite me in the behind.

Thanks,
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
Chaoticone
South Carolina, US
Administrator
*
Offline Offline

Posts: 3,598


Precision Chaos



View Profile WWW
« Reply #7 on: January 07, 2009, 11:02:57 PM »

Thanks fellows, I'm busy as a one legged man in a butt kicking contest.

Brett
Logged

Grin If you could see the things I have in my head, you would be laughing too. Grin
www.precisionchaos1.com
My guard dog is not what you need to worry about!
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #8 on: January 08, 2009, 05:41:41 PM »

The are many, many ways to do things in Mach, and that is what makes it great for all of us. You way is just as good as mine. I only put mine up cause he asked how to do it with a Brian............

Scott
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Overloaded
Global Moderator
*
Offline Offline

Posts: 3,072



View Profile
« Reply #9 on: January 08, 2009, 06:16:05 PM »

That's what I assumed. I tried to do it w/a Brain but couldn't figure it out. You make it seem so simple.......like you spit that out without even thinking about it. A gift I guess.
Thanks Pop,
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
Pages: 1 2 »   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!