Improved rolling machine for forming a thread on cylindrical bodies, which comprises: - a support structure; - two or more forming rollers, mechanically associated with said support structure, each of which driven to rotate around its own rotation axis and provided with a threaded portion having at least one thread extended around said rotation axis, said forming rollers being adapted to plastically deform a cylindrical body that can be arranged along a central work axis of said machine; - two or more first actuation means mounted on said support structure, each mechanically connected to a corresponding said forming roller in order to adjustably move it along a respective first transverse axis perpendicular to said work axis; - motor means arranged on said support structure, mechanically connected to said forming rollers and adapted to adjustably drive in rotation said forming rollers on said cylindrical body in order to plastically deform it; - two or more second actuation means mounted on said first actuation means, each mechanically connected to a corresponding said forming roller in order to adjustably vary the tilt angle of said rotation axis of said forming roller with respect to said work axis in the plane perpendicular to the first transverse axis of said first actuator means; - generator means mounted on said support structure, projecting a lighting pattern towards said work axis to interfere with the external surface of said cylindrical body to be formed, in order to generate a reflected light beam indicative of the profile of the thread of said cylindrical body to be formed; - first sensor means mechanically mounted on said support structure and adapted to read said reflected light beam of the profile of the thread of said cylindrical body to be formed; - calculation means connected to said first sensor means set for comparing measurement values (P, L), calculated from the images detected by said first sensor means, with stored reference measurements, in order to detect deviations of measurement in one or more of said measurement values from said reference measurements; - a logic control unit connected to said calculation means adapted to drive at least one of said first actuation means, of said second actuation means and of said motor means for measurement deviations detected by said calculation means greater than corresponding predefined threshold values. - a support structure; - two or more forming rollers, mechanically associated with said support structure, each of which driven to rotate around its own rotation axis and provided with a threaded portion having at least one thread extended around said rotation axis, said forming rollers being adapted to plastically deform a cylindrical body that can be arranged along a central work axis of said machine; - two or more first actuation means mounted on said support structure, each mechanically connected to a corresponding said forming roller in order to adjustably move it along a respective first transverse axis perpendicular to said work axis; - motor means arranged on said support structure, mechanically connected to said forming rollers and adapted to adjustably drive in rotation said forming rollers on said cylindrical body in order to plastically deform it; - two or more second actuation means mounted on said first actuation means, each mechanically connected to a corresponding said forming roller in order to adjustably vary the tilt angle of said rotation axis of said forming roller with respect to said work axis in the plane perpendicular to the first transverse axis of said first actuator means; - generator means mounted on said support structure, projecting a lighting pattern towards said work axis to interfere with the external surface of said cylindrical body to be formed, in order to generate a reflected light beam indicative of the profile of the thread of said cylindrical body to be formed; - first sensor means mechanically mounted on said support structure and adapted to read said reflected light beam of the profile of the thread of said cylindrical body to be formed; - calculation means connected to said first sensor means set for comparing measurement values (P, L), calculated from the images detected by said first sensor means, with stored reference measurements, in order to detect deviations of measurement in one or more of said measurement values from said reference measurements; - a logic control unit connected to said calculation means adapted to drive at least one of said first actuation means, of said second actuation means and of said motor means for measurement deviations detected by said calculation means greater than corresponding predefined threshold values.