摘要 |
In the process for controlling industrial operations and processes, a complex control program is processed by a microprocessor of a controller (10) under real-time conditions. The complex control program is divided into tasks. Each task is assigned a priority and an activation event. The activated task with the highest priority for processing is selected. Processing of a task can be interrupted on the basis of a subsequent request for processing a higher-priority task Processing of the lower-priority task is continued at the point of the interruption, after the processing of the higher-priority task is concluded. This process is characterized in that tasks can be divided into a number of subtasks to be processed sequentially, and within configurable, coherent and non-overlapping priority ranges, tasks can interrupt other lower-priority tasks only between two successive subtasks or at interruption points explicitly inserted by the user. Processing of the higher-priority task requested later is not begun until processing of the subtask during which the request for processing the higher-priority task was issued has been completed.
|