Method for controlling cycle scheduling and controller
The invention relates to a method for controlling cycle scheduling and a controller, a foreground and background system and a real-time operating system are both arranged in the controller, and the method comprises the following steps: S1, the foreground and background system receives data of an inp...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a method for controlling cycle scheduling and a controller, a foreground and background system and a real-time operating system are both arranged in the controller, and the method comprises the following steps: S1, the foreground and background system receives data of an input module connected with the controller, and performs sequential logic execution processing on the data of the input module, acquiring a corresponding execution processing result until the data processing of the input module is finished; s2, performing context switching processing on a foreground and background system and the real-time operating system so as to realize switching from the foreground and background system to the real-time operating system in a controller; s3, the real-time operating system processes the user program task until a preset time period is reached; s4, performing context switching processing on the real-time operating system and the foreground and background system so as to realize switchi |
---|