4787 lines
129 KiB
XML
4787 lines
129 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="Belegt06" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">reserviert von Datenliste</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Belegt08" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">reserviert von Datenliste</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Belegt10" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">reserviert von Datenliste</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Belegt12" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">reserviert von Datenliste</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="AnzahlEintraege" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Anzahl der eingetragenen Datensätze</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="Reserve16" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Reserve</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="Suchzeiger" Datatype="Int">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Suchzeiger</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="Word">
|
||
<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="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="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="AR1Zeiger" Datatype="DWord">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
<Member Name="tRE_VAL" Datatype="Byte">
|
||
<Comment>
|
||
<MultiLanguageText Lang="de-DE">Rückmeldung</MultiLanguageText>
|
||
</Comment>
|
||
</Member>
|
||
</Section>
|
||
<Section Name="Constant" />
|
||
<Section Name="Return">
|
||
<Member Name="Ret_Val" Datatype="Void" />
|
||
</Section>
|
||
</Sections></Interface>
|
||
<MemoryLayout>Standard</MemoryLayout>
|
||
<Name>DatenFindOffsetSort</Name>
|
||
<Namespace />
|
||
<Number>91</Number>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="1" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="2" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>COPYRIGHT by Ingenieurbüro A.Emmert
|
||
Ortsstr.33, D-869925 Fuchstal (Germany)
|
||
Tel.: 0049(0)8243-1254
|
||
Version: ILS2100 / 06.11.2009
|
||
|
||
Offsetdaten in sortierter Datenliste suchen
|
||
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
|
||
F1 = 1.Datensatz lesen
|
||
FF = nächsten vorhandenen Eintrag lesen (ab letzten Zugriff)
|
||
YY: 01 - 09 = Anzahl der Stammdaten (falls abweichend vom Datenlistenkopf!)
|
||
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
|
||
Bit5: Undefinierte OUT-Daten
|
||
Bit6: Datensatz ist nicht vorhanden
|
||
Bit7: Datensatz ist vorhanden
|
||
</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<SW.Blocks.CompileUnit ID="3" 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="31">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="32">
|
||
<LineComment>
|
||
<Text> CALL TEST_DB</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="21">
|
||
<LineComment>
|
||
<Text> DB_NUMBER :=#DBDatenliste</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="34">
|
||
<LineComment>
|
||
<Text> RET_VAL :=#SFC_RET_VAL</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="35">
|
||
<LineComment>
|
||
<Text> DB_LENGTH :=#SFC_DB_LENGTH</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="36">
|
||
<LineComment>
|
||
<Text> WRITE_PROT :=#SFC_WRITE_PROT</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="54">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="55">
|
||
<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="39">
|
||
<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="4" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="5" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="6" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="7" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Schnittstellen-DB sinnvoll ?</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="8" 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="9" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="A" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Quelle-Pointer erzeugen:</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="B" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="C" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Datenlistekopf holen</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="D" 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="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="106">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="109">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="110">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="112">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="115">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="116">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="119">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="120">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>128</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="122">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="123">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="126">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="127">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="129">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Listenlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Max.Anzahl von Datenblöcken</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="132">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="133">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="136">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="137">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="139">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="142">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="143">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="146">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="147">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>9</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="149">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="150">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="153">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="154">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="157">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="160">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="161">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlistebereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="164">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="165">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Listenlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Länge der Datenliste</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="168">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="171">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="172">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>DB byteorientiert</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="175">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="176">
|
||
<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="179">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="181">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="182">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenlisten_Ende" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="184">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="185">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="187">
|
||
<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="190">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="191">
|
||
<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="194">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="195">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenlisten_Ende" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="197">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_DB_LENGTH" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="199">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Datenlisten-DB ist zu kurz!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="201">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlisten-Bereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="204">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="205">
|
||
<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="207">
|
||
<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="210">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="212">
|
||
<StlToken Text="A_BRACK" />
|
||
</StlStatement>
|
||
<StlStatement UId="213">
|
||
<StlToken Text="CAC" />
|
||
</StlStatement>
|
||
<StlStatement UId="214">
|
||
<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="217">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="219">
|
||
<StlToken Text="BRACKET" />
|
||
</StlStatement>
|
||
<StlStatement UId="220">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err0" />
|
||
<LineComment>
|
||
<Text>kein Datenlisten-Bereich</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="223">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="224">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="227">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="229">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="230">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in Bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="233">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="E" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="F" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="10" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="11" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Zeigerüberprüfung</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="12" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="234">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="235">
|
||
<StlToken Text="R" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Weitersuchen" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Weitersuchen ist aktiv</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="238">
|
||
<StlToken Text="R" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Offsetsuchen" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Offsetsuchen ist aktiv</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="241">
|
||
<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="244">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OffsetDaten_1" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="246">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="247">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="PARA" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="249">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="320" />
|
||
<LineComment>
|
||
<Text>Aufrufparameter zwischenspeichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="252">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="253">
|
||
<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="256">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="258">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="260">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W401" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="262">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="263">
|
||
<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="266">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="268">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="271">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="272">
|
||
<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="275">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="277">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="279">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W400" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="281">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="282">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para2" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="284">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#00</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="286">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="287">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="290">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="291">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="292">
|
||
<StlToken Text="S" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Weitersuchen" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="294">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="295">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="297">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>20</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="299">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="301">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="302">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw08" />
|
||
<LineComment>
|
||
<Text>OutDaten ok ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="305">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="306">
|
||
<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="310">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="312">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W403" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="314">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="315">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para2" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="317">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Byte</ConstantType>
|
||
<ConstantValue>16#00</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="319">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="320">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="323">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="324">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="325">
|
||
<StlToken Text="S" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Weitersuchen" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="327">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="328">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Alter Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="331">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="334">
|
||
<StlToken Text="ADD_I" />
|
||
<LineComment>
|
||
<Text>Nächsten Datensatz suchen</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="336">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Neuer Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="339">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="340">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="343">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Listenlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Alle möglichen Einträge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="346">
|
||
<StlToken Text="MUL_I" />
|
||
<LineComment>
|
||
<Text>Gesamtlänge</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="348">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Startpunkt</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="351">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="352">
|
||
<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="355">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Schreibzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="358">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Noch nicht am Ende !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="360">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw08" />
|
||
<LineComment>
|
||
<Text>OutDaten ok ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="363">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="364">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err2" />
|
||
<LineComment>
|
||
<Text>Listenende erreicht</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="367">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="368">
|
||
<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="372">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="374">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="376">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="379">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="380">
|
||
<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="383">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="385">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="388">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="389">
|
||
<StlToken Text="CAC" />
|
||
</StlStatement>
|
||
<StlStatement UId="390">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>XX > Datensatzlänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="393">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="395">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="398">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="399">
|
||
<StlToken Text="CAC" />
|
||
</StlStatement>
|
||
<StlStatement UId="400">
|
||
<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="403">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>DB byteorientiert</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="406">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="407">
|
||
<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="410">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="411">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="413">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suche ab Anfang</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="416">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="417">
|
||
<StlToken Text="SET" />
|
||
</StlStatement>
|
||
<StlStatement UId="418">
|
||
<StlToken Text="S" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Offsetsuchen" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="420">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="421">
|
||
<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="425">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para2" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>2.Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="428">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="430">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W402" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="432">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="433">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="436">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="439">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="440">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="443">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="444">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="446">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="449">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="450">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="453">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="454">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>9</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="456">
|
||
<StlToken Text="GT_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="457">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="460">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="461">
|
||
<LabelDeclaration>
|
||
<Label Name="W402" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="AN" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Offsetsuchen" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="464">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw05" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="466">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="467">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Para1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Offset</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="470">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>-1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="472">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="474">
|
||
<StlToken Text="ADD_I" />
|
||
<LineComment>
|
||
<Text>Letzte Stammdaten zu groß ?</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="476">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="478">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Ja!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="480">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err3" />
|
||
<LineComment>
|
||
<Text>Falscher Aufrufparameter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="483">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="13" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="14" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="15" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="16" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Auftrag kontrollieren</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="484">
|
||
<LabelDeclaration>
|
||
<Label Name="Nw05" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AnzahlEintraege" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der eingetragenen Datensätze</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="488">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Eintrag vorhanden ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="491">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="493">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err6" />
|
||
<LineComment>
|
||
<Text>Datensatz ist nicht vorhanden</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="496">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="497">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="499">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="502">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="503">
|
||
<StlToken Text="L" />
|
||
<Access Scope="AddressConstant">
|
||
<Constant Name="SEARCHDATEN" Scope="local" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="505">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="506">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="507">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="None" Register="AR2" BitOffset="0" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="509">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="512">
|
||
<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="515">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SuchDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="517">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="518">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="521">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="524">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="526">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W501" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="528">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="529">
|
||
<LineComment>
|
||
<Text> CALL TEST_DB</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="35">
|
||
<LineComment>
|
||
<Text> DB_NUMBER :=#DBSuchDaten</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="36">
|
||
<LineComment>
|
||
<Text> RET_VAL :=#SFC_RET_VAL</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="37">
|
||
<LineComment>
|
||
<Text> DB_LENGTH :=#SFC_DB_LENGTH</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="38">
|
||
<LineComment>
|
||
<Text> WRITE_PROT :=#SFC_WRITE_PROT</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="22">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="23">
|
||
<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="34">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="536">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="537">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="539">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Fehler vorhanden ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="542">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="544">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err4" />
|
||
<LineComment>
|
||
<Text>Undefinierte Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="547">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="548">
|
||
<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="551">
|
||
<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="554">
|
||
<StlToken Text="AW" />
|
||
</StlStatement>
|
||
<StlStatement UId="555">
|
||
<StlToken Text="SRW" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Ohne Bit</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="558">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SuchDaten_Startpunkt" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="560">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="561">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="564">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>DB byteorientiert</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="567">
|
||
<StlToken Text="MUL_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="568">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SuchDaten_Startpunkt" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="570">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="571">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_DB_LENGTH" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="573">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Suchdaten-DB ist zu kurz</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="575">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err4" />
|
||
<LineComment>
|
||
<Text>Undefinierte Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="578">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="579">
|
||
<LabelDeclaration>
|
||
<Label Name="W501" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SuchDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="582">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="583">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="584">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="587">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="590">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="592">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W502" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="594">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="595">
|
||
<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="598">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="599">
|
||
<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="603">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Daten_1" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>1.Suchdaten speichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="606">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="607">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="609">
|
||
<LabelDeclaration>
|
||
<Label Name="L500" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="612">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="613">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="616">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="619">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="621">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W503" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="623">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="624">
|
||
<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="627">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="628">
|
||
<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="632">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Etwas angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="635">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="637">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw07" />
|
||
<LineComment>
|
||
<Text>Weiter</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="640">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="641">
|
||
<StlToken Text="ADDAR2" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>ARef</ConstantType>
|
||
<ConstantValue>P#2.0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="643">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="644">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="646">
|
||
<StlToken Text="LOOP" />
|
||
<Access Scope="Label">
|
||
<Label Name="L500" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="648">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="649">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err4" />
|
||
<LineComment>
|
||
<Text>Undefinierte Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="652">
|
||
<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>de-DE</Culture>
|
||
<Text>Such-DATEN-Pointer übernehmen:</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="1A" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="1B" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Suchdaten definiert ?</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="1C" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="653">
|
||
<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="657">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="660">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="662">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W700" />
|
||
<LineComment>
|
||
<Text>Suche bei 1.Datensatz beginnen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="665">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="666">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="669">
|
||
<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="672">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in Bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="675">
|
||
<StlToken Text="DIV_I" />
|
||
<LineComment>
|
||
<Text>Ermittlung der wievielten Daten -1</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="677">
|
||
<StlToken Text="SRD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>16</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Rest ermitteln</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="NE_I" />
|
||
<LineComment>
|
||
<Text>Suchzeiger nicht im Raster !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="685">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W700" />
|
||
<LineComment>
|
||
<Text>Suche bei 1.Datensatz beginnen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="688">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="689">
|
||
<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="692">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchstelle" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Such bei X-ten Datensatz</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="695">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="696">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="W701" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="698">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="699">
|
||
<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="703">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchstelle" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Such bei X-ten Datensatz</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="706">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="708">
|
||
<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="711">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="714">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="715">
|
||
<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="719">
|
||
<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="722">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="723">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="724">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="726">
|
||
<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="729">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="730">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SuchDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="732">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="733">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="734">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Stammdaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der Stammdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="737">
|
||
<LabelDeclaration>
|
||
<Label Name="L700" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="740">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="741">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBSuchDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="744">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="747">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="749">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W702" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="751">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="752">
|
||
<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="755">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="756">
|
||
<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="760">
|
||
<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="763">
|
||
<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="766">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>nicht identisch !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="768">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W703" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="770">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="771">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="773">
|
||
<StlToken Text="SRD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="775">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>DInt</ConstantType>
|
||
<ConstantValue>2</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="777">
|
||
<StlToken Text="ADD_D" />
|
||
</StlStatement>
|
||
<StlStatement UId="778">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="780">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR1Zeiger" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="782">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="783">
|
||
<StlToken Text="ADDAR2" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>ARef</ConstantType>
|
||
<ConstantValue>P#2.0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="785">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="786">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="788">
|
||
<StlToken Text="LOOP" />
|
||
<Access Scope="Label">
|
||
<Label Name="L700" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="790">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="791">
|
||
<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="794">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Ok-Status</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="797">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="798">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw08" />
|
||
<LineComment>
|
||
<Text>Datensatz ist in Liste enthalten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="801">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="802">
|
||
<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="806">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchstelle" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Such bei X-ten Datensatz</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="809">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="811">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W700" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="813">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="814">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchstelle" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Such bei X-ten Datensatz</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="817">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="819">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchstelle" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Such bei X-ten Datensatz</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="822">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AnzahlEintraege" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Anzahl der eingetragenen Datensätze</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="825">
|
||
<StlToken Text="LE_I" />
|
||
<LineComment>
|
||
<Text>Alle Datensätze sind durchsucht</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="827">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W705" />
|
||
<LineComment>
|
||
<Text>Nein !</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="830">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="831">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err6" />
|
||
<LineComment>
|
||
<Text>Datensatz ist nicht vorhanden</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="834">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="835">
|
||
<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="839">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="842">
|
||
<StlToken Text="ADD_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="843">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="846">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="W701" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="848">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="1D" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="1E" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="1F" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="20" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Kontrolle auf gleiche Stammdaten</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="21" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="849">
|
||
<LabelDeclaration>
|
||
<Label Name="Nw08" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="L" />
|
||
<Access Scope="AddressConstant">
|
||
<Constant Name="OUTDATEN" Scope="local" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="852">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="853">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="854">
|
||
<StlToken Text="L" />
|
||
<Access Scope="Address">
|
||
<Indirect Width="Word" Area="None" Register="AR2" BitOffset="0" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="856">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBOutDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Outdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="859">
|
||
<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="862">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OutDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="864">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="865">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBOutDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Outdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="868">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="871">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="873">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Nw09" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="875">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="876">
|
||
<LineComment>
|
||
<Text> CALL TEST_DB</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="35">
|
||
<LineComment>
|
||
<Text> DB_NUMBER :=#DBOutDaten</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="36">
|
||
<LineComment>
|
||
<Text> RET_VAL :=#SFC_RET_VAL</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="37">
|
||
<LineComment>
|
||
<Text> DB_LENGTH :=#SFC_DB_LENGTH</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="38">
|
||
<LineComment>
|
||
<Text> WRITE_PROT :=#SFC_WRITE_PROT</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="22">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="23">
|
||
<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="21">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="883">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="884">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="886">
|
||
<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="889">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="891">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err5" />
|
||
<LineComment>
|
||
<Text>Undefinierte Outdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="894">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="895">
|
||
<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="898">
|
||
<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="901">
|
||
<StlToken Text="AW" />
|
||
</StlStatement>
|
||
<StlStatement UId="902">
|
||
<StlToken Text="SRW" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Ohne Bit</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="905">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OutDaten_Startpunkt" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="907">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="908">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OutDaten_Startpunkt" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="910">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_DB_LENGTH" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="912">
|
||
<StlToken Text="GT_I" />
|
||
<LineComment>
|
||
<Text>Outdaten-DB ist zu kurz</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="914">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err5" />
|
||
<LineComment>
|
||
<Text>Undefinierte Outdaten</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="917">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="22" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="23" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Out-DATEN-Pointer übernehmen:</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="24" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="25" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Outdaten ok ?</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="26" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="918">
|
||
<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="922">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="0" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="924">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="80" />
|
||
<LineComment>
|
||
<Text>Any-Kennung, Datentyp</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="927">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenwords speichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="930">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="16" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="932">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="96" />
|
||
<LineComment>
|
||
<Text>Wiederholungen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="935">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="936">
|
||
<LineComment>
|
||
<Text>DATEN-Pointer übernehmen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="938">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDB" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="940">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="32" />
|
||
<LineComment>
|
||
<Text>DB_Nummer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="943">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="946">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="948">
|
||
<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="951">
|
||
<StlToken Text="OD" />
|
||
</StlStatement>
|
||
<StlStatement UId="952">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="48" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="955">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="956">
|
||
<LineComment>
|
||
<Text>Ziel-Pointer erzeugen:</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="958">
|
||
<LineComment>
|
||
<Text>Kennung + Datenbytes s.o.</Text>
|
||
</LineComment>
|
||
<StlToken Text="COMMENT" />
|
||
</StlStatement>
|
||
<StlStatement UId="960">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="961">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBOutDaten" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="963">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="Word" BitOffset="112" />
|
||
<LineComment>
|
||
<Text>DB_Nummer</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="966">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OutDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="968">
|
||
<StlToken Text="T" />
|
||
<Access Scope="Address">
|
||
<Address Area="Local" Type="DWord" BitOffset="128" />
|
||
<LineComment>
|
||
<Text>Kennung, Adresse</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="971">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="972">
|
||
<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="979">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="980">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SFC_RET_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="982">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Word</ConstantType>
|
||
<ConstantValue>2#0000_0000_0000_0000</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="984">
|
||
<StlToken Text="NE_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="985">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err1" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="987">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="988">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="SSDW" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="990">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>12</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>im 12.DW speichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="993">
|
||
<StlToken Text="ITD" />
|
||
</StlStatement>
|
||
<StlStatement UId="994">
|
||
<StlToken Text="SLD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>3</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="996">
|
||
<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="999">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1000">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1003">
|
||
<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="1006">
|
||
<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="1009">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1010">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Suchzeiger" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Suchzeiger</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1013">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>-20</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Offeset 1.DS</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1016">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datenblock_inBytes" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Datenblocklänge in Bytes</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1019">
|
||
<StlToken Text="DIV_I" />
|
||
</StlStatement>
|
||
<StlStatement UId="1020">
|
||
<StlToken Text="ADD" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>1</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Position errechnen</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1023">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Position" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Daten stehen an angegebener Position in Datenbank</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1026">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="27" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="28" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Quelle-Pointer erzeugen:</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="29" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="2A" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Daten aus Datenliste lesen (in OUTDaten übergeben)</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="2B" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="1027">
|
||
<StlToken Text="AN" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Weitersuchen" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1029">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ende" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1031">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1032">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="OutDaten_Pointer" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1034">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="1035">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1036">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Datensatzlaenge" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1038">
|
||
<LabelDeclaration>
|
||
<Label Name="L110" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1041">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1042">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="DBOutDaten" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Outdaten-DB</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1045">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1048">
|
||
<StlToken Text="EQ_I" />
|
||
<LineComment>
|
||
<Text>Nein </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1050">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W111" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1052">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1053">
|
||
<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="1056">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1057">
|
||
<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="1061">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>Int</ConstantType>
|
||
<ConstantValue>0</ConstantValue>
|
||
</Constant>
|
||
<LineComment>
|
||
<Text>Etwas angegeben ?</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1064">
|
||
<StlToken Text="NE_I" />
|
||
<LineComment>
|
||
<Text>Ja !</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1066">
|
||
<StlToken Text="JC" />
|
||
<Access Scope="Label">
|
||
<Label Name="W112" />
|
||
<LineComment>
|
||
<Text>Ok</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1069">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1070">
|
||
<StlToken Text="ADDAR2" />
|
||
<Access Scope="LiteralConstant">
|
||
<Constant>
|
||
<ConstantType>ARef</ConstantType>
|
||
<ConstantValue>P#2.0</ConstantValue>
|
||
</Constant>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1072">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1073">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="Schleife" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1075">
|
||
<StlToken Text="LOOP" />
|
||
<Access Scope="Label">
|
||
<Label Name="L110" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1077">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1078">
|
||
<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="1081">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Ok-Status</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1084">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ende" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1086">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1087">
|
||
<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="1091">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Ok-Status</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1094">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ende" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1096">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="2C" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="2D" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="2E" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="2F" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Weitersuchen aktiv ? Datensatz vorhanden oder 0 ?</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="30" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="1097">
|
||
<LabelDeclaration>
|
||
<Label Name="Ende" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="SET" />
|
||
<LineComment>
|
||
<Text>VKE = 1 ohne Fehler !!!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1100">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>Ok-Status</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1103">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Ok" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1105">
|
||
<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="1109">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1111">
|
||
<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="1115">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1117">
|
||
<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="1121">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1123">
|
||
<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="1127">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1129">
|
||
<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="1133">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1135">
|
||
<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="1139">
|
||
<StlToken Text="JU" />
|
||
<Access Scope="Label">
|
||
<Label Name="Err" />
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1141">
|
||
<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="1145">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1146">
|
||
<LabelDeclaration>
|
||
<Label Name="Err" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="CLR" />
|
||
<LineComment>
|
||
<Text>VKE = 0 bei Fehler !!!</Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1149">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1150">
|
||
<LabelDeclaration>
|
||
<Label Name="Ok" />
|
||
</LabelDeclaration>
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1153">
|
||
<StlToken Text="SAVE" />
|
||
<LineComment>
|
||
<Text>VKE in BIE-Bit speichern </Text>
|
||
</LineComment>
|
||
</StlStatement>
|
||
<StlStatement UId="1155">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="1156">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="AR2_Speicher" />
|
||
</Symbol>
|
||
<LineComment>
|
||
<Text>AR2 zurückspeichern</Text>
|
||
</LineComment>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="1159">
|
||
<StlToken Text="LAR2_ACCU1" />
|
||
</StlStatement>
|
||
<StlStatement UId="1160">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="31" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="32" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="33" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="34" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Fehlerausgabe / RET_VAL</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<SW.Blocks.CompileUnit ID="35" CompositionName="CompileUnits">
|
||
<AttributeList>
|
||
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
||
<StlStatement UId="21">
|
||
<StlToken Text="L" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="tRE_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="25">
|
||
<StlToken Text="T" />
|
||
<Access Scope="LocalVariable">
|
||
<Symbol>
|
||
<Component Name="RE_VAL" />
|
||
</Symbol>
|
||
</Access>
|
||
</StlStatement>
|
||
<StlStatement UId="28">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
<StlStatement UId="22">
|
||
<StlToken Text="EMPTY_LINE" />
|
||
</StlStatement>
|
||
</StatementList></NetworkSource>
|
||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||
</AttributeList>
|
||
<ObjectList>
|
||
<MultilingualText ID="36" CompositionName="Comment">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="37" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
<MultilingualText ID="38" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="39" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text />
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.CompileUnit>
|
||
<MultilingualText ID="3A" CompositionName="Title">
|
||
<ObjectList>
|
||
<MultilingualTextItem ID="3B" CompositionName="Items">
|
||
<AttributeList>
|
||
<Culture>de-DE</Culture>
|
||
<Text>Datensort-Modul</Text>
|
||
</AttributeList>
|
||
</MultilingualTextItem>
|
||
</ObjectList>
|
||
</MultilingualText>
|
||
</ObjectList>
|
||
</SW.Blocks.FC>
|
||
</Document> |