Process of operating a numerical control with critical-time and non-critical-time processes in a real time system
AssigneeSiemens Aktiengesellschaft
InventorsThomas Rehm, Josef Willert
Life of this patent
Estimating the term…
Abstract
In a real-time system of a digital control system, in order to prevent a single program sequence (PS2) of a non-time-critical computing process ("task") from using up a load-dependently disproportionate amount of the total computing time still available, the program sequence (PS2) is classified as a subordinate computing process (R14) that has a running-time limit (LZF). Sequences of program steps that are preferably not to be interrupted are in this case protected from interruption by a lock, the original running-time limit (LZG) being able to be run over only within predetermined limits.
Claims4
A method for operating a numerical control system having a real-time system, the real-time system having time-critical computing processes and non-time-critical computing processes, each of the computing processes having at least one program sequence, the method comprising the steps of:
- (a) classifying a program sequence of a non-time-critical computing process as a subordinate computing process to limit a running time of the program sequence, the subordinate computing process being subordinate to the respective non-time-critical computing process and having a running-time limit value associated therewith;
- (b) setting a lock indicator assigned to the subordinate computing process before starting a sequence of program steps;
- (c) after processing the sequence of program steps, canceling the lock indicator assigned to the subordinate computing process;
- (d) after a time period corresponding to the running-time limit value elapses, interrupting the subordinate computing process to process at least another non-time-critical computing process that is pending if the lock indicator assigned to the subordinate computing process is not set;
- (e) after a further time period greater than the running-time limit value elapses, interrupting the subordinate computing process to process another of the non-time-critical computing processes that is pending;
- (f) interrupting the subordinate computing process to process another of the non-time-critical computing processes that is pending if the lock indicator assigned to the subordinate computing process is reset in a time interval between the running-time limit value and the further time period;
- and
- (g) interrupting any non-time-critical computing process if a time-critical computing process is pending.
Dependencies are inferred from the claim text.