eeros_architecture:control_system:available_blocks:checker
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eeros_architecture:control_system:available_blocks:checker [2017/12/13 12:04] – graf | eeros_architecture:control_system:available_blocks:checker [2021/07/09 14:36] (current) – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Signal Checker ====== | ====== Signal Checker ====== | ||
- | A signal checker block serves to check a signal of the control system to be within a given range. As soon as this is longer the case the block will trigger a safety event which can cause the safety system to change its level and handle the situation appropriately. See [[getting_started: | + | A signal checker block serves to check a signal of the control system to be within a given range. As soon as this is longer the case the block will trigger a safety event which can cause the safety system to change its level and handle the situation appropriately. See [[getting_started: |
- | Please keep in mind that for signals which are of vector or matrix type, each element will be compared to its own upper and lower limit. \\ | + | Please keep in mind that for signals which are of vector or matrix type, each element will be compared to its own upper and lower limit. With an additional parameter '' |
- | When the ckecker | + | When the checker |
<code cpp> | <code cpp> | ||
- | checker.reset(); | + | reset(); |
</ | </ | ||
- | This will allow a new safety event to be triggered. \\ | + | This will allow a new safety event to be triggered. In case of a matrix type, the checker will fire as soon as at least one of its elements has exceeded its limits. \\ |
However, the checker will only fire an event if the safety system and an appropriate event have been registered beforehand by calling | However, the checker will only fire an event if the safety system and an appropriate event have been registered beforehand by calling | ||
<code cpp> | <code cpp> | ||
- | checker.registerSafetyEvent(safetySystem, | + | registerSafetyEvent(safetySystem, |
</ | </ | ||
+ | By calling | ||
+ | <code cpp> | ||
+ | setActiveLevel(safetyLevel); | ||
+ | </ | ||
+ | the checker will only fire a registered safety event if the current safety level is equal or greater than the safety level set by this method. |
eeros_architecture/control_system/available_blocks/checker.1513163064.txt.gz · Last modified: 2017/12/13 12:04 by graf