AnsweredAssumed Answered

Creating a Multi-State Display From a dated tag

Question asked by Seaver21 on Jan 7, 2020

Hey all, 

Im trying to create a multistate display based on a date, in this case if a piece of equipment has not been turned on in the last 7 days. here is the piCalc that I have for the original date display. FindNE('tag','*','-8d',TagVal('tag','*')). I know that I need to create another display value to base the multistate off of but can't really get my If-Then statement worked out. The tag, in this case, is just a motor so its state is either a 1 or a 0. 

Outcomes