Hi, panaceabeachbum
If your encoder has a Index pulse output you can use a IC 555 timer, It detects the Pulse then delays the reset to give Mach time to see the pulse.
I've got the diag. around hear somewhere, I posted it awhile back Hear, One way or the other will find it.
Edit: Hears the basic Diag, needed.
Chip