Files
AutomatischesLager/Programmbausteine/Sorter/Sorter_Rein.xml
T
2026-07-06 12:57:53 +02:00

1255 lines
39 KiB
XML

<?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="Synchron" Datatype="&quot;MScannerSync&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="Weiche_1_rein" Datatype="&quot;MWeiche_Sorter&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="Weiche_2_rein" Datatype="&quot;MWeiche_Sorter&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="Weiche_3_rein" Datatype="&quot;MWeiche_Sorter&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="Reserve1050" Datatype="Array[1..150] of Int">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="B0024" Datatype="&quot;MActionSave&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="Flankenmerker" Datatype="Bool" />
</Section>
<Section Name="Temp">
<Member Name="ErrQuit" Datatype="Bool" />
<Member Name="Antrieb" Datatype="Bool" />
<Member Name="Stau" Datatype="Bool" />
<Member Name="Start_Ok" Datatype="Bool" />
<Member Name="Stopper" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Stopper öffnen</MultiLanguageText>
</Comment>
</Member>
<Member Name="B_Gerade" Datatype="Bool" />
<Member Name="Start_Ok_2" Datatype="Bool" />
<Member Name="Stop_Gerade" Datatype="Bool" />
<Member Name="Weiche" Datatype="Bool" />
</Section>
<Section Name="Constant" />
</Sections></Interface>
<MemoryLayout>Standard</MemoryLayout>
<Name>Sorter_Rein</Name>
<Namespace />
<Number>211</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="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="SF0002" />
</Symbol>
<LineComment>
<Text>Quit Laufzeit-Error</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="25">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="53">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="54">
<LineComment>
<Text>Weichen-DL:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="62">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>178</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="64">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW178" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="27">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="28">
<LineComment>
<Text>Sonderbetriebsarten Weichen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="30">
<StlToken Text="CLR" />
</StlStatement>
<StlStatement UId="31">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Weiche_1_rein" />
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="Weichentest_aktiv" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="33">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Weiche_2_rein" />
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="Weichentest_aktiv" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="35">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Weiche_3_rein" />
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="Weichentest_aktiv" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="24">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="42">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Synchron" />
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_Aktiv" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="44">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Weiche_1_rein" />
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_aktiv" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="46">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Weiche_2_rein" />
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_aktiv" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="48">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Weiche_3_rein" />
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_aktiv" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="37">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="55">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="56">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Weiche_NewData" />
</Symbol>
<LineComment>
<Text>Im Weichenbereich nach neuen Daten suchen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="38">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="59">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="DQ0005" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="40">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MA0006" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="50">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="52">
<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>Systemzeug</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="60">
<LineComment>
<Text>Mindestabstand zwischen 2 Trolleys = 10 Inks:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="62">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="63">
<LineComment>
<Text>Parameter-Übergabe</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="65">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>168</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="67">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B0024" />
<Component Name="Para" />
<Component Name="FIFO_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="69">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>250</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="71">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B0024" />
<Component Name="Para" />
<Component Name="FIFO_DW" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="73">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>210</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="75">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B0024" />
<Component Name="Para" />
<Component Name="Ink_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="77">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>6</ConstantValue>
</Constant>
<LineComment>
<Text>TrolleyAbstand nach Entprellung B_Sync</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="80">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B0024" />
<Component Name="Para" />
<Component Name="InkOff_Sync_Pkt" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="82">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="83">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Synchron" />
<Component Name="Dyn" />
<Component Name="Trolley_ausgewertet" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="85">
<StlToken Text="Fall" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Flankenmerker" />
</Symbol>
<LineComment>
<Text>Also 2.V ist vorbei!</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="88">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B0024" />
<Component Name="Save" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="90">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="91">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo BlockType="FB">
<Instance Scope="LocalVariable">
<Component Name="B0024" />
</Instance>
<Parameter Name="Save" Section="Input" Type="Bool" />
<Parameter Name="Data" Section="Output" Type="Bool" />
<Parameter Name="Action" Section="Output" Type="Bool" />
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="94">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="95">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="97">
<StlToken Text="R" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="OP-Err" />
<Component Name="Sorter" />
<Component Name="Abstand_zu_gering" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="99">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="100">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B0024" />
<Component Name="Data" />
</Symbol>
<LineComment>
<Text>Also 10 Inks noch nicht vorbei</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="103">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="BG0024" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="22">
<StlToken Text="CLR" />
</StlStatement>
<StlStatement UId="105">
<StlToken Text="S" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="OP-Err" />
<Component Name="Sorter" />
<Component Name="Abstand_zu_gering" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="107">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="108">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="OP-Err" />
<Component Name="Sorter" />
<Component Name="Abstand_zu_gering" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="110">
<StlToken Text="S" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Mot" />
<Component Name="M0006" />
<Component Name="Stat" />
<Component Name="Stop_vor" />
</Symbol>
<LineComment>
<Text>Antrieb stoppen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="113">
<StlToken Text="R" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="BG0024" />
</Symbol>
<LineComment>
<Text>Damit keine neue Synchronisation</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="116">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="117">
<LineComment>
<Text>Teachen: Ref-Sensor über Sync-Sensor</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="119">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="BG0024" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="121">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Synchron" />
<Component Name="Dyn" />
<Component Name="Refpunkt_ok" />
</Symbol>
<LineComment>
<Text>Nur eimalige Auswertung</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="124">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Synchron" />
<Component Name="B_RefPunkt" />
</Symbol>
<LineComment>
<Text>Übergabe für unten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="127">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="128">
<LineComment>
<Text>Ohne PC fahren ?:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="130">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="DLWeichen" />
<Component Name="Synchron_Rein" />
<Component Name="Default_Ziel" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="132">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="133">
<StlToken Text="AN" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Systembereich_Sorter" />
<Component Name="Ohne_PC" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="23">
<StlToken Text="CLR" />
</StlStatement>
<StlStatement UId="135">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="X100" />
</Access>
</StlStatement>
<StlStatement UId="137">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="138">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="Ohne_PC_Bewegung" BlockType="FC" />
</Access>
</StlStatement>
<StlStatement UId="141">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="142">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Ziel angegeben ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="145">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW220" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="147">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="149">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="X101" />
</Access>
</StlStatement>
<StlStatement UId="151">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="152">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="154">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="QM0020" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="156">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="X101" />
</Access>
</StlStatement>
<StlStatement UId="158">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="159">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>2</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="161">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="QM0021" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="163">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="X101" />
</Access>
</StlStatement>
<StlStatement UId="165">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="166">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="168">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="QM0022" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="170">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="X101" />
</Access>
</StlStatement>
<StlStatement UId="179">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="180">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Systembereich_Sorter" />
<Component Name="Ziel_Ohne_PC" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="182">
<LabelDeclaration>
<Label Name="X101" />
</LabelDeclaration>
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Systembereich_Sorter" />
<Component Name="Ziel_Ohne_PC" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="185">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="186">
<LabelDeclaration>
<Label Name="X100" />
</LabelDeclaration>
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Synchron" />
<Component Name="SyncPkt" />
<Component Name="Default_Ziel" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="189">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="190">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo BlockType="FB">
<Instance Scope="LocalVariable">
<Component Name="Synchron" />
</Instance>
<Parameter Name="Sync_Nr" Section="Input" Type="Int">
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>7001</ConstantValue>
</Constant>
</Access>
</Parameter>
<Parameter Name="ErrQuit" Section="Input" Type="Bool">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="B_Trolley_da" Section="Input" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="BG0024" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="B_RefPunkt" Section="Input" Type="Bool" />
<Parameter Name="B_TeachPunk" Section="Input" Type="Bool" />
<Parameter Name="Antrieb_aktiv" Section="Input" Type="Bool">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="ScannerTriggern" Section="Output" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="QM0024" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Error" Section="Output" Type="Word">
<Access Scope="Address">
<Address Area="DB" Type="Word" BlockNumber="8" BitOffset="112" />
</Access>
</Parameter>
<Parameter Name="Antrieb_stoppen" Section="InOut" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Mot" />
<Component Name="M0006" />
<Component Name="Stat" />
<Component Name="Stop_vor" />
</Symbol>
</Access>
</Parameter>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="206">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="207">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Synchron" />
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Inkrementalgeber" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="209">
<StlToken Text="S" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Mot" />
<Component Name="M0006" />
<Component Name="Stat" />
<Component Name="Stop_vor" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="211">
<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>BT/MT synchronisieren, scannen</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="22">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo BlockType="FB">
<Instance Scope="LocalVariable">
<Component Name="Weiche_1_rein" />
</Instance>
<Parameter Name="Weichen_Nr" Section="Input" Type="Int">
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
</Access>
</Parameter>
<Parameter Name="KorrekturFaktor" Section="Input" Type="Real" />
<Parameter Name="ErrQuit" Section="Input" Type="Bool">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Stau_Ausfahrtbereich" Section="Input" Type="Bool" />
<Parameter Name="B_Gerade" Section="Input" Type="Bool" />
<Parameter Name="B_Ausfahrt" Section="Input" Type="Bool" />
<Parameter Name="Antrieb_aktiv" Section="Input" Type="Bool">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Y_Weiche_abzweigen" Section="Output" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Zyl" />
<Component Name="L1_Rein" />
<Component Name="Stat" />
<Component Name="Ast" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Y_Weiche_geradeaus" Section="Output" Type="Bool" />
<Parameter Name="Error" Section="Output" Type="Word">
<Access Scope="Address">
<Address Area="DB" Type="Word" BlockNumber="8" BitOffset="128" />
</Access>
</Parameter>
<Parameter Name="Antrieb_start" Section="InOut" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Mot" />
<Component Name="M0006" />
<Component Name="Stat" />
<Component Name="A_start" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Antrieb_stoppen" Section="InOut" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Mot" />
<Component Name="M0006" />
<Component Name="Stat" />
<Component Name="Stop_vor" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="hStOk" Section="InOut" Type="Bool" />
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="223">
<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>Rein-Weiche 1</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="224">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo BlockType="FB">
<Instance Scope="LocalVariable">
<Component Name="Weiche_2_rein" />
</Instance>
<Parameter Name="Weichen_Nr" Section="Input" Type="Int">
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>2</ConstantValue>
</Constant>
</Access>
</Parameter>
<Parameter Name="KorrekturFaktor" Section="Input" Type="Real" />
<Parameter Name="ErrQuit" Section="Input" Type="Bool">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Stau_Ausfahrtbereich" Section="Input" Type="Bool" />
<Parameter Name="B_Gerade" Section="Input" Type="Bool" />
<Parameter Name="B_Ausfahrt" Section="Input" Type="Bool" />
<Parameter Name="Antrieb_aktiv" Section="Input" Type="Bool">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Y_Weiche_abzweigen" Section="Output" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Zyl" />
<Component Name="L2_Rein" />
<Component Name="Stat" />
<Component Name="Ast" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Y_Weiche_geradeaus" Section="Output" Type="Bool" />
<Parameter Name="Error" Section="Output" Type="Word">
<Access Scope="Address">
<Address Area="DB" Type="Word" BlockNumber="8" BitOffset="144" />
</Access>
</Parameter>
<Parameter Name="Antrieb_start" Section="InOut" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Mot" />
<Component Name="M0006" />
<Component Name="Stat" />
<Component Name="A_start" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Antrieb_stoppen" Section="InOut" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Mot" />
<Component Name="M0006" />
<Component Name="Stat" />
<Component Name="Stop_vor" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="hStOk" Section="InOut" Type="Bool" />
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="235">
<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>Rein-Weiche 2</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="236">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo BlockType="FB">
<Instance Scope="LocalVariable">
<Component Name="Weiche_3_rein" />
</Instance>
<Parameter Name="Weichen_Nr" Section="Input" Type="Int">
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
</Access>
</Parameter>
<Parameter Name="KorrekturFaktor" Section="Input" Type="Real" />
<Parameter Name="ErrQuit" Section="Input" Type="Bool">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Stau_Ausfahrtbereich" Section="Input" Type="Bool" />
<Parameter Name="B_Gerade" Section="Input" Type="Bool" />
<Parameter Name="B_Ausfahrt" Section="Input" Type="Bool" />
<Parameter Name="Antrieb_aktiv" Section="Input" Type="Bool">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Y_Weiche_abzweigen" Section="Output" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Zyl" />
<Component Name="L3_Rein" />
<Component Name="Stat" />
<Component Name="Ast" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Y_Weiche_geradeaus" Section="Output" Type="Bool" />
<Parameter Name="Error" Section="Output" Type="Word">
<Access Scope="Address">
<Address Area="DB" Type="Word" BlockNumber="8" BitOffset="160" />
</Access>
</Parameter>
<Parameter Name="Antrieb_start" Section="InOut" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Mot" />
<Component Name="M0006" />
<Component Name="Stat" />
<Component Name="A_start" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="Antrieb_stoppen" Section="InOut" Type="Bool">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Mot" />
<Component Name="M0006" />
<Component Name="Stat" />
<Component Name="Stop_vor" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="hStOk" Section="InOut" Type="Bool" />
</CallInfo>
</Access>
</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 />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="1A" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="1B" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Rein-Weiche 3</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="271">
<StlToken Text="BE" />
</StlStatement>
<StlStatement UId="272">
<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>Ende</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<MultilingualText ID="21" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="22" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Sorter ein-/ausfahren</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.FB>
</Document>