| With the rapid development of computer and communication technology as the representative of the information industry, fieldbus technology in the field of industrial control has become a leading data communications. However, along with the hardware technology and equipment to enhance the intelligence enhancement, traditional fieldbus has been unable to meet the needs of large-scale data transfer. More and more manufacturers began to develop their own unique automation communication standard, to maximize their own interests. In recent years, with the Ethernet technology is introduced into the field of industrial control, industrial Ethernet emerged. Industrial Ethernet to overcome the many shortcomings of traditional fieldbus profound impact on the field of industrial control.This paper presents a design scheme based on EtherCAT protocol embedded gateway adapter. For real-time differential of the adapter and configure complex these two issues, proposed to increase from a single piece of machine way ahead of pretreatment, handling communication adapter module and I/O modules, effectively improve the real-time processing capabilities of the adapter.This paper first introduces several current mainstream industrial Ethernet technology, and a detailed analysis of the important contents of the system EtherCAT protocol configuration, data frame structure and communication mode. Then, based on the embedded STM32microcontroller, embedded hardware gives the overall design of the module introduces the various parts of the circuit, including the main circuit from the main part of the microcontroller, the clock reset circuit, ET1100circuit. On this basis, based on EtherCAT protocol and uC/OS-â…¢ operating system functional requirements for software, drivers, and completed the development of business processes. Finally, according to the design specifications, system testing, and achieved satisfactory structure, to achieve the design requirements. Meanwhile, given the lack of an improved method and the test procedure and the usual course of the study found. |