Virtual PLC Configuration via Physical Data Copy
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The configuration of a virtual programmable logic controller (PLC) and its virtual input/output (I/O) is often time-consuming and error-prone, requiring improved systems and methods for virtualization that mimic the behavior of a physical PLC.
Innovation Solution
A method and system for creating a virtual PLC by obtaining configuration data from a physical PLC, including expansion modules, and using this data to create a virtual PLC instance that simulates the operation of the physical PLC, utilizing a PLC simulator and storing configuration data in an XML file for accessible communication.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If manual configuration methods are used for virtual PLC and virtual I/O, then flexibility and control are maintained, but the configuration process becomes time-consuming and error-prone
Solution Approach 1:
The system creates a virtual PLC by copying the configuration data from a physical PLC. The configuration data structure includes PLC configuration data and I/O configuration data that are automatically transferred from the physical PLC to the virtual PLC, eliminating manual configuration and ensuring accuracy while improving productivity
Solution Approach 2:
The virtual PLC automatically retrieves its configuration data from the physical PLC through automated data transfer mechanisms. The system performs self-configuration by obtaining configuration data from the physical PLC without requiring manual intervention, thereby reducing both time and errors
2Reliability
If detailed configuration data is obtained from physical PLC including expansion modules, then the virtual PLC produces consistent results with the physical PLC, but the complexity of the configuration process increases
Solution Approach 1:
The configuration data is segmented into distinct components including PLC configuration data, I/O configuration data, and expansion module configuration data. This segmentation allows the complex configuration to be systematically obtained and transferred from the physical PLC to the virtual PLC, maintaining accuracy while managing complexity through structured data organization
Solution Approach 2:
The configuration data structure is designed to be universal, accommodating not only basic PLC configuration but also I/O configuration and expansion module configuration. This multi-functional data structure enables comprehensive virtualization in a systematic manner, handling multiple configuration aspects through a unified approach
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A method (200) is provided for creating a virtual programmable logic controller (PLC) based on a physical PLC. The method (200) includes (1) connecting to the physical PLC over a network (201); (2) obtaining configuration data from the physical PLC over the network (202); (3) if an expansion module is coupled to the physical PLC, obtaining configuration data for the expansion module over the network (204); (4) storing configuration data for the physical PLC in a configuration medium (206); and (5) if configuration data for the expansion module is obtained, storing configuration data: for the expansion module in the configuration medium (206).