The invention relates to a multi-type
industrial equipment PLC control method and device based on a
hardware abstraction layer, and the method comprises the steps: constructing the
hardware abstraction layer comprising a core layer and an
adaptation layer; the core layer is provided with a standardized interface set, the
adaptation layer is provided with a special
adaptation module, and a control protocol is converted through a protocol analysis engine. And generating a unified
instruction set based on the standardized interface set, and establishing a data interaction channel supporting
priority scheduling. And identifying the newly-added equipment, matching the equipment configuration
library, and generating a newly-added adapter drive if the equipment configuration
library fails. And acquiring a device state by using a data interaction channel, and constructing a cooperative
control logic to realize linkage. Equipment load and task queues are monitored in real time, and dynamic task scheduling and grading fault
processing are carried out. And when an adapter configuration updating instruction is detected, the adaptive layer thermally loads the updated drive, and unified, intelligent, efficient and stable PLC control of multiple types of
industrial equipment is realized through cooperation of the core layer and the adaptive layer.