The invention discloses an efficient PLC process data high-speed acquisition method, and belongs to the field of industrial
automation control. Aiming at the problems of insufficient stability, poor real-time performance, low
processing efficiency and the like of the existing PLC
data acquisition communication, an array
queue and a
time variable are created in the PLC, a
data transmission structure is improved, a
data acquisition subprogram is arranged in a high-speed operation cycle program block, and 10ms
interval data acquisition is realized by matching with a 10ms
timer. Edge equipment and
fog computing are utilized to cooperate, a
machine learning
algorithm is introduced to evaluate
data quality, and an upper computer adopts a self-adaptive communication strategy to encrypt key data. In the implementation process, a Siemens 1500 series PLC is selected and matched with TIA Portal
software and CMS upper
computer software, and through the steps of hardware and
software preparation, PLC configuration, upper
computer software CMS configuration and the like, 10 ms data high-speed collection is achieved,
data processing efficiency is improved, real-time performance is enhanced,
data integrity is guaranteed, and powerful support is provided for industrial automatic production.