Hello everyone,
i'm working on a project, but i keep getting stuck and i want to make sure i'm doing it the right way... lol if there is such a thing.
in short i have a PLC "item[0].Sort.Destination" i need to count every time there is a value of 2 or 3 each one will add a plus 1 so their counter and clear the counter after a set time.
i'm looking at using the datasubscriber to get the value and an if statement to add to the counter, and an if statement to clear the count once the set time is reached.
more to follow as i write more code...