93 lines
3.5 KiB
ReStructuredText
93 lines
3.5 KiB
ReStructuredText
.. _safety_flags:
|
|
|
|
Safety Flags
|
|
============
|
|
|
|
The safety flags are represented in software by the following enums
|
|
|
|
.. doxygenenum:: safety_flag
|
|
|
|
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.
|
|
|
|
----------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
.. _safety_flags_adc_overflow:
|
|
|
|
ERR_FLAG_MEAS_ADC_OVERFLOW
|
|
--------------------------
|
|
|
|
``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
|
|
========== ============= ============= ===========
|
|
|
|
----------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
.. _safety_flags_adc_off:
|
|
|
|
ERR_FLAG_MEAS_ADC_OFF
|
|
---------------------
|
|
|
|
``ERR_FLAG_MEAS_ADC_OFF`` signals that the measurement ADC for the PT1000 sensor is deactivated. This flag is automatically cleared by the firmware
|
|
once the ADC is started.
|
|
|
|
========== ============= ============= ===========
|
|
persistent self-clearing Stops PID Panic Mode
|
|
========== ============= ============= ===========
|
|
no yes yes no
|
|
========== ============= ============= ===========
|
|
|
|
----------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
.. _safety_flags_adc_watchdog:
|
|
|
|
ERR_FLAG_MEAS_ADC_WATCHDOG
|
|
--------------------------
|
|
|
|
``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
|
|
========== ============= ============= ===========
|
|
|
|
----------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
.. _safety_flags_adc_unstable:
|
|
|
|
ERR_FLAG_MEAS_ADC_UNSTABLE
|
|
--------------------------
|
|
|
|
``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
|
|
========== ============= ============= ===========
|
|
|
|
|
|
.. _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
|
|
========== ============= ============= =========== |