CNC energy storage welding