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

@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
<POU Name="FB_SunspecErrorState" Id="{32768020-5348-440d-ba86-8c22b89748ca}" SpecialFunc="None">
<Declaration><![CDATA[FUNCTION_BLOCK FINAL FB_SunspecErrorState IMPLEMENTS I_SunspecStateEvents
VAR_INPUT
END_VAR
VAR_OUTPUT
END_VAR
VAR
END_VAR
]]></Declaration>
<Implementation>
<ST><![CDATA[]]></ST>
</Implementation>
<Method Name="Error" Id="{179954d6-9aec-4f12-920f-8ebcc939e9f0}">
<Declaration><![CDATA[{warning 'Methodenimplementierung hinzufügen'}
METHOD Error : BOOL
]]></Declaration>
<Implementation>
<ST><![CDATA[]]></ST>
</Implementation>
</Method>
<Method Name="PowerSetpointChanged" Id="{13d718a0-4c83-4300-bbaa-e213ad7aa8af}">
<Declaration><![CDATA[{warning 'Methodenimplementierung hinzufügen'}
METHOD PowerSetpointChanged : BOOL
]]></Declaration>
<Implementation>
<ST><![CDATA[]]></ST>
</Implementation>
</Method>
<Property Name="sDescription" Id="{d53971e2-a389-4522-ba1a-c5ff9ecf2f10}">
<Declaration><![CDATA[{warning 'Eigenschaftenimplementierung hinzufügen'}
PROPERTY sDescription : STRING
]]></Declaration>
<Get Name="Get" Id="{de420402-9047-4ee6-9fc9-cc905acb4d0f}">
<Declaration><![CDATA[VAR
END_VAR
]]></Declaration>
<Implementation>
<ST><![CDATA[sDescription := 'Inverter has error']]></ST>
</Implementation>
</Get>
</Property>
<Method Name="Start" Id="{2cda83e0-be11-442b-bf87-a7ac125ff2e7}">
<Declaration><![CDATA[{warning 'Methodenimplementierung hinzufügen'}
METHOD Start : BOOL
]]></Declaration>
<Implementation>
<ST><![CDATA[]]></ST>
</Implementation>
</Method>
<LineIds Name="FB_SunspecErrorState">
<LineId Id="9" Count="0" />
</LineIds>
<LineIds Name="FB_SunspecErrorState.Error">
<LineId Id="4" Count="0" />
</LineIds>
<LineIds Name="FB_SunspecErrorState.PowerSetpointChanged">
<LineId Id="4" Count="0" />
</LineIds>
<LineIds Name="FB_SunspecErrorState.sDescription.Get">
<LineId Id="2" Count="0" />
</LineIds>
<LineIds Name="FB_SunspecErrorState.Start">
<LineId Id="4" Count="0" />
</LineIds>
</POU>
</TcPlcObject>

View File

@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
<POU Name="FB_SunspecOffState" Id="{e011d22f-f815-46e1-94fd-3c9f3920043c}" SpecialFunc="None">
<Declaration><![CDATA[FUNCTION_BLOCK FINAL FB_SunspecOffState IMPLEMENTS I_SunspecStateEvents
VAR_INPUT
END_VAR
VAR_OUTPUT
END_VAR
VAR
END_VAR
]]></Declaration>
<Implementation>
<ST><![CDATA[]]></ST>
</Implementation>
<Method Name="Error" Id="{d664cadd-ac2b-4ff0-bcb2-b0337fcba29b}">
<Declaration><![CDATA[{warning 'Methodenimplementierung hinzufügen'}
METHOD Error : BOOL
]]></Declaration>
<Implementation>
<ST><![CDATA[]]></ST>
</Implementation>
</Method>
<Method Name="PowerSetpointChanged" Id="{381d5fe1-608f-4100-85b9-2a00e88d6ec8}">
<Declaration><![CDATA[{warning 'Methodenimplementierung hinzufügen'}
METHOD PowerSetpointChanged : BOOL
]]></Declaration>
<Implementation>
<ST><![CDATA[]]></ST>
</Implementation>
</Method>
<Property Name="sDescription" Id="{6bb22c27-a09d-421c-ba72-b88d70f45bf4}">
<Declaration><![CDATA[{warning 'Eigenschaftenimplementierung hinzufügen'}
PROPERTY sDescription : STRING
]]></Declaration>
<Get Name="Get" Id="{8e1a3f8b-86f3-43a4-b3ca-5e780a9a61e0}">
<Declaration><![CDATA[VAR
END_VAR
]]></Declaration>
<Implementation>
<ST><![CDATA[sDescription := 'Inverter off']]></ST>
</Implementation>
</Get>
</Property>
<Method Name="Start" Id="{6bd7c404-10c1-4936-a0c8-70f2c38a5fbf}">
<Declaration><![CDATA[{warning 'Methodenimplementierung hinzufügen'}
METHOD Start : BOOL
]]></Declaration>
<Implementation>
<ST><![CDATA[]]></ST>
</Implementation>
</Method>
<LineIds Name="FB_SunspecOffState">
<LineId Id="9" Count="0" />
</LineIds>
<LineIds Name="FB_SunspecOffState.Error">
<LineId Id="4" Count="0" />
</LineIds>
<LineIds Name="FB_SunspecOffState.PowerSetpointChanged">
<LineId Id="4" Count="0" />
</LineIds>
<LineIds Name="FB_SunspecOffState.sDescription.Get">
<LineId Id="2" Count="0" />
</LineIds>
<LineIds Name="FB_SunspecOffState.Start">
<LineId Id="4" Count="0" />
</LineIds>
</POU>
</TcPlcObject>