Edge detection for discrete tags
- Last UpdatedJul 18, 2024
- 1 minute read
Edge detection for discrete tags operates differently than for analog tags. For example, assume the following discrete tags are stored.
|
Tag |
Description |
|---|---|
|
SysPulse |
Transitions between 1 and 0 every minute. |
|
MyPulse |
Transitions between 1 and 0 every 40 seconds. |
A representation of the data stored in the system is as follows:
The following queries select values of "SysPulse" and "MyPulse" that have a value of 1 (On) from the History and WideHistory tables between 12:59 and 1:04 a.m. on December 8, 2001. No edge detection is specified.