摘要 |
Provided is a detection device that can quickly detect the state of a moving member such as the origin position of the moving member. The detection device (1, 2, 3, 4) comprises: a dog (16) provided with a plurality of slits (S) in which at least one of the clearance between adjacent slits (S) and the gap width of each slit (S) is formed in a plurality of types; a sensor (17) that detects the presence of a slit (S); a count position acquisition unit (30) that acquires the count start position (Ps) and the count end position (Pe) corresponding to the clearance of adjacent slits (S) or the gap width of each slit (S) on the basis of the detection result of the sensor (17); and a state detection unit (40, 50, 85) that acquires the increase or decrease of the count value from the count start position (Ps) to the count end position (Pe) and detects the state of the moving member (12) on the basis of the acquired increase or decrease of the count value. |