<?xml version="1.0" encoding="utf-8"?>
<Document>
  <Engineering version="V20" />
  <SW.Blocks.FC ID="0">
    <AttributeList>
      <AutoNumber>false</AutoNumber>
      <HeaderAuthor>AE</HeaderAuthor>
      <Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
  <Section Name="Input" />
  <Section Name="Output" />
  <Section Name="InOut" />
  <Section Name="Temp">
    <Member Name="Ziel_hex" Datatype="Word" />
    <Member Name="Ziel_int" Datatype="Int" />
    <Member Name="Zielebene" Datatype="Word" />
    <Member Name="Error" Datatype="Byte" />
    <Member Name="Position" Datatype="Int" />
    <Member Name="Lager_DB" Datatype="Int" />
    <Member Name="Lager_DW" Datatype="Int" />
    <Member Name="AR1Zeiger" Datatype="DWord">
      <Comment>
        <MultiLanguageText Lang="de-DE">Statt AR1 (ging nur bis DB-Länge &lt;= 8191 Bytes)</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="AR1Start" Datatype="DInt">
      <Comment>
        <MultiLanguageText Lang="de-DE">Startwert mit Offset 0</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="SSDW" Datatype="Int" />
    <Member Name="EndZiel" Datatype="Word" />
    <Member Name="Variante" Datatype="Int" />
    <Member Name="AbrufID" Datatype="DInt" />
    <Member Name="Fahrlisten_TrolleyID" Datatype="DInt" />
    <Member Name="Fahrlisten_AbrufID" Datatype="DInt" />
    <Member Name="Fahrlisten_Lager" Datatype="Int" />
    <Member Name="Trolley_unbekannt" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Trolley ist nicht in DL</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Express_Abruf" Datatype="Bool" />
    <Member Name="Error.Bit" Datatype="Bool" />
  </Section>
  <Section Name="Constant" />
  <Section Name="Return">
    <Member Name="Ret_Val" Datatype="Void" />
  </Section>
</Sections></Interface>
      <MemoryLayout>Standard</MemoryLayout>
      <Name>EP_Ziel_FC</Name>
      <Namespace />
      <Number>3181</Number>
      <ParameterPassing>true</ParameterPassing>
      <ProgrammingLanguage>STL</ProgrammingLanguage>
    </AttributeList>
    <ObjectList>
      <MultilingualText ID="1" CompositionName="Comment">
        <ObjectList>
          <MultilingualTextItem ID="2" CompositionName="Items">
            <AttributeList>
              <Culture>cs-CZ</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="3" CompositionName="Items">
            <AttributeList>
              <Culture>de-DE</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="4" CompositionName="Items">
            <AttributeList>
              <Culture>en-US</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
      <SW.Blocks.CompileUnit ID="5" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="22">
    <StlToken Text="SET" />
    <LineComment>
      <Text>Rückmeldungen erst mal resetten</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="R" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M180.6" />
      </Symbol>
      <LineComment>
        <Text>Weiterfahrt von Ziel-FC erlaubt </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="6" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="7" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="8" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="9" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="A" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="B" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="C" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Rückmeldung</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="D" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="E" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="24">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW190" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>4503</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Aufruf von Schleuse 4503 ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="29">
    <StlToken Text="NE_I" />
    <LineComment>
      <Text>Nein!</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="X4503E" />
    </Access>
  </StlStatement>
  <StlStatement UId="75">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="79">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="EP_TravelFIFO" />
        <Component Name="Travel_FIFO_BG4527" />
        <Component Name="FIFO" />
        <Component Name="ANZAHL" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="88">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Daten noch im Travel-FIFO?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="91">
    <StlToken Text="NE_I" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="84">
    <StlToken Text="O" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MB4503" />
      </Symbol>
      <LineComment>
        <Text>Trolley fährt schon</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="210">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="166">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="234">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="SGes" />
        <Component Name="Ohne_PC_Fahren" />
      </Symbol>
      <LineComment>
        <Text>Also Ziel simulieren</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="235">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Sim" />
    </Access>
  </StlStatement>
  <StlStatement UId="85">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="86">
    <LineComment>
      <Text>Telegramm schon gesendet?</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="160">
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="Schleuse_4503" />
        <Component Name="Status2" />
        <Component Name="Telegramm_gesendet" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="162">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="T4503" />
    </Access>
  </StlStatement>
  <StlStatement UId="34">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="32">
    <LabelDeclaration>
      <Label Name="SimOk" />
    </LabelDeclaration>
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo Name="BCD (4stellig)_to_INT" BlockType="FC">
        <Parameter Name="BCD_Wert" Section="Input" Type="Word">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MW194" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Int_Wert" Section="Output" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Ziel_int" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="41">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="42">
    <LineComment>
      <Text>Ziel-Überprüfung auf voll:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="60">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Ziel_int" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="43">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>1</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="61">
    <StlToken Text="EQ_I" />
  </StlStatement>
  <StlStatement UId="62">
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP1" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="44">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="ZielOk" />
    </Access>
  </StlStatement>
  <StlStatement UId="45">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="46">
    <StlToken Text="CAC" />
  </StlStatement>
  <StlStatement UId="74">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>2</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="77">
    <StlToken Text="EQ_I" />
  </StlStatement>
  <StlStatement UId="78">
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP2" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="82">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="ZielOk" />
    </Access>
  </StlStatement>
  <StlStatement UId="47">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="237">
    <StlToken Text="CAC" />
  </StlStatement>
  <StlStatement UId="238">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="240">
    <StlToken Text="EQ_I" />
  </StlStatement>
  <StlStatement UId="241">
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP3" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="243">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="ZielOk" />
    </Access>
  </StlStatement>
  <StlStatement UId="48">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="246">
    <StlToken Text="CAC" />
  </StlStatement>
  <StlStatement UId="247">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>4</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="249">
    <StlToken Text="EQ_I" />
  </StlStatement>
  <StlStatement UId="250">
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP4" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="252">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="ZielOk" />
    </Access>
  </StlStatement>
  <StlStatement UId="157">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="286">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="10s-Impuls" />
      </Symbol>
      <LineComment>
        <Text>Nach 10s</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="295">
    <StlToken Text="R" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="Schleuse_4503" />
        <Component Name="Status2" />
        <Component Name="Telegramm_gesendet" />
      </Symbol>
      <LineComment>
        <Text>Erneute Anfrage</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="255">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="50">
    <StlToken Text="BEU" />
    <LineComment>
      <Text>Warten, da Ziel unklar oder voll</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="87">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="165">
    <LabelDeclaration>
      <Label Name="ZielOk" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Ziel_int" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="137">
    <StlToken Text="ADD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>200</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="168">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sorter" />
        <Component Name="Sorter_MB4503" />
        <Component Name="Separator" />
        <Component Name="Default_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="170">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sorter" />
        <Component Name="Sorter_MB4503" />
        <Component Name="Dyn" />
        <Component Name="Scanner" />
        <Component Name="Rec_DEST_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="172">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="173">
    <LineComment>
      <Text>Scanner-IDX übergeben:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="175">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="Schleuse_4503" />
        <Component Name="Dyn" />
        <Component Name="TrolleyID_Schleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="38">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sorter" />
        <Component Name="Sorter_MB4503" />
        <Component Name="Dyn" />
        <Component Name="Scanner" />
        <Component Name="Rec_IDX" />
      </Symbol>
      <LineComment>
        <Text>IDX</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="190">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="191">
    <StlToken Text="CLR" />
    <LineComment>
      <Text>Wird über MSorterRein (FB1423/5) gestartet!</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="193">
    <StlToken Text="S" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M180.6" />
      </Symbol>
      <LineComment>
        <Text>Weiterfahrt ist erlaubt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="196">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="204">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="130">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="143">
    <LineComment>
      <Text>GOHDReqM an Host senden:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="37">
    <LabelDeclaration>
      <Label Name="T4503" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="Schleuse_4503" />
        <Component Name="Dyn" />
        <Component Name="TrolleyID_Schleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="254">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Barcode bekannt?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="288">
    <StlToken Text="EQ_D" />
    <LineComment>
      <Text>Nein!</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="290">
    <StlToken Text="BEC" />
    <LineComment>
      <Text>Warten!</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="248">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="267">
    <LineComment>
      <Text>Pufferstatus (Stau) ermitteln:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="269">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP1" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="271">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Daten_für_SendFIFO" />
        <Component Name="Status_2_Bit[0]" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="273">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP2" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="275">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Daten_für_SendFIFO" />
        <Component Name="Status_2_Bit[1]" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="277">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP3" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="279">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Daten_für_SendFIFO" />
        <Component Name="Status_2_Bit[2]" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="281">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP4" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="283">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Daten_für_SendFIFO" />
        <Component Name="Status_2_Bit[3]" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="265">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="152">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo Name="Daten_in_SendFIFO_speichern" BlockType="FB">
        <Instance Scope="GlobalVariable">
          <Component Name="Daten_für_SendFIFO" />
        </Instance>
        <Parameter Name="TelegrammKennung[1]" Section="Input" Type="Char">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Char</ConstantType>
              <ConstantValue>'G'</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="TelegrammKennung[2]" Section="Input" Type="Char">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Char</ConstantType>
              <ConstantValue>'O'</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="TelegrammKennung[3]" Section="Input" Type="Char">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Char</ConstantType>
              <ConstantValue>'H'</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="TelegrammKennung[4]" Section="Input" Type="Char">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Char</ConstantType>
              <ConstantValue>'D'</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="TelegrammKennung[5]" Section="Input" Type="Char">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Char</ConstantType>
              <ConstantValue>'R'</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="TelegrammKennung[6]" Section="Input" Type="Char">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Char</ConstantType>
              <ConstantValue>'e'</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="TelegrammKennung[7]" Section="Input" Type="Char">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Char</ConstantType>
              <ConstantValue>'q'</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="TelegrammKennung[8]" Section="Input" Type="Char">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Char</ConstantType>
              <ConstantValue>'M'</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="TelegrammKennung[9]" Section="Input" Type="Char" />
        <Parameter Name="TelegrammKennung[10]" Section="Input" Type="Char" />
        <Parameter Name="TrolleyID" Section="Input" Type="DInt">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="DEP_OmniFahren" />
              <Component Name="Schleuse_4503" />
              <Component Name="Dyn" />
              <Component Name="TrolleyID_Schleuse" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="StationsNr" Section="Input" Type="Int">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Int</ConstantType>
              <ConstantValue>4503</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="Puffer_LinienNr" Section="Input" Type="Int" />
        <Parameter Name="StoreGroup" Section="Input" Type="DInt" />
        <Parameter Name="Status_1_Int" Section="Input" Type="Int" />
        <Parameter Name="Status_2_Bit[0]" Section="Input" Type="Bool" />
        <Parameter Name="Status_2_Bit[1]" Section="Input" Type="Bool" />
        <Parameter Name="Status_2_Bit[2]" Section="Input" Type="Bool" />
        <Parameter Name="Status_2_Bit[3]" Section="Input" Type="Bool" />
        <Parameter Name="Status_2_Bit[4]" Section="Input" Type="Bool" />
        <Parameter Name="Status_2_Bit[5]" Section="Input" Type="Bool" />
        <Parameter Name="Status_2_Bit[6]" Section="Input" Type="Bool" />
        <Parameter Name="Status_2_Bit[7]" Section="Input" Type="Bool" />
        <Parameter Name="Reserve[1]_Int" Section="Input" Type="Int" />
        <Parameter Name="Reserve[2]_Int" Section="Input" Type="Int" />
        <Parameter Name="Port" Section="Input" Type="Int">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Int</ConstantType>
              <ConstantValue>2</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="Ret_Val_FIFO_IN" Section="Output" Type="Byte">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MB199" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Error" Section="Output" Type="Bool">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Error.Bit" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="227">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="228">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Error.Bit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="230">
    <StlToken Text="S" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="Schleuse_4503" />
        <Component Name="Status2" />
        <Component Name="Telegramm_gesendet" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="232">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="233">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="59">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="64">
    <LineComment>
      <Text>/Zum Testen bei Inbetriebnahme ohne PC:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="66">
    <LabelDeclaration>
      <Label Name="Sim" />
    </LabelDeclaration>
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP1" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="70">
    <StlToken Text="S" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_1_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="72">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Word</ConstantType>
        <ConstantValue>16#1</ConstantValue>
      </Constant>
      <LineComment>
        <Text>/Tests mit Puffer 1</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="94">
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_1_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="96">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="StartSim" />
    </Access>
  </StlStatement>
  <StlStatement UId="98">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="99">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP2" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="101">
    <StlToken Text="S" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_2_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="103">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Word</ConstantType>
        <ConstantValue>16#2</ConstantValue>
      </Constant>
      <LineComment>
        <Text>/Tests mit Puffer 2</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="106">
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_2_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="108">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="StartSim" />
    </Access>
  </StlStatement>
  <StlStatement UId="110">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="111">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP3" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="113">
    <StlToken Text="S" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_3_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="115">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Word</ConstantType>
        <ConstantValue>16#3</ConstantValue>
      </Constant>
      <LineComment>
        <Text>/Tests mit Puffer 3</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="118">
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_3_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="120">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="StartSim" />
    </Access>
  </StlStatement>
  <StlStatement UId="122">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="123">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_Sensoren" />
        <Component Name="Stau_EP4" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="125">
    <StlToken Text="S" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_4_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="127">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Word</ConstantType>
        <ConstantValue>16#4</ConstantValue>
      </Constant>
      <LineComment>
        <Text>/Tests mit Puffer 4</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="131">
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_4_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="133">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="StartSim" />
    </Access>
  </StlStatement>
  <StlStatement UId="135">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="136">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="139">
    <StlToken Text="R" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_1_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="141">
    <StlToken Text="R" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_2_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="144">
    <StlToken Text="R" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_3_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="146">
    <StlToken Text="R" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DEP_OmniFahren" />
        <Component Name="EP_4_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="148">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="149">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="150">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="153">
    <LabelDeclaration>
      <Label Name="StartSim" />
    </LabelDeclaration>
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW194" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="164">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="239">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="SimOk" />
    </Access>
  </StlStatement>
  <StlStatement UId="205">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="206">
    <LabelDeclaration>
      <Label Name="X4503E" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="208">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="F" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="10" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="11" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="12" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="13" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="14" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="15" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Schleuse 4503: Weiterfahren erlaubt ? (Sorter EP)</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="16" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="17" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="974">
    <StlToken Text="BE" />
  </StlStatement>
  <StlStatement UId="975">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="18" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="19" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="1A" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="1B" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="1C" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="1D" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="1E" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Ende</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="1F" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <MultilingualText ID="20" CompositionName="Title">
        <ObjectList>
          <MultilingualTextItem ID="21" CompositionName="Items">
            <AttributeList>
              <Culture>cs-CZ</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="22" CompositionName="Items">
            <AttributeList>
              <Culture>de-DE</Culture>
              <Text>Ziel-FC: EntnahmePuffer_OmniFahren</Text>
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="23" CompositionName="Items">
            <AttributeList>
              <Culture>en-US</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.FC>
</Document>