getting_started:tutorials:safetysystem2
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
getting_started:tutorials:safetysystem2 [2017/02/27 15:49] – created graf | getting_started:tutorials:safetysystem2 [2017/04/06 19:21] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run '' | In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run '' | ||
- | The example comprises a safety system with only two safety levels and two safety events. | + | The example comprises a safety system with only two safety levels and two safety events. The system will start in the safety |
- | The levels and events are defined | + | When the system changes into '' |
- | + | Pay attention | |
- | The following events are defined and used in the example: | + | * The time domain |
- | ^name^description^registered for safety level^type^when triggered^ | + | * The safety properties |
- | |e1|start initializing|slOff|public event|triggered by the main program immediately after initialization | + | |
- | |e2|initialization done|slIinitializing|public event|triggered by a periodic 5 seconds after the executor started| | + | |
- | |e3|start running|slInitialized|private event|triggered by checking | + | |
- | |e4|start shutting down|slRunning, | + | |
- | |e5|stop running|slRunning|private event|triggered by checking the critical input, | + | |
- | |e6|switching off|slShuttingDown|private event|triggered by a level action| | + | |
- | + | ||
- | The example shows a typical use of safety levels and safety events. In order to demonstrate how the system works in a very limited example | + | |
- | * The end of the initialization phase is triggered | + | |
- | * To start and stop running might be triggered by pressing or releasing | + | |
- | * When pressing '' | + | |
- | ===== How to shut down ===== | + | |
- | The example demonstrates how the system should be stopped in a well controlled manner, see [[getting_started: | + | |
- | + | ||