Description

Learn how to setup escalation procedures in alarm notification pipelines.

Video recorded using: Ignition 7.7

Transcript

(open in window)

[00:00] It's possible to set up Escalation Procedures in your Alarm Notification Pipelines and Ignition. So, let's create a pipeline here, it's going to notify the operators a maximum of three times, and if the alarm is still active after the third time, we're going to escalate that up to a manager. So, first and foremost, in order to keep track of the number of times that we have notified the operators, we have to actually set a property inside this pipeline. So I'm going to bring in the set property block in the very beginning and from the start I'm going to come right into this set property. Essentially here, I'm going to call that property num times. I'm going to initialize that to a value of one. Then from there, I'm going to bring in the notification block. So, from the output pin to set property, I'm going to go ahead and notify in this case via voice, I'm going to notify all the operators. Then I'm going to call every single operator in that list and if the alarm is still acknowledged, sorry, if the alarm is still active and not acknowledged after it reaches the output pin, then we need to do something more of it. We have to basically come back around. So, what we're going to do is, we're going to do a simple delay here, we're going to delay for let's say, 60 seconds, so, a whole minute. After that, then if the alarm is still active, we need to increment our counter. So, I'm going to set another property here. And then, it actually right click on the block, you can reverse the orientation, and so, I'm going to do it from the delay on to come into the set property. The set property is going to be, the property is going to be num times, and then expression of that is going to be, is the previous value, num times plus one, so you just got to type that in there. And in the expression you got to use the curly braces to refer to that variable. So, now I'll increment at that counter by one, after that, we're going to come back into notify the operators. So, we're going to do this, you know, maximum number of three times. Before we actually can go right back in, we need to check somewhere that it's been three times we've notified them. So, I'm going to bring an expression block to do this. I'm going to put an expression block right here, come and right click and reverse the orientation of those output pin and the input pins. From the set property, I'm going to bring into the end of the expression. And the expression is going to check if the number of times is less than three. If it is less than three, it's going to return True. And we're going to go on right back into the notification. If it is basically three or higher, essentially, we're going to return False. So, we want to escalate that up to the managers. So, in this case, we're going to do another notification block here. Good, I'm going to reverse the orientation. And from the False, I'm going to come into the end of notification. And here, I'm going to notify via voice the managers. So, as you can see here, this little pipeline, when it comes in, alarm comes in, it's going to set the number of times variable to a value of one, it's going to notify all the operators through voice, if the alarm is still active, it's going to wait a minute, increment my counter by one, check to see it is less than three, if it's less than three, go back in and notify the operators again. After that if it's still active, we wait a minute and do it one more time. After the third time, if it's still active, it's still in the pipeline, then we're going to notify the managers. And keep in mind that if the alarm at any point it'll becomes acknowledged or clear it's going to drop out of the pipeline.

You are editing this transcript.

Make any corrections to improve this transcript. We'll review any changes before posting them.