Initial
This commit is contained in:
@@ -0,0 +1,815 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Document>
|
||||
<Engineering version="V20" />
|
||||
<SW.Blocks.FB ID="0">
|
||||
<AttributeList>
|
||||
<AutoNumber>false</AutoNumber>
|
||||
<Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
|
||||
<Section Name="Input" />
|
||||
<Section Name="Output" />
|
||||
<Section Name="InOut" />
|
||||
<Section Name="Static">
|
||||
<Member Name="Weiche" Datatype=""MWeiche_Sorter"">
|
||||
<AttributeList>
|
||||
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
|
||||
</AttributeList>
|
||||
</Member>
|
||||
<Member Name="Verhei_Sep_Nr" Datatype="Int" />
|
||||
<Member Name="SortRein_Sep_Nr" Datatype="Int" />
|
||||
<Member Name="Weichen_Nr" Datatype="Int" />
|
||||
<Member Name="Separator_Nr" Datatype="Int" />
|
||||
<Member Name="Synchron_Nr" Datatype="Int" />
|
||||
<Member Name="RETVAL_Verhei" Datatype="Byte" />
|
||||
<Member Name="RETVAL_SortRein" Datatype="Byte" />
|
||||
<Member Name="RETVAL_Sync" Datatype="Byte" />
|
||||
<Member Name="RETVAL_Weiche" Datatype="Byte" />
|
||||
<Member Name="RETVAL_Separator" Datatype="Byte" />
|
||||
</Section>
|
||||
<Section Name="Temp">
|
||||
<Member Name="Quelle" Datatype="Any">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Zeiger, wo Rein-Daten sind</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Rueck" Datatype="Struct">
|
||||
<Member Name="Ok" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Visudaten sind ok</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Error_DL" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Datenbank fehlerhaft</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Error_Undef_Nr" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">undefinierter Nummer</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Error_Typ" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">falscher Typ</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Res04" Datatype="Bool" />
|
||||
<Member Name="Res05" Datatype="Bool" />
|
||||
<Member Name="Res06" Datatype="Bool" />
|
||||
<Member Name="Error_BLKMov" Datatype="Bool" />
|
||||
</Member>
|
||||
</Section>
|
||||
<Section Name="Constant" />
|
||||
</Sections></Interface>
|
||||
<MemoryLayout>Standard</MemoryLayout>
|
||||
<Name>Sorter_Visu</Name>
|
||||
<Namespace />
|
||||
<Number>200</Number>
|
||||
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
||||
</AttributeList>
|
||||
<ObjectList>
|
||||
<MultilingualText ID="1" CompositionName="Comment">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="2" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<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="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>0</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="24">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="Local" Type="Byte" BitOffset="80" />
|
||||
<LineComment>
|
||||
<Text>Rückmeldungen löschen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="27">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="28">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Weichen_Nr" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Nummer der Weiche </Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="31">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>0</ConstantValue>
|
||||
</Constant>
|
||||
<LineComment>
|
||||
<Text>angegeben ?</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="34">
|
||||
<StlToken Text="EQ_I" />
|
||||
<LineComment>
|
||||
<Text>Nein !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="36">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="w041" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="38">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="39">
|
||||
<StlToken Text="CAC" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="40">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW200" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Search-Daten</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="43">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="44">
|
||||
<StlToken Text="CALL" />
|
||||
<Access Scope="Call">
|
||||
<CallInfo Name="DatenOut" BlockType="FC">
|
||||
<Parameter Name="SSDB" Section="Input" Type="Int">
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>178</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</Parameter>
|
||||
<Parameter Name="SSDW" Section="Input" Type="Int">
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>0</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</Parameter>
|
||||
<Parameter Name="PARA" Section="Input" Type="Word">
|
||||
<Access Scope="TypedConstant">
|
||||
<Constant>
|
||||
<ConstantValue>WORD#16#0000</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</Parameter>
|
||||
<Parameter Name="SEARCHDATEN" Section="Input" Type="Pointer">
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>ARef</ConstantType>
|
||||
<ConstantValue>P#M200.0</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</Parameter>
|
||||
<Parameter Name="RE_VAL" Section="Output" Type="Byte">
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MB199" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Parameter>
|
||||
<Parameter Name="OUTDATEN" Section="Output" Type="Pointer">
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>ARef</ConstantType>
|
||||
<ConstantValue>P#M220.0</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</Parameter>
|
||||
<Parameter Name="Position" Section="Output" Type="Int">
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Mw196" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Parameter>
|
||||
</CallInfo>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="54">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="55">
|
||||
<StlToken Text="JBI" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="W_Ok" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="57">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="58">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="M199.0" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="60">
|
||||
<StlToken Text="JCN" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="w040" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="62">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="63">
|
||||
<StlToken Text="SET" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="64">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Rueck" />
|
||||
<Component Name="Error_DL" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Datenbank fehlerhaft</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="67">
|
||||
<StlToken Text="JU" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="w042" />
|
||||
<LineComment>
|
||||
<Text>Visudaten löschen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="70">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="71">
|
||||
<LabelDeclaration>
|
||||
<Label Name="w040" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="SET" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="73">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Rueck" />
|
||||
<Component Name="Error_Undef_Nr" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>undefinierte Nummer</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="76">
|
||||
<StlToken Text="JU" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="w042" />
|
||||
<LineComment>
|
||||
<Text>Visudaten löschen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="79">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="80">
|
||||
<LineComment>
|
||||
<Text>Kennung + Datenbytes</Text>
|
||||
</LineComment>
|
||||
<StlToken Text="COMMENT" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="82">
|
||||
<LabelDeclaration>
|
||||
<Label Name="W_Ok" />
|
||||
</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="86">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="Local" Type="Word" BitOffset="0" />
|
||||
<LineComment>
|
||||
<Text>Any-Kennung, Datentyp</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="89">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>75</ConstantValue>
|
||||
</Constant>
|
||||
<LineComment>
|
||||
<Text>Datenwords speichern</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="92">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="Local" Type="Word" BitOffset="16" />
|
||||
<LineComment>
|
||||
<Text>Wiederholungen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="95">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="96">
|
||||
<LineComment>
|
||||
<Text>Quelle-Pointer erzeugen:</Text>
|
||||
</LineComment>
|
||||
<StlToken Text="COMMENT" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="98">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW222" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>#SSDB</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="101">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="Local" Type="Word" BitOffset="32" />
|
||||
<LineComment>
|
||||
<Text>DB_Nummer</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="104">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW224" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>#SSDW</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="107">
|
||||
<StlToken Text="SLD" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>3</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="109">
|
||||
<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="112">
|
||||
<StlToken Text="OD" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="113">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="Local" Type="DWord" BitOffset="48" />
|
||||
<LineComment>
|
||||
<Text>Kennung, Adresse</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="116">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="117">
|
||||
<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="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW198" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Parameter>
|
||||
<Parameter Name="DSTBLK">
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Any</ConstantType>
|
||||
<ConstantValue>P#DB200.DBX450.0 WORD 75</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</Parameter>
|
||||
</Instruction>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="124">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="125">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW198" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="127">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>0</ConstantValue>
|
||||
</Constant>
|
||||
<LineComment>
|
||||
<Text>Fehler vorhanden ?</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="130">
|
||||
<StlToken Text="NE_I" />
|
||||
<LineComment>
|
||||
<Text>Ja !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="132">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Rueck" />
|
||||
<Component Name="Error_BLKMov" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Error bei Block kopieren</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="135">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="w042" />
|
||||
<LineComment>
|
||||
<Text>Visudaten löschen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="138">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="139">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Weiche" />
|
||||
<Component Name="Weiche" />
|
||||
<Component Name="Weichen_Typ" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Visudaten</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="142">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>178</ConstantValue>
|
||||
</Constant>
|
||||
<LineComment>
|
||||
<Text>Weiche ?</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="145">
|
||||
<StlToken Text="NE_I" />
|
||||
<LineComment>
|
||||
<Text>Nein !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="147">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Rueck" />
|
||||
<Component Name="Error_Typ" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Falscher Typ</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="150">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="w042" />
|
||||
<LineComment>
|
||||
<Text>Visudaten löschen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="153">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="154">
|
||||
<StlToken Text="SET" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="155">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Rueck" />
|
||||
<Component Name="Ok" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Visudaten sind ok</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="158">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="159">
|
||||
<StlToken Text="JU" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="en04" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="161">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="162">
|
||||
<LineComment>
|
||||
<Text>Keine Visudaten gewollt:</Text>
|
||||
</LineComment>
|
||||
<StlToken Text="COMMENT" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="164">
|
||||
<LabelDeclaration>
|
||||
<Label Name="w041" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Weiche" />
|
||||
<Component Name="Weiche" />
|
||||
<Component Name="Weichen_Nr" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Visudaten</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="168">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>0</ConstantValue>
|
||||
</Constant>
|
||||
<LineComment>
|
||||
<Text>gelöscht ?</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="171">
|
||||
<StlToken Text="EQ_I" />
|
||||
<LineComment>
|
||||
<Text>Ja !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="173">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="en04" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="175">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="176">
|
||||
<LineComment>
|
||||
<Text>Visudaten löschen:</Text>
|
||||
</LineComment>
|
||||
<StlToken Text="COMMENT" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="178">
|
||||
<LabelDeclaration>
|
||||
<Label Name="w042" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>0</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="181">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW200" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="183">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="184">
|
||||
<StlToken Text="CALL" />
|
||||
<Access Scope="Call">
|
||||
<Instruction Name="FILL" Version="1.1">
|
||||
<Token Text="," />
|
||||
<LineComment>
|
||||
<Text>Bereich mit Nullen füllen</Text>
|
||||
</LineComment>
|
||||
<TemplateValue Name="ptr_type" Type="Type">Variant</TemplateValue>
|
||||
<Parameter Name="BVAL">
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW200" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Parameter>
|
||||
<Parameter Name="RET_VAL">
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW198" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Parameter>
|
||||
<Parameter Name="BLK">
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Any</ConstantType>
|
||||
<ConstantValue>P#DB200.DBX450.0 WORD 75</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</Parameter>
|
||||
</Instruction>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="191">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="192">
|
||||
<LabelDeclaration>
|
||||
<Label Name="en04" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="Local" Type="Byte" BitOffset="80" />
|
||||
<LineComment>
|
||||
<Text>Rückmeldungen </Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="196">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="RETVAL_Weiche" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>übergeben</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="199">
|
||||
<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>Weichendaten übergeben:</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="200">
|
||||
<StlToken Text="BE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="201">
|
||||
<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 />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
<MultilingualText ID="B" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="C" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Ende</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.CompileUnit>
|
||||
<MultilingualText ID="D" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="E" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Sorter OP</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.FB>
|
||||
</Document>
|
||||
Reference in New Issue
Block a user