This paper introduces a test and measurement system for the mechanical movement parameters, which mainly consists of PC computer and grating photoelectric sensor. This system sufficiently takes advantage of the predominance of PC computer in software programming, operating speed and hardware interface etc. It measures the mechanical displacement, mechanical velocity and mechanical acceleration by using PC computer to process the output signal of the sensor directly. It does not need any more other hardware devices, and can realize the functions of displaying, saving and exporting the measurement results according to the request. Now, it has applied to the system for measuring some mechanical recoil movement parameters successfully.