The invention belongs to the technical field of automatic
soldering of
soldering machines, and relates to an automatic
soldering machine teaching
programming method based on a model and a
numerical control drilling file, which comprises the following steps: (1) carrying out mechanical arm coordinate transformation modeling and
model parameter calibration, (2) analyzing a
numerical control drilling file in a to-be-processed circuit board design file to obtain circuit board drilling design coordinates, and (3) carrying out
numerical control drilling on the circuit board drilling design coordinates. The method comprises the steps of (1) analyzing circuit board drilling design coordinates, (2) analyzing the circuit board drilling design coordinates, (3) displaying the analyzed circuit board drilling design coordinates as discrete mark points in a graphic window, (4) appointing a bonding pad by appointing the discrete mark points and obtaining bonding pad center design coordinates, and (5) establishing an operation environment for selecting the bonding pads through graphic operation by utilizing the steps (2), (3) and (4). (6) establishing a transformation model of the circuit board drilling design coordinates and the mechanical arm coordinates corresponding to the circuit board
welding spots, (7) transforming the circuit board drilling design coordinates and the set mechanical arm rotating shaft angle into the mechanical arm coordinates of the corresponding
welding spots of the circuit board to be processed, and (8) carrying out teaching
programming on the circuit board to be processed. According to the automatic soldering
machine mechanical arm coordinate transformation model with the rotating shaft, transformation from circuit board drilling design coordinates to mechanical arm coordinates corresponding to circuit board
welding spots is established, a solder tip automatically reaches the specified welding spot position in a specified posture in a graphic
operation mode, and teaching
programming efficiency is improved.