Greetings,
I have a tag event triggering at unexpected times. The following tag event value change script is on an OPC tag. The tag history doesn’t show values that meet this condition. Any idea what could be causing the event?
Thanks,
Ben
if not (initialChange) and currentValue.quality.isGood() and previousValue.value > 5 and currentValue.value <= 5:
system.tag.write("[.]…/…/HIP Q21/Run Trigger", 0)
|Dec 3, 2019 11:40 AM|3.98|
|Dec 3, 2019 11:40 AM|4.05|
|Dec 3, 2019 11:40 AM|4.13|
|Dec 3, 2019 11:40 AM|4.21|
|Dec 3, 2019 11:40 AM|4.29|
|Dec 3, 2019 11:40 AM|4.37|
|Dec 3, 2019 11:40 AM|4.44|
|Dec 3, 2019 11:40 AM|4.52|
|Dec 3, 2019 11:40 AM|4.6|
|Dec 3, 2019 11:40 AM|4.68|
|Dec 3, 2019 11:40 AM|4.75|
|Dec 3, 2019 11:40 AM|4.83|
|Dec 3, 2019 11:40 AM|4.91|
|Dec 3, 2019 11:40 AM|4.99|
|Dec 3, 2019 11:40 AM|5.07|
|Dec 3, 2019 11:41 AM|5.14|
|Dec 3, 2019 11:41 AM|5.22|
|Dec 3, 2019 11:41 AM|5.3|
|Dec 3, 2019 11:41 AM|5.3|
|Dec 3, 2019 11:41 AM|5.43|
|Dec 3, 2019 11:41 AM|5.5|
|Dec 3, 2019 11:41 AM|5.57|
|Dec 3, 2019 11:41 AM|5.64|
|Dec 3, 2019 11:41 AM|5.7|
|Dec 3, 2019 11:41 AM|5.77|
|Dec 3, 2019 11:41 AM|5.84|
Thanks,
Ben