The invention discloses an automatic
production line and method used for
welding and milling a door frame of a railway vehicle. The automatic
production line comprises a working platform, the working platform is provided with a triaxial
numerical control positioner, a door frame pneumatic clamping unit, a tool caching table, a manual
polishing region, a quality automatic detection unit, a product automatic sorting unit, a first door frame storage table, a first
robot, a second door frame storage table, a welder and a second
robot; the door frame pneumatic clamping unit is divided into two groups, each group is arranged on the triaxial
numerical control positioner, the two groups of the door frame pneumatic clamping unit are controlled by the triaxial
numerical control positioner to overturn, and each door frame pneumatic clamping unit is used for fixing a to-be-processed door frame. The
automation degree of the
welding and the milling is high, a gap
welding automatic tracking unit, a milling automatic compensation unit and an online automatic detection unit are obtained, the problems that gap welding of a welding
production line is poor and the welding quality is not reliable are solved, the procedures of welding and milling are completed on the same production line, and a good application prospect is obtained.