changes during start of safety check
- Refactoring of string fb - Added pump safety interlocks for pressure segment inlet too low and too high
This commit is contained in:
@@ -109,6 +109,9 @@ VAR
|
||||
// Current state of the inverters internal statemachine
|
||||
_uiInverterState : UINT;
|
||||
|
||||
// Polling in enable state
|
||||
_xEnableInternal : BOOL;
|
||||
|
||||
// Inverter name for alarm message
|
||||
_sName : STRING;
|
||||
END_VAR
|
||||
@@ -595,7 +598,7 @@ CASE _iState OF
|
||||
END_IF
|
||||
ELSE
|
||||
// No error and not enabled
|
||||
IF (NOT xEnable) THEN
|
||||
IF (NOT _xEnableInternal) THEN
|
||||
// Goto polling state
|
||||
_iState := 110;
|
||||
ELSE
|
||||
@@ -843,6 +846,7 @@ CASE _iState OF
|
||||
1000: // Error state
|
||||
xActive := FALSE;
|
||||
xError := TRUE;
|
||||
_xEnableInternal := TRUE;
|
||||
_iState := 1001;
|
||||
|
||||
1001: // Error state, wait for reset
|
||||
|
||||
Reference in New Issue
Block a user