cancel
Showing results for 
Search instead for 
Did you mean: 

PCo Notification , trigger if value does not change for spesific time

0 Kudos

Hello,

The data on my PLC Tag changes at very short intervals. All these changes are not necessary for me. But I want to send it to MII when the data gets a new value and this value remains the same for a certain period of time.


Example:

Firt value is 0. And this value changes to 1. And it remains 3 second i want to send notification. but if this value changes again within 3 seconds,I do not want to send this information.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello,

the solution is --> datediff(getChangeDateTime('Tag'), '_DateTime')>3

dennis_schoeneborn
Discoverer

Hi serdar,

do I understand correctly that '_DateTime' is a tag from the PLC and you have included this as a subscription element so that the notification is potentially triggered every second?

0 Kudos

Yes. _DateTime is Kepware OPC system time.

Answers (0)