The present invention relates to a motor (1) comprising a tachogenerator (5) which can easily be mounted or dismounted. The motor (1) of the present invention comprises an mounting means (10) that enables the tachogenerator (5) to be assembled allowing mounting or dismounting, without the need of a casing or any additional parts.