Patent ID: 8623254

Claim:
A method for producing a magnetic field sensor ( 13 ), in which an electrical assembly ( 10 ) and the end of a connecting cable ( 28 ) are encapsulated in plastic via injection molding, and a fastening tab ( 38 ) is integrally extruded, wherein, after a first injection step in which the electrical assembly ( 10 ) and the connecting cable ( 28 ) are encapsulated in a cylindrical, core-type first molded part ( 30 , 32 ), then, in a second injection molding step, a fastening tab ( 38 ) is integrally formed via injection molding on the core-type insertion part ( 30 ) in a specifiable longitudinal and/or angular position, the core-type insertion part ( 30 ) being held in an injection mold ( 46 , 58 ) in a longitudinally displaceable and/or rotatable manner.