I am using PI Interface for RDBMS to write the data to my relational DB. The queries are sending according to the schedule and scan classes or according to events trigger (when the tag value changes). We would like to configure the schedule for the queries so, that they started to be triggered when one the value of the tag reaches the certain value. In my case tag can have two values 0 or 1. I need to trigger the query when the tag reaches 1. How to implement that?