Files
HundM_awl/=A01+UH07-KF00/Programmbausteine/Module/FifoIn.xml
T

4233 lines
118 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<Document>
<Engineering version="V20" />
<SW.Blocks.FC ID="0">
<AttributeList>
<AutoNumber>false</AutoNumber>
<HeaderAuthor>IBAE</HeaderAuthor>
<HeaderFamily>FIFO</HeaderFamily>
<HeaderName>FifoIn</HeaderName>
<Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
<Section Name="Input">
<Member Name="SSDB" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Schnittstellen-DB</MultiLanguageText>
</Comment>
</Member>
<Member Name="SSDW" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Schnittstellen-1.DW</MultiLanguageText>
</Comment>
</Member>
<Member Name="PARA" Datatype="Word">
<Comment>
<MultiLanguageText Lang="de-DE">Aufrufparameter (Auftrag / Anzahl Zusatzdaten)</MultiLanguageText>
</Comment>
</Member>
<Member Name="INDATEN" Datatype="Pointer">
<Comment>
<MultiLanguageText Lang="de-DE">InDaten-Schnittstelle</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="Output">
<Member Name="RE_VAL" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="InOut" />
<Section Name="Temp">
<Member Name="Quelle" Datatype="Any">
<Comment>
<MultiLanguageText Lang="de-DE">Zeiger, wo Rein-Daten sind</MultiLanguageText>
</Comment>
</Member>
<Member Name="Ziel" Datatype="Any">
<Comment>
<MultiLanguageText Lang="de-DE">Zeiger, FIFO-Stelle</MultiLanguageText>
</Comment>
</Member>
<Member Name="Kopf" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Fifo-Kennung (FF)</MultiLanguageText>
</Comment>
</Member>
<Member Name="Datensatzlaenge" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Datensatzlänge in Word (1 - 128)</MultiLanguageText>
</Comment>
</Member>
<Member Name="FifoLaenge" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Länge des Fifo (maximale Anzahl der Datensätze)</MultiLanguageText>
</Comment>
</Member>
<Member Name="Bringzeiger" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Zeiger, wohin nächster Eintrag gespeichert wird</MultiLanguageText>
</Comment>
</Member>
<Member Name="Holzeiger" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Zeiger, woher nächste Daten geholt werden</MultiLanguageText>
</Comment>
</Member>
<Member Name="Anzahl" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Anzahl der Datensätze (eingetragene)</MultiLanguageText>
</Comment>
</Member>
<Member Name="Status" Datatype="Word">
<Comment>
<MultiLanguageText Lang="de-DE">Status des Fifo</MultiLanguageText>
</Comment>
</Member>
<Member Name="Err" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Fehlerbits</MultiLanguageText>
</Comment>
</Member>
<Member Name="Para1" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">1.Aufrufparameter</MultiLanguageText>
</Comment>
</Member>
<Member Name="Para2" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">2.Aufrufparameter</MultiLanguageText>
</Comment>
</Member>
<Member Name="Para21" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">2.Aufrufparameter 1.Stelle</MultiLanguageText>
</Comment>
</Member>
<Member Name="Para22" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">2.Aufrufparameter 2.Stelle</MultiLanguageText>
</Comment>
</Member>
<Member Name="MinBringzeiger" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Minimum Bringzeiger</MultiLanguageText>
</Comment>
</Member>
<Member Name="MaxBringzeiger" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Maximum Bringzeiger</MultiLanguageText>
</Comment>
</Member>
<Member Name="DBFifo" Datatype="Word">
<Comment>
<MultiLanguageText Lang="de-DE">FIFO-DB</MultiLanguageText>
</Comment>
</Member>
<Member Name="SFC_RET_VAL" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung SFC-Aufruf</MultiLanguageText>
</Comment>
</Member>
<Member Name="SFC_DB_LENGTH" Datatype="Word">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung SFC-Aufruf</MultiLanguageText>
</Comment>
</Member>
<Member Name="Fifo_Ende" Datatype="Word">
<Comment>
<MultiLanguageText Lang="de-DE">Ende des Fifo</MultiLanguageText>
</Comment>
</Member>
<Member Name="Schleife" Datatype="Word">
<Comment>
<MultiLanguageText Lang="de-DE">Loopzähler</MultiLanguageText>
</Comment>
</Member>
<Member Name="Offset" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Offset 1. zu speicherndes Zusatzwort</MultiLanguageText>
</Comment>
</Member>
<Member Name="SFC_WRITE_PROT" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung SFC-Aufruf</MultiLanguageText>
</Comment>
</Member>
<Member Name="NixSave" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Status nicht speichern</MultiLanguageText>
</Comment>
</Member>
<Member Name="BieSpeicher" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Bie-Bit zwischenspeichern</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="Constant" />
<Section Name="Return">
<Member Name="Ret_Val" Datatype="Void" />
</Section>
</Sections></Interface>
<MemoryLayout>Standard</MemoryLayout>
<Name>FifoIn</Name>
<Namespace />
<Number>80</Number>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="1" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="2" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="3" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>COPYRIGHT by Ingenieurbüro A.Emmert
Ortsstr.33, D-869925 Fuchstal (Germany)
Tel.: 0049(0)8243-1254
Version: ILS2100 / 06.11.2009
Datenblock in Fifo eintragen
SSDB: FIFO-DB
SSDW: FIFO-1.DW
PARA: Aufrufparameter XXYZ:
XX: 00 = Als nächsten Eintrag speichern
01 = Als 1.Eintrag speichern
02 = Nur Zusatzdaten speichern
FF = Testsendung (nur RE_VAL!)
YZ: 00 = Keine Zusatzdaten zum Speichern
Y: 1 - 4 = Beginn, ab welchem Zusatzwort speichern
Z: 1 - 4 = Ende, bis zu welchem Zusatzwort speichern
INDATEN: Pointer, wo einzutragende Daten stehen (P#DB1.DBX0.0, P#M220.0)
RE_VAL: Rückmeldungen:
Bit0: Kein Fifobereich / falscher Kopfinhalt / Endekennung
Bit1: SFC20-Aufruf mit Fehler
Bit2: Fifo ist voll
Bit3: Falscher Parameter bei Aufruf
Bit4: Speicherzelle ist belegt
Bit5: Bringzeiger ist ausserhalb
Bit6: Holzeiger ist ausserhalb
Bit7: Versatz Bring-/Holzeiger
1. - 4.Zusatzdaten: Mw240-246
Weitere Übergaben an FC+1:
MW248: Länge des Fifo
MW250: Bring-Zeiger
MW252: Hol-Zeiger
MW254: Anzahl der Datensätze (eingetragene)
</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="4" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<SW.Blocks.CompileUnit ID="5" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="22">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SSDB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="24">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="DBFifo" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="52">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="53">
<LineComment>
<Text> CALL TEST_DB</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="55">
<LineComment>
<Text> DB_NUMBER :=#DBFifo</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="56">
<LineComment>
<Text> RET_VAL :=#SFC_RET_VAL</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="57">
<LineComment>
<Text> DB_LENGTH :=#SFC_DB_LENGTH</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="58">
<LineComment>
<Text> WRITE_PROT :=#SFC_WRITE_PROT</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="26">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="27">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="TEST_DB_TO_ATTR_DB" BlockType="FC">
<Parameter Name="DB_Number" Section="Input" Type="Word">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="DBFifo" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="RetVal" Section="Output" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_RET_VAL" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="DB_Length" Section="Output" Type="Word">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_DB_LENGTH" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Write_Prot" Section="Output" Type="Bool">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_WRITE_PROT" />
</Symbol>
</Access>
</Parameter>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="34">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="35">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_RET_VAL" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="37">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="39">
<StlToken Text="NE_I" />
</StlStatement>
<StlStatement UId="40">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_WRITE_PROT" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="42">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="NixSave" />
</Symbol>
<LineComment>
<Text>Status nicht speichern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="45">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err0" />
<LineComment>
<Text>kein Fifobereich</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="48">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="6" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="7" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="8" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="9" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="A" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="B" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="C" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Schnittstellen-DB sinnvoll ?</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="D" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="E" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="49">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#1004</ConstantValue>
</Constant>
<LineComment>
<Text>Kennung 10 + Word=04</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="52">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="0" />
<LineComment>
<Text>Any-Kennung, Datentyp</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="55">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#0006</ConstantValue>
</Constant>
<LineComment>
<Text>6 Dw´s holen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="58">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="16" />
<LineComment>
<Text>Wiederholungen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="61">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SSDB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="63">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="32" />
<LineComment>
<Text>DB_Nummer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="66">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SSDW" />
</Symbol>
<LineComment>
<Text>Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="69">
<StlToken Text="SLD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="71">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DWord</ConstantType>
<ConstantValue>16#8400_0000</ConstantValue>
</Constant>
<LineComment>
<Text>Kennung: Daten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="74">
<StlToken Text="OD" />
</StlStatement>
<StlStatement UId="75">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="DWord" BitOffset="48" />
<LineComment>
<Text>Kennung, Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="78">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="79">
<StlToken Text="CALL" />
<Access Scope="Call">
<Instruction Name="BLKMOV" Version="1.1">
<Token Text="," />
<LineComment>
<Text>1.-6.DW FIFO holen</Text>
</LineComment>
<TemplateValue Name="blk_type" Type="Type">Variant</TemplateValue>
<Parameter Name="SRCBLK">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Quelle" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="RET_VAL">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_RET_VAL" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="DSTBLK">
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Any</ConstantType>
<ConstantValue>P#L20.0 WORD 6</ConstantValue>
</Constant>
</Access>
</Parameter>
</Instruction>
</Access>
</StlStatement>
<StlStatement UId="86">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="87">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Status" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="89">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>2#0000_0000_1110_0000</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="91">
<StlToken Text="AW" />
</StlStatement>
<StlStatement UId="92">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Err" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="94">
<StlToken Text="JP" />
<Access Scope="Label">
<Label Name="Err" />
<LineComment>
<Text>Kapitalfehler vorhanden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="97">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="98">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_RET_VAL" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="100">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="102">
<StlToken Text="NE_I" />
</StlStatement>
<StlStatement UId="103">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err1" />
</Access>
</StlStatement>
<StlStatement UId="105">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="F" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="10" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="11" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Quelle-Pointer erzeugen:</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="12" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="13" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="14" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="15" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Fifokopfdaten holen</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="16" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="17" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="106">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Kopf" />
</Symbol>
<LineComment>
<Text>Fifo-Kopf</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="109">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Byte</ConstantType>
<ConstantValue>16#FF</ConstantValue>
</Constant>
<LineComment>
<Text>= Fifokennung ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="112">
<StlToken Text="NE_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="114">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="NixSave" />
</Symbol>
<LineComment>
<Text>Status nicht speichern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="117">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err0" />
<LineComment>
<Text>kein Fifobereich</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="120">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="121">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="123">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Datensatzlaenge" />
</Symbol>
<LineComment>
<Text>Datenblocklänge</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="126">
<StlToken Text="GT_I" />
</StlStatement>
<StlStatement UId="127">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err0" />
<LineComment>
<Text>kein Fifobereich</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="130">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="131">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>128</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="133">
<StlToken Text="GT_I" />
</StlStatement>
<StlStatement UId="134">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err0" />
<LineComment>
<Text>kein Fifobereich</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="137">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="138">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="140">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FifoLaenge" />
</Symbol>
<LineComment>
<Text>Max.Anzahl von Datenblöcken</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="143">
<StlToken Text="GT_I" />
</StlStatement>
<StlStatement UId="144">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err0" />
<LineComment>
<Text>kein Fifobereich</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="147">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="148">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SSDW" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="150">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>40</ConstantValue>
</Constant>
<LineComment>
<Text>Speichern ab 20.DW</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="153">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="MinBringzeiger" />
</Symbol>
<LineComment>
<Text>Minimum Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="156">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="157">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FifoLaenge" />
</Symbol>
<LineComment>
<Text>Länge FIFO (in Word)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="160">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>-1</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="162">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Datensatzlaenge" />
</Symbol>
<LineComment>
<Text>Datenblocklänge</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="165">
<StlToken Text="MUL_I" />
</StlStatement>
<StlStatement UId="166">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>2</ConstantValue>
</Constant>
<LineComment>
<Text>DB byteorientiert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="169">
<StlToken Text="MUL_I" />
</StlStatement>
<StlStatement UId="170">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>40</ConstantValue>
</Constant>
<LineComment>
<Text>Speichern ab 20.DW</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="173">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SSDW" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="175">
<StlToken Text="ADD_I" />
</StlStatement>
<StlStatement UId="176">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="MaxBringzeiger" />
</Symbol>
<LineComment>
<Text>Maximum Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="179">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="180">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Datensatzlaenge" />
</Symbol>
<LineComment>
<Text>Datenblocklänge</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="183">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>2</ConstantValue>
</Constant>
<LineComment>
<Text>DB byteorientiert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="186">
<StlToken Text="MUL_I" />
</StlStatement>
<StlStatement UId="187">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="MaxBringzeiger" />
</Symbol>
<LineComment>
<Text>Maximum Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="190">
<StlToken Text="ADD_I" />
<LineComment>
<Text>Zeiger Endekennung</Text>
</LineComment>
</StlStatement>
<StlStatement UId="192">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Fifo_Ende" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="194">
<StlToken Text="SLW" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
<LineComment>
<Text>Pointer erzeugen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="197">
<StlToken Text="LAR1_ACCU1" />
</StlStatement>
<StlStatement UId="198">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="199">
<StlToken Text="OPEN_DB" />
<Access Scope="Address">
<Indirect Width="Block" Area="DB">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="DBFifo" />
</Symbol>
</Access>
</Indirect>
</Access>
</StlStatement>
<StlStatement UId="202">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="203">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Fifo_Ende" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="205">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_DB_LENGTH" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="207">
<StlToken Text="GT_I" />
<LineComment>
<Text>Fifo-DB ist zu kurz!</Text>
</LineComment>
</StlStatement>
<StlStatement UId="209">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err0" />
<LineComment>
<Text>kein Fifo-Bereich</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="212">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="213">
<StlToken Text="L" />
<Access Scope="Address">
<Indirect Width="Word" Area="DB" Register="AR1" BitOffset="0" />
</Access>
</StlStatement>
<StlStatement UId="215">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#FFEE</ConstantValue>
</Constant>
<LineComment>
<Text>Fifo-Endekennung ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="218">
<StlToken Text="NE_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="220">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err0" />
<LineComment>
<Text>kein Fifobereich</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="223">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="224">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="MinBringzeiger" />
</Symbol>
<LineComment>
<Text>Minimum Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="227">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="230">
<StlToken Text="LE_I" />
<LineComment>
<Text>Ok ?</Text>
</LineComment>
</StlStatement>
<StlStatement UId="232">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="W300" />
<LineComment>
<Text>Ja!</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="235">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="236">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Grundstellung ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="239">
<StlToken Text="NE_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="241">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err5" />
<LineComment>
<Text>Bringzeiger ist ausserhalb</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="244">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="245">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Holzeiger" />
</Symbol>
<LineComment>
<Text>Holzeiger Grundstellung ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="248">
<StlToken Text="NE_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="250">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err5" />
<LineComment>
<Text>Bringzeiger ist ausserhalb</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="253">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="254">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Anzahl" />
</Symbol>
<LineComment>
<Text>Anzahl Datensätze</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="257">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Grundstellung ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="260">
<StlToken Text="NE_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="262">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err5" />
<LineComment>
<Text>Bringzeiger ist ausserhalb</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="265">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="266">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="MinBringzeiger" />
</Symbol>
<LineComment>
<Text>Minimum Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="269">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="272">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Holzeiger" />
</Symbol>
<LineComment>
<Text>Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="275">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="276">
<LabelDeclaration>
<Label Name="W300" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="MaxBringzeiger" />
</Symbol>
<LineComment>
<Text>Maximum Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="280">
<StlToken Text="LE_I" />
<LineComment>
<Text>Ok ?</Text>
</LineComment>
</StlStatement>
<StlStatement UId="282">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="W301" />
<LineComment>
<Text>Ja!</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="285">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Err5" />
<LineComment>
<Text>Bringzeiger ist ausserhalb</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="288">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="289">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="290">
<LabelDeclaration>
<Label Name="W301" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="294">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Holzeiger" />
</Symbol>
<LineComment>
<Text>Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="297">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Identisch !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="299">
<StlToken Text="A_BRACK" />
</StlStatement>
<StlStatement UId="300">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FifoLaenge" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="302">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Anzahl" />
</Symbol>
<LineComment>
<Text>Anzahl der gespeicherten Datensätze</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="305">
<StlToken Text="NE_I" />
<LineComment>
<Text>Fifo noch nicht voll !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="307">
<StlToken Text="BRACKET" />
</StlStatement>
<StlStatement UId="308">
<StlToken Text="A_BRACK" />
</StlStatement>
<StlStatement UId="309">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="311">
<StlToken Text="NE_I" />
<LineComment>
<Text>Datensätze aber noch vorhanden !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="313">
<StlToken Text="BRACKET" />
</StlStatement>
<StlStatement UId="314">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err7" />
<LineComment>
<Text>Versatz Bring-/Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="317">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="318">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="321">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Holzeiger" />
</Symbol>
<LineComment>
<Text>Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="324">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ungleich !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="326">
<StlToken Text="A_BRACK" />
</StlStatement>
<StlStatement UId="327">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FifoLaenge" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="329">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Anzahl" />
</Symbol>
<LineComment>
<Text>Anzahl der gespeicherten Datensätze</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="332">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Aber Fifo ist voll !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="334">
<StlToken Text="O_BRACK" />
</StlStatement>
<StlStatement UId="335">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="337">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Aber keine Datensätze vorhanden !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="339">
<StlToken Text="BRACKET" />
</StlStatement>
<StlStatement UId="340">
<StlToken Text="BRACKET" />
</StlStatement>
<StlStatement UId="341">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err7" />
<LineComment>
<Text>Versatz Bring-/Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="344">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="18" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="19" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="1A" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="1B" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="1C" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="1D" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="1E" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Zeigerüberprüfung</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="1F" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="20" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="345">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="PARA" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="347">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="264" />
<LineComment>
<Text>Aufrufparameter zwischenspeichern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="350">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="351">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Byte</ConstantType>
<ConstantValue>16#02</ConstantValue>
</Constant>
<LineComment>
<Text>Nur Zusatzdaten speichern ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="354">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para1" />
</Symbol>
<LineComment>
<Text>1.Aufrufparameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="357">
<StlToken Text="NE_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="359">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="W400" />
</Access>
</StlStatement>
<StlStatement UId="361">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="362">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para2" />
</Symbol>
<LineComment>
<Text>2.Aufrufparameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="365">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Byte</ConstantType>
<ConstantValue>16#00</ConstantValue>
</Constant>
<LineComment>
<Text>=0 ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="368">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="370">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err3" />
<LineComment>
<Text>Falscher Aufrufparameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="373">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="374">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Nw06" />
<LineComment>
<Text>Zusatzdaten speichern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="377">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="378">
<LabelDeclaration>
<Label Name="W400" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Byte</ConstantType>
<ConstantValue>16#01</ConstantValue>
</Constant>
<LineComment>
<Text>Als 1.Datensatz speichern ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="382">
<StlToken Text="NE_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="384">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Nw05" />
</Access>
</StlStatement>
<StlStatement UId="386">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="387">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="MinBringzeiger" />
</Symbol>
<LineComment>
<Text>Minimum Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="390">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="393">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Holzeiger" />
</Symbol>
<LineComment>
<Text>Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="396">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="398">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Anzahl" />
</Symbol>
<LineComment>
<Text>Anzahl Datensätze</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="401">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="402">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Nw06" />
<LineComment>
<Text>Zusatz-Daten speichern?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="405">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="21" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="22" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="23" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="24" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="25" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="26" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="27" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Nur Zusatzdaten / als 1.Datensatz speichern ?</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="28" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="29" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="406">
<LabelDeclaration>
<Label Name="Nw05" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Anzahl" />
</Symbol>
<LineComment>
<Text>Anzahl der gespeicherten Datensätze</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="410">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FifoLaenge" />
</Symbol>
<LineComment>
<Text>Max. Anzahl von Datenblöcken</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="413">
<StlToken Text="LT_I" />
</StlStatement>
<StlStatement UId="414">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="W500" />
</Access>
</StlStatement>
<StlStatement UId="416">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="417">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Identisch !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="419">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err2" />
<LineComment>
<Text>Fifo ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="422">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="423">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Err7" />
<LineComment>
<Text>Versatz Bring-/Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="426">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="427">
<LabelDeclaration>
<Label Name="W500" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="431">
<StlToken Text="SLW" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
<LineComment>
<Text>Pointer erzeugen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="434">
<StlToken Text="LAR1_ACCU1" />
</StlStatement>
<StlStatement UId="435">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="436">
<StlToken Text="OPEN_DB" />
<Access Scope="Address">
<Indirect Width="Block" Area="DB">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="DBFifo" />
</Symbol>
</Access>
</Indirect>
</Access>
</StlStatement>
<StlStatement UId="439">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="440">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Datensatzlaenge" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="442">
<LabelDeclaration>
<Label Name="L500" />
</LabelDeclaration>
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Schleife" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="445">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="446">
<StlToken Text="L" />
<Access Scope="Address">
<Indirect Width="Word" Area="DB" Register="AR1" BitOffset="0" />
</Access>
</StlStatement>
<StlStatement UId="448">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="450">
<StlToken Text="NE_I" />
</StlStatement>
<StlStatement UId="451">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err4" />
<LineComment>
<Text>Speicherzelle ist belegt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="454">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="455">
<StlToken Text="ADDAR1" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>ARef</ConstantType>
<ConstantValue>P#2.0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="457">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="458">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Schleife" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="460">
<StlToken Text="LOOP" />
<Access Scope="Label">
<Label Name="L500" />
</Access>
</StlStatement>
<StlStatement UId="462">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="2A" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="2B" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="2C" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="2D" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="2E" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="2F" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="30" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Hat Fifo Platz / Datenbereich leer ?</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="31" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="32" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="463">
<LabelDeclaration>
<Label Name="Nw06" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Byte</ConstantType>
<ConstantValue>16#00</ConstantValue>
</Constant>
<LineComment>
<Text>=0 ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="467">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para2" />
</Symbol>
<LineComment>
<Text>2.Aufrufparameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="470">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="472">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Nw07" />
</Access>
</StlStatement>
<StlStatement UId="474">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="475">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#00F0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="477">
<StlToken Text="AW" />
</StlStatement>
<StlStatement UId="478">
<StlToken Text="SRW" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>4</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="480">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para21" />
</Symbol>
<LineComment>
<Text>1.Stelle isolieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="483">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="484">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para2" />
</Symbol>
<LineComment>
<Text>2.Aufrufparameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="487">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#000F</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="489">
<StlToken Text="AW" />
</StlStatement>
<StlStatement UId="490">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para22" />
</Symbol>
<LineComment>
<Text>2.Stelle isolieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="493">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="494">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para21" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="496">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para22" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="498">
<StlToken Text="GT_I" />
<LineComment>
<Text>1.Stelle &gt; 2.Stelle !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="500">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err3" />
<LineComment>
<Text>Falscher Aufrufparameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="503">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="504">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Byte</ConstantType>
<ConstantValue>16#04</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="506">
<StlToken Text="GT_I" />
<LineComment>
<Text>2.Stelle &gt; 4 !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="508">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err3" />
<LineComment>
<Text>Falscher Aufrufparameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="511">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="512">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para21" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="514">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Byte</ConstantType>
<ConstantValue>16#00</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="516">
<StlToken Text="EQ_I" />
<LineComment>
<Text>1.Stelle = 0 !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="518">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err3" />
<LineComment>
<Text>Falscher Aufrufparameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="521">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="522">
<LineComment>
<Text>Quelle-Pointer erzeugen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="524">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#1004</ConstantValue>
</Constant>
<LineComment>
<Text>Kennung 10 + Word=04</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="527">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="0" />
<LineComment>
<Text>Any-Kennung, Datentyp</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="530">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="80" />
<LineComment>
<Text>Any-Kennung, Datentyp</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="533">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para22" />
</Symbol>
<LineComment>
<Text>bis</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="536">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para21" />
</Symbol>
<LineComment>
<Text>von </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="539">
<StlToken Text="SUB_I" />
</StlStatement>
<StlStatement UId="540">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="542">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="16" />
<LineComment>
<Text>Wiederholungen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="545">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="96" />
<LineComment>
<Text>Wiederholungen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="548">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="550">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="32" />
<LineComment>
<Text>DB_Nummer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="553">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="554">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para21" />
</Symbol>
<LineComment>
<Text>Beginn ab X.Zusatzwort</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="557">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>-1</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="559">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>2</ConstantValue>
</Constant>
<LineComment>
<Text>byteorientiert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="562">
<StlToken Text="MUL_I" />
</StlStatement>
<StlStatement UId="563">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Offset" />
</Symbol>
<LineComment>
<Text>Offset 1. zu speicherndes Zusatzwort</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="566">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="567">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#00F0</ConstantValue>
</Constant>
<LineComment>
<Text>Adresse (ab MW240)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="570">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Offset" />
</Symbol>
<LineComment>
<Text>falls nicht ab 1.Zusatzwort</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="573">
<StlToken Text="ADD_I" />
</StlStatement>
<StlStatement UId="574">
<StlToken Text="SLD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="576">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DWord</ConstantType>
<ConstantValue>16#8300_0000</ConstantValue>
</Constant>
<LineComment>
<Text>Kennung: Merker</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="579">
<StlToken Text="OD" />
</StlStatement>
<StlStatement UId="580">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="DWord" BitOffset="48" />
<LineComment>
<Text>Kennung, Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="583">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="584">
<LineComment>
<Text>Ziel-Pointer erzeugen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="586">
<LineComment>
<Text>Kennung + Datenbytes s.o.</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="588">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SSDB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="590">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="112" />
<LineComment>
<Text>DB_Nummer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="593">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SSDW" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="595">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>12</ConstantValue>
</Constant>
<LineComment>
<Text>ab 6.Dw speichern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="598">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Offset" />
</Symbol>
<LineComment>
<Text>falls nicht ab 1.Zusatzwort</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="601">
<StlToken Text="ADD_I" />
</StlStatement>
<StlStatement UId="602">
<StlToken Text="SLD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="604">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DWord</ConstantType>
<ConstantValue>16#8400_0000</ConstantValue>
</Constant>
<LineComment>
<Text>Kennung: Daten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="607">
<StlToken Text="OD" />
</StlStatement>
<StlStatement UId="608">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="DWord" BitOffset="128" />
<LineComment>
<Text>Kennung, Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="611">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="612">
<StlToken Text="CALL" />
<Access Scope="Call">
<Instruction Name="BLKMOV" Version="1.1">
<Token Text="," />
<LineComment>
<Text>Zusatz-Daten speichern</Text>
</LineComment>
<TemplateValue Name="blk_type" Type="Type">Variant</TemplateValue>
<Parameter Name="SRCBLK">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Quelle" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="RET_VAL">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_RET_VAL" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="DSTBLK">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ziel" />
</Symbol>
</Access>
</Parameter>
</Instruction>
</Access>
</StlStatement>
<StlStatement UId="619">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="620">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_RET_VAL" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="622">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="624">
<StlToken Text="NE_I" />
</StlStatement>
<StlStatement UId="625">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err1" />
</Access>
</StlStatement>
<StlStatement UId="627">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="33" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="34" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="35" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="36" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="37" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="38" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="39" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Zusatzdaten schreiben</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="3A" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="3B" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="628">
<LabelDeclaration>
<Label Name="Nw07" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Byte</ConstantType>
<ConstantValue>16#FF</ConstantValue>
</Constant>
<LineComment>
<Text>Testsendung ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="632">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para1" />
</Symbol>
<LineComment>
<Text>1.Aufrufparameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="635">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="637">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Nw08" />
<LineComment>
<Text>Zeiger testweise verändern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="640">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="641">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Byte</ConstantType>
<ConstantValue>16#02</ConstantValue>
</Constant>
<LineComment>
<Text>Nur Zusatzdaten speichern ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="644">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="646">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Ende" />
<LineComment>
<Text>Fertig !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="649">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="650">
<LineComment>
<Text>Quelle-Pointer erzeugen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="652">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="653">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#1004</ConstantValue>
</Constant>
<LineComment>
<Text>Kennung 10 + Word=04</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="656">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="0" />
</Access>
</StlStatement>
<StlStatement UId="658">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="80" />
<LineComment>
<Text>Any-Kennung, Datentyp</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="661">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Datensatzlaenge" />
</Symbol>
<LineComment>
<Text>Datenbytes speichern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="664">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="16" />
</Access>
</StlStatement>
<StlStatement UId="666">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="96" />
<LineComment>
<Text>Wiederholungen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="669">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="670">
<LineComment>
<Text>DATEN-Pointer übernehmen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="672">
<StlToken Text="L" />
<Access Scope="AddressConstant">
<Constant Name="INDATEN" Scope="local" />
</Access>
</StlStatement>
<StlStatement UId="674">
<StlToken Text="LAR1_ACCU1" />
</StlStatement>
<StlStatement UId="675">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="676">
<StlToken Text="L" />
<Access Scope="Address">
<Indirect Width="Word" Area="None" Register="AR1" BitOffset="0" />
</Access>
</StlStatement>
<StlStatement UId="678">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="32" />
<LineComment>
<Text>DB_Nummer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="681">
<StlToken Text="L" />
<Access Scope="Address">
<Indirect Width="Double" Area="None" Register="AR1" BitOffset="16" />
</Access>
</StlStatement>
<StlStatement UId="683">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="DWord" BitOffset="48" />
<LineComment>
<Text>Kennung, Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="686">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="687">
<LineComment>
<Text>Ziel-Pointer erzeugen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="689">
<LineComment>
<Text>Kennung + Datenbytes s.o.</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="691">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="692">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SSDB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="694">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="112" />
<LineComment>
<Text>DB_Nummer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="697">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="700">
<StlToken Text="SLD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="702">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DWord</ConstantType>
<ConstantValue>16#8400_0000</ConstantValue>
</Constant>
<LineComment>
<Text>Kennung: Daten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="705">
<StlToken Text="OD" />
</StlStatement>
<StlStatement UId="706">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="DWord" BitOffset="128" />
<LineComment>
<Text>Kennung, Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="709">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="710">
<StlToken Text="CALL" />
<Access Scope="Call">
<Instruction Name="BLKMOV" Version="1.1">
<Token Text="," />
<LineComment>
<Text>FIFO-Daten speichern</Text>
</LineComment>
<TemplateValue Name="blk_type" Type="Type">Variant</TemplateValue>
<Parameter Name="SRCBLK">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Quelle" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="RET_VAL">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_RET_VAL" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="DSTBLK">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ziel" />
</Symbol>
</Access>
</Parameter>
</Instruction>
</Access>
</StlStatement>
<StlStatement UId="717">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="718">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_RET_VAL" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="720">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="722">
<StlToken Text="NE_I" />
</StlStatement>
<StlStatement UId="723">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err1" />
</Access>
</StlStatement>
<StlStatement UId="725">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="3C" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="3D" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="3E" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="3F" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="40" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="41" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="42" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Fifodaten schreiben</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="43" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="44" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="726">
<LabelDeclaration>
<Label Name="Nw08" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Datensatzlaenge" />
</Symbol>
<LineComment>
<Text>Datenblocklänge</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="730">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>2</ConstantValue>
</Constant>
<LineComment>
<Text>1 word = 2 bytes</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="733">
<StlToken Text="MUL_I" />
</StlStatement>
<StlStatement UId="734">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="737">
<StlToken Text="ADD_I" />
</StlStatement>
<StlStatement UId="738">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="741">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="MaxBringzeiger" />
</Symbol>
<LineComment>
<Text>Maximum Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="744">
<StlToken Text="LE_I" />
<LineComment>
<Text>Erreicht ?</Text>
</LineComment>
</StlStatement>
<StlStatement UId="746">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="W800" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="749">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="750">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="MinBringzeiger" />
</Symbol>
<LineComment>
<Text>Minimum Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="753">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="756">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="757">
<LabelDeclaration>
<Label Name="W800" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Anzahl" />
</Symbol>
<LineComment>
<Text>Anzahl der gespeicherten Datensätze</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="761">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="763">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Anzahl" />
</Symbol>
<LineComment>
<Text>Anzahl der gespeicherten Datensätze</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="766">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="45" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="46" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="47" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="48" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="49" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="4A" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="4B" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Bringzeiger, Anzahl erhöhen</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="4C" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="4D" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="767">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="770">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Holzeiger" />
</Symbol>
<LineComment>
<Text>Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="773">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Identisch !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="775">
<StlToken Text="A_BRACK" />
</StlStatement>
<StlStatement UId="776">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FifoLaenge" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="778">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Anzahl" />
</Symbol>
<LineComment>
<Text>Anzahl der gespeicherten Datensätze</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="781">
<StlToken Text="NE_I" />
<LineComment>
<Text>Fifo noch nicht voll !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="783">
<StlToken Text="BRACKET" />
</StlStatement>
<StlStatement UId="784">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err7" />
<LineComment>
<Text>Versatz Bring-/Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="787">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="788">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Bringzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="791">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Holzeiger" />
</Symbol>
<LineComment>
<Text>Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="794">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ungleich !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="796">
<StlToken Text="A_BRACK" />
</StlStatement>
<StlStatement UId="797">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FifoLaenge" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="799">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Anzahl" />
</Symbol>
<LineComment>
<Text>Anzahl der gespeicherten Datensätze</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="802">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Aber Fifo ist voll !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="804">
<StlToken Text="BRACKET" />
</StlStatement>
<StlStatement UId="805">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Err7" />
<LineComment>
<Text>Versatz Bring-/Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="808">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="4E" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="4F" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="50" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="51" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="52" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="53" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="54" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Versatz Bring-/Holzeiger</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="55" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="56" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="809">
<LabelDeclaration>
<Label Name="Ende" />
</LabelDeclaration>
<StlToken Text="SET" />
<LineComment>
<Text>VKE = 1 ohne Fehler !!!</Text>
</LineComment>
</StlStatement>
<StlStatement UId="812">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Ok" />
</Access>
</StlStatement>
<StlStatement UId="814">
<LabelDeclaration>
<Label Name="Err0" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>2#0000_0000_0000_0001</ConstantValue>
</Constant>
<LineComment>
<Text>Kein Fifobereich</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="818">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Err" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="820">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Err" />
</Access>
</StlStatement>
<StlStatement UId="822">
<LabelDeclaration>
<Label Name="Err1" />
</LabelDeclaration>
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="Local" Type="Bool" BitOffset="257" />
<LineComment>
<Text>SFC20-Aufruf mit Fehler</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="826">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Err" />
</Access>
</StlStatement>
<StlStatement UId="828">
<LabelDeclaration>
<Label Name="Err2" />
</LabelDeclaration>
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="Local" Type="Bool" BitOffset="258" />
<LineComment>
<Text>Fifo ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="832">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Err" />
</Access>
</StlStatement>
<StlStatement UId="834">
<LabelDeclaration>
<Label Name="Err3" />
</LabelDeclaration>
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="Local" Type="Bool" BitOffset="259" />
<LineComment>
<Text>Falscher Parameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="838">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Err" />
</Access>
</StlStatement>
<StlStatement UId="840">
<LabelDeclaration>
<Label Name="Err4" />
</LabelDeclaration>
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="Local" Type="Bool" BitOffset="260" />
<LineComment>
<Text>Speicherzelle ist belegt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="844">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Err" />
</Access>
</StlStatement>
<StlStatement UId="846">
<LabelDeclaration>
<Label Name="Err5" />
</LabelDeclaration>
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="Local" Type="Bool" BitOffset="261" />
<LineComment>
<Text>Bringzeiger außerhalb</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="850">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Err" />
</Access>
</StlStatement>
<StlStatement UId="852">
<LabelDeclaration>
<Label Name="Err7" />
</LabelDeclaration>
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="Local" Type="Bool" BitOffset="263" />
<LineComment>
<Text>Versatz Bring-/Holzeiger</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="856">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="857">
<LabelDeclaration>
<Label Name="Err" />
</LabelDeclaration>
<StlToken Text="CLR" />
<LineComment>
<Text>VKE = 0 bei Fehler !!!</Text>
</LineComment>
</StlStatement>
<StlStatement UId="860">
<LabelDeclaration>
<Label Name="Ok" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Err" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="863">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="RE_VAL" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="865">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Status" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="867">
<StlToken Text="OW" />
</StlStatement>
<StlStatement UId="868">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Status" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="870">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="871">
<StlToken Text="SAVE" />
<LineComment>
<Text>VKE in BIE-Bit speichern </Text>
</LineComment>
</StlStatement>
<StlStatement UId="873">
<StlToken Text="A" />
<Access Scope="Statusword">
<Statusword Combination="BR" />
</Access>
</StlStatement>
<StlStatement UId="874">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="BieSpeicher" />
</Symbol>
</Access>
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="57" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="58" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="59" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="5A" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="5B" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="5C" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="5D" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Fehlerausgabe / RET_VAL</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="5E" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="5F" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="876">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="Local" Type="Bool" BitOffset="256" />
<LineComment>
<Text>Falscher Parameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="879">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="NixSave" />
</Symbol>
<LineComment>
<Text>Status nicht speichern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="882">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="883">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="884">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Anzahl" />
</Symbol>
<LineComment>
<Text>Anzahl der Datensätze (eingetragene) </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="887">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>-1</ConstantValue>
</Constant>
<LineComment>
<Text>da vorher zum Test erhöht wurde</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="890">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW254" />
</Symbol>
<LineComment>
<Text>Übergabe an FC+1 (für FIFO-FÖBE)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="893">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="894">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Byte</ConstantType>
<ConstantValue>16#FF</ConstantValue>
</Constant>
<LineComment>
<Text>Testsendung ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="897">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para1" />
</Symbol>
<LineComment>
<Text>1.Aufrufparameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="900">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="902">
<StlToken Text="BEC" />
<LineComment>
<Text>Weil Zeiger testweise geändert!</Text>
</LineComment>
</StlStatement>
<StlStatement UId="904">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="905">
<LineComment>
<Text>Ziel-Pointer erzeugen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="907">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="908">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#1004</ConstantValue>
</Constant>
<LineComment>
<Text>Kennung 10 + Word=04</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="911">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="80" />
<LineComment>
<Text>Any-Kennung, Datentyp</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="914">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#0004</ConstantValue>
</Constant>
<LineComment>
<Text>4Dw´s speichern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="917">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="96" />
<LineComment>
<Text>Wiederholungen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="920">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SSDB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="922">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="112" />
<LineComment>
<Text>DB_Nummer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="925">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SSDW" />
</Symbol>
<LineComment>
<Text>Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="928">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>4</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="930">
<StlToken Text="ADD_I" />
</StlStatement>
<StlStatement UId="931">
<StlToken Text="SLD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="933">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DWord</ConstantType>
<ConstantValue>16#8400_0000</ConstantValue>
</Constant>
<LineComment>
<Text>Kennung: Daten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="936">
<StlToken Text="OD" />
</StlStatement>
<StlStatement UId="937">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="DWord" BitOffset="128" />
<LineComment>
<Text>Kennung, Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="940">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="941">
<StlToken Text="CALL" />
<Access Scope="Call">
<Instruction Name="BLKMOV" Version="1.1">
<Token Text="," />
<LineComment>
<Text>Ab Bringzeiger sichern!</Text>
</LineComment>
<TemplateValue Name="blk_type" Type="Type">Variant</TemplateValue>
<Parameter Name="SRCBLK">
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Any</ConstantType>
<ConstantValue>P#L24.0 WORD 4</ConstantValue>
</Constant>
</Access>
</Parameter>
<Parameter Name="RET_VAL">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SFC_RET_VAL" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="DSTBLK">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ziel" />
</Symbol>
</Access>
</Parameter>
</Instruction>
</Access>
</StlStatement>
<StlStatement UId="948">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="949">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="BieSpeicher" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="951">
<StlToken Text="SAVE" />
<LineComment>
<Text>VKE in BIE-Bit speichern </Text>
</LineComment>
</StlStatement>
<StlStatement UId="953">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="954">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FifoLaenge" />
</Symbol>
<LineComment>
<Text>Länge des Fifo (maximale Anzahl der Datensätze)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="957">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW248" />
</Symbol>
<LineComment>
<Text>Übergabe an FC+1 (für Durchlaufspeicher)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="960">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Bringzeiger" />
</Symbol>
<LineComment>
<Text>Zeiger, wohin nächster Eintrag gespeichert wird</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="963">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW250" />
</Symbol>
<LineComment>
<Text>Übergabe an FC+1 (für Durchlaufspeicher)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="966">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Holzeiger" />
</Symbol>
<LineComment>
<Text>Zeiger, woher nächste Daten geholt werden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="969">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW252" />
</Symbol>
<LineComment>
<Text>Übergabe an FC+1 (für Durchlaufspeicher)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="972">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Anzahl" />
</Symbol>
<LineComment>
<Text>Anzahl der Datensätze (eingetragene) </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="975">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW254" />
</Symbol>
<LineComment>
<Text>Übergabe an FC+1 (für Durchlaufspeicher)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="978">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="60" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="61" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="62" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="63" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="64" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="65" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="66" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Fifokopfdaten speichern</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="67" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<MultilingualText ID="68" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="69" CompositionName="Items">
<AttributeList>
<Culture>cs-CZ</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="6A" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Fifo-Modul</Text>
</AttributeList>
</MultilingualTextItem>
<MultilingualTextItem ID="6B" CompositionName="Items">
<AttributeList>
<Culture>en-US</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.FC>
</Document>