We are stuck in an unexpected issue and are evaluating cause.
We have s7-300 machine connected to our ignition application giving 2 tag values namely prod_count & status with history enabled. We have written tag event script & quality event script to check plc make and write value to line status.
We have seen that when machine status changes to 1, the prod_count history value is stored with older value sometime and then our OEE calculations get disrupted.
So, like when current prod count is 10001 and status changes to 0 prod_count new value is 9500 and when status value is 1 this value goes to 10002. so we have to check why is it behaving like.
Appreciate your time in reading this long issue.
Ignition - 8.1.18