We have this logic (on a CP1E) the desired outcome is as follows:
When a bad part is detected, force the operator to index the machine 6 times, using a holding register to prevent a power cycle from resetting the count.
once 6 cycles are recorded output that the bad parts are removed AND reset the count to zero.
What has actually happened so far:
the count has gone to 6 and not reset. I have used CX Programmer to set the H0 value to zero but the compare still says it's equal (to 6)
I have read everything i can get my hands on regarding holding registers and compare functions and i can't see what is wrong. I have no formal training on this so i'm sure it's something simple. can anyone point me in the right direction?