Fixed startup time reset error in balancing mode

This commit is contained in:
Markus.Neukirch
2025-09-09 12:28:22 +02:00
parent dffcfc9ebe
commit 39a206a1df
4 changed files with 403 additions and 393 deletions

View File

@@ -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>

File diff suppressed because one or more lines are too long

View File

@@ -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