United States Patent
US Patent 7139618: Method of operation and a control program for a…
US 7139618 · granted 2006-11-21

Abstract
The present invention is directed to a method of operation and a control program for a central unit (e.g., CPU) in an automation system repeatedly executing a control program that is stored in the central unit and comprises at least two subprograms. A single instance of execution occurs within a cycle time which is stipulated by the control program. The central unit executes only one of the subprograms--the activated subprogram--at a time. The cycle time is independent of the activated subprogram, is shorter than the time required in order to execute all of the subprograms, and is at least as long as the longest time period required in order to execute one of the subprograms once.
| Patent Number | 7139618 |
|---|---|
| Title | Method of operation and a control program for a central unit in an automation system |
| Filed | 2004-06-10 |
| Granted | 2006-11-21 |
| Inventor(s) | Danz; Mirko, Extra; Johannes, Franke; Michael, Jartyn; Hermann |
| Assignee | Siemens Aktiengesellschaft |
| CPC Classification | G05B 11/01 |
| Number of Claims | 48 |
Abstract
The present invention is directed to a method of operation and a control program for a central unit (e.g., CPU) in an automation system repeatedly executing a control program that is stored in the central unit and comprises at least two subprograms. A single instance of execution occurs within a cycle time which is stipulated by the control program. The central unit executes only one of the subprograms–the activated subprogram–at a time. The cycle time is independent of the activated subprogram, is shorter than the time required in order to execute all of the subprograms, and is at least as long as the longest time period required in order to execute one of the subprograms once.
Claim 1
A method of operation for a central unit in an automation system, the central unit repeatedly executing a control program that is stored in the central unit, asingle instance of the execution of the control program occurring within a cycle time which is set by the control program, the control program comprising at least two subprograms, wherein only one of the subprograms is activated at a time, the centralunit executing only an activated subprogram, the cycle time being independent of the activated subprogram, shorter than the time required in order to execute all of the subprograms, and at least as long as the longest of the times periods required inorder to execute one of the subprograms once, the method comprising the steps of: (a) communicating via a bus with a plurality of peripheral modules during the execution of the control program; (b) splitting the cycle time into a plurality of timeslices, wherein the number of time slices is smaller than the plurality of peripheral modules; (c) assigning each of the plurality of peripheral modules to a maximum of one of the time slices in activating one of the subprograms; and (d) communicatingwith a single one of the plurality of peri
Claims
48 totalA method of operation for a central unit in an automation system, the central unit repeatedly executing a control program that is stored in the central unit, asingle instance of the execution of the control program occurring within a cycle time which is set by the control program, the control program comprising at least two subprograms, wherein only one of the subprograms is activated at a time, the centralunit executing only an activated subprogram, the cycle time being independent of the activated subprogram, shorter than the time required in order to execute all of the subprograms, and at least as long as the longest of the times periods required inorder to execute one of the subprograms once, the method comprising the steps of: (a) communicating via a bus with a plurality of peripheral modules during the execution of the control program; (b) splitting the cycle time into a plurality of timeslices, wherein the number of time slices is smaller than the plurality of peripheral modules; (c) assigning each of the plurality of peripheral modules to a maximum of one of the time slices in activating one of the subprograms; and (d) communicatingwith a single one of the plurality of peri