Fixed startup time reset error in balancing mode
This commit is contained in:
@@ -177,6 +177,9 @@
|
||||
<Compile Include="POUs\Sunspec\Kaco\E_KACO_PCU_STATE.TcDUT">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="POUs\Sunspec\Kaco\E_KACO_PCU_REQUESTED_STATE.TcDUT">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="POUs\Sunspec\Kaco\FB_PowerSupplyKaco.TcPOU">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
|
||||
561
PLC/PLC.tmc
561
PLC/PLC.tmc
File diff suppressed because one or more lines are too long
@@ -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