7423 lines
204 KiB
XML
7423 lines
204 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>DLISTE</HeaderFamily>
|
||
<HeaderName>DatenIn</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">Datenlisten-DB</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="SSDW" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Datenlisten-1.DW</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="PARA" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Aufrufparameter (Auftrag / Anzahl Zusatzdaten)</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="SEARCHDATEN" Datatype="Pointer">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Such-Daten-Schnittstelle</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
</Section>
|
||
<Section Name="Output">
|
||
<Member Name="RE_VAL" Datatype="Byte">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Rückmeldung</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="OUTDATEN" Datatype="Pointer">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">OutDaten-Schnittstelle</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Position" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Daten stehen an angegebener Position in Datenbank</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">Datenliste-Kennnung (DA)</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Datensatzlaenge" Datatype="Byte">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Datensatzlänge in Word (01 - F0) F0=128</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Listenlaenge" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Länge der Datenliste (maximale Anzahl der Datensätze)</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Stammdaten" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Stammdatenlänge in Word (1 - 9)</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="IndDB" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Indizierter DB (nur bei Stammdaten = 1 erlaubt !!!)</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="IndDB_Laenge" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Länge des indizierten DB in Einträge (nur bei Stammdaten = 1 erlaubt !!!)</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="IndDaten_FC" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">FC zum Wandeln der indizierte Daten (nur bei Stammdaten = 1 erlaubt !!!)</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Suchzeiger" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Speicherung des letzten Zugriffs / Suchzeiger</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Belegt14" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">reserviert von Sort-Datenliste</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="AnzahlEintraege" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Anzahl der eingetragenen Datensätze (nicht bei ind.Zugriff!)</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Reserve18" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Reserve</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="DBDatenliste" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Datenlisten-DB</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="OffsetDaten_1" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Stammdaten beginnen ab hier</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="Datenlisten_Ende" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Ende der Datenliste</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="AR2_Speicher" Datatype="DWord">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Adress-Register 2 zwischenspeichern</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Schleife" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Loopzähler</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="DBSuchDaten" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Such-Daten-DB, falls angegeben</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="SuchDaten_Pointer" Datatype="DWord">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Such-Daten-Pointer: Kennung, Adresse</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="SuchDaten_Startpunkt" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Such-Daten-Startpunkt: Adresse</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="DBOutDaten" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Out-Daten-DB, falls angegeben</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="OutDaten_Pointer" Datatype="DWord">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Out-Daten-Pointer: Kennung, Adresse</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="OutDaten_Startpunkt" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Out-Daten-Startpunkt: Adresse</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="IndPointer" Datatype="DWord">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Zeiger für IndDB</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Daten_1" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">1.Datenwort der Indaten</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Daten_2" Datatype="DWord">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">1+2.Datenwort der Indaten (falls ind.Suchen mit Stammdaten 2)</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Datenblock_inBytes" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Datenblocklänge in Bytes</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Suchstelle" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Bei angegebenen Datensatz suchen</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="SFC_WRITE_PROT" Datatype="Bool">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Rückmeldung SFC-Aufruf</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Indok" Datatype="Bool">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Indizierung möglich</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="IndZeiger_ok" Datatype="Bool">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Indizier-Zeiger angegeben</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Weitersuchen" Datatype="Bool">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Weitersuchen ist aktiv</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Offsetsuchen" Datatype="Bool">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Offsetsuchen ist aktiv</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Sortliste" Datatype="Bool">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Sortliste wird durchsucht</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="WandelFC" Datatype="Bool">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Wnadel-FC für ind.Suchen vorhanden</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="tRE_VAL" Datatype="Byte">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Rückmeldung</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="AR1Zeiger" Datatype="DWord">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="DB_Länge" Datatype="Int" />
|
||
<Member Name="NichtCopy" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Datenmenge, die nicht vorschoben wird</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="LoeschPos" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Lösch-Position</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Wandel_FC" Datatype="Word">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Wandel-FC</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
</Section>
|
||
<Section Name="Constant" />
|
||
<Section Name="Return">
|
||
<Member Name="Ret_Val" Datatype="Void" />
|
||
</Section>
|
||
</Sections></Interface>
|
||
<MemoryLayout>Standard</MemoryLayout>
|
||
<Name>DatenOut</Name>
|
||
<Namespace />
|
||
<Number>86</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: P&O / 10.2024
|
||
Version: ILS2100 / 06.11.2009
|
||
|
||
Datenblock in Datenliste suchen / löschen
|
||
SSDB: Datenlisten-DB
|
||
SSDW: Datenlisten-1.DW
|
||
SEARCHDATEN: Pointer, wo einzutragende Daten stehen (P#DB1.DBX0.0, P#M220.0)
|
||
AUFTRAG: XXYY
|
||
XX: 00 = angegebenen Datensatz suchen
|
||
02 - 80 = Stammdaten beginnen ab angegebenen Datenwort
|
||
E1 = angegebenen Datensatz suchen + austragen!
|
||
F1 = 1.Datensatz lesen
|
||
FF = nächsten vorhandenen Eintrag lesen (ab letzten Zugriff)
|
||
YY: 01 - 09 = Anzahl der Stammdaten (falls abweichend vom Datenlistenkopf!)
|
||
(Achtung, nur mit P#M220.0 oder speziellen DB suchen!)
|
||
|
||
OUTDATEN: Pointer, wohin ausgelesene Daten übergeben werden (P#DB1.DBX0.0,
|
||
P#M220.0)
|
||
RE_VAL: Rückmeldungen:
|
||
Bit0: Kein Datenlistenbereich / falscher Kopfinhalt / Endekennung
|
||
Bit1: SFC20-Aufruf mit Fehler
|
||
Bit2: Listenende ist erreicht
|
||
Bit3: Falscher Parameter bei Aufruf
|
||
Bit4: Undefinierte Stammdaten zum Suchen
|
||
Bit5: Undefinierte OUT-Daten
|
||
Bit6: Datensatz ist nicht vorhanden
|
||
Bit7: Datensatz ist vorhanden
|
||
</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="TAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="23">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR2_Speicher" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>AR2 zwischenspeichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="26">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="27">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDB" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="29">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBDatenliste" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="62">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="63">
|
||
<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="DBDatenliste" />
|
||
</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="37">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="38">
|
||
<StlToken Text="CALL" />
|
||
<Access Scope="Call">
|
||
<CallInfo Name="BCD (4stellig)_to_INT" BlockType="FC">
|
||
<Parameter Name="BCD_Wert" Section="Input" Type="Word">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_DB_LENGTH" />
|
||
</Symbol>
|
||
</Access>
|
||
</Parameter>
|
||
<Parameter Name="Int_Wert" Section="Output" Type="Int">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DB_Länge" />
|
||
</Symbol>
|
||
</Access>
|
||
</Parameter>
|
||
</CallInfo>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="21">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="40">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="42">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="44">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="45">
|
||
<StlToken Text="O" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_WRITE_PROT" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>schreibgeschützt</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="48">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlisten-Bereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="51">
|
||
<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="52">
|
||
<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="55">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="0" />
|
||
<LineComment>
|
||
<Text>Any-Kennung, Datentyp</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="58">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>16#000A</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>10 Dw´s holen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="61">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="16" />
|
||
<LineComment>
|
||
<Text>Wiederholungen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="64">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDB" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="66">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="32" />
|
||
<LineComment>
|
||
<Text>DB_Nummer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="69">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="72">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="74">
|
||
<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="77">
|
||
<StlToken Text="OD" />
|
||
</StlStatement>
|
||
<StlStatement UId="78">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="48" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="81">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="82">
|
||
<StlToken Text="CALL" />
|
||
<Access Scope="Call">
|
||
<Instruction Name="BLKMOV" Version="1.1">
|
||
<Token Text="," />
|
||
<LineComment>
|
||
<Text>1.-10.DW Datenliste 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 10</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</Parameter>
|
||
</Instruction>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="89">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="90">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="92">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="94">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="95">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err1" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="97">
|
||
<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>Datenlistekopf 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="98">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Kopf" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenliste-Kopf</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="101">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#DB</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>= Sort-Datenlistekennung ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="104">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="106">
|
||
<StlToken Text="Assign" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Sortliste" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Sortliste wird durchsucht</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="109">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="w030" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="111">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="112">
|
||
<StlToken Text="CAC" />
|
||
</StlStatement>
|
||
<StlStatement UId="113">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#DA</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>= Datenlistekennung ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="116">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="118">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="121">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="122">
|
||
<LabelDeclaration>
|
||
<Label Name="w030" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="125">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="128">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="129">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="132">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="133">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>128</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="135">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="136">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="139">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="140">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="142">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Listenlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Max.Anzahl von Datenblöcken</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="145">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="146">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="149">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="150">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="152">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="155">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="156">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="159">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="160">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>9</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="162">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="163">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="166">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="167">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="170">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="173">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="174">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="177">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="178">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Listenlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Länge der Datenliste</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="181">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="184">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="185">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>DB byteorientiert</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="188">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="189">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>20</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Speichern ab 10.DW</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="192">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="194">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="195">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenlisten_Ende" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="41">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="22">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="25">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>/Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="21">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="202">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBDatenliste" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="32">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="46">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenlisten_Ende" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="35">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DB_Länge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="24">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Datenlisten-DB ist zu kurz!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="212">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlisten-Bereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="215">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="30">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="29">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>16#DAEE</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Datenliste-Endekennung ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="221">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="223">
|
||
<StlToken Text="A_BRACK" />
|
||
</StlStatement>
|
||
<StlStatement UId="224">
|
||
<StlToken Text="CAC" />
|
||
</StlStatement>
|
||
<StlStatement UId="225">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>16#DBEE</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Sort-Datenliste-Endekennung ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="228">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="230">
|
||
<StlToken Text="BRACKET" />
|
||
</StlStatement>
|
||
<StlStatement UId="231">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlisten-Bereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="234">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="235">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="238">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="240">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="241">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in Bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="28">
|
||
<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="245">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="246">
|
||
<StlToken Text="R" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Indok" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Indizierung möglich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="249">
|
||
<StlToken Text="R" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndZeiger_ok" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Indizier-Zeiger angegeben</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="252">
|
||
<StlToken Text="R" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Weitersuchen" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Weitersuchen ist aktiv</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="255">
|
||
<StlToken Text="R" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Offsetsuchen" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Offsetsuchen ist aktiv</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="258">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Vorerst kein Offset</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="261">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OffsetDaten_1" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="263">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="264">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="PARA" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="266">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="320" />
|
||
<LineComment>
|
||
<Text>Aufrufparameter zwischenspeichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="269">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="270">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#00</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>XX = 00 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="273">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="275">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="277">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W401" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="279">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="280">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#E1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>XX = E1 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="283">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="285">
|
||
<StlToken Text="A" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Sortliste" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Sortliste wird durchsucht</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="288">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter (austragen nicht erlaubt !)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="291">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="292">
|
||
<StlToken Text="CAC" />
|
||
</StlStatement>
|
||
<StlStatement UId="293">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#E1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>XX = E1 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="296">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="298">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W401" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="300">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="301">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#F1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>XX = F1 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="304">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="306">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="308">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W400" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="310">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="311">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para2" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="313">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#00</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="315">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="316">
|
||
<StlToken Text="O" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Sortliste" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Sortliste wird durchsucht</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="319">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="322">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="323">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="324">
|
||
<StlToken Text="S" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Weitersuchen" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="326">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="327">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="329">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>20</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="331">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="333">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="334">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw08" />
|
||
<LineComment>
|
||
<Text>OutDaten ok ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="337">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="338">
|
||
<LabelDeclaration>
|
||
<Label Name="W400" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#FF</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>XX = FF ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="342">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="344">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W403" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="346">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="347">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para2" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="349">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#00</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="351">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="352">
|
||
<StlToken Text="O" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Sortliste" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Sortliste wird durchsucht</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="355">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="358">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="359">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="360">
|
||
<StlToken Text="S" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Weitersuchen" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="362">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="363">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Alter Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="366">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="369">
|
||
<StlToken Text="ADD_I" />
|
||
<LineComment>
|
||
<Text>Nächsten Datensatz suchen</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="371">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Neuer Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="374">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="375">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="378">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Listenlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Alle möglichen Einträge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="381">
|
||
<StlToken Text="MUL_I" />
|
||
<LineComment>
|
||
<Text>Gesamtlänge</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="383">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Startpunkt</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="386">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="387">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>20</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Offset 1.Daten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="390">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Schreibzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="393">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Noch nicht am Ende !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="395">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw08" />
|
||
<LineComment>
|
||
<Text>OutDaten ok ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="398">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="399">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err2" />
|
||
<LineComment>
|
||
<Text>Listenende erreicht</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="402">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="403">
|
||
<LabelDeclaration>
|
||
<Label Name="W403" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#02</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>XX < 02 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="407">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="409">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="411">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="414">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="415">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#80</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>XX > 80 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="418">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="420">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="423">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="424">
|
||
<StlToken Text="CAC" />
|
||
</StlStatement>
|
||
<StlStatement UId="425">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>XX > Datensatzlänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="428">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="430">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="433">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="434">
|
||
<StlToken Text="CAC" />
|
||
</StlStatement>
|
||
<StlStatement UId="435">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>-1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegebener Offset -1</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="438">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>DB byteorientiert</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="441">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="442">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OffsetDaten_1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Richtiger Offset der 1.Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="445">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="446">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="448">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suche ab Anfang</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="451">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="452">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="453">
|
||
<StlToken Text="S" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Offsetsuchen" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="455">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="456">
|
||
<LabelDeclaration>
|
||
<Label Name="W401" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#00</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>=0 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="460">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para2" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>2.Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="463">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="465">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W402" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="467">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="468">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="471">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="474">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="475">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="478">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="479">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="481">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="484">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="485">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="488">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="489">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>9</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="491">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="492">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="495">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="496">
|
||
<LabelDeclaration>
|
||
<Label Name="W402" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="AN" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Offsetsuchen" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="499">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw05" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="501">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="502">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Offset</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="505">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>-1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="507">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="509">
|
||
<StlToken Text="ADD_I" />
|
||
<LineComment>
|
||
<Text>Letzte Stammdaten zu groß ?</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="511">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="513">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="515">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="518">
|
||
<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>Auftrag kontrollieren</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="519">
|
||
<LabelDeclaration>
|
||
<Label Name="Nw05" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="522">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="525">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="526">
|
||
<StlToken Text="L" />
|
||
<Access Scope="AddressConstant">
|
||
<Constant Name="SEARCHDATEN" Scope="local" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="528">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="529">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="530">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="None" Register="AR2" BitOffset="0" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="532">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="535">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Double" Area="None" Register="AR2" BitOffset="16" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="538">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SuchDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="540">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="541">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="544">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="547">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="549">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W501" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="21">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="22">
|
||
<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="DBSuchDaten" />
|
||
</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="40">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="41">
|
||
<StlToken Text="CALL" />
|
||
<Access Scope="Call">
|
||
<CallInfo Name="BCD (4stellig)_to_INT" BlockType="FC">
|
||
<Parameter Name="BCD_Wert" Section="Input" Type="Word">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_DB_LENGTH" />
|
||
</Symbol>
|
||
</Access>
|
||
</Parameter>
|
||
<Parameter Name="Int_Wert" Section="Output" Type="Int">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DB_Länge" />
|
||
</Symbol>
|
||
</Access>
|
||
</Parameter>
|
||
</CallInfo>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="559">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="560">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="562">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Fehler vorhanden ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="565">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="567">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err4" />
|
||
<LineComment>
|
||
<Text>Undefinierte Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="570">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="571">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Double" Area="None" Register="AR2" BitOffset="16" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="574">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>DWord</ConstantType>
|
||
<ConstantValue>16#00FF_FFFF</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Ohne Kennung</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="577">
|
||
<StlToken Text="AW" />
|
||
</StlStatement>
|
||
<StlStatement UId="578">
|
||
<StlToken Text="SRW" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Ohne Bit</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="581">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SuchDaten_Startpunkt" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="583">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="584">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="587">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>DB byteorientiert</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="590">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="591">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SuchDaten_Startpunkt" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="593">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="594">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DB_Länge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="596">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Suchdaten-DB ist zu kurz</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="598">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err4" />
|
||
<LineComment>
|
||
<Text>Undefinierte Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="601">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="602">
|
||
<LabelDeclaration>
|
||
<Label Name="W501" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SuchDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="605">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="606">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="607">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="610">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="613">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="615">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W502" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="617">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="618">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="621">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="622">
|
||
<LabelDeclaration>
|
||
<Label Name="W502" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="None" Register="AR2" BitOffset="0" />
|
||
<LineComment>
|
||
<Text>Suchdaten überprüfen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="626">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Daten_1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>1.Suchdaten speichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="34">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Double" Area="None" Register="AR2" BitOffset="0" />
|
||
<LineComment>
|
||
<Text>Suchdaten überprüfen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="35">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Daten_2" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>1.Suchdaten speichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="629">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="630">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="632">
|
||
<LabelDeclaration>
|
||
<Label Name="L500" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="635">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="636">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="639">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="642">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="644">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W503" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="646">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="647">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="650">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="651">
|
||
<LabelDeclaration>
|
||
<Label Name="W503" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="None" Register="AR2" BitOffset="0" />
|
||
<LineComment>
|
||
<Text>Suchdaten überprüfen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="655">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Etwas angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="658">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="660">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw06" />
|
||
<LineComment>
|
||
<Text>Weiter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="663">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="664">
|
||
<StlToken Text="ADDAR2" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>ARef</ConstantType>
|
||
<ConstantValue>P#2.0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="666">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="667">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="669">
|
||
<StlToken Text="LOOP" />
|
||
<Access Scope="Label">
|
||
<Label Name="L500" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="671">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="672">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err4" />
|
||
<LineComment>
|
||
<Text>Undefinierte Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="675">
|
||
<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>Such-DATEN-Pointer übernehmen:</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>Suchdaten definiert ?</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="676">
|
||
<LabelDeclaration>
|
||
<Label Name="Nw06" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndDB" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Indizierter DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="680">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>=0 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="683">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Kein indizierter DB !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="685">
|
||
<StlToken Text="O" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Offsetsuchen" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="687">
|
||
<StlToken Text="O" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Sortliste" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Sortliste wird durchsucht</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="690">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw07" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="21">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="22">
|
||
<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="IndDB" />
|
||
</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="36">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="37">
|
||
<StlToken Text="CALL" />
|
||
<Access Scope="Call">
|
||
<CallInfo Name="BCD (4stellig)_to_INT" BlockType="FC">
|
||
<Parameter Name="BCD_Wert" Section="Input" Type="Word">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_DB_LENGTH" />
|
||
</Symbol>
|
||
</Access>
|
||
</Parameter>
|
||
<Parameter Name="Int_Wert" Section="Output" Type="Int">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DB_Länge" />
|
||
</Symbol>
|
||
</Access>
|
||
</Parameter>
|
||
</CallInfo>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="35">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="701">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="703">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="705">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="706">
|
||
<StlToken Text="O" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_WRITE_PROT" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="708">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw07" />
|
||
<LineComment>
|
||
<Text>kein Indizier-DB vorhanden</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="712">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="713">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndDB_Laenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Länge des Indizierten DB überschritten ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="716">
|
||
<StlToken Text="L" />
|
||
<Access Scope="TypedConstant">
|
||
<Constant>
|
||
<ConstantValue>DINT#2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>DB byteorientiert</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="719">
|
||
<StlToken Text="MUL_D" />
|
||
</StlStatement>
|
||
<StlStatement UId="720">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DB_Länge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="722">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Indizier-DB ist zu kurz</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="724">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw07" />
|
||
<LineComment>
|
||
<Text>Zeiger ausserhalb Ind.DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="727">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="728">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="731">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>zu viele Stammdaten ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="734">
|
||
<StlToken Text="GE_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="736">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw07" />
|
||
<LineComment>
|
||
<Text>ohne Indizierung weiter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="34">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="46">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndDaten_FC" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Offset zum Abziehen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="49">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Wandel_FC" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="51">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Parameter vorhanden ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="54">
|
||
<StlToken Text="LE_I" />
|
||
<LineComment>
|
||
<Text>Nein</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="56">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="NoFC" />
|
||
<LineComment>
|
||
<Text>Bei diesem Schritt weiter </Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="59">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="60">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Daten_1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Stammdaten (1.DW)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="63">
|
||
<StlToken Text="T" />
|
||
<Access Scope="GlobalVariable">
|
||
<Symbol>
|
||
<Component Name="MW90" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>übergeben</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="95">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Daten_2" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Stammdaten (2.DW)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="98">
|
||
<StlToken Text="T" />
|
||
<Access Scope="GlobalVariable">
|
||
<Symbol>
|
||
<Component Name="MD94" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>übergeben</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="66">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="67">
|
||
<StlToken Text="UC" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="FC">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Wandel_FC" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
<LineComment>
|
||
<Text>Beeinflussung der Weiterfahrt</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="71">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="72">
|
||
<StlToken Text="L" />
|
||
<Access Scope="GlobalVariable">
|
||
<Symbol>
|
||
<Component Name="MW92" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Rückwert von FC</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="75">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="76">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ret" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="78">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="79">
|
||
<LabelDeclaration>
|
||
<Label Name="NoFC" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Daten_1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="83">
|
||
<LabelDeclaration>
|
||
<Label Name="Ret" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndPointer" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Stelle, wo Zeiger hinterlegt ist</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="87">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="89">
|
||
<StlToken Text="LT_I" />
|
||
<LineComment>
|
||
<Text>negativ</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="91">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw07" />
|
||
<LineComment>
|
||
<Text>Zeiger = 0</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="760">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="761">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndDB_Laenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Länge des Indizierten DB überschritten ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="764">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndPointer" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Stelle, wo Zeiger hinterlegt ist</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="767">
|
||
<StlToken Text="LE_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="769">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw07" />
|
||
<LineComment>
|
||
<Text>Zeiger ausserhalb Ind.DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="772">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="773">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="775">
|
||
<StlToken Text="MUL_I" />
|
||
<LineComment>
|
||
<Text>DB byteorientiert</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="97">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="777">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Pointer erzeugen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="780">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndPointer" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Pointer, wo Zeiger hinterlegt ist</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="783">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="784">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndDB" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
<LineComment>
|
||
<Text>Indizierter DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="788">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndPointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="790">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="793">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="794">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBDatenliste" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
<LineComment>
|
||
<Text>Datenliste DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="798">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="799">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="800">
|
||
<StlToken Text="S" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Indok" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Indizierung möglich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="803">
|
||
<StlToken Text="S" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndZeiger_ok" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Indizier-Zeiger angegeben</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="806">
|
||
<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>Indiziert suchen ?</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="807">
|
||
<LabelDeclaration>
|
||
<Label Name="Nw07" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="811">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="814">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="816">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W700" />
|
||
<LineComment>
|
||
<Text>Suche bei 1.Datensatz beginnen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="819">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="820">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="823">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>-20</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Zeiger 1.Daten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="826">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in Bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="829">
|
||
<StlToken Text="DIV_I" />
|
||
<LineComment>
|
||
<Text>Ermittlung der wievielten Daten -1</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="831">
|
||
<StlToken Text="SRD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>16</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Rest ermitteln</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="834">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>= 0 ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="837">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Suchzeiger nicht im Raster !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="839">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W700" />
|
||
<LineComment>
|
||
<Text>Suche bei 1.Datensatz beginnen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="842">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="843">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Bei angegebener Stelle suchen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="846">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchstelle" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Such bei X-ten Datensatz</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="849">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="850">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="W701" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="852">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="853">
|
||
<LabelDeclaration>
|
||
<Label Name="W700" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Suche bei 1.Datensatz beginnen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="857">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchstelle" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Such bei X-ten Datensatz</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="860">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="861">
|
||
<StlToken Text="R" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndZeiger_ok" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Indizier-Zeiger angegeben</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="864">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="866">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>20</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Offset für 1.Daten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="869">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="872">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="873">
|
||
<LabelDeclaration>
|
||
<Label Name="W701" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="877">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OffsetDaten_1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Richtiger Offset der 1.Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="880">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="24">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="22">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="25">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>/Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="21">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="886">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SuchDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="66">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="889">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="890">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="893">
|
||
<LabelDeclaration>
|
||
<Label Name="L700" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="896">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="897">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="900">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="903">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="905">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W702" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="907">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="908">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="55">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="29">
|
||
<LabelDeclaration>
|
||
<Label Name="W702" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="None" Register="AR2" BitOffset="0" />
|
||
<LineComment>
|
||
<Text>Suchdaten überprüfen mit</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="51">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBDatenliste" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="30">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
<LineComment>
|
||
<Text>Datenliste-Daten lesen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="59">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>nicht identisch !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="924">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W703" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="62">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="33">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="35">
|
||
<StlToken Text="SRD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="37">
|
||
<StlToken Text="L" />
|
||
<Access Scope="TypedConstant">
|
||
<Constant>
|
||
<ConstantValue>DINT#2</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="39">
|
||
<StlToken Text="ADD_D" />
|
||
</StlStatement>
|
||
<StlStatement UId="40">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="42">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="45">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="32">
|
||
<StlToken Text="ADDAR2" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>ARef</ConstantType>
|
||
<ConstantValue>P#2.0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="56">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="48">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="934">
|
||
<StlToken Text="LOOP" />
|
||
<Access Scope="Label">
|
||
<Label Name="L700" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="936">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="937">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_1000_0000</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Daten sind vorhanden</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="940">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Ok-Status</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="943">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="944">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw08" />
|
||
<LineComment>
|
||
<Text>Datensatz ist in Liste enthalten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="947">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="948">
|
||
<LabelDeclaration>
|
||
<Label Name="W703" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Suche bei 1.Datensatz begonnen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="952">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchstelle" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Such bei X-ten Datensatz</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="955">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="957">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W700" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="959">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="960">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchstelle" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Such bei X-ten Datensatz</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="963">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="965">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchstelle" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Such bei X-ten Datensatz</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="968">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Listenlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl aller Daten in Datenliste</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="971">
|
||
<StlToken Text="LE_I" />
|
||
<LineComment>
|
||
<Text>Alle Datensätze sind durchsucht</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="973">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W705" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="976">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="977">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err6" />
|
||
<LineComment>
|
||
<Text>Datensatz ist nicht vorhanden</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="980">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="981">
|
||
<LabelDeclaration>
|
||
<Label Name="W705" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="985">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="988">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="989">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="60">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="W701" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="994">
|
||
<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>Kontrolle auf gleiche Stammdaten</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="995">
|
||
<LabelDeclaration>
|
||
<Label Name="Nw08" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="AddressConstant">
|
||
<Constant Name="OUTDATEN" Scope="local" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="998">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="999">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1000">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="None" Register="AR2" BitOffset="0" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1002">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBOutDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Outdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1005">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Double" Area="None" Register="AR2" BitOffset="16" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1008">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OutDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1010">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1011">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBOutDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Outdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1014">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1017">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1019">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw09" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="21">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="22">
|
||
<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="DBOutDaten" />
|
||
</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="41">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="42">
|
||
<StlToken Text="CALL" />
|
||
<Access Scope="Call">
|
||
<CallInfo Name="BCD (4stellig)_to_INT" BlockType="FC">
|
||
<Parameter Name="BCD_Wert" Section="Input" Type="Word">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_DB_LENGTH" />
|
||
</Symbol>
|
||
</Access>
|
||
</Parameter>
|
||
<Parameter Name="Int_Wert" Section="Output" Type="Int">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DB_Länge" />
|
||
</Symbol>
|
||
</Access>
|
||
</Parameter>
|
||
</CallInfo>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1029">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1030">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1032">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Fehler vorhanden ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1035">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1037">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err5" />
|
||
<LineComment>
|
||
<Text>Undefinierte Outdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1040">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1041">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Double" Area="None" Register="AR2" BitOffset="16" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1044">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>DWord</ConstantType>
|
||
<ConstantValue>16#00FF_FFFF</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Ohne Kennung</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1047">
|
||
<StlToken Text="AW" />
|
||
</StlStatement>
|
||
<StlStatement UId="1048">
|
||
<StlToken Text="SRW" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Ohne Bit</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1051">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OutDaten_Startpunkt" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1053">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1054">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OutDaten_Startpunkt" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1056">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DB_Länge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1058">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Outdaten-DB ist zu kurz</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1060">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err5" />
|
||
<LineComment>
|
||
<Text>Undefinierte Outdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1063">
|
||
<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>Out-DATEN-Pointer übernehmen:</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>Outdaten ok ?</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="24">
|
||
<LabelDeclaration>
|
||
<Label Name="Nw09" />
|
||
</LabelDeclaration>
|
||
<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="28">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="0" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="30">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="80" />
|
||
<LineComment>
|
||
<Text>Any-Kennung, Datentyp</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="33">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenwords speichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="36">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="16" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="38">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="96" />
|
||
<LineComment>
|
||
<Text>Wiederholungen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="41">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="42">
|
||
<LineComment>
|
||
<Text>DATEN-Pointer übernehmen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="44">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDB" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="46">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="32" />
|
||
<LineComment>
|
||
<Text>DB_Nummer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="49">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="52">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="54">
|
||
<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="57">
|
||
<StlToken Text="OD" />
|
||
</StlStatement>
|
||
<StlStatement UId="58">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="48" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="61">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="62">
|
||
<LineComment>
|
||
<Text>Ziel-Pointer erzeugen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="64">
|
||
<LineComment>
|
||
<Text>Kennung + Datenbytes s.o.</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="66">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="67">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBOutDaten" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="69">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="112" />
|
||
<LineComment>
|
||
<Text>DB_Nummer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="72">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OutDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="74">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="128" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="77">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="78">
|
||
<StlToken Text="CALL" />
|
||
<Access Scope="Call">
|
||
<Instruction Name="BLKMOV" Version="1.1">
|
||
<Token Text="," />
|
||
<LineComment>
|
||
<Text>Datenliste-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="88">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="89">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="91">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="93">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="94">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err1" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="96">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="97">
|
||
<StlToken Text="A" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_WRITE_PROT" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenliste kann nicht beschrieben werden</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="100">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw10" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="102">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="103">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="105">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>12</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Offset letzter Zugriff</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="108">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="109">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Pointer erzeugen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="112">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>/Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="115">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="116">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="119">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBDatenliste" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="122">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
<LineComment>
|
||
<Text>Speicherung letzter Zugriff</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="125">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="126">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchstelle" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Such bei X-ten Datensatz</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="129">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Position" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Übergabe nach außen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="132">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="4E" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="4F" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="50" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Quelle-Pointer erzeugen:</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>Daten aus Datenliste lesen (in OUTDaten übergeben)</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="24">
|
||
<LabelDeclaration>
|
||
<Label Name="Nw10" />
|
||
</LabelDeclaration>
|
||
<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="28">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>1.Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="31">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="33">
|
||
<StlToken Text="O" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_WRITE_PROT" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenliste kann nicht beschrieben werden</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="36">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw11" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="43">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="44">
|
||
<StlToken Text="A" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Indok" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Indizierung möglich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="35">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="X010" />
|
||
<LineComment>
|
||
<Text>Bei ind.Zugriff nur löschen, nicht verschieben, keine Anzahl!</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="49">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="50">
|
||
<LineComment>
|
||
<Text>Gemeinsame Daten für Pointer erzeugen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="52">
|
||
<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="55">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="0" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="57">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="80" />
|
||
<LineComment>
|
||
<Text>Any-Kennung, Datentyp</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="60">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="61">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Stelle, wo gelöscht werden soll</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="64">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>-20</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="66">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="68">
|
||
<StlToken Text="SUB_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="69">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="72">
|
||
<StlToken Text="DIV_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="73">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Stelle, die gelöscht werden soll</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="76">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="LoeschPos" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Lösch-Position</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="79">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Listenlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Länge der Datenliste (Letzter Eintrag zum Löschen ?)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="82">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="84">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Last" />
|
||
<LineComment>
|
||
<Text>Ohne Verschieben letzten Eintrag löschen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="87">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="88">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="LoeschPos" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Lösch-Position</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="91">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="94">
|
||
<StlToken Text="MUL_I" />
|
||
<LineComment>
|
||
<Text>Gesamtdatenlänge in Words</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="96">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="NichtCopy" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenmenge, die nicht vorschoben wird</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="99">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="100">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Listenlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Länge der Datenliste</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="103">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="106">
|
||
<StlToken Text="MUL_I" />
|
||
<LineComment>
|
||
<Text>Gesamtdatenlänge in Words</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="108">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="NichtCopy" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenmenge, die nicht vorschoben wird</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="111">
|
||
<StlToken Text="SUB_I" />
|
||
<LineComment>
|
||
<Text>abziehen</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="113">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="16" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="115">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="96" />
|
||
<LineComment>
|
||
<Text>Wiederholungen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="118">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="119">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDB" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="121">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="32" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="123">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="112" />
|
||
<LineComment>
|
||
<Text>DB_Nummer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="126">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="127">
|
||
<LineComment>
|
||
<Text>Quelle-Pointer erzeugen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="129">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Stelle, wo gelöscht werden soll</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="132">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in Bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="135">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="136">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="138">
|
||
<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="141">
|
||
<StlToken Text="OD" />
|
||
</StlStatement>
|
||
<StlStatement UId="142">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="48" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="145">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="146">
|
||
<LineComment>
|
||
<Text>Ziel-Pointer erzeugen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="148">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Stelle, wo gelöscht werden soll</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="151">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="153">
|
||
<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="156">
|
||
<StlToken Text="OD" />
|
||
</StlStatement>
|
||
<StlStatement UId="157">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="128" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="160">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="161">
|
||
<LineComment>
|
||
<Text>Daten verschieben:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="163">
|
||
<StlToken Text="CALL" />
|
||
<Access Scope="Call">
|
||
<Instruction Name="BLKMOV" Version="1.1">
|
||
<Token Text="," />
|
||
<LineComment>
|
||
<Text>DatenSortliste-Daten verschieben</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="173">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="174">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="176">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="178">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="179">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err1" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="181">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="182">
|
||
<LineComment>
|
||
<Text>Letzte Daten löschen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="184">
|
||
<LabelDeclaration>
|
||
<Label Name="Last" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenlisten_Ende" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Ende des Datenbereichs</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="188">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in Bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="191">
|
||
<StlToken Text="SUB_I" />
|
||
<LineComment>
|
||
<Text>Ab hier löschen !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="193">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="194">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="196">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>/Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="199">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="200">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datensatzlänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="203">
|
||
<LabelDeclaration>
|
||
<Label Name="L080" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="206">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="207">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBDatenliste" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="210">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="211">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Daten löschen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="214">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="216">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="217">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="219">
|
||
<StlToken Text="SRD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="221">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>DInt</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>nächstes DW</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="224">
|
||
<StlToken Text="ADD_D" />
|
||
</StlStatement>
|
||
<StlStatement UId="225">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="227">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="229">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="230">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="232">
|
||
<StlToken Text="LOOP" />
|
||
<Access Scope="Label">
|
||
<Label Name="L080" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="234">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="235">
|
||
<LineComment>
|
||
<Text>Speicherung letzter Zugriff:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="237">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="239">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>12</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Offset letzter Zugriff</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="242">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="243">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="245">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>/Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="248">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="249">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBDatenliste" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="252">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>löschen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="255">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
<LineComment>
|
||
<Text>Speicherung letzter Zugriff</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="258">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="261">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="262">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="263">
|
||
<StlToken Text="R" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndZeiger_ok" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Indizier-Zeiger angegeben</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="266">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="267">
|
||
<LineComment>
|
||
<Text>Anzahl Einträge:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="269">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="271">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>16</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Offset Anzahl Einträge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="274">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="275">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="277">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>/Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="280">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="281">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBDatenliste" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="284">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
<LineComment>
|
||
<Text>Anzahl der Einträge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="287">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>-1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>-1 </Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="290">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
<LineComment>
|
||
<Text>Anzahl der Einträge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="293">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="294">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="296">
|
||
<StlToken Text="GE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="297">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="w080" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="299">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="300">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
<LineComment>
|
||
<Text>Minimum übergeben</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="303">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="304">
|
||
<LabelDeclaration>
|
||
<Label Name="w080" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw11" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="306">
|
||
<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>Daten aus Datenliste löschen ? (nicht indiziert!)</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="5E" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="5F" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="24">
|
||
<LabelDeclaration>
|
||
<Label Name="X010" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>16#E1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Daten löschen ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="27">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>1.Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="30">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="32">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw11" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="34">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="35">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="38">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="39">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="41">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>/Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="44">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="45">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBDatenliste" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="48">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="49">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="51">
|
||
<LabelDeclaration>
|
||
<Label Name="LA00" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="54">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="55">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="57">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="59">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="60">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="62">
|
||
<StlToken Text="SRD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="64">
|
||
<StlToken Text="L" />
|
||
<Access Scope="TypedConstant">
|
||
<Constant>
|
||
<ConstantValue>DINT#2</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="66">
|
||
<StlToken Text="ADD_D" />
|
||
</StlStatement>
|
||
<StlStatement UId="67">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="69">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="71">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="72">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="74">
|
||
<StlToken Text="LOOP" />
|
||
<Access Scope="Label">
|
||
<Label Name="LA00" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="76">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="77">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="79">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>12</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="81">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="82">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="84">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>/Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="87">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="88">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Löschen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="91">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="94">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="96">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="97">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="98">
|
||
<StlToken Text="R" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndZeiger_ok" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Indizier-Zeiger angegeben</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="101">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="60" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="61" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="62" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="63" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="64" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="65" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="66" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Daten aus Datenliste löschen ? (indiziert)</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="67" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="68" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="1237">
|
||
<LabelDeclaration>
|
||
<Label Name="Nw11" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="AN" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Weitersuchen" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1240">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw12" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1242">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1243">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OutDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1245">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="1246">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1247">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1249">
|
||
<LabelDeclaration>
|
||
<Label Name="L110" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1252">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1253">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBOutDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Outdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1256">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1259">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1261">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W111" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1263">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1264">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBOutDaten" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1267">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1268">
|
||
<LabelDeclaration>
|
||
<Label Name="W111" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="None" Register="AR2" BitOffset="0" />
|
||
<LineComment>
|
||
<Text>Outdaten überprüfen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1272">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Etwas angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1275">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1277">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W112" />
|
||
<LineComment>
|
||
<Text>Ok</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1280">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1281">
|
||
<StlToken Text="ADDAR2" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>ARef</ConstantType>
|
||
<ConstantValue>P#2.0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1283">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1284">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1286">
|
||
<StlToken Text="LOOP" />
|
||
<Access Scope="Label">
|
||
<Label Name="L110" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1288">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1289">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0100_0000</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Daten sind nicht vorhanden</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1292">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Ok-Status</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1295">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ende" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1297">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1298">
|
||
<LabelDeclaration>
|
||
<Label Name="W112" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_1000_0000</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Daten sind vorhanden</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1302">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Ok-Status</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1305">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ende" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1307">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="69" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="6A" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="6B" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="6C" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="6D" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="6E" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="6F" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Weitersuchen aktiv ? Datensatz vorhanden oder 0 ?</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="70" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="71" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="1308">
|
||
<LabelDeclaration>
|
||
<Label Name="Nw12" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="AN" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Indok" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Indizierung möglich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1312">
|
||
<StlToken Text="O" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndZeiger_ok" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Indizier-Zeiger angegeben</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1315">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ende" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1317">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1318">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndDB" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
<LineComment>
|
||
<Text>Indizierter DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1322">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1323">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1326">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="IndPointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1328">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1329">
|
||
<StlToken Text="OPEN_DB" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Block" Area="DB">
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBDatenliste" />
|
||
</Symbol>
|
||
</Access>
|
||
</Indirect>
|
||
<LineComment>
|
||
<Text>Datenliste DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1333">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="72" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="73" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="74" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="75" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="76" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="77" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="78" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Indizierung ok ?</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="79" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="7A" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="1334">
|
||
<LabelDeclaration>
|
||
<Label Name="Ende" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="SET" />
|
||
<LineComment>
|
||
<Text>VKE = 1 ohne Fehler !!!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1337">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Ok-Status</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1340">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ok" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1342">
|
||
<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 Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1346">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1348">
|
||
<LabelDeclaration>
|
||
<Label Name="Err1" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0010</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>SFC20-Aufruf mit Fehler</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1352">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1354">
|
||
<LabelDeclaration>
|
||
<Label Name="Err2" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0100</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Listenende ist erreicht</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1358">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1360">
|
||
<LabelDeclaration>
|
||
<Label Name="Err3" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_1000</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Falscher Parameter bei Aufruf</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1364">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1366">
|
||
<LabelDeclaration>
|
||
<Label Name="Err4" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0001_0000</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Undefinierte Suchdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1370">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1372">
|
||
<LabelDeclaration>
|
||
<Label Name="Err5" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0010_0000</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Undefinierte OUTDaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1376">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1378">
|
||
<LabelDeclaration>
|
||
<Label Name="Err6" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0100_0000</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Datensatz nicht vorhanden</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1382">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1383">
|
||
<LabelDeclaration>
|
||
<Label Name="Err" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="CLR" />
|
||
<LineComment>
|
||
<Text>VKE = 0 bei Fehler !!!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1386">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1387">
|
||
<LabelDeclaration>
|
||
<Label Name="Ok" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1390">
|
||
<StlToken Text="SAVE" />
|
||
<LineComment>
|
||
<Text>VKE in BIE-Bit speichern </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1392">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1393">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR2_Speicher" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>AR2 zurückspeichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1396">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="1397">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="7B" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="7C" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="7D" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="7E" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="7F" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="80" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="81" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Fehlerausgabe / RET_VAL</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="82" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="83" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="24">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="21">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="RE_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="84" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="85" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="86" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="87" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="88" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="89" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="8A" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Ende</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="8B" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<MultilingualText ID="8C" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="8D" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>cs-CZ</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="8E" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Datenlisten-Modul</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
<MultilingualTextItem ID="8F" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>en-US</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.FC>
|
||
</Document> |