So i have an analog calculation tag that is logging data based upon the whole day. i need to to grab two values from this day, these values are from 6am- 2pm and 5:15pm-2am. What is the best way to do this? i have tried using totalizers, logging tags, triggers, history stats, but no luck. I have two digital tags setup for each shifts. They output on or off depending on if the current time is in-between the two time intervals mentioned above. How can i use these digital tags to read a tag value based on if they are high/low and reset when the new interval starts. Example: Digital tag goes from low to high --> data logged --> Digital tag goes from high to low ---> value stops logging but doesnt reset ---> Digital tag goes from low to high ---> value resets to zero and begin logging until the digital tag goes from high to low ---> constantly repeat this process.
Any help or guidance is appreciated