摘要 |
<p>The present invention relates to a method for performing data communication between a welding power source and a computer, and belongs to the technical field of welding control. The method for performing data communication between a welding power source and a computer in the present invention comprises the following steps: a welding power source requesting to upload a file to a computer through an upload request; the computer performing task registration according to the upload request, and generating a task record in a task list, the task record comprising the ID of the welding power source; the computer selecting a current task to be executed from the task list, and sending an upload allowing reply to the welding power source according to the ID of the welding power source in a current task record; after receiving the reply, the welding power source uploading a file to the computer; and the computer receiving the file, determining whether the upload is completed, and if the upload is completed, cancelling the current task record, or if the upload is not completed, returning and waiting to receive the file. According to the present invention, file upload requests from a great number of welding power sources are queued through a task list, so as to avoid network congestion caused when a great number of files are synchronously uploaded.</p> |