Plant for the production of corrugated pipes