Kepware Knowledge Base: Solution
Using Exception Triggers to Log Data When a Value Is Greater Than or Equal to a Value
Last Update: 11/7/2018
There is no greater than or equal to or lesser than or equal to condition for exception-based triggers in DataLogger. For an example of how to set a condition where a log group is triggered when a tag's value is greater than or equal to 5, refer to the instructions below.
- Create an exception-based trigger for the log group. Then, specify whether the data will be logged via static interval, data change, or both.
- Once finished, click Next.
- Configure the stop and start conditions. Select the Start tab, and use the search button to browse the server for the tag that will be used as a trigger for the log group.
- Set the rate at which the trigger tag should be polled and evaluated. This rate should be faster than the rate at which the data is expected to change.
- Set the condition to be greater than a value, and set that value to 4.
- Next, select the Stop tab, and use the search button to browse the server for the tag that will be used as a trigger for the log group.
- Set the rate at which the trigger tag should be polled and evaluated. This rate should be faster than the rate at which the data is expected to change.
- Set the condition to be less than a value, and set that value to 5.
- Click Next | Finish to complete the log group.
With this configuration, when the tag's value is greater than or equal to 5, the log group will enter a triggered state and logging will start. When the tag's value is less than 5, the log group will no longer be triggered and logging will stop.
©
2021
PTC Inc. All Rights Reserved.