| Industrial control system is an important component in industrial automation.It is crucial for optimizing production process and improving efficiency.With the development of computer technology,industrial control systems have undergone significant changes.However,due to the complexity of industrial control systems and the continuous expansion of networks,the reliability and flexibility of systems also face challenges.Therefore,it is necessary to find more comprehensive system configurations and data transmission methods to ensure the interconnection of more functional modules in complex field environments.The background of this thesis is the industrial control for petrol filling system,which needs to collect data from various equipment links at the petrol filling site and implement petrol filling operations and data transmission based on the collected data.During the petrol filling process,the main control computer needs to respond to different equipment messages,update the user operation interface,and provide a dedicated explosion-proof keyboard for the user to operate.At the same time,the petrol filling site also needs to control the main control computer system through the host computer and read/write corresponding data.According to the requirements of the petrol filling system,an industrial control system based on XML(e Xtensible Markup Language)configuration is proposed in the thesis.Each functional module of the system is configured via XML file-set,the petrol filling logic is realized by system designer.Therefore,the system software and business logic are deeply decoupled,which allows timely response of the system’s business logic for changing requirements.To solve the complexity of equipment links and the diversity of data on the site,a data virtualization system based on the Modbus protocol is discussed in the thesis together with physical link virtualization.Data mapping takes place between internal and external networks to achieve unified flow and transmission of different link device data on the main control computer.In the thesis,the operations of each sub-function module are controlled by the virtual data center.Devices’ setting parameter is controlled by the data from the virtual data center.A state machine system for logical judgment and state control is designed.It controls the graphical user interface to load corresponding pre-designed dialogs.A protocol is designed for virtual keyboard for multi-link interaction,and a database system for data storage and retrieval.In addition,a host computer is designed for simulating rendering of graphical interfaces and controlling the main control computer,which communicates with the main control computer through a custom protocol. |