An automatic trimming apparatus for trimming wire coils including a plurality of wire loops of a wire, wherein the apparatus comprises: - a base frame, - a control unit arranged to control the trimming apparatus, characterized in that the apparatus further comprises: - a rotational member rotatably connected to the base frame, and having a space for receiving a wire loop of the coil, - an actuator arranged to rotate the rotational member in two opposite directions, - a support unit arranged in said space for supporting the wire loop when the rotational member is rotated, wherein the rotational member is provided with - a first sensor assembly arranged for sensing the wire in the space, - a second sensor assembly comprising one or more sensor units (50, 51, 52) for measuring one or more physical properties of the wire, and - a cutting device arranged to cut the wire upon receiving a cutting command from the control unit, and the control unit is adapted to - control the actuator so that the rotational member is rotated in a first direction along the wire until the end of the wire is detected based on output of the first sensor assembly, - control the actuator so that the rotational member is rotated in a second direction along the wire opposite the first direction when the end of the wire has been detected, - determine when one or more defined quality requirements for the wire are met during rotation in the second direction based on outputs from the second sensor assembly, and - generate a cutting command to the cutting device based on when said defined quality requirements are met. - a base frame, - a control unit arranged to control the trimming apparatus, characterized in that the apparatus further comprises: - a rotational member rotatably connected to the base frame, and having a space for receiving a wire loop of the coil, - an actuator arranged to rotate the rotational member in two opposite directions, - a support unit arranged in said space for supporting the wire loop when the rotational member is rotated, - a rotational member rotatably connected to the base frame, and having a space for receiving a wire loop of the coil, - an actuator arranged to rotate the rotational member in two opposite directions, - a support unit arranged in said space for supporting the wire loop when the rotational member is rotated, wherein the rotational member is provided with - a first sensor assembly arranged for sensing the wire in the space, - a second sensor assembly comprising one or more sensor units (50, 51, 52) for measuring one or more physical properties of the wire, and - a cutting device arranged to cut the wire upon receiving a cutting command from the control unit, and - a first sensor assembly arranged for sensing the wire in the space, - a second sensor assembly comprising one or more sensor units (50, 51, 52) for measuring one or more physical properties of the wire, and - a cutting device arranged to cut the wire upon receiving a cutting command from the control unit, and the control unit is adapted to - control the actuator so that the rotational member is rotated in a first direction along the wire until the end of the wire is detected based on output of the first sensor assembly, - control the actuator so that the rotational member is rotated in a second direction along the wire opposite the first direction when the end of the wire has been detected, - determine when one or more defined quality requirements for the wire are met during rotation in the second direction based on outputs from the second sensor assembly, and - generate a cutting command to the cutting device based on when said defined quality requirements are met. - control the actuator so that the rotational member is rotated in a first direction along the wire until the end of the wire is detected based on output of the first sensor assembly, - control the actuator so that the rotational member is rotated in a second direction along the wire opposite the first direction when the end of the wire has been detected, - determine when one or more defined quality requirements for the wire are met during rotation in the second direction based on outputs from the second sensor assembly, and - generate a cutting command to the cutting device based on when said defined quality requirements are met.