2020-08-03 21:13:04 +02:00
.. _safety_flags:
Safety Flags
============
2020-08-11 23:21:24 +02:00
The safety flags are represented in software by the following enums
.. doxygenenum :: safety_flag
2020-08-22 23:57:04 +02:00
The safety flags can be temporarily or permanent. Some temporary flags are reset automatically, once the error condition disappears. Others have to be explicitly cleared.
2020-08-11 23:21:24 +02:00
2020-08-23 00:04:02 +02:00
----------------------------------------------------------------------------------------------------------------------------------
2020-08-11 23:21:24 +02:00
.. _safety_flags_adc_overflow:
ERR_FLAG_MEAS_ADC_OVERFLOW
--------------------------
2020-08-22 23:57:04 +02:00
`` ERR_FLAG_MEAS_ADC_OVERFLOW `` is triggered in case of an overflow in the signal path of the measurement ADC. This should never happen unless there is a bug in the software.
========== ============= ============= ===========
persistent self-clearing Stops PID Panic Mode
========== ============= ============= ===========
yes no yes no
========== ============= ============= ===========
2020-08-23 00:04:02 +02:00
----------------------------------------------------------------------------------------------------------------------------------
2020-08-11 23:21:24 +02:00
.. _safety_flags_adc_off:
ERR_FLAG_MEAS_ADC_OFF
---------------------
2020-08-23 00:04:02 +02:00
`` ERR_FLAG_MEAS_ADC_OFF `` signals that the measurement ADC for the PT1000 sensor is deactivated. This flag is automatically cleared by the firmware
2020-08-22 23:57:04 +02:00
once the ADC is started.
========== ============= ============= ===========
persistent self-clearing Stops PID Panic Mode
========== ============= ============= ===========
no yes yes no
========== ============= ============= ===========
2020-08-23 00:04:02 +02:00
----------------------------------------------------------------------------------------------------------------------------------
2020-08-22 23:57:04 +02:00
2020-08-03 21:13:04 +02:00
.. _safety_flags_adc_watchdog:
ERR_FLAG_MEAS_ADC_WATCHDOG
--------------------------
2020-08-22 23:57:04 +02:00
`` ERR_FLAG_MEAS_ADC_WATCHDOG `` is used as a wire break detection mechanism. This flag is set when the PT1000 measurement ADC detects an invalid resistance measurement.
.. seealso :: :ref: `ADC Watchdog<firmware_meas_adc_watchdog>`
========== ============= ============= ===========
persistent self-clearing Stops PID Panic Mode
========== ============= ============= ===========
no no yes no
========== ============= ============= ===========
2020-08-23 00:04:02 +02:00
----------------------------------------------------------------------------------------------------------------------------------
2020-08-22 23:57:04 +02:00
2020-08-03 21:13:04 +02:00
.. _safety_flags_adc_unstable:
ERR_FLAG_MEAS_ADC_UNSTABLE
--------------------------
2020-08-22 23:57:04 +02:00
`` ERR_FLAG_MEAS_ADC_UNSTABLE `` is set after startup of the PT1000 measuremnt or after reconfiguring the filter settings.
.. seealso :: :ref: `firmware_meas_adc_filter`
========== ============= ============= ===========
persistent self-clearing Stops PID Panic Mode
========== ============= ============= ===========
no yes no no
2020-09-04 22:55:34 +02:00
========== ============= ============= ===========
.. _safety_flags_safety_mem_corrupt:
ERR_FLAG_SAFETY_MEM_CORRUPT
---------------------------
`` ERR_FLAG_SAFETY_MEM_CORRUPT `` is set during the initialization of the controller, in case a corrupted safety memory is encountered.
In this case the error memory is reinitialized and the flag is set in the error memory. Afer a reboot it will stay asserted until the
safety backup memory is cleared
.. seealso :: :ref: `backup_ram`
========== ============= ============= ===========
persistent self-clearing Stops PID Panic Mode
========== ============= ============= ===========
yes no yes no
2020-08-22 23:57:04 +02:00
========== ============= ============= ===========