on 09-07-2015 1:50 PM
Hi Experts,
I have configured Tag Notifications in PCo version 15.0.0.1959. The tags are of BOOLEAN type with values either 0 or 1. I want the PCo to trigger notification messages only when Tag Value changes from 0 to 1 or from 1 to 0. For most of the tags, the process works fine. However, for certain tags the notifications get triggered twice for example:
If tag value is 1, a notification is received
If tag value is 1, another notification is received.
Is there any way I can eliminate duplication of notifications in PCo? Do I need to change any time related settings in PCo?
Thanks,
Rajeev
Hi Rajeev,
Regards, Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steve,
Which version and SP of PCo?
15.0.0.1959 and SP 1 for windows
What the Trigger Type for the Notification: On True, While True, etc.
I am using ALWAYS with 2 expressions defined in OUTPUT tab.
What is the exact expression defined the Notification?
Expression1 "TAGNAME"
Expression2 if('TagName'==1,1,0)
The Tags are of Boolean type configured in TopServer. They can have values 0 or 1. Also, in my subscription Items, I have maintained Deadband as 0, Change Only Tag as "checked".
I want the PCo to send me notifications whenever the tag value changes from 0 to 1 or from 1 to 0.
Regards
Rajeev
Hi Rajeev,
The Always trigger type actually ignores the Trigger expression and will trigger a notification if any of the Output expression tags change. If you really want to use a Boolean trigger for 1 and 0, use this (assume your Boolean tag is Boolean1):
If you want the notification to trigger ONLY after PCo Agent Instance starts, check the Changes Only box for the Boolean1 subscription tag. This will force PCo to ignore the initial value change of the Boolean tag and trigger the notification on the next value change.
Regards, Steve
Hi Steve,
Thank you for the advise. I will keep the trigger type as While True and update my expression accordingly. But, I still need to give the tag name as output and tag value as another output. So, in my output tab I will have it like-
Expression1-"TagName"
Expression2-'TagValue'
Will above config work? Also, if I have more than 1 tag, will the Expression be like-
(Boolean1==1) || (Boolean1==0)&&(Boolean2==1) || (Boolean2==0)?
Regards,
Rajeev
User | Count |
---|---|
8 | |
7 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.