The invention discloses a soft PLC configuration development method based on
XML technology, including the steps: abstracting and packaging basic components of a PLC graphic program in an object-oriented manner to obtain primitive components; according to the type of the primitive components, creating a corresponding project; constructing a PLC configuration
development environment, and loading acorresponding primitive component
library; maintaining the primitive components, and arranging and combining the primitive components by dragging in the way of graph
visualization; configuring the attributes and parameters of the primitive components, and establishing the connection relationship between the primitive components; storing the attributes and logic relationships of the primitive components, and according to TC6_
XML_V201. Xsd file, describing a configuration PLC graphic program to obtain an
XML file according with the IEC61131 standard; converting the XML file into an instruction table or
structured text; generating a source file and further generating a target file; and deploying the target file to the running
system of soft PLC to complete the development of the whole soft PLC
system. The invention can effectively improve the efficiency and flexibility of soft PLC development.