CN111008092A - Welding machine communication management method and welding machine - Google Patents

Welding machine communication management method and welding machine Download PDF

Info

Publication number
CN111008092A
CN111008092A CN201911272013.3A CN201911272013A CN111008092A CN 111008092 A CN111008092 A CN 111008092A CN 201911272013 A CN201911272013 A CN 201911272013A CN 111008092 A CN111008092 A CN 111008092A
Authority
CN
China
Prior art keywords
data
controller
task
queue
task data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911272013.3A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Hugong Electric Group Co Ltd
Original Assignee
Shanghai Hugong Electric Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Hugong Electric Group Co Ltd filed Critical Shanghai Hugong Electric Group Co Ltd
Priority to CN201911272013.3A priority Critical patent/CN111008092A/en
Publication of CN111008092A publication Critical patent/CN111008092A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Abstract

The embodiment of the invention discloses a welding machine communication management method and a welding machine. The method comprises the following steps: sending task data to a controller; if the data waiting for receiving the response of the controller is overtime or receives abnormal data, the task data is repeatedly sent until the set times is reached or normal data is received; and if normal data are not received after the set times of repeated transmission, alarming and repeatedly transmitting the task data to the controller according to the set frequency. The embodiment of the invention sets the display as the communication master, determines the task data transmitted to the controller by the display, verifies the response data after the transmission of each task is finished, strictly verifies the transmitted task data, transmits the next task data after the task data is correctly responded, and strictly executes the data processing flow, thereby solving the problem of data loss in the existing serial communication and improving the accuracy and reliability of the communication between the display and the controller of the welding machine.

Description

Welding machine communication management method and welding machine
Technical Field
The embodiment of the invention relates to a serial port communication technology, in particular to a welding machine communication management method and a welding machine.
Background
The control processing and display of the current welding machine mostly adopt a modular design, which can respectively strengthen functions and improve respective processing capability. The control processing module and the display adopt serial ports for communication, and under the current serial port communication mode, the problem of data loss exists, and the communication reliability is low.
Disclosure of Invention
The embodiment of the invention provides a welding machine communication management method and a welding machine, which aim to improve the reliability and accuracy of serial port communication.
In a first aspect, an embodiment of the present invention provides a welder communication management method, where the welder includes a display and a controller, and the method is performed by the display, and the method includes:
sending task data to the controller;
if the data waiting for receiving the response of the controller is overtime or receives abnormal data, the task data is repeatedly sent until the set times is reached or normal data is received;
and if normal data are not received after the set times of repeated transmission, alarming, and repeatedly transmitting the task data to the controller according to the set frequency.
In a second aspect, an embodiment of the present invention further provides a welding machine, where the welding machine is provided with a display and a controller, the display includes:
the data sending module is used for sending task data to the controller;
the first confirmation module is used for repeatedly sending the task data until the set times are reached or normal data are received if the data waiting for receiving the response of the controller is overtime or abnormal data are received;
and the second confirmation module is used for alarming if normal data are not received after the set times of repeated transmission, and repeatedly transmitting the task data to the controller according to the set frequency.
The embodiment of the invention sets the display as a communication master, sets the controller as a communication slave, determines the task data transmitted to the controller by the display, sets window time after the transmission of each task is completed to receive the data responded by the controller, and verifies the data responded by the controller in the window time, when the data responded by the controller does not meet the appointed requirement or the data responded by the controller is not received in the window time, the display continues to send the task data which is not successfully responded for a set number of times to the controller so as to confirm the current communication state; and if the normal response data can not be obtained within the set times, performing abnormal communication alarm, reducing the transmission frequency, and continuously sending task data which is not successfully responded to the controller until the normal data is received. In the embodiment, the transmitted task data is strictly checked, the next task data is transmitted after the task data is correctly responded, and the data processing flow is strictly executed, so that the problem of data loss in the conventional serial port communication mode is solved, and the accuracy and reliability of communication between the display and the controller of the welding machine are improved.
Drawings
FIG. 1 is a flow chart of a welder communication management method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a welder communication management method according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a welder communication management method in an initialization phase according to a third embodiment of the present invention;
FIG. 4 is a flowchart of a communication management method of a welder when reading real-time class data according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart of a communication management method for a welder when writing parameter class data according to a fifth embodiment of the present invention;
FIG. 6 is a block diagram of a welding machine according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a communication management method for a welding machine according to an embodiment of the present invention, which is applicable to a case where a display of the welding machine communicates with a controller through a serial port, for example, the display of the welding machine sends a modification instruction of a user to the controller, so that a main control module executes a corresponding user instruction. The method can be executed by a display module of the welding machine, and specifically comprises the following steps:
and S110, sending task data to the controller.
The display serves as a communication master, and the controller of the electric welding machine serves as a communication slave. The communication master actively transmits data to the communication slave, and the communication slave receives and responds to the data. Specifically, in this embodiment, the display actively sends task data to the controller, and when the controller receives the task data, sends response data to the display. The controller, which is a core component that controls the operation of the welder, needs to process a large amount of data to enable the welder to operate properly. In the embodiment, the display is set as the communication master, and the controller is set as the communication slave, so that the processing capacity of the controller is centralized on the main items, and the processing capacity of the controller is improved.
The length of the task data in this embodiment is flexibly determined by the display, and the lengths of different task data may be different, where the data length refers to the number of bytes included in the task data.
The task data may be any one of write initialization data, read real-time class data, and write parameter class data. When the task data is write initialization data, it indicates that the display is currently in an initialization stage, and in the initialization process, the display needs to update data information of the display module before the last stop of work from the memory to issue initialization data to the controller on one hand, and needs to issue a read state information instruction to the controller on the other hand to determine the state of the controller on the other hand.
After the initialization stage is completed, the display periodically sends a real-time data reading instruction to the controller so as to determine the state information of the controller and the welder as a whole, and the display is updated and displayed on the display.
And when the display receives a new writing parameter instruction, the display issues the received process parameter or control parameter to the controller in a parameter writing data mode so as to enable the controller to execute an updated data task. For example, the display sends a parameter adjustment instruction of the user to the controller by writing parameter data, so as to instruct the controller to execute the parameter adjustment instruction.
And S120, if the data responded by the controller is waited to be received overtime or abnormal data is received, the task data is repeatedly sent until the set times is reached or normal data is received.
After the display sends a task data, a set window time is reserved for receiving the data responded by the controller, and the data responded by the controller is confirmed. When the response data of the controller is not received within the set window time, or the display receives the data responded by the controller within the window time, but the responded data is abnormal data, the display marks the task data as the task data which is not successfully responded, and repeatedly sends the task data which is not successfully responded to the controller until the data which is responded by the controller is normal data, and then the next task data is sent.
The abnormal data refers to that the verification result does not meet the agreed requirement after the display verifies the data responded by the controller. Correspondingly, the normal data refers to that the verification result meets the appointed requirement, in addition, the normal data also comprises a command for shutting down or restarting the equipment, when the display receives the shutdown or restarting command, the display clears the current communication state and enters an initialization process after restarting so as to start a new data transmission process.
In a serial communication mode, a user can select a data verification method. In this embodiment, the task determined by the display is used as a basic verification unit to verify the transmitted data, and after the display finishes transmitting one task data, the controller returns response data according to an agreed transmission protocol, which may include, as an example: command characters, data length, and a check code, wherein:
the command character is used to inform the receiving party of the purpose of the data, for example, when the command character is 0x0A, it indicates that the task data is a read data instruction; when the command character is a hexadecimal number 0x0B, it indicates that the task data is a write data instruction or the like. The display reads the command character information of the data to which the controller responds and compares the information with the command character of the transmitted task data to confirm whether the command character information of the data to which the controller responds is correct.
The data length includes the data length of the data of the response, i.e., the number of bytes included in the data of the response. On the basis of the determination of the transmitted task data and the application thereof, the data length of the response is also determined, and generally the data length of the response is the sum of the length of the task data and the data length of other data identifications. Thus, the display can confirm whether or not problems such as the lost code, the missing code, etc. occur during the data transmission by reading the data length of the responded data.
The check code is used for generating check information according to a set check protocol, and the display can determine whether transmission errors exist in data responded by the controller or not by reading the check information. For example, a CRC (cyclic redundancy check) method, a parity method, or the like can be used.
Optionally, when any one of the command character, the data length and the check code has an error, it indicates that the response data of the controller is abnormal data. On the contrary, when the command characters, the data length and the check code all meet the requirements of the protocol, the communication process of the task data is indicated to be accurate and reliable.
When the data responded by the controller is overtime or the display receives abnormal data, the display repeatedly sends the task data to confirm the current communication state, namely, the first confirmation stage is entered: the display sends the task data to the controller according to the set times.
The repeated sending times of the first confirmation stage is usually set to be 3-5 times, in the process of repeatedly sending the task data, the display confirms once after each task is sent, if the task data is confirmed to be abnormal, the task data is continuously sent again, in the verification after any repeated sending, if the response data of the controller is normal data, the repeated sending is stopped, and the transmission process of the next task data is started.
If the display cannot receive normal data in the 3-5 times of transmission process, the display enters a second confirmation stage.
And S130, if normal data are not received after the set times of repeated transmission, alarming, and repeatedly transmitting the task data to the controller according to the set frequency.
When the display does not receive normal data in the first confirmation stage, the display starts an alarm to timely feed back the abnormal communication condition to the user. Optionally, the display is provided with an alarm device, and the display sends an alarm instruction to the alarm device to instruct the alarm device to alarm, where the alarm mode may be an acoustic/optical alarm, and the alarm mode is not limited in this embodiment.
At the same time, the display starts the repeated transmission of the second confirmation phase because the display has determined that the current communication state is an abnormal state, and thus the display can reduce the transmission frequency of data to save resources of the display and the controller. The process continues until normal data is received or a user shutdown and restart instruction is received, and the process of confirming the task data which does not successfully respond is finished.
In this embodiment, the transmitted data is used as a basic check unit according to the task, after one task is transmitted, a set window time is set for receiving data responded by the controller, the data responded is checked, only after the data is checked to be qualified, the next task data is sent, and the data processing flow is strictly executed in the whole data transmission process.
The working principle of the welding machine communication management method is as follows: the display is used as a communication master to determine task data to be transmitted, after transmission of one task data is completed, data responded by the controller is verified, transmission of the next task data is carried out only after the verification is passed, otherwise, the task data which is not successfully responded is continuously transmitted, and the display realizes verification of each frame of data through strictly executing the data processing flow, so that the accuracy and the reliability of communication are improved.
According to the technical scheme of the embodiment, the display is set as a communication master, the controller is set as a communication slave, the display determines task data transmitted to the controller, a window time is set after each task is transmitted to receive data responded by the controller, the data responded by the controller is checked within the window time, and when the data responded by the controller does not meet the appointed requirement or the data responded by the controller is not received within the window time, the display continues to transmit the task data which are not successfully responded for a set number of times to the controller so as to confirm the current communication state; and if the normal response data can not be obtained within the set times, performing abnormal communication alarm, reducing the transmission frequency, and continuously sending task data which is not successfully responded to the controller until the normal data is received. In the embodiment, the accuracy and the reliability of the communication between the display and the controller of the welding machine are improved by strictly checking the transmitted task data, transmitting the next task data after the task data is correctly responded and strictly executing the data processing flow.
On the basis of the technical scheme, in the repeated sending process of the second confirmation stage, if the display receives normal response data, the display sends an alarm releasing instruction to the alarm device so as to release the abnormal alarm. For example, after checking, the worker confirms that the previous communication abnormality is caused by the falling of the communication cable, and after the communication cable is normally connected, the display can receive normal response data, and at the moment, the display releases the communication abnormality alarm, updates the current communication state to the normal communication state, and starts to transmit the next task data.
Example two
Fig. 2 is a flowchart of a welder communication management method according to a second embodiment of the present invention, where the transmission manner of task data is optimized based on the second embodiment, specifically, the method includes:
s210, generating a data queue of the task data, and determining the data at the head end of the data queue as the task data.
The data queue is a linked list formed by sequencing identifiers of data according to a certain sequence, and provides routing information for the display to transmit task data. The data queue has data execution priority, the data priority corresponding to the data identifier at the head end of the data queue is the highest, and the data priority corresponding to the data identifier at the tail end of the data queue is the lowest. Before the display sends the task data, the display configures a data identifier for each data to be transmitted and inserts the data identifier into the data queue. When data transmission is carried out, data corresponding to the data identification at the head end of the data queue is automatically determined as task data, and the data to be transmitted are transmitted according to a set sequence.
When the display receives new data to be transmitted, the display inserts a data identifier corresponding to the new data to be transmitted into the tail end of the data queue so as to update the data queue, and determines next task data to be transmitted from the updated data queue.
The display ensures the orderly data transmission by setting the data queue and determining the task data to be transmitted in sequence from the data queue.
And S220, sending task data to the controller.
And S230, if the data waiting for receiving the response of the controller is not overtime or normal data is received, deleting the task data from the data queue to update the data queue.
Wherein, the data waiting for receiving the controller response is not overtime or receives normal data, which indicates that the controller has successfully responded to the task data, at this time, the display deletes the data at the head end of the data queue to update the data queue.
When the task data is read real-time data and the read real-time data is successfully responded, the display updates the state information of the controller and the welder as a whole so as to feed back the current state of the controller to a user in time.
S240, detecting the updated data queue, and if the data queue is empty, ending the current communication; otherwise, determining the data at the head end of the data queue as the next task data.
And S250, transmitting the next task data to the controller according to the transmission process of the task data, and repeatedly executing the transmission process of the next task data until the data queue is empty.
The display transmits each task data according to an agreed transmission protocol, checks the response data of each task data according to a set data processing flow, executes in a circulating mode, updates the data queue after data transmission is successful each time until the data queue is empty, shows that no data needing to be transmitted currently exists, at the moment, communication is finished, and when new task data exist in the data queue, data transmission is started again.
According to the technical scheme of the embodiment, the display provides routing information for data transmission by establishing the data queue, and task data needing to be transmitted currently is determined from the data queue, so that the data transmission can be carried out orderly; when normal response data of the controller are received, the current data transmission process is accurate and reliable, the task data are deleted from the data queue, the data queue is updated in real time, transmission of the task data is started, and the task data are executed in a circulating mode, so that each data can be accurately transmitted in the whole communication process, and the accuracy and the reliability of data transmission are improved.
EXAMPLE III
Fig. 3 is a flowchart of a welder communication management method in an initialization phase according to a third embodiment of the present invention, where the third embodiment is optimized based on the foregoing embodiments, and the method is applicable to an initialization process, and the method specifically includes:
and S310, acquiring initialization data from the storage device.
The initialization data comprises historical data of the welder before the welder stops working last time.
And S320, generating a data queue related to the initialization data.
The display configures data identifiers for various types of data in the initialization data and generates a data queue of the initialization data corresponding to the data identifiers.
S330, determining task data from the data queue and sending the task data to the controller.
The step of determining the task data from the data queue means that the display determines the data corresponding to the data identifier at the head of the data queue as the task data.
And S340, if normal data are received, deleting the task data from the data queue, and updating the data queue.
S341, detecting the updated data queue, and if the data queue is empty, ending the current communication; otherwise, determining the data at the head end of the data queue as the next task data.
And S342, transmitting the next task data to the controller according to the transmission process of the task data, and repeatedly executing the transmission process of the next task data until the data queue is empty.
And S350, if the data responded by the controller is waited to be received overtime or abnormal data is received, the task data is repeatedly sent according to the set times until the set times are reached or normal data are received.
And S351, if normal data are not received after the set times of repeated transmission, alarming is carried out, and the task data are repeatedly transmitted to the controller according to the set frequency.
According to the technical scheme, when the welding machine is in an initial stage, the display reads initialization data from the storage device, a data queue related to the initialization data is generated, task data is determined from the data queue, and the initialization data is transmitted to the controller through a strict execution data processing flow so as to complete initialization of the controller.
Example four
Fig. 4 is a flowchart of a communication management method for a welding machine when reading real-time class data according to a fourth embodiment of the present invention, where the present embodiment is optimized based on the foregoing embodiment, and the method is suitable for a situation where a display updates display controller state information, and specifically includes:
and S410, periodically sending read state task data to the controller.
And S420, if normal data are received, deleting the read state task data from the data queue, and updating the data queue.
The step of deleting the read-state task data from the data queue means that the data identifier corresponding to the read-state task data is deleted from the data queue, so that the task data is deleted, and the data queue is updated.
S421, detecting the updated data queue, and if the data queue is empty, ending the current communication; otherwise, determining the data at the head end of the data queue as the next read state task data.
S422, according to the transmission process of the reading state task data, transmitting the next reading state task data to the controller, and repeatedly executing the transmission process of the next reading state task data until the data queue is empty.
And S430, if the data responded by the controller is waited to be received overtime or abnormal data is received, repeatedly sending the reading state task data according to the set times until the set times are reached or normal data are received.
And S431, if normal data are not received after the set times of repeated transmission, alarming, and repeatedly transmitting the reading state task data to the controller according to the set frequency.
According to the technical scheme, when the display does not have task data to be transmitted, reading real-time data is periodically sent to the controller, data verification and processing procedures are strictly executed, so that the state information of the controller and the whole welding machine is confirmed, and the state information of the controller and the whole welding machine is updated when normal data is received.
EXAMPLE five
Fig. 5 is a flowchart of a communication management method for a welding machine when writing parameter class data according to a fifth embodiment of the present invention, where the embodiment is optimized based on the foregoing embodiment, and is suitable for a situation where a display transmits the parameter class data to a controller, and the method specifically includes:
and S510, generating a data queue for writing parameter class data.
The data queue for writing the parameter class data refers to a queue for writing a data identifier corresponding to the parameter class data.
S520, determining writing parameter task data from the data queue.
S530, sending the write parameter task data to the controller.
And S540, if normal data are received, deleting the write parameter task data from the data queue, and updating the data queue.
S541, detecting the updated data queue, and if the data queue is empty, ending the current communication; otherwise, determining the data at the head end of the data queue as the next write parameter task data.
And S542, transmitting the next write parameter task data to the controller according to the transmission process of the write parameter task data, and repeatedly executing the transmission process of the next write parameter task data until the data queue is empty.
And S550, if the data responded by the controller is waited to be received overtime or abnormal data is received, repeatedly sending the write parameter task data according to the set times until the set times are reached or normal data are received.
And S551, if normal data are not received after the set times of repeated transmission, alarming, and repeatedly transmitting the write parameter task data to the controller according to the set frequency.
According to the technical scheme, when the display has a data updating task, a data queue for writing parameter data is generated, the updated data is written into the controller through a strict data transmission flow and a strict data verification flow, and parameter adjustment of the controller is completed.
EXAMPLE six
Fig. 6 is a block diagram of a welder according to a sixth embodiment of the present invention, where the welder 6 is provided with a display 61 and a controller 62, the display 61 is electrically connected to the controller 62 through a communication cable, so that the display 61 and the controller 62 can communicate with each other, and the display 61 includes: a data transmission module 610, a first acknowledgement module 620, and a second acknowledgement module 630, wherein,
a data sending module 610, configured to send task data to a controller;
and a second confirming module 630, configured to alarm if normal data is not received after the set number of times of repeated sending.
A first confirmation module 620, configured to repeatedly send the task data until a set number of times is reached or normal data is received if the data waiting for receiving the controller response is overtime or abnormal data is received;
and a second confirming module 630, configured to alarm if normal data is not received after the set number of times of repeated sending, and repeatedly send the task data to the controller according to a set frequency.
Optionally, the display 61 further includes:
the data queue generating module is used for generating a data queue of the task data;
and the task data determining module is used for determining the data at the head end of the data queue as the task data.
On the basis of the above technical solution, optionally, the display 61 further includes a data queue updating module, and the data queue updating module is configured to:
if receiving new task data, inserting the new task data into the tail end of the data queue to update the data queue;
and if the data waiting for receiving the response of the controller is not overtime or normal data is received, deleting the task data from the data queue to update the data queue.
Optionally, the data sending module 610 is further configured to:
detecting the updated data queue, and if the data queue is empty, ending the current communication; otherwise, determining the data at the head end of the data queue as the next task data;
transmitting the next task data to the controller according to the transmission process of the task data;
and repeating the transmission process of the next task data until the data queue is empty.
Optionally, the task data sent by the data sending module 610 is at least one of write initialization data, read real-time class data, and write parameter class data.
Optionally, the display 61 further includes a display module, configured to update the state information of the display controller if the task data is read real-time data and the data waiting for receiving the response of the controller is not overtime or normal data is received.
Optionally, the display 61 further comprises an initialization module for retrieving write initialization data from a storage device.
Correspondingly, the data queue generating module is further configured to:
generating a data queue for writing initialization data;
task data is determined from the data queue.
Optionally, the abnormal data in the first and second confirmation modules 620 and 630 includes at least one of the following:
the data length of the data of the response does not meet the specification;
a check code error of the data of the response;
the command character of the data of the response is erroneous.
The welder provided by the embodiment of the invention can execute the welder communication management method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. Reference may be made to the description of any method embodiment of the invention not specifically described in this embodiment.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A welder communication management method, characterized in that the welder includes a display and a controller, the method performed by the display, the method comprising:
sending task data to the controller;
if the data waiting for receiving the response of the controller is overtime or receives abnormal data, the task data is repeatedly sent until the set times is reached or normal data is received;
and if normal data are not received after the set times of repeated transmission, alarming, and repeatedly transmitting the task data to the controller according to the set frequency.
2. The method of claim 1, wherein prior to said sending task data to said controller, said method further comprises:
generating a data queue of the task data;
and determining the data at the head end of the data queue as the task data.
3. The method of claim 2, wherein after said sending task data to the controller, the method further comprises:
and if new task data are received, inserting the new task data into the tail end of the data queue to update the data queue.
4. The method of claim 2, wherein after said sending task data to the controller, the method further comprises:
if the data waiting for receiving the response of the controller is not overtime or normal data is received, deleting the task data from the data queue to update the data queue;
detecting the updated data queue, and if the data queue is empty, ending the current communication; otherwise, determining the data at the head end of the data queue as the next task data;
transmitting the next task data to the controller according to the transmission process of the task data;
and repeatedly executing the transmission process of the next task data until the data queue is empty.
5. The method of claim 1, wherein the task data comprises: at least one of writing initialization data, reading real-time class data and writing parameter class data, wherein the writing parameter class data comprises process parameters and control parameters.
6. The method of claim 5, wherein if the task data is read real-time type data and the data waiting for receiving the response of the controller is not overtime or normal data is received, updating and displaying the status information of the controller.
7. The method of claim 5, wherein if the task data is write initialization data, before the sending task data to the controller, the method further comprises:
acquiring write initialization data from a storage device;
generating a data queue for the write initialization data;
determining the task data from the data queue.
8. The method of claim 1, wherein the anomaly data comprises at least one of:
the data length of the data of the response does not meet the specification;
a check code error of the responded data;
the command character of the responsive data is erroneous.
9. A welding machine provided with a display and a controller, the display comprising:
the data sending module is used for sending task data to the controller;
the first confirmation module is used for repeatedly sending the task data until the set times are reached or normal data are received if the data waiting for receiving the response of the controller is overtime or abnormal data are received;
and the second confirmation module is used for alarming if normal data are not received after the set times of repeated transmission, and repeatedly transmitting the task data to the controller according to the set frequency.
10. The welding machine of claim 9, wherein the display further comprises:
the data queue generating module is used for generating a data queue of the task data;
and the task data determining module is used for determining the data at the head end of the data queue as the task data.
CN201911272013.3A 2019-12-12 2019-12-12 Welding machine communication management method and welding machine Pending CN111008092A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911272013.3A CN111008092A (en) 2019-12-12 2019-12-12 Welding machine communication management method and welding machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911272013.3A CN111008092A (en) 2019-12-12 2019-12-12 Welding machine communication management method and welding machine

Publications (1)

Publication Number Publication Date
CN111008092A true CN111008092A (en) 2020-04-14

Family

ID=70115437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911272013.3A Pending CN111008092A (en) 2019-12-12 2019-12-12 Welding machine communication management method and welding machine

Country Status (1)

Country Link
CN (1) CN111008092A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115106682A (en) * 2021-03-19 2022-09-27 润智科技有限公司 Full-automatic welding machine data interaction method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143073A (en) * 2011-03-23 2011-08-03 深圳创维数字技术股份有限公司 Data transmission method and system
CN102902653A (en) * 2012-10-09 2013-01-30 天津市松正电动汽车技术股份有限公司 Serial communication protocol for controller
CN103001751A (en) * 2012-12-18 2013-03-27 华中科技大学 Cross-layer ARQ (Automatic Repeat Request) method in LTE-WLAN (Long Term Evolution and Wireless Local Area Network) heterogeneous wireless network system
CN104967497A (en) * 2015-06-09 2015-10-07 武汉数字派特科技有限公司 Network communication protocol-based reliable data transmission method and upgrading method
CN105786666A (en) * 2016-02-05 2016-07-20 浪潮(北京)电子信息产业有限公司 Failure processing method and system for multi-controller storage system
CN107920064A (en) * 2017-11-02 2018-04-17 河北科技大学 A kind of multiple mobile robot's communication means based on RUDP
CN109286476A (en) * 2018-09-25 2019-01-29 京信通信系统(中国)有限公司 A kind of method, receiving end and transmitting terminal transmitting data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143073A (en) * 2011-03-23 2011-08-03 深圳创维数字技术股份有限公司 Data transmission method and system
CN102902653A (en) * 2012-10-09 2013-01-30 天津市松正电动汽车技术股份有限公司 Serial communication protocol for controller
CN103001751A (en) * 2012-12-18 2013-03-27 华中科技大学 Cross-layer ARQ (Automatic Repeat Request) method in LTE-WLAN (Long Term Evolution and Wireless Local Area Network) heterogeneous wireless network system
CN104967497A (en) * 2015-06-09 2015-10-07 武汉数字派特科技有限公司 Network communication protocol-based reliable data transmission method and upgrading method
CN105786666A (en) * 2016-02-05 2016-07-20 浪潮(北京)电子信息产业有限公司 Failure processing method and system for multi-controller storage system
CN107920064A (en) * 2017-11-02 2018-04-17 河北科技大学 A kind of multiple mobile robot's communication means based on RUDP
CN109286476A (en) * 2018-09-25 2019-01-29 京信通信系统(中国)有限公司 A kind of method, receiving end and transmitting terminal transmitting data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
师哲,舒安平,张平仓: "《泥石流监测预警技术》", 长江出版社, pages: 137 - 140 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115106682A (en) * 2021-03-19 2022-09-27 润智科技有限公司 Full-automatic welding machine data interaction method

Similar Documents

Publication Publication Date Title
CN105224362A (en) Host computer carries out the method and system of program upgrade to slave computer
CN102298373B (en) Monitoring method and monitoring system of programmable logic controller (PLC)
CN107357595B (en) Bus-based multi-driver firmware online updating system
CN110580235B (en) SAS expander communication method and device
CN111008092A (en) Welding machine communication management method and welding machine
CN107784706A (en) One kind production performs management system, production equipment and production executive system
CN113658351B (en) Method and device for producing product, electronic equipment and storage medium
CN109245979B (en) CANopen master-slave station reliability control method and overall management device thereof
EP4177735A1 (en) Novel portable program upgrading method
JP4257364B2 (en) COMMUNICATION ERROR INFORMATION OUTPUT PROGRAM, COMMUNICATION ERROR INFORMATION OUTPUT METHOD, AND COMMUNICATION ERROR INFORMATION OUTPUT DEVICE
JP2020147250A (en) Electronic control device
CN113556210B (en) Upper computer and method for establishing communication connection
CN115268965A (en) Adaptive software remote upgrading method and system for low-voltage intelligent circuit breaker
CN109495597A (en) System and method, the equipment on-line management method of online modification device target address
CN109450757A (en) A kind of the starting method and its overall management device of CANopen main website
CN112859660B (en) Equipment synchronization control method, device, terminal and system
JP2006155047A (en) Verification system and verification method
CN106993241A (en) A kind of master control borad, fan frame and the network equipment
JP6064749B2 (en) Controller and program
CN110569047A (en) method for remotely updating human-computer interface based on detachable communication module
CN107678764B (en) Method and device for upgrading VSM system based on ISSU
CN107370612B (en) Network quality management system detection task scheduling method and device
CN109361586B (en) CANopen slave station starting method and overall planning manager thereof
JPH09179947A (en) Ic card
JP5080136B2 (en) Remote maintenance system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination