on 2018 Mar 20 5:40 PM
Hello,
I have a similar problem as the one discussed in here:
https://archive.sap.com/discussions/thread/3647658
I configured a notification that, among other static information, sends two PLC tags values. I am interested in monitoring one of the tags and, when it changes, send its updated value and the value of the second tag at that moment; however, since I configured the notification trigger type as 'Always', sometimes I get two notifications for the same event. I understand that I can fix the undesired triggered notifications by changing the trigger type to 'On True', but it is not clear to me what condition to use.
Since the tag that I am monitoring is an ID, my trigger would have to be something like "subscription item different from its previous value". How can I do this?
I also noticed that the notification is only triggered when the subscription items configured in the notification output change, but not when any other subscription item changes (I have 66 different subscription items).
The tag that I want to trigger the notification is a String data type and I have check the "Only Changes" box. The second tag that I want to send in the notification, but shouldn't trigger it is a UInt32 data type, with 0 deadband, and "Only Changes" unchecked.
The version of PCo that I am using is 15.0.6.2649.
Thank you,
Ricardo Simental
Request clarification before answering.
Hi Ricardo,
I believe in the trigger condition you can specify which tags should be considered. So in your situation I would work with trigger type 'on true' and in the trigger expression you set the following : (<insert tag here>) != '' || (<insert tag here> != 0)
Or something else if this doesn't apply to your situation, just try to use a condition where your tag is used. So the notification will look at that specific tag only.
Kind regards
Pieter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
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.