User Tools

Site Tools


getting_started:tutorials:safetysystem

This is an old revision of the document!


Create a Safety System

In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run examples/safety/SafetySystemTest1.
The example comprises a safety system with five different safety levels and six safety events. The levels and events are defined in the safety properties. The properties further include one critical input and one critical output.

The following events are defined and used in the example:

namedescriptionregistered for safety leveltypewhen triggered
e1start initializingslOfftriggered immediately after initializtion of the safety systempublic Event
e2initialization doneslIinitializingtriggered by a periodic private Event
e3start runningslInitializedtriggered by a periodic private Event
e4start shutting downslRunning, slInitialized, slIinitializingtriggered by a periodic private Event
e5stop runningslRunning by a periodic private Event
e6switching offslShuttingDowntriggered by a periodic private Event

The central attribute of the safety system is its currentLevel. Of course, this level can be queried by anything but is controlled exclusively by the safety system itself.

How to shut down

The example demonstrates how the system should be stopped in a well controlled manner, see stoppingsystem.

getting_started/tutorials/safetysystem.1478342998.txt.gz · Last modified: 2016/11/05 11:49 by graf