4148 lines
115 KiB
XML
4148 lines
115 KiB
XML
<?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>
|
||
</Section>
|
||
<Section Name="Output">
|
||
<Member Name="OUTDATEN" Datatype="Pointer">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">OutDaten-Schnittstelle</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<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="MinHolzeiger" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Minimum Holzeiger</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="MaxHolzeiger" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Maximum Holzeiger</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 lesendes 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>
|
||
<Member Name="Lesezeiger" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Lesezeiger</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Diff" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Differenz</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
</Section>
|
||
<Section Name="Constant" />
|
||
<Section Name="Return">
|
||
<Member Name="Ret_Val" Datatype="Void" />
|
||
</Section>
|
||
</Sections></Interface>
|
||
<MemoryLayout>Standard</MemoryLayout>
|
||
<Name>FifoOut</Name>
|
||
<Namespace />
|
||
<Number>81</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 lesen, aus Fifo austragen
|
||
SSDB: FIFO-DB
|
||
SSDW: FIFO-1.DW
|
||
PARA: Aufrufparameter XXYZ:
|
||
XX: 00 = nächsten Eintrag lesen
|
||
01,02...,224 = Eintrag 1,2,...,224 lesen
|
||
E1 = nächsten Eintrag lesen + austragen!
|
||
E2 = Nur Zusatzdaten lesen
|
||
YZ: 00 = Keine Zusatzdaten zum lesen
|
||
Y: 1 - 4 = Beginn, ab welchem Zusatzwort lesen
|
||
Z: 1 - 4 = Ende, bis zu welchem Zusatzwort lesen
|
||
OUTDATEN: Pointer, wohin ausgelesene Daten übergeben werden (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 leer
|
||
Bit3: Falscher Parameter bei Aufruf
|
||
Bit4: Frei
|
||
Bit5: Bringzeiger ist ausserhalb
|
||
Bit6: Holzeiger ist ausserhalb
|
||
Bit7: Versatz Bring-/Holzeiger
|
||
</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="26">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="27">
|
||
<LineComment>
|
||
<Text> CALL TEST_DB</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="21">
|
||
<LineComment>
|
||
<Text> DB_NUMBER :=#DBFifo</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="29">
|
||
<LineComment>
|
||
<Text> RET_VAL :=#SFC_RET_VAL</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="30">
|
||
<LineComment>
|
||
<Text> DB_LENGTH :=#SFC_DB_LENGTH</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="31">
|
||
<LineComment>
|
||
<Text> WRITE_PROT :=#SFC_WRITE_PROT</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="53">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="52">
|
||
<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="MinHolzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Minimum Holzeiger</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="MaxHolzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Maximum Holzeiger</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="MaxHolzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Maximum Holzeiger</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="MinHolzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Minimum Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="227">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Holzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Holzeiger</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="Err6" />
|
||
<LineComment>
|
||
<Text>Holzeiger 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="Bringzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Bringzeiger 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="Err6" />
|
||
<LineComment>
|
||
<Text>Holzeiger 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="Err6" />
|
||
<LineComment>
|
||
<Text>Holzeiger 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="MinHolzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Minimum Holzeiger</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">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Zus" />
|
||
<LineComment>
|
||
<Text>Zusatzdaten lesen ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="279">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="280">
|
||
<LabelDeclaration>
|
||
<Label Name="W300" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="MaxHolzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Maximum Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="284">
|
||
<StlToken Text="LE_I" />
|
||
<LineComment>
|
||
<Text>Ok ?</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="286">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W301" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="289">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err6" />
|
||
<LineComment>
|
||
<Text>Holzeiger ist ausserhalb</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="292">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="293">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="294">
|
||
<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="298">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Holzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="301">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Identisch !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="303">
|
||
<StlToken Text="A_BRACK" />
|
||
</StlStatement>
|
||
<StlStatement UId="304">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="FifoLaenge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="306">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Anzahl" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der gespeicherten Datensätze</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="309">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Fifo noch nicht voll !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="311">
|
||
<StlToken Text="BRACKET" />
|
||
</StlStatement>
|
||
<StlStatement UId="312">
|
||
<StlToken Text="A_BRACK" />
|
||
</StlStatement>
|
||
<StlStatement UId="313">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="315">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Datensätze aber noch vorhanden !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="317">
|
||
<StlToken Text="BRACKET" />
|
||
</StlStatement>
|
||
<StlStatement UId="318">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err7" />
|
||
<LineComment>
|
||
<Text>Versatz Bring-/Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="321">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="322">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Bringzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Bringzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="325">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Holzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="328">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Ungleich !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="330">
|
||
<StlToken Text="A_BRACK" />
|
||
</StlStatement>
|
||
<StlStatement UId="331">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="FifoLaenge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="333">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Anzahl" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der gespeicherten Datensätze</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="336">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Aber Fifo ist voll !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="338">
|
||
<StlToken Text="O_BRACK" />
|
||
</StlStatement>
|
||
<StlStatement UId="339">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="341">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Aber keine Datensätze vorhanden !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="343">
|
||
<StlToken Text="BRACKET" />
|
||
</StlStatement>
|
||
<StlStatement UId="344">
|
||
<StlToken Text="BRACKET" />
|
||
</StlStatement>
|
||
<StlStatement UId="345">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err7" />
|
||
<LineComment>
|
||
<Text>Versatz Bring-/Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="348">
|
||
<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="349">
|
||
<LabelDeclaration>
|
||
<Label Name="Zus" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="PARA" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="352">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="264" />
|
||
<LineComment>
|
||
<Text>Aufrufparameter zwischenspeichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="355">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="356">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#E2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Nur Zusatzdaten lesen ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="359">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>1.Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="362">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="364">
|
||
<StlToken Text="A_BRACK" />
|
||
</StlStatement>
|
||
<StlStatement UId="365">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para2" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>2.Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="368">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#00</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>=0 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="371">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="373">
|
||
<StlToken Text="BRACKET" />
|
||
</StlStatement>
|
||
<StlStatement UId="374">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="377">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="378">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#00</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>=0 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="381">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para2" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>2.Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="384">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="386">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw05" />
|
||
<LineComment>
|
||
<Text>Keine Zusatzdaten lesen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="389">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="390">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>16#00F0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="392">
|
||
<StlToken Text="AW" />
|
||
</StlStatement>
|
||
<StlStatement UId="393">
|
||
<StlToken Text="SRW" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>4</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="395">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para21" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>1.Stelle isolieren</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="398">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="399">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para2" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>2.Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="402">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>16#000F</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="404">
|
||
<StlToken Text="AW" />
|
||
</StlStatement>
|
||
<StlStatement UId="405">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para22" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>2.Stelle isolieren</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="408">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="409">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para21" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="411">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para22" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="413">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>1.Stelle > 2.Stelle !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="415">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="418">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="419">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#04</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="421">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>2.Stelle > 4 !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="423">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="426">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="427">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para21" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="429">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#00</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="431">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>1.Stelle = 0 !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="433">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="436">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="437">
|
||
<LineComment>
|
||
<Text>Quelle-Pointer erzeugen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="439">
|
||
<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="442">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="0" />
|
||
<LineComment>
|
||
<Text>Any-Kennung, Datentyp</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="445">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="80" />
|
||
<LineComment>
|
||
<Text>Any-Kennung, Datentyp</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="448">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para22" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>bis</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="451">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para21" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>von </Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="454">
|
||
<StlToken Text="SUB_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="455">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="457">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="16" />
|
||
<LineComment>
|
||
<Text>Wiederholungen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="460">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="96" />
|
||
<LineComment>
|
||
<Text>Wiederholungen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="463">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="464">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para21" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Beginn ab X.Zusatzwort</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="467">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>-1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="469">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>byteorientiert</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="472">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="473">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Offset" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Offset 1. zu speicherndes Zusatzwort</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="476">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="477">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDB" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="479">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="32" />
|
||
<LineComment>
|
||
<Text>DB_Nummer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="482">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="484">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>12</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>ab 6.Dw lesen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="487">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Offset" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>falls nicht ab 1.Zusatzwort</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="490">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="491">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="493">
|
||
<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="496">
|
||
<StlToken Text="OD" />
|
||
</StlStatement>
|
||
<StlStatement UId="497">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="48" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="500">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="501">
|
||
<LineComment>
|
||
<Text>Ziel-Pointer erzeugen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="503">
|
||
<LineComment>
|
||
<Text>Kennung + Datenbytes s.o.</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="505">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="506">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="508">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="112" />
|
||
<LineComment>
|
||
<Text>DB_Nummer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="511">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="512">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>16#00F0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Adresse (MW240)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="515">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Offset" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>falls nicht ab 1.Zusatzwort</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="518">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="519">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="521">
|
||
<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="524">
|
||
<StlToken Text="OD" />
|
||
</StlStatement>
|
||
<StlStatement UId="525">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="128" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="528">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="529">
|
||
<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="536">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="537">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="539">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="541">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="542">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err1" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="544">
|
||
<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>Zusatzdaten lesen ?</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="545">
|
||
<LabelDeclaration>
|
||
<Label Name="Nw05" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>1.Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="549">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#E2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Nur Zusatzdaten lesen ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="552">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="554">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ende" />
|
||
<LineComment>
|
||
<Text>Fertig !</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="557">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="558">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Anzahl" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der gespeicherten Datensätze</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="561">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="563">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Keine Datensätze vorhanden !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="565">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err2" />
|
||
<LineComment>
|
||
<Text>Fifo ist leer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="568">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="569">
|
||
<LineComment>
|
||
<Text>Quelle-Pointer erzeugen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="571">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="572">
|
||
<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="575">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="0" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="577">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="80" />
|
||
<LineComment>
|
||
<Text>Any-Kennung, Datentyp</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="580">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenbytes speichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="583">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="16" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="585">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="96" />
|
||
<LineComment>
|
||
<Text>Wiederholungen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="588">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="589">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDB" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="591">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="32" />
|
||
<LineComment>
|
||
<Text>DB_Nummer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="594">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="595">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Holzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Adresse (erstmal !, falls Para 2=0)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="598">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Lesezeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Lesezeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="601">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>1.Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="604">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#00</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>=0 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="607">
|
||
<StlToken Text="EQ_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="608">
|
||
<StlToken Text="O_BRACK" />
|
||
</StlStatement>
|
||
<StlStatement UId="609">
|
||
<StlToken Text="CAC" />
|
||
</StlStatement>
|
||
<StlStatement UId="610">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#E1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Datensatz löschen ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="613">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="615">
|
||
<StlToken Text="BRACKET" />
|
||
</StlStatement>
|
||
<StlStatement UId="616">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="w050" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="618">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="619">
|
||
<StlToken Text="CAC" />
|
||
<LineComment>
|
||
<Text>X-te Stelle lesen</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="621">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>-1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>-1, da 1.ohne Offeset</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="624">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="627">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="628">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>DB byteorientiert</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="631">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="632">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Holzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="635">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="636">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Lesezeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Lesezeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="639">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="MaxHolzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Maximum Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="642">
|
||
<StlToken Text="LE_I" />
|
||
<LineComment>
|
||
<Text>Ist nicht über Maximum !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="644">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="w050" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="646">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="647">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="FifoLaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Länge FIFO (in Word)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="650">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="653">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="654">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>DB byteorientiert</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="657">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="658">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Diff" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="660">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="661">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Lesezeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Differenz subtrahieren:</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="664">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Diff" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="666">
|
||
<StlToken Text="SUB_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="667">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Lesezeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Lesezeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="670">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="671">
|
||
<LabelDeclaration>
|
||
<Label Name="w050" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Lesezeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Lesezeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="675">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="677">
|
||
<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="680">
|
||
<StlToken Text="OD" />
|
||
</StlStatement>
|
||
<StlStatement UId="681">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="48" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="684">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="685">
|
||
<LineComment>
|
||
<Text>Ziel-Pointer erzeugen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="687">
|
||
<LineComment>
|
||
<Text>Kennung + Datenbytes s.o.</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="689">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="690">
|
||
<LineComment>
|
||
<Text>DATEN-Pointer übernehmen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="692">
|
||
<StlToken Text="L" />
|
||
<Access Scope="AddressConstant">
|
||
<Constant Name="OUTDATEN" Scope="local" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="694">
|
||
<StlToken Text="LAR1_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="695">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="696">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="None" Register="AR1" BitOffset="0" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="698">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="112" />
|
||
<LineComment>
|
||
<Text>DB_Nummer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="701">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Double" Area="None" Register="AR1" BitOffset="16" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="703">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="128" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="706">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="707">
|
||
<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="714">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="715">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="717">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="719">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="720">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err1" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="722">
|
||
<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>Fifodaten lesen</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="723">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#E1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Daten löschen ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="726">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>1.Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="729">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="731">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ende" />
|
||
<LineComment>
|
||
<Text>Fertig !</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="734">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="735">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Holzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="738">
|
||
<StlToken Text="SLW" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Pointer erzeugen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="741">
|
||
<StlToken Text="LAR1_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="742">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="743">
|
||
<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="746">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="747">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="749">
|
||
<LabelDeclaration>
|
||
<Label Name="L600" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="752">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="753">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="755">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB" Register="AR1" BitOffset="0" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="757">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="758">
|
||
<StlToken Text="ADDAR1" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>ARef</ConstantType>
|
||
<ConstantValue>P#2.0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="760">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="761">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="763">
|
||
<StlToken Text="LOOP" />
|
||
<Access Scope="Label">
|
||
<Label Name="L600" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="765">
|
||
<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>Daten aus Fifo austragen ?</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="766">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="769">
|
||
<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="772">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="773">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Holzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="776">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="777">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Holzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="780">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="MaxHolzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Maximum Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="783">
|
||
<StlToken Text="LE_I" />
|
||
<LineComment>
|
||
<Text>Erreicht ?</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="785">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W700" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="788">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="789">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="MinHolzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Minimum Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="792">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Holzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="795">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="796">
|
||
<LabelDeclaration>
|
||
<Label Name="W700" />
|
||
</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="800">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>-1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="802">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Anzahl" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der gespeicherten Datensätze</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="805">
|
||
<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>Holzeiger, Anzahl erniedrigen</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="806">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Bringzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Bringzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="809">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Holzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="812">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Identisch !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="814">
|
||
<StlToken Text="A_BRACK" />
|
||
</StlStatement>
|
||
<StlStatement UId="815">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Anzahl" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der gespeicherten Datensätze</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="818">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="820">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Datensätze aber noch vorhanden !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="822">
|
||
<StlToken Text="BRACKET" />
|
||
</StlStatement>
|
||
<StlStatement UId="823">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err7" />
|
||
<LineComment>
|
||
<Text>Versatz Bring-/Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="826">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="827">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Bringzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Bringzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="830">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Holzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="833">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Ungleich !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="835">
|
||
<StlToken Text="A_BRACK" />
|
||
</StlStatement>
|
||
<StlStatement UId="836">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Anzahl" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der gespeicherten Datensätze</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="839">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="841">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Aber keine Datensätze vorhanden !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="843">
|
||
<StlToken Text="BRACKET" />
|
||
</StlStatement>
|
||
<StlStatement UId="844">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err7" />
|
||
<LineComment>
|
||
<Text>Versatz Bring-/Holzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="847">
|
||
<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>Versatz Bring-/Holzeiger</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="848">
|
||
<LabelDeclaration>
|
||
<Label Name="Ende" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="SET" />
|
||
<LineComment>
|
||
<Text>VKE = 1 ohne Fehler !!!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="851">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ok" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="853">
|
||
<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="857">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Err" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="859">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="861">
|
||
<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="865">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="867">
|
||
<LabelDeclaration>
|
||
<Label Name="Err2" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="S" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Bool" BitOffset="258" />
|
||
<LineComment>
|
||
<Text>Fifo ist leer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="871">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="873">
|
||
<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="877">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="879">
|
||
<LabelDeclaration>
|
||
<Label Name="Err6" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="S" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Bool" BitOffset="262" />
|
||
<LineComment>
|
||
<Text>Holzeiger außerhalb</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="883">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="885">
|
||
<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="889">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="890">
|
||
<LabelDeclaration>
|
||
<Label Name="Err" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="CLR" />
|
||
<LineComment>
|
||
<Text>VKE = 0 bei Fehler !!!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="893">
|
||
<LabelDeclaration>
|
||
<Label Name="Ok" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Err" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="896">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="RE_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="898">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Status" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="900">
|
||
<StlToken Text="OW" />
|
||
</StlStatement>
|
||
<StlStatement UId="901">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Status" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="903">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="904">
|
||
<StlToken Text="SAVE" />
|
||
<LineComment>
|
||
<Text>VKE in BIE-Bit speichern </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="906">
|
||
<StlToken Text="A" />
|
||
<Access Scope="Statusword">
|
||
<Statusword Combination="BR" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="907">
|
||
<StlToken Text="Assign" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="BieSpeicher" />
|
||
</Symbol>
|
||
</Access>
|
||
</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>Fehlerausgabe / RET_VAL</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="909">
|
||
<StlToken Text="A" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Bool" BitOffset="256" />
|
||
<LineComment>
|
||
<Text>Falscher Parameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="912">
|
||
<StlToken Text="A" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="NixSave" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Status nicht speichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="915">
|
||
<StlToken Text="BEC" />
|
||
</StlStatement>
|
||
<StlStatement UId="916">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="917">
|
||
<LineComment>
|
||
<Text>Ziel-Pointer erzeugen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="919">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="920">
|
||
<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="923">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="80" />
|
||
<LineComment>
|
||
<Text>Any-Kennung, Datentyp</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="926">
|
||
<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="929">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="96" />
|
||
<LineComment>
|
||
<Text>Wiederholungen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="932">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDB" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="934">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="112" />
|
||
<LineComment>
|
||
<Text>DB_Nummer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="937">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="940">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>4</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="942">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="943">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="945">
|
||
<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="948">
|
||
<StlToken Text="OD" />
|
||
</StlStatement>
|
||
<StlStatement UId="949">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="128" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="952">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="953">
|
||
<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="960">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="961">
|
||
<StlToken Text="A" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="BieSpeicher" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="963">
|
||
<StlToken Text="SAVE" />
|
||
<LineComment>
|
||
<Text>VKE in BIE-Bit speichern </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="965">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</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>Fifokopfdaten speichern</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="5E" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<MultilingualText ID="5F" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="60" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="61" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Fifo-Modul</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="62" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.FC>
|
||
</Document> |