Multiple alarms, one alarm bell

Nablar

Member
Join Date
May 2016
Location
Oslo
Posts
8
I have a huge list of alarms that triggers an alarm bell.
I am currently doing it this way (I have more than 4 alarms normally):

audioalarm.PNG


My question is this:
How can I make the same functionality in IL or ST?
If it is, I can later make a script that automates the process from Excel.
I have all the alarm variables in an Excel list.

Anny suggestions?

I am using a Schneider Electric M340 PLC and Unity Pro S V.11
 
In ST it would be something like

IF Alrm1 OR Alrm2 OR Alrm3 OR Alrm4 THEN
AlarmBell:=TRUE;
ELSE
AlarmBell:=FALSE;
END_IF;
 
First, Welcome to forum!

I would do this on FBD editor still.
This is one method, hopefully you know indirect addressing allready

attachment is Unity V10



Another method is array of words (alarms moved to words)
XOR alarm word with result of XOR result on last PLC scan. Trigger bell with result of XOR.
 
Last edited:
First, Welcome to forum!

I would do this on FBD editor still.
This is one method, hopefully you know indirect addressing allready

attachment is Unity V10



Another method is array of words (alarms moved to words)
XOR alarm word with result of XOR result on last PLC scan. Trigger bell with result of XOR.


I'm at Unity V8. Any bugs w/ 10 or 11?
 
First, Welcome to forum!

I would do this on FBD editor still.
This is one method, hopefully you know indirect addressing allready

attachment is Unity V10



Another method is array of words (alarms moved to words)
XOR alarm word with result of XOR result on last PLC scan. Trigger bell with result of XOR.

I love the XOR thingy by the way. Was trying to remember that. Any gotchas or tips on that?
 
Dear Lare,

Can you please post the example in a Pdf?

Regards

Here is with screenshot

Key is to locate all alarms to consecutive bits so they can easily loop trought.

I maded this with adding index on every PLC scan, if there is more speed needed, then loop-while on ST is better.

XOR have similar princible for oneshot detection than on download section/Allen Bradley: (method 10)

http://www.plcs.net/downloads/index...TERNATOR METHODS.pdf&directory=Allen_Bradley&
 
Last edited:
Dear Lare. Thanx for posting the PDFs. I was about to comment on the speed issue of the alarm scanning but You got it covered.
 
Last edited:

Similar Topics

Using TIA Portal v17, SIMATIC S7-1500 PLC. I am trying to write an alarm that will trigger for multiple sources, and output the triggering...
Replies
6
Views
2,506
Hello, I have to deal with iFix again and am looking at the most efficient way to create alarms to display in iFix, i.e. not creating an...
Replies
0
Views
149
Hello everyone, I have to program a PanelView plus connected to a Compact Guardlogix controller. The client has specified that there should be an...
Replies
3
Views
3,141
Is it possible to reset alarms on multiple PLC's by using one button on the FactoryTalk View ME screen. Each PLC has an independent reset bit, so...
Replies
1
Views
3,148
This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
3
Views
118
Back
Top Bottom