PLC Python Interpreter for Multi-Function Manufacturing Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The limitations in function selection and high cost of dedicated units in manufacturing apparatuses controlled by PLCs due to manufacturer-specific specifications and incompatible functions across different PLCs, leading to restricted functionality and low freedom in function selection.
Innovation Solution
An interoperation system that integrates a PLC with an information processing apparatus via a communication network, allowing the PLC to store and manage both first and second device values, with the information processing apparatus acquiring and determining changes in second device values to control corresponding operations, enhancing functionality through dynamic parameter changes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If dedicated units are added to achieve complex functions (image processing, etc.) in PLC-controlled manufacturing apparatuses, then functional capability is improved, but device complexity and cost increase significantly
Solution Approach 1:
The patent makes the PLC universal by enabling it to execute multiple types of instructions (traditional control instructions and Python instructions) through a single device. The PLC is configured with a Python interpreter that can execute Python scripts, allowing it to perform complex functions like image processing without requiring separate dedicated units for each function type.
Solution Approach 2:
The patent replaces the need for physical dedicated hardware units with software-based solutions. Instead of adding physical image processing units, motion control units, or other specialized hardware, the system uses software instructions (Python scripts) that run on the existing PLC, substituting mechanical/hardware additions with software functionality.
2Adaptability or versatility
If multiple dedicated units are added to achieve multiple complex functions, then functional versatility is improved, but system cost increases
Solution Approach 1:
The PLC is transformed into a multi-functional platform that can handle traditional control tasks plus complex functions like image processing, data analysis, and communication protocols through Python instruction execution. This single universal platform replaces what would otherwise require multiple specialized dedicated units, significantly reducing system cost while maintaining functional versatility.
Solution Approach 2:
The patent changes the operational parameters of the PLC by introducing Python instruction execution capability. This parameter change (adding script execution capability) fundamentally expands the PLC's functional range without requiring proportional increases in hardware resources or system cost.
3Reliability
If manufacturer-specific PLCs with dedicated units are used, then specific function compatibility is improved, but adaptability to different manufacturers and specifications decreases
Solution Approach 1:
The patent creates a universal instruction execution environment where the PLC can run Python scripts that are not tied to any specific manufacturer's proprietary instructions. This allows the same PLC to work across different manufacturers' equipment and protocols, improving manufacturer compatibility while maintaining reliable function execution through the standardized Python language.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
An interoperation system (1) includes a controlled device (4), a PLC (3) controlling a first operation of the device, and an information processing apparatus (6) operating in conjunction with the PLC. The PLC includes a PLC control unit (33), and a PLC storage (32) storing multiple first device values for the first operation, and multiple second device values for a second operation of the apparatus. The first device values include one or more first instruction values for causing the first operation to be executed, and the second device values include one or more second instruction values for causing the second operation to be executed. The apparatus includes a device value acquisition unit (631) acquiring the second device values, a determination unit (632) determining whether any of the second instruction values have been changed, and an operation control unit (633) controlling the second operation corresponding to the changed second instruction value.