<?xml version="1.0" encoding="utf-8"?>
<Document>
  <Engineering version="V20" />
  <SW.Blocks.FB ID="0">
    <AttributeList>
      <AutoNumber>false</AutoNumber>
      <HeaderAuthor>IBAE</HeaderAuthor>
      <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="Ausfahren_Ok" Datatype="&quot;MAusfahrFreigabe_neu&quot;">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="Impuls_MB3321" Datatype="&quot;MImpulsGeber&quot;">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="Auslagern" Datatype="Struct">
      <Member Name="Auslager_Puffer" Datatype="Int">
        <AttributeList>
          <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
        </AttributeList>
      </Member>
      <Member Name="Trolley_markiert" Datatype="Bool" />
    </Member>
  </Section>
  <Section Name="Temp">
    <Member Name="ErrQuit" Datatype="Bool" />
    <Member Name="Antrieb" Datatype="Bool" />
    <Member Name="Impuls" Datatype="Bool" />
    <Member Name="Error" Datatype="Bool" />
    <Member Name="Trolley_starten_ok" Datatype="Bool" />
    <Member Name="Puffer_DB" Datatype="Int" />
    <Member Name="Puffer_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>
  </Section>
  <Section Name="Constant" />
</Sections></Interface>
      <MemoryLayout>Standard</MemoryLayout>
      <Name>LP_Auslagern</Name>
      <Namespace />
      <Number>5429</Number>
      <ProgrammingLanguage>STL</ProgrammingLanguage>
    </AttributeList>
    <ObjectList>
      <MultilingualText ID="1" CompositionName="Comment">
        <ObjectList>
          <MultilingualTextItem ID="2" CompositionName="Items">
            <AttributeList>
              <Culture>cs-CZ</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="3" CompositionName="Items">
            <AttributeList>
              <Culture>de-DE</Culture>
              <Text />
            </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="38">
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLP_Sensoren" />
        <Component Name="Stau_BG3327" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
      <LineComment>
        <Text>Stau in Steigung</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="ON" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLP_Sensoren" />
        <Component Name="Stau_BG3322" />
        <Component Name="Stat" />
        <Component Name="B_Akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="O" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MB3342" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Trolley_starten_ok" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="25">
    <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>Trolley aus Leerpuffer starten ok?</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="23">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Auslagern" />
        <Component Name="Auslager_Puffer" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Bekannt ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="NE_I" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Ausgelagert" />
    </Access>
  </StlStatement>
  <StlStatement UId="110">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="115">
    <LineComment>
      <Text>Puffer hat Inilauf und Trolley vorhanden -&gt; Dieser Puffer fährst selbst aus</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="116">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_01" />
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Leerpuffer_initialisieren" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="120">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_01" />
        <Component Name="B_InSchleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="121">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="153">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_02" />
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Leerpuffer_initialisieren" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="155">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_02" />
        <Component Name="B_InSchleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="157">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="159">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_03" />
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Leerpuffer_initialisieren" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="161">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_03" />
        <Component Name="B_InSchleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="163">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="165">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_04" />
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Leerpuffer_initialisieren" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="167">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_04" />
        <Component Name="B_InSchleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="169">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="171">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_05" />
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Leerpuffer_initialisieren" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="173">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_05" />
        <Component Name="B_InSchleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="175">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="177">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_06" />
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Leerpuffer_initialisieren" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="179">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_06" />
        <Component Name="B_InSchleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="181">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="183">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_07" />
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Leerpuffer_initialisieren" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="185">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_07" />
        <Component Name="B_InSchleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="187">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="189">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_08" />
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Leerpuffer_initialisieren" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="191">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_08" />
        <Component Name="B_InSchleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="193">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="195">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_09" />
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Leerpuffer_initialisieren" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="197">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_09" />
        <Component Name="B_InSchleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="199">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="201">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_10" />
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Leerpuffer_initialisieren" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="203">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLeerPufferStrecken" />
        <Component Name="LeerPuffer_10" />
        <Component Name="B_InSchleuse" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="205">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En01" />
    </Access>
  </StlStatement>
  <StlStatement UId="37">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="38">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo Name="Leerpuffer to Raus-Lager ermitteln" BlockType="FC">
        <Parameter Name="Puffer" Section="Output" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Auslagern" />
              <Component Name="Auslager_Puffer" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="42">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="36">
    <LabelDeclaration>
      <Label Name="Ausgelagert" />
    </LabelDeclaration>
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo Name="PufferZeiger_ermitteln" BlockType="FC">
        <Parameter Name="Puffer_X" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Auslagern" />
              <Component Name="Auslager_Puffer" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Puffer_DB" Section="Output" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Puffer_DB" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Puffer_DW" Section="Output" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Puffer_DW" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Error" Section="Output" Type="Bool">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Error" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="59">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="60">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Error" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="79">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Auslagern" />
        <Component Name="Trolley_markiert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="63">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En01" />
    </Access>
  </StlStatement>
  <StlStatement UId="54">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="83">
    <LineComment>
      <Text>Zeiger "Einen Leer-Trolley ausfahren" (71.4) ermitteln:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="98">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Puffer_DW" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="100">
    <StlToken Text="ITD" />
  </StlStatement>
  <StlStatement UId="101">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="AR1Start" />
      </Symbol>
      <LineComment>
        <Text>Startwert mit Offset 0</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="104">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="109">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="AR1Start" />
      </Symbol>
      <LineComment>
        <Text>Startwert mit Offset 0</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="114">
    <StlToken Text="ADD" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#71</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Offset für Status (2.Byte)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="117">
    <StlToken Text="SLD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="119">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>4</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Damit DBX_Bit 71.4</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="122">
    <StlToken Text="OD" />
  </StlStatement>
  <StlStatement UId="123">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="AR1Zeiger" />
      </Symbol>
      <LineComment>
        <Text>Statt Dyn.Bereichsstop (ging nur bis DB-Länge &lt;= 8191 Bytes)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="81">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="82">
    <LineComment>
      <Text>Trolley zum Ausfahren schon markiert ?:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="92">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Auslagern" />
        <Component Name="Trolley_markiert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="89">
    <StlToken Text="JCN" />
    <Access Scope="Label">
      <Label Name="Markieren" />
      <LineComment>
        <Text>Negierter Sprung</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="126">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="105">
    <StlToken Text="OPEN_DB" />
    <Access Scope="Address">
      <Indirect Width="Block" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="Puffer_DB" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>Puffer-DB öffnen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="140">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="141">
    <StlToken Text="A" />
    <Access Scope="Address">
      <Indirect Width="Bit" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="AR1Zeiger" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>Einen Trolley starten (71.4)/ Trolley noch nicht gestartet!</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="84">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En01" />
    </Access>
  </StlStatement>
  <StlStatement UId="25">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="128">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Auslagern" />
        <Component Name="Trolley_markiert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="85">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Nächsten Ausfahr-Puffer ermitteln</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="131">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Auslagern" />
        <Component Name="Auslager_Puffer" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="86">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="87">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="En01" />
    </Access>
  </StlStatement>
  <StlStatement UId="66">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="67">
    <LineComment>
      <Text>Platz vor Sack-Beladung frei?:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="68">
    <LabelDeclaration>
      <Label Name="Markieren" />
    </LabelDeclaration>
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Trolley_starten_ok" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="75">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En01" />
    </Access>
  </StlStatement>
  <StlStatement UId="53">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="44">
    <LineComment>
      <Text>Trolley im Puffer zum Auslagern markieren:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="135">
    <StlToken Text="OPEN_DB" />
    <Access Scope="Address">
      <Indirect Width="Block" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="Puffer_DB" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>Puffer-DB öffnen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="139">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="148">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="142">
    <StlToken Text="S" />
    <Access Scope="Address">
      <Indirect Width="Bit" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="AR1Zeiger" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>Einen Trolley starten (70.2)/ Trolley noch nicht gestartet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="61">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Auslagern" />
        <Component Name="Trolley_markiert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="28">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="21">
    <LabelDeclaration>
      <Label Name="En01" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="22">
    <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>Trolleys aus Leerpuffer zur Sack-Beladung fahren</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="24">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DOutbound_Bereich" />
        <Component Name="A01_UZ0703" />
        <Component Name="StOk_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="O" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DOutbound_Bereich" />
        <Component Name="A01_UH07" />
        <Component Name="StOk_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="28">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ErrQuit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo BlockType="FB">
        <Instance Scope="LocalVariable">
          <Component Name="Impuls_MB3321" />
        </Instance>
        <Parameter Name="Ink_DB" Section="Input" Type="Int" />
        <Parameter Name="B_Zaehlen" Section="Input" Type="Bool">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="BG3321" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Antrieb_aktiv" Section="Input" Type="Bool">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MA0065" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Quit" Section="Input" Type="Bool">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="ErrQuit" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Zeit_Signal_zu_lang" Section="Input" Type="Time" />
        <Parameter Name="Zeit_Kein_Signal" Section="Input" Type="Time" />
        <Parameter Name="Signal" Section="Output" Type="Bool">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Impuls" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Err_Kein_Signal" Section="InOut" Type="Bool">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="7_HMI_Err_UH07_OB" />
              <Component Name="Auslagerbereich_LeerPuffer" />
              <Component Name="BG3321_Kein_Signal" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Err_Signal_zu_lang" Section="InOut" Type="Bool">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="7_HMI_Err_UH07_OB" />
              <Component Name="Auslagerbereich_LeerPuffer" />
              <Component Name="BG3321_Signal_zu_lang" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="49">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="50">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="51">
    <StlToken Text="O" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="7_HMI_Err_UH07_OB" />
        <Component Name="Auslagerbereich_LeerPuffer" />
        <Component Name="BG3321_Kein_Signal" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="53">
    <StlToken Text="O" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="7_HMI_Err_UH07_OB" />
        <Component Name="Auslagerbereich_LeerPuffer" />
        <Component Name="BG3321_Signal_zu_lang" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="55">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="56">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ErrQuit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="S" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DLPtoHW_Antriebe" />
        <Component Name="MA0065" />
        <Component Name="Stat" />
        <Component Name="Stop_vor" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="60">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="61">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="62">
    <StlToken Text="O" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="7_HMI_Err_UH07_OB" />
        <Component Name="Auslagerbereich_LeerPuffer" />
        <Component Name="BG3321_Kein_Signal" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="64">
    <StlToken Text="O" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="7_HMI_Err_UH07_OB" />
        <Component Name="Auslagerbereich_LeerPuffer" />
        <Component Name="BG3321_Signal_zu_lang" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="66">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="67">
    <StlToken Text="S" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DOutbound_Bereich" />
        <Component Name="A01_UZ0703" />
        <Component Name="StOk_blinken" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="69">
    <StlToken Text="S" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="DOutbound_Bereich" />
        <Component Name="A01_UH07" />
        <Component Name="StOk_blinken" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="71">
    <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>Inkremente B über Zahnrad-Sensor</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="1F" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="20" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="21">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo BlockType="FB">
        <Instance Scope="LocalVariable">
          <Component Name="Ausfahren_Ok" />
        </Instance>
        <Parameter Name="Impuls" Section="Input" Type="Bool">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Impuls" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Vorbei_1" Section="Input" Type="Bool" />
        <Parameter Name="Vorbei_2" Section="Input" Type="Bool" />
        <Parameter Name="Vorbei_3" Section="Input" Type="Bool" />
        <Parameter Name="Vorbei_4" Section="Input" Type="Bool" />
        <Parameter Name="Vorbei_5" Section="Input" Type="Bool" />
        <Parameter Name="Inks_Vorbei_1" Section="Input" Type="Int" />
        <Parameter Name="Inks_Vorbei_2" Section="Input" Type="Int" />
        <Parameter Name="Inks_Vorbei_3" Section="Input" Type="Int" />
        <Parameter Name="Inks_Vorbei_4" Section="Input" Type="Int" />
        <Parameter Name="Inks_Vorbei_5" Section="Input" Type="Int" />
        <Parameter Name="Antrieb_ein" Section="InOut" Type="Bool">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="DLPtoHW_Antriebe" />
              <Component Name="MA0065" />
              <Component Name="Stat" />
              <Component Name="A_start" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="114">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="21" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="22" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="23" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="24" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="25" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="26" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="27" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Ausfahr-Steuerung</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="28" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="29" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="128">
    <StlToken Text="BE" />
  </StlStatement>
  <StlStatement UId="129">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="2A" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="2B" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="2C" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="2D" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="2E" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="2F" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="30" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Ende</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="31" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <MultilingualText ID="32" CompositionName="Title">
        <ObjectList>
          <MultilingualTextItem ID="33" CompositionName="Items">
            <AttributeList>
              <Culture>cs-CZ</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="34" CompositionName="Items">
            <AttributeList>
              <Culture>de-DE</Culture>
              <Text>Auslagern aus LeerPuffer</Text>
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="35" CompositionName="Items">
            <AttributeList>
              <Culture>en-US</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.FB>
</Document>