silencing a buzzer

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
mouton63
Posts: 17
Joined: Wed Jan 23, 2013 5:38 pm

silencing a buzzer

Post by mouton63 »

Hi all;

First of all, thanks to those who have helped me so far :)
Now i have a little bit more help to ask so please bear with me? :?
i have integrated the toggle push button (that you guys helped me with) into my design & now im stuck again...
please find attached my fcf file.
ok here goes;
AN0, AN1, AN2, AN3 I use for monitoring EOL (end of line resistor) inputs.
That all works fine.
The 24V SUPPLY toggle switch i use for main battery disconnect, that works fine.
The latching LED outputs work fine.
The "HEARTBEAT" works fine
Now here comes my dilemma;
when i have a "FAULT" or "FIRE" condition i call a macro which gives the following respectively;
"FAULT" intermittent "buzzer" beep.
"FIRE" continuous "buzzer beep.
No problems here... However, i would like to "SILENCE" (SILENCE push button) the "FAULT" buzzer on say... AN1when its activated.
However, should AN2, etc activate in "FAULT" then the buzzer must resume its intermittent sound until i press the "SILENCE" button again.
This must be the same for "FIRE" & "FAULT" on AN0 through to AN3.
Every/any "FAULT" or "FIRE" condition on any of the input ports must activate the buzzer & be silenced by the momentary push button until such time as another port condition arrives.
Please help coz im struggling :|

Frustratingly enough i do not have the knowledge of how to do this :(
Attachments
VEHICLE FIRE CONTROLLER new.fcf
(43.75 KiB) Downloaded 294 times

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: silencing a buzzer

Post by medelec35 »

I have made some changes for you.

Let me know if I have not got it the way you want, then i will make some changes for you.

Martin
Attachments
VEHICLE FIRE CONTROLLER new1.fcf
(44.35 KiB) Downloaded 258 times
Martin

mouton63
Posts: 17
Joined: Wed Jan 23, 2013 5:38 pm

Re: silencing a buzzer

Post by mouton63 »

Hi Martin
Thank you so much, it works :D
One thing though, the "fire", "fault" and "pressure switch" LED's on the left and the "solenoid" & "shutdown relay" outputs must remain on after a condition has occurred.
They must not clear when "silence" is pressed.
These LED's and outputs must remain on regardless of the condition/ status of that (or any other) port until "RESET" is pressed.
The LED's on the left is like a memory feature/ indication for the operator/foreman to see what activated.
"Fault" will be loss of EOL resistor (cable cut/damaged) & "fire" for sensor in alarm
These LED's can only be reset once the reset button (MCLR pin) is pressed.
The "solenoid" & "shutdown relay" are outputs to relays in the vehicle that shut it down & activate a fire suppression agent,
thus they also must remain on until the reset button (MCLR pin) is pressed.
The 24V Supply LED & buzzer automatically clears when the condition is cleared, (toggle switch) however should the vehicle go in for maintenance & they remove the battery terminal from the vehicle main battery then they must be able to silence the buzzer, otherwise it will drive the maintenance crew crazy. (This is AFRICA, they WILL bash it in, trust me!)
PS, the "Pressure switch" (AN3) must NOT activate the "fire" LED's nor the "solenoid" & "shutdown relay" it only activates the yellow "Pressure switch" LED & buzzer as an indication for loss of pressure.

Thank you so much for your help thus far, i really appreciate it :D

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: silencing a buzzer

Post by medelec35 »

No probs.
Maybe this is more like it?

I have left the unused macros in, as you may have created them for future development.

Martin
Attachments
VEHICLE FIRE CONTROLLER new2.fcf
(40.7 KiB) Downloaded 261 times
Martin

mouton63
Posts: 17
Joined: Wed Jan 23, 2013 5:38 pm

Re: silencing a buzzer

Post by mouton63 »

Hi Martin,
That's perfect thank you so much :D
Is it possible to make the buzzer activate again when a different port triggers a fault or fire condition when a previous port condition has already been silenced?

Regards
Andrew

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: silencing a buzzer

Post by medelec35 »

Hi Andrew,
It gets more complex if adding extra conditions, so I hope this it ok?

Martin
Attachments
VEHICLE FIRE CONTROLLER new3.fcf
(42.01 KiB) Downloaded 278 times
Martin

mouton63
Posts: 17
Joined: Wed Jan 23, 2013 5:38 pm

Re: silencing a buzzer

Post by mouton63 »

Hi Martin
Its works fine thank you.
I really appreciate the effort you made to help me, thank you so much :D

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: silencing a buzzer

Post by medelec35 »

mouton63 wrote: Its works fine thank you.
I really appreciate the effort you made to help me, thank you so much :D
your welcome, glad its working ok for you.

Thanks for letting me know. :)
Martin

Post Reply