A straightening and cutting machine for producing directional elements of predeterminable length from a wire-shaped material, comprising a feed device for drawing material (105) from a supply of material, a straightening device for directing the material conveyed by the feed device into a working region of the straightening device, one of Direction device downstream cutting device (130) for separating a portion of predeterminable length of the directional material for producing the directed element, a measuring system for determining the length of the material and for generating signals representing the length and a control device (150) for controlling the cutting device (130 ) based on signals from the measuring system. The measuring system has a first sensor (S1) behind the cutting device (130) at a first sensor position (P1) and a second sensor (S2) at a second sensor position (P2) at a distance (Δs) behind the first sensor position (P1) wherein the sensors (S1, S2) are configured to generate a sensor signal upon arrival of an end face (E) of a directional element in the respective sensor position. The controller (150) is configured to process the sensor signals and to calculate, based on a time interval between the sensor signals of the first and second sensors, a target time at which the front end (E) of the element reaches a target position (ZP) corresponds to a predetermined length of the element and the cutting device (130) to control so that at the target time or near time at the target time, a cut is performed, with which a portion of predetermined length (L) is separated from the directional material.
展开▼