I used a one shot input signal to trigger a shift register,and i am using two counters and two internal relays to trap the error,if it happen to shift more than once per cyle or did not shift at all.is there another neat way to capture these two problems.I have an omron plc. Thank you