Slit plate encoder