Hello Guest it is November 22, 2019, 09:04:23 PM

Author Topic: re brains timers  (Read 6779 times)

0 Members and 1 Guest are viewing this topic.

re brains timers
« 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?

Offline Chaoticone

*
  • *
  •  5,631 5,631
  • Precision Chaos
    • View Profile
Re: re brains timers
« 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
;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!
Re: re brains timers
« 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

Offline Chaoticone

*
  • *
  •  5,631 5,631
  • Precision Chaos
    • View Profile
Re: re brains timers
« 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
;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 poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: re brains timers
« 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
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/
Re: re brains timers
« 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


Re: re brains timers
« 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

Offline Chaoticone

*
  • *
  •  5,631 5,631
  • Precision Chaos
    • View Profile
Re: re brains timers
« 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
;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 poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: re brains timers
« 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
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/
Re: re brains timers
« 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