Method for initializing data of resistance welding equipment

The invention aims to provide a method for initializing data of resistance welding equipment. An inverter control core of the resistance welding equipment comprises a power supply, an MCU, a memory and other circuits. The method is characterized in that the MCU can initialize the memory during progr...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LU XIANGKUN, XU HAO, GUO JINHUA, ZHAI BAOLIANG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention aims to provide a method for initializing data of resistance welding equipment. An inverter control core of the resistance welding equipment comprises a power supply, an MCU, a memory and other circuits. The method is characterized in that the MCU can initialize the memory during program run, and comprises the following steps: S1, setting an initdata value in the program through macro definition for judging whether or not a storage chip is initialized, and curing data of a group of default parameters; S2, burning the program into the MCU; S3, enabling the program to start runningto firstly initialize the MCU, including IO pin definition, clock configuration and SPI bus configuration; S4, reading data from a special address of the storage chip by the MCU via a SPI bus, and storing the data into variable data. The method can accomplish initializing of data in the storage chip by only needing to burn program of the MCU once, simplifies the operation process, and improves production efficiency. 本发明的