Added Simulation plc and removed unnecessary files from repository

This commit is contained in:
Matthias Heisig
2024-01-04 18:39:55 +01:00
parent 2bd41279b1
commit bd0bbd9c8b
43 changed files with 4692 additions and 1328 deletions

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
<POU Name="FB_StringMockup" Id="{f680b9a5-3af1-4e93-b52d-21296306c101}" SpecialFunc="None">
<Declaration><![CDATA[FUNCTION_BLOCK FB_StringMockup
VAR_INPUT
stStringError : REFERENCE TO ST_STRING_ERROR;
END_VAR
VAR_OUTPUT
END_VAR
VAR
afbModules : ARRAY[0..2] OF FB_ModuleMockup;
i : INT;
END_VAR
]]></Declaration>
<Implementation>
<ST><![CDATA[FOR i := 0 TO 2 DO
afbModules[i](stModuleError:= stStringError.stModuleError[i]);
END_FOR]]></ST>
</Implementation>
<LineIds Name="FB_StringMockup">
<LineId Id="9" Count="0" />
<LineId Id="15" Count="1" />
</LineIds>
</POU>
</TcPlcObject>