Runtime Task Property Modification in Programmable Logic Controllers
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing programmable logic controllers (PLCs) require halting and recompiling tasks for even minor modifications, which is inefficient and disrupt continuous operation.
Innovation Solution
A system and method that allows for programmatic modification of task properties, such as execution frequency, priority, and resource allocation, within a runtime environment without halting the task or entering programming mode, using function calls and shared memory interfaces.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a task is modified in a traditional PLC system, then the modification can be implemented, but the task must be halted and recompiled, causing interruption of operation
Solution Approach 1:
The system dynamically allows task modifications during runtime without halting execution. The PLC controller receives modified task definitions and parameters while the task is executing, and applies changes in real-time, transforming the static modification process into a dynamic continuous operation capability
Solution Approach 2:
The system performs preliminary validation and preparation of task modifications before they take effect. The modified task definition is received and processed in advance, allowing the changes to be ready for immediate application without interrupting the running task, thus maintaining continuous operation
2Adaptability or versatility
If a task is modified by halting and recompiling, then the modification is implemented, but time is lost during the halt and recompile process
Solution Approach 1:
The system maintains continuous execution of the task while modifications are being applied. The useful action of task execution continues uninterrupted, and the modification process is integrated into the runtime environment, eliminating the time loss associated with traditional halt-recompile-halt cycles
3Adaptability or versatility
If task properties are modified in real-time, then adaptability improves, but system complexity increases
Solution Approach 1:
The PLC controller is designed with universal capabilities to handle both traditional task execution and real-time modification functions within a single integrated system. The controller can execute tasks while simultaneously receiving and applying modified task definitions, eliminating the need for separate modification hardware or complex external systems
Data Source
AI summary
System and method for modifying properties of tasks on a programmable logic controller. Input specifying modification of a property of a task included in a programmable logic controller (PLC) may be received. The property of the task may be modified based on the input, and the task may halt or continue to execute in accordance with the modified property. The modification may enable, disable, modify the rate of, modify the priority of, and/or modify properties of programs included in the task, among others. Modifying the programs may include changing the program execution order. When enabling or disabling the task, the input may be received from another task executing on the PLC. For at least some property modifications, the input may be received from one or more of a program included in the task, another executing task, a host computer system, and a user of the host computer system, among others.


