WIP: Aktueller stand für fehlersuche Sensorrauschen

This commit is contained in:
Matthias Heisig
2024-05-22 17:43:26 +02:00
parent cf0d144987
commit 0d9a4d9c72
27 changed files with 1667 additions and 824 deletions

View File

@@ -44,6 +44,15 @@ VAR_INPUT
// Inverter enabled status
xInverterEnabled : BOOL;
// Leakage double segment 1/2
xLeakageSegments12 AT %I* : BOOL;
// Leakage double segment 3/4
xLeakageSegments34 AT %I* : BOOL;
// Leakage tank
xLeakageTank AT %I* : BOOL;
END_VAR
VAR_OUTPUT
// Module voltage
@@ -419,7 +428,10 @@ _fbUnit4.Name := CONCAT(_sName, 'Unit 4');
_fbUnitsOutOfBalanceAlarm.CreateEx(stEventEntry := TC_EVENTS.BMSEvents.ModuleImbalance, bWithConfirmation := TRUE, 0);
// Create alarm message
_fbUnitsOutOfBalanceAlarm.ipArguments.Clear().AddString(_sName);]]></ST>
_fbUnitsOutOfBalanceAlarm.ipArguments.Clear().AddString(_sName);
// Create leakage alarm messages
]]></ST>
</Implementation>
</Method>
<Property Name="Name" Id="{bc8bc990-5071-47c9-a928-a129c60c6f41}">
@@ -521,6 +533,9 @@ _fbUnitsOutOfBalanceAlarm.ipArguments.Clear().AddString(_sName);]]></ST>
<LineId Id="19" Count="0" />
<LineId Id="18" Count="0" />
<LineId Id="20" Count="0" />
<LineId Id="42" Count="0" />
<LineId Id="41" Count="0" />
<LineId Id="43" Count="0" />
</LineIds>
<LineIds Name="FB_Module.Name.Get">
<LineId Id="2" Count="0" />