| In recent years, PLC with its adwantages of perfect function, convenient operation and anti-interference ability, gradually replace the traditional relay-contact control system consisting of a large number of relays, have been widely used in many fields. However, with the rapid development of automatic control theory, computer technology and PLC technology, the traditional PLC gradually reveal some disadvantages such as Poor compatibility and expansibility etc, these problems have become the factors that restrict the development of the traditional PLC. In the increasingly developed field of industrial automation, the appearance of embedded soft PLC changed this situation, and with its advantages of high performance price ratio, high reliability and wide applicability, has become a major trend of the development of PLC.In order to adapt to the development trend of PLC and meet the needs of the market, this paper will design a general-purpose embedded soft PLC system. Through the analysis of the basic structure and working principle of the traditional hard PLC, researches on key technologies of embedded soft PLC, including system architecture, the overall design scheme of the system and the construction of the system software and hardware platform, and introduces the realization of running environment and developing environment of the embedded soft PLC. In this paper, the design of embedded soft PLC is based on the STM32F407VGT6embedded system of ARM Cortex-M4processor, and cited the KW-Software ProConOS eCLR kernel. The whole structure of embedded soft PLC system based on IEC61131-3standard, has better universality and compatibility.The main part of this thesis introduces the construction of the embedded platform based on ARM Cortex-M4processor and the construction of the software platform before the transplantation of ProConOS eCLR kernel. Then it discusses in detail the development process of the system programming development environment, the software architecture of the system running environment and the realization of each module. Finally, through the example of embedded soft PLC application in digital offset printing machine control to further introduces the method of using embedded soft PL system and advantages compared to the traditional hard PLC. |