The invention provides resistance welding equipment and a welding control method. The resistance welding equipment consists of a frame, an electric cabinet and a PLC system, a welding transformer, an action mechanism, a welder controller, a waste box, an optical fiber sensor and a sensor controller, wherein the action mechanism consists of a baseplate, a main frame, a vertical cylinder, a main linear guide rail, a linear guide rail, a positioning manual press claw, a positioning fixture, a linear bearing, a main linear bearing, a positioning nut, an adjusting pressure spring, a screw mandrel, a servomotor, a coupler, a displacement sensor, a clamping cylinder, a pressure sensor, a left electrode, a right electrode, left and right linear guide rails, left and right linear bearings, an auxiliary frame, a connecting rod and a clamping pressing plate. The pressure sensor and a tracking system are adopted to collect pressure signals, the displacement sensor and the tracking system are adopted to collect displacement signals, and a PLC operational program is adopted for control, so that the welding of metal workpieces adopts dynamic on-line control to comprehensively monitor various welding control points in the whole process, and the welding deformation is controlled between 0.01 and 0.45mm to ensure welding quality.