The invention relates to an off-line
programming method for a plug-in
machine program, which comprises the following
programming steps: 1, quoting BOM (
Bill of Materials) data in combination with an ERP
system, and obtaining inserted specific points, element codes, used material models and an
insertion process by using a formula link; 2, combining the
point location information obtained in the BOMwith the inserted
point location coordinates extracted from the original coordinates; and step 3, linking and combining coordinates by using a
reference function, performing data reference accordingto a program format of the plug-in
machine, and finally importing the manufactured program into the plug-in
machine online. By means of the program off-line
programming method, manual operation and manual guarantee in the whole process of original on-line program manufacturing are changed into existing program manufacturing through associated
data linkage, off-line advanced programming is achieved, and off-line advanced programming is transmitted to a
production line for use through
system management and control. After the circuit board is replaced, the plug-in machine does not need to be shutdown, and a new plug-in program can be operated after the plug-in machine receives a program compiled in advance, so that plug-and-play replacement is realized.