It is currently Thu Apr 17, 2014 7:17 pm




Post new topic Reply to topic  [ 4 posts ] 
 Custom alert message 
Author Message
Trooper
Trooper

Joined: Sun Apr 29, 2012 10:05 am
Posts: 16
Post 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
Profile
Moderator
Moderator

Joined: Sun Apr 02, 2006 2:46 pm
Posts: 1982
Location: Sacramento, CA
Post 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
Profile WWW
Trooper
Trooper

Joined: Sun Apr 29, 2012 10:05 am
Posts: 16
Post 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
Profile
Moderator
Moderator

Joined: Sun Apr 02, 2006 2:46 pm
Posts: 1982
Location: Sacramento, CA
Post 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
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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

Search for:
Jump to: