The invention discloses a device for realizing communication between an ERP
system and
machine tool equipment and
data acquisition, and belongs to the technical field of computer application. The steps of the device comprise that dynamic importing of drive DLL is realized through the reflection and generic technology, the data are serialized into
XML or
JSON data interaction through the network transmission mode based on the TCP / IP protocol by using a data
serialization algorithm, different types of interface
modes are supported, the access requirements of the ERP
system and hardware equipment are configured and different object instances are created by calling different creating methods through combination of the working mode items in the configuration file so that different access
modes and working
modes of the
system can be realized and multiple operation requirements for accessing to the equipment can be supported. Dynamic reference of the drive DLL in operation can be realized, independent implementation of different sets of equipment can be realized, the unified
external interface based on the TCP / IP is formed through packaging, and the ERP system can perform interface accessing through network
programming directly without considering access details.