Fixed startup time reset error in balancing mode
This commit is contained in:
@@ -950,6 +950,7 @@ CASE _iState OF
|
||||
_timUnitStartupWaitTime := GVL_CONFIG.timUnitStartupTime;
|
||||
_iState := 10;
|
||||
stHMIInterface.eStatus := E_COMPONENT_STATUS.STARTING;
|
||||
_tonStartupCheck(IN := FALSE);
|
||||
END_IF
|
||||
|
||||
// Start in balancing mode
|
||||
@@ -958,6 +959,7 @@ CASE _iState OF
|
||||
xBalancingDone := FALSE;
|
||||
_timUnitStartupWaitTime := GVL_CONFIG.timUnitBalancingStartupTime;
|
||||
_iState := 10;
|
||||
_tonStartupCheck(IN := FALSE);
|
||||
END_IF
|
||||
|
||||
IF _xErrorActive THEN
|
||||
|
||||
Reference in New Issue
Block a user