Data synchronization method and device of controller, storage medium and electronic equipment

The invention provides a data synchronization method and device of a controller, a storage medium and electronic equipment, and relates to the technical field of industrial control. The data synchronization method of the controller provided by the invention comprises the following steps: dividing to...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HONG LIXIN, WEN JIFENG, LI GUANGHUA, ZHAO TIAN'EN, CHEN HONGJUN, ZHANG LEI, ZHOU QIANG, HOU XIANDONG, YE LIWEN, LI XIANG, ZENG KAI
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 provides a data synchronization method and device of a controller, a storage medium and electronic equipment, and relates to the technical field of industrial control. The data synchronization method of the controller provided by the invention comprises the following steps: dividing to-be-synchronized data into global variable data and task variable data; in the global variable synchronization stage, global variable data are obtained, and synchronization of the global variable data is carried out; in the task variable synchronization stage, task variable data are obtained, and synchronization of the task variable data is carried out. According to the invention, the influence of the synchronization process on the task execution process of the initial state controller is reduced, and the synchronization cost of the master-slave controller structure is reduced. 本申请提供了一种控制器的数据同步方法、装置、存储介质以及电子设备,涉及工业控制技术领域。本申请提供的控制器的数据同步方法包括:将待同步数据划分为全局变量数据和任务变量数据;在全局变量同步阶段,获取全局变量数据,进行全局变量数据的同步;在任务变量同步阶段,获取任务变量数据,进行任