Patent ID: 7989998

Claim:
A motor with an encoder comprising: a motor; and an encoder disposed at an anti-load side of the motor, wherein the motor includes an output shaft rotatably supported by a load side bearing and an anti-load side bearing, and an anti-load side bracket including a bearing cover for supporting the anti-load side bearing by an inner circumferential part and covering an anti-load side part of the anti-load side bearing, the encoder includes a rotating part coupled with the output shaft and a fixed part attached to the anti-load side bracket, the rotating part includes a hub fixed at an end of the output shaft at the anti-load side, a shaft center of the hub being matched with a shaft center of the output shaft, and a rotating disk fixed at an anti-load side end of the hub, the fixed part includes a fixed slit disposed at a load side of the rotating disk via an encoder gap in a shaft direction, the hub includes a stopper that is bumped against the bearing cover of the anti-load side bracket when the output shaft is moved in a load side shaft direction, and the stopper is formed to protrude from an outer circumferential surface of the hub, and a stopper gap which is a moving distance of the stopper that is moved in the load side shaft direction to bump against the anti-load side bracket is smaller than the encoder gap.