|
|
|
It is currently Wed Jun 19, 2013 3:39 am
|
View unanswered posts | View active topics | View unsolved topics
|
Page 1 of 1
|
[ 4 posts ] |
|
| Author |
Message |
|
linktdi
Trooper
Joined: Sun Apr 29, 2012 10:05 am Posts: 10
|
 Custom alert message
Using Ignition 7.4.2 Trying to create custom alert message. Generator is if({[Value]},"Running","Stopped") Can I embed a function in a alert message? Want to generate an alert message that says generator is running if boolean tag is 1 and generator is stopped when 0. Thanks
|
| Sun May 13, 2012 9:56 am |
|
 |
|
Travis.Cox
Moderator
Joined: Sun Apr 02, 2006 2:46 pm Posts: 1977 Location: Sacramento, CA
|
 Re: Custom alert message
The custom subject and body does not allow expression functions. You can only bring in alarm properties and tag values. In your case you will have to make an expression tag that uses the same function. You can use the new expression tag in your subject or body.
_________________ Travis Cox
Inductive Automation
Technical Support Rep.
|
| Mon May 14, 2012 7:37 am |
|
 |
|
linktdi
Trooper
Joined: Sun Apr 29, 2012 10:05 am Posts: 10
|
 Re: Custom alert message
Using an expression tag works, however I can't get the desired result in my alert message. In my testing it seems that the deadband parameter is ignored in the digital alert, any change mode. In the documentation it says it still applies.
I thought that if it changed and stayed in the same state until the deadband expired it would send the alert and that to send another alert it would have to reverse and hold that state until the deadband expired again to send another alert.
I would appreciate an explanation on how it is intended to work as it has me confused. Thanks.
|
| Mon May 14, 2012 5:22 pm |
|
 |
|
Travis.Cox
Moderator
Joined: Sun Apr 02, 2006 2:46 pm Posts: 1977 Location: Sacramento, CA
|
 Re: Custom alert message
Well, the "Any Change" ignores the time deadband right now. I think you would prefer to use an "Analog" alarm configuration where each state is a single value, >= 1 and <= 1 for example. The time deadband will work in that scenario. That way there can be a cleared state. Also, by using an analog alarm each state and can its own name which can be used when sending out the email.
_________________ Travis Cox
Inductive Automation
Technical Support Rep.
|
| Tue May 15, 2012 9:47 am |
|
 |
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|