Index: firmware/App/Controllers/UVReactors.c =================================================================== diff -u -r23ebb5812ecd93ca42999259f7f62f46fd482ebd -r2d4653fb5bd6b087b5e17d143b55249b7142fa07 --- firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision 23ebb5812ecd93ca42999259f7f62f46fd482ebd) +++ firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision 2d4653fb5bd6b087b5e17d143b55249b7142fa07) @@ -383,8 +383,14 @@ *************************************************************************/ static UV_REACTOR_STATE_T handleUVReactorStateOff( UV_REACTORS_T reactor ) { - UV_REACTOR_STATE_T state = UV_REACTOR_STATE_OFF; + UV_REACTOR_STATE_T state = UV_REACTOR_STATE_OFF; + ALARM_ID_T reactorHealthAlarm = ( INLET_UV_REACTOR == reactor ? ALARM_ID_DG_INLET_UV_REACTOR_NOT_HEALTHY : ALARM_ID_DG_OUTLET_UV_REACTOR_NOT_HEALTHY ); + ALARM_ID_T reactorFlowAlarm = ( INLET_UV_REACTOR == reactor ? ALARM_ID_DG_INLET_UV_REACTOR_ON_WITH_NO_FLOW : ALARM_ID_DG_OUTLET_UV_REACTOR_ON_WITH_NO_FLOW ); + // When the reactor is off, clear its health and on with no flow alarms + checkPersistentAlarm( reactorHealthAlarm, FALSE, 0.0F, 0.0F ); + checkPersistentAlarm( reactorFlowAlarm, FALSE, 0.0F, 0.0F ); + // Set the health status to be off. When the reactor is off, it does not report its health status reactorsStatus[ reactor ].healthStatus.data = (U32)UV_REACTOR_OFF;