Patent ID: 7667146

Claim:
An attachment device for attachment of an electrical or electronic device to a top-hat rail, the attachment device comprising: a carrier plate; and a fastener, wherein the carrier plate is attachable to the electrical or electronic device or in one piece with a housing of the device, and has at least one holding device for extending behind a first edge of the top-hat rail, wherein the fastener has an elongated base region and at least two catch hooks, which are bent down on a lengthwise side of a base region each for extending behind a second edge of the top-hat rail and made of metal, wherein the fastener is attachable to the carrier plate such that the fastener can be axially moved to a limited degree relative to the carrier plate, wherein the fastener has a spring tongue which extends in a lengthwise direction of the fastener, and which is punched out of the base region and bent such that the fastener has two sections, the first section being connected to the base region and being bent away from the carrier plate, and the second section having a free end bent toward the carrier plate, and wherein the carrier plate has a projection that protrudes in a direction of the fastener, which is arranged corresponding to the spring tongue, wherein, in a mounted state of the attachment device on the top-hat rail, the spring tongue is deflected by the projection, such that the catch hooks are pulled against the second edge of the top-hat rail by a reset force of the spring tongue.