<p>A chip mount of a flexible cable (18) on which a photodetector has been mounted is placed on a shield plate (22) and a patterned part (15b) of a fixed code plate (15) and the shield plate (22) are grounded so as to shield the periphery of said photodetector and to improve the allowance for noise generated internally.</p>