getting_started:tutorials:mockrobot
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| getting_started:tutorials:mockrobot [2021/03/31 17:31] – [Mock Robot Example] ursgraf | getting_started:tutorials:mockrobot [2026/01/13 08:33] (current) – [Control System] ursgraf | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== The Full Picture ===== | ===== The Full Picture ===== | ||
| - | This example does not need any hardware. | + | This example does not need any hardware. |
| The main application defines a control system and a safety system. The safety system is assigned as main task and passed to the executor. Further, a main sequence is defined and added to the sequencer and started. After this the executor starts running. | The main application defines a control system and a safety system. The safety system is assigned as main task and passed to the executor. Further, a main sequence is defined and added to the sequencer and started. After this the executor starts running. | ||
| Line 43: | Line 43: | ||
| The main program must wait for the sequencer to stop until it can finish, in order to terminate gracefully without any running thread. | The main program must wait for the sequencer to stop until it can finish, in order to terminate gracefully without any running thread. | ||
| ===== Control System ===== | ===== Control System ===== | ||
| - | The control system is very simple. | + | The control system is very simple. |
| + | |||
| + | [{{ : | ||
| In the constructor of the control system the blocks are created, connected, and the integrator are enabled. All of the blocks are added to a time domain which itself is passed to the executor. This time domain runs in parallel to the safety system task. | In the constructor of the control system the blocks are created, connected, and the integrator are enabled. All of the blocks are added to a time domain which itself is passed to the executor. This time domain runs in parallel to the safety system task. | ||
| ===== Safety System ===== | ===== Safety System ===== | ||
| The safety system has four levels and a couple of safety events to switch between these levels. | The safety system has four levels and a couple of safety events to switch between these levels. | ||
| - | [{{ : | + | [{{ : |
| The event '' | The event '' | ||
getting_started/tutorials/mockrobot.1617204663.txt.gz · Last modified: 2021/03/31 17:31 by ursgraf