<?xml version="1.0" encoding="utf-8"?>
<Document>
  <Engineering version="V20" />
  <SW.Blocks.FB ID="0">
    <AttributeList>
      <AutoNumber>false</AutoNumber>
      <HeaderAuthor>AE</HeaderAuthor>
      <Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
  <Section Name="Input">
    <Member Name="Weichen_Nr" Datatype="Int">
      <Comment>
        <MultiLanguageText Lang="de-DE">Aufruf für Weiche</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="KorrekturFaktor" Datatype="Real" />
    <Member Name="ErrQuit" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Ablaufstörung quittieren</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Stau_Ausfahrtbereich" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Ausfahrtsbereich hat Stau</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="B_Gerade" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Kontroll-Sensor nach Weiche Gerade</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="B_Ausfahrt" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Kontroll-Sensor nach Weiche Ausfahrt</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Antrieb_aktiv" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Kreisel-Antrieb aktiv</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Output">
    <Member Name="Y_Weiche_abzweigen" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Weiche auf Abzweig schalten</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Y_Weiche_geradeaus" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Weiche auf Gerade schalten</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Error" Datatype="Word">
      <Comment>
        <MultiLanguageText Lang="de-DE">Störungen übergeben</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="InOut">
    <Member Name="Antrieb_start" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Kreiselantrieb starten</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Antrieb_stoppen" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Kreiselantrieb stoppen</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="hStOk" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Anzeige Start n. Störung aktivieren</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Static">
    <Member Name="SAVE" Datatype="Struct">
      <Member Name="IDX_Flag" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">Hauptstrang_DL +1 durchsuchen</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Kontroll_Flag" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">Hauptstrang_DL +1 durchsuchen</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Teil_IDX_Old" Datatype="DInt">
        <Comment>
          <MultiLanguageText Lang="de-DE">BT/MT-IDX (wurde bei Auslagerung gemeldet)</MultiLanguageText>
        </Comment>
      </Member>
    </Member>
    <Member Name="Para" Datatype="Struct">
      <Comment>
        <MultiLanguageText Lang="de-DE">Parameter</MultiLanguageText>
      </Comment>
      <Member Name="Weichen_DL_DB" Datatype="Int">
        <Comment>
          <MultiLanguageText Lang="de-DE">Einsprung Weichen-Datenliste-DB</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Weichen_DL_DW" Datatype="Int">
        <Comment>
          <MultiLanguageText Lang="de-DE">Einsprung Weichen-Datenliste-DW</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Res" Datatype="Array[1..3] of Int">
        <Comment>
          <MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
        </Comment>
      </Member>
    </Member>
    <Member Name="Weiche" Datatype="&quot;UDLWeiche_Sorter&quot;">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Fahrbereichs Daten</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Dyn" Datatype="Struct">
      <Comment>
        <MultiLanguageText Lang="de-DE">Dynamische Daten fürs Einfahren</MultiLanguageText>
      </Comment>
      <Member Name="Status" Datatype="Struct">
        <Comment>
          <MultiLanguageText Lang="de-DE">Status</MultiLanguageText>
        </Comment>
        <Member Name="Schalttakte" Datatype="DInt">
          <Comment>
            <MultiLanguageText Lang="de-DE">Anzahl der getätigten Umschaltungen</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Strecke_gesperrt" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Gefällestrecke ist gesperrt</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Strecke_voll" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Gefällestrecke ist voll</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Weiche_abzweigen" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Weiche auf Abzweig schalten</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Weiche_geradeaus" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Weiche auf Gerade schalten</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="TeachModus_aktiv" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Teach-Modus ist aktiv</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Res45" Datatype="Bool" />
        <Member Name="Weichentest_aktiv" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Testschaltung für Einfahrweiche aktiviert</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Reset" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Reset Einfahrseite starten</MultiLanguageText>
          </Comment>
          <StartValue>TRUE</StartValue>
        </Member>
        <Member Name="Ziel_unbekannt" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Ziel des BT ist unbekannt</MultiLanguageText>
          </Comment>
        </Member>
      </Member>
      <Member Name="Rueckmld" Datatype="Struct">
        <Member Name="RET_VAL_BLKMOV_Weiche" Datatype="Int">
          <Comment>
            <MultiLanguageText Lang="de-DE">Rückmeldung nach BLKMOV-Aufruf</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="RET_VAL_DL_Weichen" Datatype="Byte">
          <Comment>
            <MultiLanguageText Lang="de-DE">Rückmeldung nach DatenOut-Aufruf</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="RET_VAL_Sortliste_Out" Datatype="Byte">
          <Comment>
            <MultiLanguageText Lang="de-DE">Rückmeldung nach Sortdaten-Out-Aufruf</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="RET_VAL_SendFIFO" Datatype="Byte">
          <Comment>
            <MultiLanguageText Lang="de-DE">Rückmeldung nach SendPC_FIFO-Aufruf</MultiLanguageText>
          </Comment>
        </Member>
      </Member>
      <Member Name="Error" Datatype="&quot;UErrWeiche_Sorter&quot;">
        <AttributeList>
          <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
        </AttributeList>
      </Member>
      <Member Name="Ink_Wert" Datatype="DInt">
        <Comment>
          <MultiLanguageText Lang="de-DE">Aktueller Inkrementalwert</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Max_Wert" Datatype="DInt">
        <Comment>
          <MultiLanguageText Lang="de-DE">Maximal erlaubter Zählwert</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Lauf_Flag" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">Zähl-Lauf mit Flag ist aktiv</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Flag_Lauf_fertig" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">Flag-Lauf wurde beendet</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Ohne_Lauf_fertig" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">Ohne Flag-Lauf wurde beendet</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Hauptstrang_Flag" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">Flag zum Weiche schalten (vom Hauptstrang)</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Last_Flag" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">Flag des letzten durchfahrenden Teils</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="GSTschalt_Flag" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">Flag bei Weiche auf GST schalten</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Carr" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">CARR-Telegramm muss noch gesendet werden</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Puffer_IDX" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">Trolley-ID in Puffer eintragen</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Ohne_VerklemmKontrolle" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">Verklemmkontrolle ausschalten</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="BM_raus" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">BM wurde ausgeschleußt (1 Zyklus)</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="BM_gerade" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">BM wurde gerade gefahren (1 Zyklus)</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Max_raus" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="de-DE">Max_Wert wurde schon übertragen</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Hauptstrang_Ink" Datatype="DInt">
        <Comment>
          <MultiLanguageText Lang="de-DE">Inkremente zum Weiche schalten (vom Hauptstrang)</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Hauptstrang_Sortliste" Datatype="Int">
        <Comment>
          <MultiLanguageText Lang="de-DE">Sortliste aus welcher Hauptstrangdaten sind</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Hauptstrang_Search_Ink" Datatype="DInt">
        <Comment>
          <MultiLanguageText Lang="de-DE">Inkremente zum Daten auslesen (Start-Ink)</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Hauptstrang_Pos" Datatype="Int">
        <Comment>
          <MultiLanguageText Lang="de-DE">Aktuelle Position der Daten in Datenliste</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="GSTschalt_Ink" Datatype="DInt">
        <Comment>
          <MultiLanguageText Lang="de-DE">Inkremente zum Weiche auf GST schalten</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Last_Ink" Datatype="DInt">
        <Comment>
          <MultiLanguageText Lang="de-DE">Inkremente des letzten durchfahrenden Teils</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Last_IDX" Datatype="DInt">
        <Comment>
          <MultiLanguageText Lang="de-DE">IDX des letzten durchfahrenden Teils</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="FahrKontrolle" Datatype="Struct">
        <Member Name="Ohne_VerklemmKontrolle" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Verklemmkontrolle ausschalten</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="BT_Gerade" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">BM fährt geradeaus durch Weichenbereich</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="BT_Ausfahrt" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">BM fährt aus Weichenbereich</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="BM_Gerade_erkannt" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Geradeausfahrendes BM wurde erkannt</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Gerade_Neg" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Geradeaus: Kontroll-Time ist negativ</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="BM_Ausfahrt_erkannt" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Ausfahrendes BM wurde erkannt</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Ausfahrt_Neg" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Ausfahrend: Kontroll-Time ist negativ</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Kontroll_Time_Gerade" Datatype="Int">
          <Comment>
            <MultiLanguageText Lang="de-DE">Innerhalb dieser Zeit muss BM Weiche gerade verlassen haben [100ms]</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Kontroll_Time_Ausfahrt" Datatype="Int">
          <Comment>
            <MultiLanguageText Lang="de-DE">Innerhalb dieser Zeit muss BM Weiche ausgefahren haben [100ms]</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Time_Ausfahrt" Datatype="Int">
          <Comment>
            <MultiLanguageText Lang="de-DE">Diese Zeit benötigt BM zum Ausfahren [100ms]</MultiLanguageText>
          </Comment>
        </Member>
      </Member>
      <Member Name="Res128" Datatype="Array[1..1] of Int">
        <Comment>
          <MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
        </Comment>
      </Member>
    </Member>
    <Member Name="Daten" Datatype="&quot;UBT_Daten&quot;">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="Kontroll_IDX" Datatype="DInt">
      <Comment>
        <MultiLanguageText Lang="de-DE">IDX des zu kontollierenden Teils</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Res200" Datatype="Array[1..23] of Int">
      <Comment>
        <MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Temp">
    <Member Name="Quelle" Datatype="Any">
      <Comment>
        <MultiLanguageText Lang="de-DE">Zeiger, wo Rein-Daten sind</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Ziel" Datatype="Any">
      <Comment>
        <MultiLanguageText Lang="de-DE">Zeiger, FIFO-Stelle</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Del" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Nur Sortdaten löschen</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Error_SendFIFO" Datatype="Bool" />
    <Member Name="FC86_Para" Datatype="Word">
      <Comment>
        <MultiLanguageText Lang="de-DE">Parameter-Übergabe</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Hauptstrang_Ink" Datatype="DInt">
      <Comment>
        <MultiLanguageText Lang="de-DE">Inkremente zum Weiche schalten (vom Hauptstrang)</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Parameter" Datatype="Word">
      <Comment>
        <MultiLanguageText Lang="de-DE">Parameter</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Freigabe" Datatype="Int" />
    <Member Name="Carr_Ziel" Datatype="Int">
      <Comment>
        <MultiLanguageText Lang="de-DE">Ziel, das bei Carr-Telegramm gemeldet wird</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="DatenDB" Datatype="Int">
      <Comment>
        <MultiLanguageText Lang="de-DE">DB öffnen</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="sKorrekturFaktor" Datatype="Real">
      <Comment>
        <MultiLanguageText Lang="de-DE">Korrektur-Faktor wegen Kettenlängung</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="AR1Start" Datatype="DInt">
      <Comment>
        <MultiLanguageText Lang="de-DE">Startwert mit Offset 0</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="AR1Zeiger" Datatype="DWord">
      <Comment>
        <MultiLanguageText Lang="de-DE">Statt AR1 (ging nur bis DB-Länge &lt;= 8191 Bytes)</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Constant" />
</Sections></Interface>
      <MemoryLayout>Standard</MemoryLayout>
      <Name>MWeiche_Sorter_EP</Name>
      <Namespace />
      <Number>1178</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>COPYRIGHT by Ingenieurbüro A.Emmert
Ortsstr.33, D-869925 Fuchstal (Germany)
Tel.: 0049(0)8243-960629
Version: ILS2100 / 03.02.2010
</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="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weichen_Nr" />
      </Symbol>
      <LineComment>
        <Text>Aufruf-Parameter (für Baustein beobachten)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="25">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW178" />
      </Symbol>
      <LineComment>
        <Text>Einsprung Weichen-DL</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="29">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Para" />
        <Component Name="Weichen_DL_DB" />
      </Symbol>
      <LineComment>
        <Text>vor Aufruf übergeben!</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="34">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Para" />
        <Component Name="Weichen_DL_DW" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="36">
    <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>Parameter-Übergabe</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="LocalVariable">
      <Symbol>
        <Component Name="KorrekturFaktor" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="sKorrekturFaktor" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="28">
    <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>Eingangsvariablen einlesen</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="37">
    <LineComment>
      <Text>Beim Teachen Weiche auf gerade:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="39">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="TeachModus_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="41">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_geradeaus" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf gerade schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="44">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_abzweigen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="46">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Abzweig schalten    </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="49">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Gerade schalten   </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="52">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="53">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="54">
    <LineComment>
      <Text>Weichentest:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="56">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weichentest_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="58">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en01" />
    </Access>
  </StlStatement>
  <StlStatement UId="60">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="61">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Clock_1Hz" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="63">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Weiche zyklisch umschalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="66">
    <StlToken Text="NEG" />
  </StlStatement>
  <StlStatement UId="67">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="69">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="70">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="71">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Abzweig schalten     </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="74">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Gerade schalten   </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="77">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="78">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="79">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="80">
    <LabelDeclaration>
      <Label Name="en01" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="82">
    <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>Für Inbetriebnahme</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="83">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="84">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Abzweig schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="87">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_geradeaus" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf gerade schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="90">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="BM_raus" />
      </Symbol>
      <LineComment>
        <Text>BM wurde ausgeschleußt (1 Zyklus)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="93">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="BM_gerade" />
      </Symbol>
      <LineComment>
        <Text>BM wurde gerade gefahren (1 Zyklus)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="96">
    <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>Gesamt: Out-Bits zum Zurücksetzen</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="97">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Weichen_Nr" />
      </Symbol>
      <LineComment>
        <Text>Nummer der Weiche</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="100">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weichen_Nr" />
      </Symbol>
      <LineComment>
        <Text>Aufruf-Parameter</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="103">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>Identisch ?</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="105">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Weichen_DL" />
      </Symbol>
      <LineComment>
        <Text>Weichendatenbank fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="108">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Undef_Weiche" />
      </Symbol>
      <LineComment>
        <Text>undefinierte Weiche</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="111">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en06" />
      <LineComment>
        <Text>Ja !</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="114">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="115">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW200" />
      </Symbol>
      <LineComment>
        <Text>Search-Daten </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="118">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="119">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo Name="DatenOut" BlockType="FC">
        <Parameter Name="SSDB" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Para" />
              <Component Name="Weichen_DL_DB" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="SSDW" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Para" />
              <Component Name="Weichen_DL_DW" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="PARA" Section="Input" Type="Word">
          <Access Scope="TypedConstant">
            <Constant>
              <ConstantValue>WORD#16#0000</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="SEARCHDATEN" Section="Input" Type="Pointer">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>ARef</ConstantType>
              <ConstantValue>P#M200.0</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="RE_VAL" Section="Output" Type="Byte">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MB199" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="OUTDATEN" Section="Output" Type="Pointer">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>ARef</ConstantType>
              <ConstantValue>P#M220.0</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="Position" Section="Output" Type="Int">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MW196" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="129">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="130">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MB199" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="132">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_DL_Weichen" />
      </Symbol>
      <LineComment>
        <Text>Rückmeldung bei Datenbank-Zugriff (Gefälle-DL)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="135">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="136">
    <StlToken Text="JBI" />
    <Access Scope="Label">
      <Label Name="G_Ok" />
    </Access>
  </StlStatement>
  <StlStatement UId="138">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="139">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M199.0" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="141">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Weichen_DL" />
      </Symbol>
      <LineComment>
        <Text>Weichendatenbank fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="144">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="145">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="146">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="147">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Undef_Weiche" />
      </Symbol>
      <LineComment>
        <Text>undefinierte Weiche</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="150">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="151">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="152">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="153">
    <LineComment>
      <Text>Kennung + Datenbytes</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="155">
    <LabelDeclaration>
      <Label Name="G_Ok" />
    </LabelDeclaration>
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="157">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Weichen_DL" />
      </Symbol>
      <LineComment>
        <Text>Weichendatenbank fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="160">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Undef_Weiche" />
      </Symbol>
      <LineComment>
        <Text>undefinierte Weiche</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="163">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="164">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Word</ConstantType>
        <ConstantValue>16#1004</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Kennung 10 + Word=04</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="167">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Address Area="Local" Type="Word" BitOffset="0" />
      <LineComment>
        <Text>Any-Kennung, Datentyp</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="170">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>40</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Datenwords speichern</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="173">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Address Area="Local" Type="Word" BitOffset="16" />
      <LineComment>
        <Text>Wiederholungen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="176">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="177">
    <LineComment>
      <Text>Quelle-Pointer erzeugen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="179">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Bei Merker = 0 !</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="182">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Address Area="Local" Type="Word" BitOffset="32" />
      <LineComment>
        <Text>DB_Nummer</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="185">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>220</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Adresse</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="188">
    <StlToken Text="SLD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="190">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>DWord</ConstantType>
        <ConstantValue>16#8300_0000</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Kennung: Merker</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="193">
    <StlToken Text="OD" />
  </StlStatement>
  <StlStatement UId="194">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Address Area="Local" Type="DWord" BitOffset="48" />
      <LineComment>
        <Text>Kennung, Adresse</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="197">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="198">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <Instruction Name="BLKMOV" Version="1.1">
        <Token Text="," />
        <LineComment>
          <Text>Datenliste-Daten speichern</Text>
        </LineComment>
        <TemplateValue Name="blk_type" Type="Type">Variant</TemplateValue>
        <Parameter Name="SRCBLK">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Quelle" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="RET_VAL">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Dyn" />
              <Component Name="Rueckmld" />
              <Component Name="RET_VAL_BLKMOV_Weiche" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="DSTBLK">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Weiche" />
            </Symbol>
          </Access>
          <LineComment>
            <Text>#Ziel</Text>
          </LineComment>
        </Parameter>
      </Instruction>
    </Access>
  </StlStatement>
  <StlStatement UId="206">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="207">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_BLKMOV_Weiche" />
      </Symbol>
      <LineComment>
        <Text>Rückmeldung</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="210">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Fehler vorhanden ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="213">
    <StlToken Text="NE_I" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="215">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BLKMov" />
      </Symbol>
      <LineComment>
        <Text>Error bei Block kopieren</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="218">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="219">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="220">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Weichen_Typ" />
      </Symbol>
      <LineComment>
        <Text>Weichentyp = 178 (Weiche)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="223">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>178</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Dieser Aufruf-FB ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="226">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="228">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en06" />
    </Access>
  </StlStatement>
  <StlStatement UId="230">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="231">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="232">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Undef_Weiche" />
      </Symbol>
      <LineComment>
        <Text>undefinierte Weiche</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="235">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="236">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Weiche ungültig !</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="239">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Weichen_Nr" />
      </Symbol>
      <LineComment>
        <Text>Nummer der Weiche</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="242">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="243">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="244">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="245">
    <LabelDeclaration>
      <Label Name="en06" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="247">
    <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>Statische Weichen-Parameter holen</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="31" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="32" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="248">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="250">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En06_Mig" />
    </Access>
  </StlStatement>
  <StlStatement UId="252">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="253">
    <LineComment>
      <Text>Dyn.Daten löschen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="255">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="256">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="258">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Strecke_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="260">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Abzweig schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="263">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_geradeaus" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf gerade schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="266">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weichentest_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="268">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Flag" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="270">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Last_Flag" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="272">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM fährt geradeaus durch Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="275">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM fährt aus Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="278">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Gerade_Neg" />
      </Symbol>
      <LineComment>
        <Text>Geradeaus: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="281">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Ausfahrt_Neg" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrend: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="284">
    <LineComment>
      <Text>/      R     #Dyn.Ohne_VerklemmKontrolle //Verklemmkontrolle ausschalten</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="286">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Max_raus" />
      </Symbol>
      <LineComment>
        <Text>Max_Wert wurde schon übertragen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="289">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="290">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="292">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="294">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="296">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="298">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="300">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="301">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>DInt</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="303">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Ink" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="305">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Search_Ink" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="307">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Last_Ink" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="309">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="310">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="312">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Sortliste" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche verlassen haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="321">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche ausgefahren haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="L" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="25">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Kontroll_IDX" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Last_IDX" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="324">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="325">
    <LineComment>
      <Text>Rückmeldungen löschen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="327">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="329">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_DL_Weichen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="331">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_BLKMOV_Weiche" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="333">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_Sortliste_Out" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="335">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="336">
    <LineComment>
      <Text>Störungen löschen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="338">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="339">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Weichen_DL" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="341">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Undef_Weiche" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="343">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BLKMov" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="345">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Haupstrang_DL" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="347">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Haupstrang_DL_voll" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="349">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Keine_HSDaten" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="351">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Rein_FIFO" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="353">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Keine_FIFODaten" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="355">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Stau_AusfahrBereich" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="357">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="359">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Ausfahrt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="361">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_undef_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="363">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Frei14" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="365">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Send_FIFO_fehlerhaft" />
      </Symbol>
      <LineComment>
        <Text>Send-FIFO zum PC ist fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="368">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Send_FIFO_voll" />
      </Symbol>
      <LineComment>
        <Text>Send-FIFO zu PC ist voll</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="371">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Reset_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Reset ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="374">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="375">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Damit statische Werte neu aus Datenbank geholt werden !</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="378">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Weichen_Nr" />
      </Symbol>
      <LineComment>
        <Text>Nummer der Weiche</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="381">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="382">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="383">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="384">
    <LabelDeclaration>
      <Label Name="En06_Mig" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="386">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="33" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="34" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="35" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>
</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="36" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="37" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="38" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="39" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Reset</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="3A" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="3B" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="387">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="389">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MB200" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="391">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="392">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Weichen_DL" />
      </Symbol>
      <LineComment>
        <Text>Weichen-Datenliste fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="395">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.0" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="397">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Undef_Weiche" />
      </Symbol>
      <LineComment>
        <Text>undefinierte Weiche</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="400">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="402">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BLKMov" />
      </Symbol>
      <LineComment>
        <Text>Fehler bei Block kopieren</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="405">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.2" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="407">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Haupstrang_DL" />
      </Symbol>
      <LineComment>
        <Text>Haupstrang-Datenliste fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="410">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.3" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="412">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Haupstrang_DL_voll" />
      </Symbol>
      <LineComment>
        <Text>Haupstrang-Datenliste ist voll</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="415">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.4" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="417">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Keine_HSDaten" />
      </Symbol>
      <LineComment>
        <Text>Keine Hauptstrang-Daten mehr vorhanden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="420">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.5" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="422">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Rein_FIFO" />
      </Symbol>
      <LineComment>
        <Text>Rein-FIFO fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="425">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.6" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="427">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Keine_FIFODaten" />
      </Symbol>
      <LineComment>
        <Text>Keine Rein-Daten mehr vorhanden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="430">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.7" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="432">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Stau_AusfahrBereich" />
      </Symbol>
      <LineComment>
        <Text>Stau im Ausfahrbereich (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="435">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.0" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="437">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM bei Weiterfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="440">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="442">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM bei Ausfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="445">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.2" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="447">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_undef_Gerade" />
      </Symbol>
      <LineComment>
        <Text>undefiniertes BM bei Weiterfahrt erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="450">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.3" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="452">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Frei14" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="454">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.4" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="456">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Send_FIFO_fehlerhaft" />
      </Symbol>
      <LineComment>
        <Text>Send-FIFO zum PC ist fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="459">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.5" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="461">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Send_FIFO_voll" />
      </Symbol>
      <LineComment>
        <Text>Send-FIFO zu PC ist voll</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="464">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.6" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="466">
    <StlToken Text="CLR" />
    <LineComment>
      <Text>Reset ist aktiv (gibts nicht!)</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="468">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="470">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.7" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="472">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="473">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW200" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="475">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Error" />
      </Symbol>
      <LineComment>
        <Text>Schnittstelle nach Außen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="478">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="479">
    <LineComment>
      <Text>Kreiselantrieb stoppen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="481">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Stau_Ausfahrtbereich" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrtsbereich hat Stau</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="484">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Stau_AusfahrBereich" />
      </Symbol>
      <LineComment>
        <Text>Stau im Ausfahrbereich (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="487">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="488">
    <LineComment>
      <Text>Antrieb stoppen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM bei Ausfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="507">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM bei Weiterfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="517">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ErrQuit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="519">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Stau_AusfahrBereich" />
      </Symbol>
      <LineComment>
        <Text>Stau im Ausfahrbereich (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Send_FIFO_fehlerhaft" />
      </Symbol>
      <LineComment>
        <Text>Send-FIFO zum PC ist fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Send_FIFO_voll" />
      </Symbol>
      <LineComment>
        <Text>Send-FIFO zu PC ist voll</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="522">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_stoppen" />
      </Symbol>
      <LineComment>
        <Text>Kreiselantrieb stoppen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="525">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="526">
    <LineComment>
      <Text>Anzeige Start n. Störung aktivieren:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="528">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM bei Ausfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="531">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM bei Weiterfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="534">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Stau_AusfahrBereich" />
      </Symbol>
      <LineComment>
        <Text>Stau im Ausfahrbereich (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="537">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="hStOk" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="539">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="3C" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="3D" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="3E" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="3F" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="40" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="41" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="42" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Störungen nach Außen übergeben</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="43" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="44" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="540">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Ink_DB" />
      </Symbol>
      <LineComment>
        <Text>DB-Nr des Inkremental-Geber</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="543">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>angegeben ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="546">
    <StlToken Text="LE_I" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="548">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w040" />
    </Access>
  </StlStatement>
  <StlStatement UId="550">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="551">
    <StlToken Text="CAC" />
  </StlStatement>
  <StlStatement UId="552">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW200" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="554">
    <StlToken Text="OPEN_DB" />
    <Access Scope="Address">
      <Indirect Width="Block" Area="DB">
        <Access Scope="GlobalVariable">
          <Symbol>
            <Component Name="MW200" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>Zähler-DB öffnen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="558">
    <StlToken Text="L" />
    <Access Scope="Address">
      <Address Area="DB" Type="DWord" BitOffset="640" />
    </Access>
  </StlStatement>
  <StlStatement UId="560">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ink_Wert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="562">
    <StlToken Text="L" />
    <Access Scope="Address">
      <Address Area="DB" Type="DWord" BitOffset="608" />
    </Access>
  </StlStatement>
  <StlStatement UId="564">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Max_Wert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="566">
    <StlToken Text="A" />
    <Access Scope="Address">
      <Address Area="DB" Type="Bool" BitOffset="595" />
    </Access>
  </StlStatement>
  <StlStatement UId="568">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="570">
    <StlToken Text="A" />
    <Access Scope="Address">
      <Address Area="DB" Type="Bool" BitOffset="596" />
    </Access>
  </StlStatement>
  <StlStatement UId="572">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Flag_Lauf_fertig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="574">
    <StlToken Text="A" />
    <Access Scope="Address">
      <Address Area="DB" Type="Bool" BitOffset="597" />
    </Access>
  </StlStatement>
  <StlStatement UId="576">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ohne_Lauf_fertig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="578">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="579">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="en04" />
    </Access>
  </StlStatement>
  <StlStatement UId="581">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="582">
    <LineComment>
      <Text>Zeit-Inkremente erzeugen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="584">
    <LabelDeclaration>
      <Label Name="w040" />
    </LabelDeclaration>
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="587">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w041" />
    </Access>
  </StlStatement>
  <StlStatement UId="589">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="590">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW4" />
      </Symbol>
      <LineComment>
        <Text>10ms-Takte</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="593">
    <StlToken Text="ITD" />
  </StlStatement>
  <StlStatement UId="594">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ink_Wert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="596">
    <StlToken Text="ADD_D" />
    <LineComment>
      <Text>Aktueller Zählerwert +100ms-Takte</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="598">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ink_Wert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="600">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="601">
    <LabelDeclaration>
      <Label Name="w041" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#10000</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Festwert: 10000 (100s)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="605">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Max_Wert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="607">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="608">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ink_Wert" />
      </Symbol>
      <LineComment>
        <Text>Aktueller Zählerwert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="611">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Max_Wert" />
      </Symbol>
      <LineComment>
        <Text>Max. Wert erreicht ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="614">
    <StlToken Text="LE_D" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="616">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ohne_Lauf_fertig" />
      </Symbol>
      <LineComment>
        <Text>Ohne Flag-Lauf wurde beendet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="619">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Flag_Lauf_fertig" />
      </Symbol>
      <LineComment>
        <Text>Flag-Lauf wurde beendet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="622">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en04" />
    </Access>
  </StlStatement>
  <StlStatement UId="624">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="625">
    <StlToken Text="SUB_D" />
    <LineComment>
      <Text>Restwert als Startwert nehmen !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="627">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ink_Wert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="629">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="630">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="633">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ohne_Lauf_fertig" />
      </Symbol>
      <LineComment>
        <Text>Ohne Flag-Lauf wurde beendet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="636">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="639">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Flag_Lauf_fertig" />
      </Symbol>
      <LineComment>
        <Text>Flag-Lauf wurde beendet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="642">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="643">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="646">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="648">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="649">
    <LabelDeclaration>
      <Label Name="en04" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="651">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="45" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="46" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="47" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="48" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="49" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="4A" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="4B" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Daten des Inkremental-Gebers holen / Zeit-Inkremente</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="4C" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="4D" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="652">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Hauptstrang_leer" />
      </Symbol>
      <LineComment>
        <Text>Keine Haupstrangdaten vorhanden -&gt; Verklemm-Errors löschen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="655">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="657">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_undef_Gerade" />
      </Symbol>
      <LineComment>
        <Text>undefiniertes BM bei Weiterfahrt erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="660">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="661">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ErrQuit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="663">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En08" />
    </Access>
  </StlStatement>
  <StlStatement UId="665">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="666">
    <LineComment>
      <Text>Störungen löschen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="668">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="669">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_undef_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="671">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Frei14" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="673">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="674">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Hauptstrang_leer" />
      </Symbol>
      <LineComment>
        <Text>Keine Haupstrangdaten vorhanden -&gt; Verklemm-Errors löschen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="677">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="CLR" />
    <LineComment>
      <Text>Nie da große Trolleys</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="679">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="681">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="683">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="684">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Hauptstrang_leer" />
      </Symbol>
      <LineComment>
        <Text>Keine Haupstrangdaten vorhanden -&gt; Verklemm-Errors löschen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="687">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Ausfahrt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="CLR" />
    <LineComment>
      <Text>Nie da große Trolleys</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="689">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Ausfahrt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="691">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Ausfahrt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="693">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="694">
    <LineComment>
      <Text>Kann nur über Reset zurückgesetzt werden:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="696">
    <LineComment>
      <Text>    R     #Dyn.Error.Weichen_DL</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="698">
    <LineComment>
      <Text>    R     #Dyn.Error.Undef_Weiche</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="700">
    <LineComment>
      <Text>    R     #Dyn.Error.BLKMov</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="702">
    <LineComment>
      <Text>    R     #Dyn.Error.Haupstrang_DL</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="704">
    <LineComment>
      <Text>    R     #Dyn.Error.Haupstrang_DL_voll</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="706">
    <LineComment>
      <Text>    R     #Dyn.Error.Keine_HSDaten</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="708">
    <LineComment>
      <Text>    R     #Dyn.Error.Rein_FIFO</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="710">
    <LineComment>
      <Text>    R     #Dyn.Error.Keine_FIFODaten</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="712">
    <LineComment>
      <Text>    R     #Dyn.Error.Stau_AusfahrBereich</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="714">
    <LineComment>
      <Text>    R     #Dyn.Error.BM_verklemmt_Gerade</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="716">
    <LineComment>
      <Text>    R     #Dyn.Error.BM_verklemmt_Ausfahrt</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="718">
    <LineComment>
      <Text>    R     #Dyn.Error.Send_FIFO_fehlerhaft    //Send-FIFO zum PC ist fehlerhaft</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="720">
    <LineComment>
      <Text>    R     #Dyn.Error.Send_FIFO_voll   //Send-FIFO zu PC ist voll</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="722">
    <LineComment>
      <Text>    R     #Dyn.Error.Reset_aktiv      //Reset ist aktiv</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="724">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="725">
    <LabelDeclaration>
      <Label Name="En08" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="727">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="4E" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="4F" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="50" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>
</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="51" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="52" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="53" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="54" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Störungen quittieren</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="55" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="56" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="728">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="L" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>schon bekannt ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="734">
    <StlToken Text="GT_D" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="736">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_start" />
      </Symbol>
      <LineComment>
        <Text>Kreiselantrieb starten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="739">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Nw09" />
    </Access>
  </StlStatement>
  <StlStatement UId="741">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="742">
    <LineComment>
      <Text>Nach neuen Daten suchen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="744">
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Weiche_NewData" />
      </Symbol>
      <LineComment>
        <Text>Im Weichenbereich nach neuen Daten suchen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="747">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w076" />
    </Access>
  </StlStatement>
  <StlStatement UId="749">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="750">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ink_Wert" />
      </Symbol>
      <LineComment>
        <Text>Aktueller Inkrementalwert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="753">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Off_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Weiche schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="756">
    <StlToken Text="GT_D" />
    <LineComment>
      <Text>Gleiches Flag/Flag wie Inkgeber zum Suchen</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="758">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w071" />
    </Access>
  </StlStatement>
  <StlStatement UId="760">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="761">
    <LineComment>
      <Text>Anders Flag/Liste wie Inkgeber zum Suchen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="763">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Hauptstrang_DL_DB" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="765">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="766">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Inkgeber schon mit Lauf-Flag</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="769">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="IDX_Flag" />
      </Symbol>
      <LineComment>
        <Text>Hauptstrang_DL +1 durchsuchen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="772">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w070" />
    </Access>
  </StlStatement>
  <StlStatement UId="774">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="775">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="776">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="IDX_Flag" />
      </Symbol>
      <LineComment>
        <Text>Hauptstrang_DL +1 durchsuchen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="779">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="780">
    <StlToken Text="ADD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>1</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="782">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="783">
    <LabelDeclaration>
      <Label Name="w070" />
    </LabelDeclaration>
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Sortliste" />
      </Symbol>
      <LineComment>
        <Text>Sortliste aus welcher Hauptstrangdaten sind</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="787">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="788">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="w073" />
    </Access>
  </StlStatement>
  <StlStatement UId="790">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="791">
    <LineComment>
      <Text>Gleiches Flag/Liste wie Inkgeber zum Suchen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="793">
    <LabelDeclaration>
      <Label Name="w071" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Hauptstrang_DL_DB" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="796">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="797">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Inkgebeer ohne Lauf-Flag</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="800">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="IDX_Flag" />
      </Symbol>
      <LineComment>
        <Text>Hauptstrang_DL +1 durchsuchen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="803">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w072" />
    </Access>
  </StlStatement>
  <StlStatement UId="805">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="806">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="807">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="IDX_Flag" />
      </Symbol>
      <LineComment>
        <Text>Hauptstrang_DL +1 durchsuchen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="810">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="811">
    <StlToken Text="ADD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>1</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="813">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="814">
    <LabelDeclaration>
      <Label Name="w072" />
    </LabelDeclaration>
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Sortliste" />
      </Symbol>
      <LineComment>
        <Text>Sortliste aus welcher Hauptstrangdaten sind</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="818">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="819">
    <LineComment>
      <Text>Hauptstrang Sortliste nach Position -1 durchsuchen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="821">
    <LabelDeclaration>
      <Label Name="w073" />
    </LabelDeclaration>
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo Name="DatenFindOffsetSort" BlockType="FC">
        <Parameter Name="SSDB" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Dyn" />
              <Component Name="Hauptstrang_Sortliste" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="SSDW" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Weiche" />
              <Component Name="Hauptstrang_DL_DW" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="PARA" Section="Input" Type="Word">
          <Access Scope="TypedConstant">
            <Constant>
              <ConstantValue>WORD#16#0B01</ConstantValue>
            </Constant>
          </Access>
          <LineComment>
            <Text>nach 11.DW (letzte Position) suchen</Text>
          </LineComment>
        </Parameter>
        <Parameter Name="SEARCHDATEN" Section="Input" Type="Pointer">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Weiche" />
              <Component Name="Position_minus" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="RE_VAL" Section="Output" Type="Byte">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MB199" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="OUTDATEN" Section="Output" Type="Pointer">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Daten" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Position" Section="Output" Type="Int">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MW196" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="833">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="834">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MB199" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="836">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_Sortliste_Out" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="838">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="839">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M199.7" />
      </Symbol>
      <LineComment>
        <Text>Datensatz ist vorhanden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="842">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Haupstrang_DL" />
      </Symbol>
      <LineComment>
        <Text>Sortliste fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="845">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w074" />
    </Access>
  </StlStatement>
  <StlStatement UId="847">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="848">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M199.6" />
      </Symbol>
      <LineComment>
        <Text>Datensatz ist nicht vorhanden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="851">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Haupstrang_DL" />
      </Symbol>
      <LineComment>
        <Text>Sortliste fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="854">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Nw09" />
      <LineComment>
        <Text>Warten, da noch keine Daten vorhanden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="857">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="858">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="859">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Haupstrang_DL" />
      </Symbol>
      <LineComment>
        <Text>Sortliste fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="862">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="863">
    <LabelDeclaration>
      <Label Name="w076" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>DInt</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Keine Daten auf Hauptstrang vorhanden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="867">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="870">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="871">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="Nw09" />
    </Access>
  </StlStatement>
  <StlStatement UId="873">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="874">
    <LineComment>
      <Text>Search-Ink speichern:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="876">
    <LabelDeclaration>
      <Label Name="w074" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Start_Ink" />
      </Symbol>
      <LineComment>
        <Text>Stamm-Daten speichern </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="880">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Search_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Daten auslesen (Start-Ink)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="883">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="884">
    <LineComment>
      <Text>Hauptstrang-Schaltdaten errechnen/speichern:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="886">
    <LineComment>
      <Text>Kettenlängungs-Korrektur:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="888">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="sKorrekturFaktor" />
      </Symbol>
      <LineComment>
        <Text>Korrektur-Faktor wegen Kettenlängung</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="891">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Real</ConstantType>
        <ConstantValue>0.995</ConstantValue>
      </Constant>
      <LineComment>
        <Text>sinnvoller Wert ? (maximal 0,5% Abweichung erlaubt)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="894">
    <StlToken Text="GE_R" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="896">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="897">
    <StlToken Text="CAC" />
  </StlStatement>
  <StlStatement UId="898">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Real</ConstantType>
        <ConstantValue>1.005</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="900">
    <StlToken Text="LE_R" />
  </StlStatement>
  <StlStatement UId="901">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="902">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w075" />
    </Access>
  </StlStatement>
  <StlStatement UId="904">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="905">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Real</ConstantType>
        <ConstantValue>1.0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>dann ohne Korrektur !</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="908">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="sKorrekturFaktor" />
      </Symbol>
      <LineComment>
        <Text>Korrektur-Faktor wegen Kettenlängung</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="911">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="912">
    <LineComment>
      <Text>Schaltdaten errechnen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="914">
    <LabelDeclaration>
      <Label Name="w075" />
    </LabelDeclaration>
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Start_Flag" />
      </Symbol>
      <LineComment>
        <Text>Lauf-Flag bei Start-Inkremente</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="918">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="921">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="922">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Off_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Weiche schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="925">
    <StlToken Text="DTR" />
  </StlStatement>
  <StlStatement UId="926">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="sKorrekturFaktor" />
      </Symbol>
      <LineComment>
        <Text>Korrektur-Faktor wegen Kettenlängung</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="929">
    <StlToken Text="MUL_R" />
  </StlStatement>
  <StlStatement UId="930">
    <StlToken Text="RND" />
  </StlStatement>
  <StlStatement UId="931">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Start_Ink" />
      </Symbol>
      <LineComment>
        <Text>Daten aus Sortliste dazuaddieren</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="934">
    <StlToken Text="ADD_D" />
  </StlStatement>
  <StlStatement UId="935">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="938">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Max_Wert" />
      </Symbol>
      <LineComment>
        <Text>Maximal erlaubter Zählwert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="941">
    <StlToken Text="GT_D" />
  </StlStatement>
  <StlStatement UId="942">
    <StlToken Text="JCN" />
    <Access Scope="Label">
      <Label Name="Nw09" />
    </Access>
  </StlStatement>
  <StlStatement UId="944">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="945">
    <StlToken Text="SUB_D" />
    <LineComment>
      <Text>Restwert übernehmen</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="947">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="950">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="951">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Start_Flag" />
      </Symbol>
      <LineComment>
        <Text>Lauf-Flag bei Start-Inkremente (invertieren)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="954">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="957">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="57" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="58" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="59" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="5A" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="5B" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="5C" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="5D" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Schaltpunkt aufgrund von Hauptstrangdaten suchen</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="5E" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="5F" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="958">
    <LabelDeclaration>
      <Label Name="Nw09" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="962">
    <StlToken Text="L" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>angegeben ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="965">
    <StlToken Text="LE_D" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="967">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w08E" />
    </Access>
  </StlStatement>
  <StlStatement UId="969">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="970">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="973">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Flag_Lauf_fertig" />
      </Symbol>
      <LineComment>
        <Text>Flag-Lauf wurde beendet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="976">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="977">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="980">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ohne_Lauf_fertig" />
      </Symbol>
      <LineComment>
        <Text>Flag-Lauf wurde beendet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="983">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w080" />
      <LineComment>
        <Text>beim Ende des Lauf sind Inkremente uninteressant</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="986">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="987">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="990">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Zähl-Lauf mit Flag ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="993">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="994">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="997">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Zähl-Lauf mit Flag ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1000">
    <StlToken Text="JCN" />
    <Access Scope="Label">
      <Label Name="en08_Mig" />
    </Access>
  </StlStatement>
  <StlStatement UId="1002">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1003">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ink_Wert" />
      </Symbol>
      <LineComment>
        <Text>Aktuelle Inkrementalwert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1006">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1009">
    <StlToken Text="LT_D" />
  </StlStatement>
  <StlStatement UId="1010">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en08_Mig" />
    </Access>
  </StlStatement>
  <StlStatement UId="1012">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1013">
    <LineComment>
      <Text>Ziel kontrollieren:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1015">
    <LabelDeclaration>
      <Label Name="w080" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ink_Wert" />
      </Symbol>
      <LineComment>
        <Text>Aktueller Inkrementalwert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1019">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Last_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente des letzten durchfahrenden Teils</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1022">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Zähl-Lauf mit Flag ist aktiv  </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1025">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Last_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag des letzten durchfahrenden Teils</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1028">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1029">
    <StlToken Text="L" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Löschen, da ausgewertet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1032">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1035">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1036">
    <LineComment>
      <Text>Fahrendes Teil auslesen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1038">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo Name="DatenOut" BlockType="FC">
        <Parameter Name="SSDB" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Dyn" />
              <Component Name="Hauptstrang_Sortliste" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="SSDW" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Weiche" />
              <Component Name="Hauptstrang_DL_DW" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="PARA" Section="Input" Type="Word">
          <Access Scope="TypedConstant">
            <Constant>
              <ConstantValue>WORD#16#0000</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="SEARCHDATEN" Section="Input" Type="Pointer">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Dyn" />
              <Component Name="Hauptstrang_Search_Ink" />
            </Symbol>
          </Access>
          <LineComment>
            <Text>Inkremente zum Daten auslesen (Start-Ink)</Text>
          </LineComment>
        </Parameter>
        <Parameter Name="RE_VAL" Section="Output" Type="Byte">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MB199" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="OUTDATEN" Section="Output" Type="Pointer">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Daten" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Position" Section="Output" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Dyn" />
              <Component Name="Hauptstrang_Pos" />
            </Symbol>
          </Access>
          <LineComment>
            <Text>Aktuelle Position der Daten in Datenliste</Text>
          </LineComment>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="1050">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1051">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MB199" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1053">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_Sortliste_Out" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1055">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1056">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M199.7" />
      </Symbol>
      <LineComment>
        <Text>Datensatz ist vorhanden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1059">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w081" />
    </Access>
  </StlStatement>
  <StlStatement UId="1061">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1062">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Hauptstrang_DL_DB" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1064">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="DatenDB" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1066">
    <StlToken Text="OPEN_DB" />
    <Access Scope="Address">
      <Indirect Width="Block" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="DatenDB" />
          </Symbol>
        </Access>
      </Indirect>
    </Access>
  </StlStatement>
  <StlStatement UId="1069">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1070">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1071">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Keine_HSDaten" />
      </Symbol>
      <LineComment>
        <Text>Keine Hauptstrang-Daten mehr vorhanden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1074">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="w08E" />
    </Access>
  </StlStatement>
  <StlStatement UId="1076">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1077">
    <LineComment>
      <Text>Fahrendes Teil speichern: (für Fehlersuche)</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1079">
    <LabelDeclaration>
      <Label Name="w081" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Sort_Info" />
        <Component Name="Teil_IDX" />
      </Symbol>
      <LineComment>
        <Text>BM-IDX (wird bei Auslagerung gemeldet)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1083">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Last_IDX" />
      </Symbol>
      <LineComment>
        <Text>IDX des letzten durchfahrenden Teils</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="22">
    <LineComment>
      <Text>/Ersatz-Ziel anfahren bei Ausfahrziel und Stau ?:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="44">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Sort_Info" />
        <Component Name="Teil_Ziel" />
      </Symbol>
      <LineComment>
        <Text>Ziel des BT (aufgrund vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="47">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="AbzweigZiel" />
      </Symbol>
      <LineComment>
        <Text>Bei diesem Ziel Weiche auf Abzweig schalten + Carl</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="50">
    <StlToken Text="NE_I" />
    <LineComment>
      <Text>BM soll nicht ausfahren !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="ErsatzZiel_bei_Stau" />
      </Symbol>
      <LineComment>
        <Text>Bei Stau soll Ersatz-Ziel angefahren werden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Stau_Ausfahrtbereich" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="x081" />
    </Access>
  </StlStatement>
  <StlStatement UId="35">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="36">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="ErsatzZiel" />
      </Symbol>
      <LineComment>
        <Text>Ersatz-Ziel übergeben</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="38">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Sort_Info" />
        <Component Name="Teil_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1086">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1087">
    <LabelDeclaration>
      <Label Name="x081" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Sort_Info" />
        <Component Name="Teil_Ziel" />
      </Symbol>
      <LineComment>
        <Text>Ziel des BT (aufgrund vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1090">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="1092">
    <StlToken Text="LE_I" />
  </StlStatement>
  <StlStatement UId="1093">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Ziel_unbekannt" />
      </Symbol>
      <LineComment>
        <Text>Ziel des BT ist unbekannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1096">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1097">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Ziel_unbekannt" />
      </Symbol>
      <LineComment>
        <Text>Ziel des BT ist unbekannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1100">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1102">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1104">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="x100" />
      <LineComment>
        <Text>BT mit unbekanntem Ziel geradeaus fahren</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1107">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1108">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Ziel_unbekannt" />
      </Symbol>
      <LineComment>
        <Text>Ziel des BT ist unbekannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1111">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1113">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1115">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w082" />
      <LineComment>
        <Text>BT mit unbekanntem Ziel ausfahren</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1118">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1119">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Sort_Info" />
        <Component Name="Teil_Ziel" />
      </Symbol>
      <LineComment>
        <Text>Ziel des BT (aufgrund vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1122">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="AbzweigZiel" />
      </Symbol>
      <LineComment>
        <Text>Bei diesem Ziel Weiche auf Abzweig schalten + Carl</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1125">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Carr_Ziel" />
      </Symbol>
      <LineComment>
        <Text>Ziel, das bei Carr-Telegramm gemeldet wird</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1128">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>BM soll ausfahren</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1130">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Carr" />
      </Symbol>
      <LineComment>
        <Text>CARR-Telegramm muss noch gesendet werden </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="51">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Puffer_IDX" />
      </Symbol>
      <LineComment>
        <Text>Trolley-ID in Puffer eintragen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1133">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w082" />
      <LineComment>
        <Text>Teil ausfahren</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1136">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1137">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Sort_Info" />
        <Component Name="Teil_Ziel" />
      </Symbol>
      <LineComment>
        <Text>Ziel des BT (aufgrund vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1140">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="GeradeZiel" />
      </Symbol>
      <LineComment>
        <Text>Bei diesem Ziel Weiche auf Gerade schalten + Carl</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1143">
    <StlToken Text="NE_I" />
    <LineComment>
      <Text>BM soll also ausfahren, da nicht das GeradeZiel!</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1145">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="1146">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>sinnvolle Angabe ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1149">
    <StlToken Text="GT_I" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1151">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="1152">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w082" />
      <LineComment>
        <Text>Teil ausfahren (ohne CARR, da undef. rausfahren!)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1155">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1156">
    <LineComment>
      <Text>Teile geradeaus fahren:******************************************************************************************************</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1158">
    <LabelDeclaration>
      <Label Name="x100" />
    </LabelDeclaration>
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1160">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Gerade schalten   </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1163">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1165">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="BM_gerade" />
      </Symbol>
      <LineComment>
        <Text>BM wurde gerade gefahren (1 Zyklus)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1168">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1169">
    <LineComment>
      <Text>Verklemm-Kontroll-Info speichern:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1171">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Kontroll_B_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Kontroll-Sensor bei Weiterfahrt (gerade)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1174">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="k100" />
      <LineComment>
        <Text>Letzter BM noch nicht kontrolliert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1177">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1178">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM fährt geradeaus durch Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1181">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="k100" />
      <LineComment>
        <Text>Letzter BM noch nicht kontrolliert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1184">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1185">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Last_IDX" />
      </Symbol>
      <LineComment>
        <Text>IDX des letzten durchfahrenden Teils</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1188">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Kontroll_IDX" />
      </Symbol>
      <LineComment>
        <Text>IDX des zu kontollierenden Teils</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1191">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="IDX_Flag" />
      </Symbol>
      <LineComment>
        <Text>Hauptstrang_DL +1 durchsuchen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1194">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Kontroll_Flag" />
      </Symbol>
      <LineComment>
        <Text>Hauptstrang_DL +1 durchsuchen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1197">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1198">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Kontroll_Zeit_gerade" />
      </Symbol>
      <LineComment>
        <Text>Nach dieser Zeit muss BM Weichenbereich verlassen haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1201">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche gerade verlassen haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1204">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1205">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1206">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM fährt geradeaus durch Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1209">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Gerade_Neg" />
      </Symbol>
      <LineComment>
        <Text>Geradeaus: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1212">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1213">
    <LineComment>
      <Text>CARR-Telegramm erwünscht ?:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1215">
    <LabelDeclaration>
      <Label Name="k100" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Sort_Info" />
        <Component Name="Teil_Ziel" />
      </Symbol>
      <LineComment>
        <Text>Ziel des BT (aufgrund vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1219">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="GeradeZiel" />
      </Symbol>
      <LineComment>
        <Text>Bei diesem Ziel Weiche auf Gerade schalten + Carl</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1222">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Carr_Ziel" />
      </Symbol>
      <LineComment>
        <Text>Ziel, das bei Carr-Telegramm gemeldet wird</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1225">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>BM soll ausfahren</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1227">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Carr" />
      </Symbol>
      <LineComment>
        <Text>CARR-Telegramm muss noch gesendet werden </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1230">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1231">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Letzte_Weiche" />
      </Symbol>
      <LineComment>
        <Text>Letzte Weiche im Verbund</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1234">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Del" />
      </Symbol>
      <LineComment>
        <Text>Nur Sortdaten löschen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1237">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w084" />
      <LineComment>
        <Text>Daten aus Sortliste löschen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1240">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1241">
    <LineComment>
      <Text>Letzte Position neu speichern:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1243">
    <LabelDeclaration>
      <Label Name="New" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Weichen_Nr" />
      </Symbol>
      <LineComment>
        <Text>Nummer der Weiche</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1247">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="letzte_Position" />
      </Symbol>
      <LineComment>
        <Text>Letzte Position, wo Teil vorbeigefahren ist</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1250">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1251">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo Name="DatenIn" BlockType="FC">
        <Parameter Name="SSDB" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Dyn" />
              <Component Name="Hauptstrang_Sortliste" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="SSDW" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Weiche" />
              <Component Name="Hauptstrang_DL_DW" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="INDATEN" Section="Input" Type="Pointer">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Daten" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="RE_VAL" Section="Output" Type="Byte">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MB199" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="1258">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1259">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MB199" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1261">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_Sortliste_Out" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1263">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1264">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M199.7" />
      </Symbol>
      <LineComment>
        <Text>Datensatz ist vorhanden /Alles Ok)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1267">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="GST" />
    </Access>
  </StlStatement>
  <StlStatement UId="1269">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1270">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1271">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Haupstrang_DL" />
      </Symbol>
      <LineComment>
        <Text>Sortliste fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1274">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="GST" />
    </Access>
  </StlStatement>
  <StlStatement UId="1276">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1277">
    <LineComment>
      <Text>Teile ausfahren:************************************************************************************************************</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1279">
    <LabelDeclaration>
      <Label Name="w082" />
    </LabelDeclaration>
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Weiche war schon auf Abzweig  </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1283">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w083" />
    </Access>
  </StlStatement>
  <StlStatement UId="1285">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1286">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Schalttakte" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1288">
    <StlToken Text="ADD" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#1</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Auf Abzweig umgeschaltet +1</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1291">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Schalttakte" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1293">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1294">
    <LabelDeclaration>
      <Label Name="w083" />
    </LabelDeclaration>
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1296">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Abzweig schalten   </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1299">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1301">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Del" />
      </Symbol>
      <LineComment>
        <Text>Nur Sortdaten löschen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1304">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="BM_raus" />
      </Symbol>
      <LineComment>
        <Text>BM wurde ausgeschleußt (1 Zyklus)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1307">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1308">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>300</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Nach dieser Zeit ist BM ausgefahren [300*100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1311">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Time_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Diese Zeit benötigt BM zum Ausfahren [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1314">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1315">
    <LineComment>
      <Text>Verklemm-Kontroll-Info speichern:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1317">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Kontroll_B_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Kontroll-Sensor bei Ausfahrt (abzweig)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1320">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="k101" />
      <LineComment>
        <Text>Letzter BM noch nicht kontrolliert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1323">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1324">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM fährt aus Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1327">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="k101" />
      <LineComment>
        <Text>Letzter BM noch nicht kontrolliert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1330">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1331">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Last_IDX" />
      </Symbol>
      <LineComment>
        <Text>IDX des letzten durchfahrenden Teils</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1334">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Kontroll_IDX" />
      </Symbol>
      <LineComment>
        <Text>IDX des zu kontollierenden Teils</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1337">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="IDX_Flag" />
      </Symbol>
      <LineComment>
        <Text>Hauptstrang_DL +1 durchsuchen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1340">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Kontroll_Flag" />
      </Symbol>
      <LineComment>
        <Text>Hauptstrang_DL +1 durchsuchen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1343">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1344">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Kontroll_Zeit_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Nach dieser Zeit muss BM Weichenbereich verlassen haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1347">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche ausgefahren haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1350">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1351">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1352">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM fährt aus Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1355">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Ausfahrt_Neg" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrend: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1358">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1359">
    <LabelDeclaration>
      <Label Name="k101" />
    </LabelDeclaration>
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Stau_Ausfahrtbereich" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrtsbereich hat Stau</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="40">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="ErsatzZiel_bei_Stau" />
      </Symbol>
      <LineComment>
        <Text>Bei Stau soll Ersatz-Ziel angefahren werden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1363">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Stau_AusfahrBereich" />
      </Symbol>
      <LineComment>
        <Text>Stau im Ausfahrbereich (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1366">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1367">
    <LineComment>
      <Text>Falls Entlade-Weiche neues Leer-Ziel übergeben:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1369">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Entlade_Weiche" />
      </Symbol>
      <LineComment>
        <Text>BM wird entladen -&gt; Leerziel übergeben</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1372">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Letzte_Weiche" />
      </Symbol>
      <LineComment>
        <Text>Letzte Weiche im Verbund</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1375">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w084" />
    </Access>
  </StlStatement>
  <StlStatement UId="1377">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1378">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="LeerZiel" />
      </Symbol>
      <LineComment>
        <Text>Nach Entladen des BM dieses Ziel übergeben</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1381">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Sort_Info" />
        <Component Name="Teil_Ziel" />
      </Symbol>
      <LineComment>
        <Text>BM bei diesem Abwurf-Ziel ausfahren/entladen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1384">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Sinnvolle Angabe ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1387">
    <StlToken Text="GT_I" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1389">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="New" />
      <LineComment>
        <Text>Daten mit neuem Ziel an Hauptstrang übergeben !</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1392">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1393">
    <LineComment>
      <Text>Daten aus Sortliste löschen</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1395">
    <LabelDeclaration>
      <Label Name="w084" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Pos" />
      </Symbol>
      <LineComment>
        <Text>Aktuelle Position der Daten in Datenliste</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1399">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Word</ConstantType>
        <ConstantValue>16#0E00</ConstantValue>
      </Constant>
      <LineComment>
        <Text>0EYY: DS YY löschen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1402">
    <StlToken Text="OW" />
  </StlStatement>
  <StlStatement UId="1403">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="FC86_Para" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1405">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1406">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo Name="DatenOutSort" BlockType="FC">
        <Parameter Name="SSDB" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Dyn" />
              <Component Name="Hauptstrang_Sortliste" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="SSDW" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Weiche" />
              <Component Name="Hauptstrang_DL_DW" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="PARA" Section="Input" Type="Word">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="FC86_Para" />
            </Symbol>
          </Access>
          <LineComment>
            <Text>DS YY löschen</Text>
          </LineComment>
        </Parameter>
        <Parameter Name="OUTDATEN" Section="Output" Type="Pointer">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Daten" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="RE_VAL" Section="Output" Type="Byte">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MB199" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="1415">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1416">
    <LineComment>
      <Text>GST-Schalt-Inks speichern:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1418">
    <LabelDeclaration>
      <Label Name="GST" />
    </LabelDeclaration>
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1421">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1423">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w08E" />
    </Access>
  </StlStatement>
  <StlStatement UId="1425">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1426">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Ink_Schaltdauer" />
      </Symbol>
      <LineComment>
        <Text>Inkremente (Fenster), danach wird Weiche in GST geschaltet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1429">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>sinnvoller Wert ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1432">
    <StlToken Text="LE_I" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1434">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w08E" />
    </Access>
  </StlStatement>
  <StlStatement UId="1436">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1437">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Ink_Schaltdauer" />
      </Symbol>
      <LineComment>
        <Text>Inkremente (Fenster), danach wird Weiche in GST geschaltet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1440">
    <StlToken Text="ITD" />
  </StlStatement>
  <StlStatement UId="1441">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ink_Wert" />
      </Symbol>
      <LineComment>
        <Text>Aktueller Inkrementalwert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1444">
    <StlToken Text="ADD_D" />
  </StlStatement>
  <StlStatement UId="1445">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente bei Weiche auf GST schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1448">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Zähl-Lauf mit Flag ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1451">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag bei Weiche auf GST schalten       </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1454">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1455">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Max_Wert" />
      </Symbol>
      <LineComment>
        <Text>Maximal erlaubter Zählwert überschritten ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1458">
    <StlToken Text="LE_D" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1460">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w08E" />
    </Access>
  </StlStatement>
  <StlStatement UId="1462">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1463">
    <StlToken Text="SUB_D" />
    <LineComment>
      <Text>Restwert übernehmen</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1465">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente bei Weiche auf GST schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1468">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Zähl-Lauf mit Flag ist aktiv (invertieren, da Überlauf!)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1471">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag bei Weiche auf GST schalten       </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1474">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1475">
    <LabelDeclaration>
      <Label Name="w08E" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="1478">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1481">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1482">
    <LabelDeclaration>
      <Label Name="en08_Mig" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="1484">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="60" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="61" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="62" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="63" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="64" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="65" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="66" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Weiche aufgrund der Hauptstrangdaten schalten</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="67" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="68" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="1485">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente bei Weiche auf GST schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1488">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>DInt</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>sinnvolle Angabe ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1491">
    <StlToken Text="LE_D" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1493">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="X111" />
    </Access>
  </StlStatement>
  <StlStatement UId="1495">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1496">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag bei Weiche auf GST schalten       </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1499">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Flag_Lauf_fertig" />
      </Symbol>
      <LineComment>
        <Text>Flag-Lauf wurde beendet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1502">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="1503">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag bei Weiche auf GST schalten           </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1506">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ohne_Lauf_fertig" />
      </Symbol>
      <LineComment>
        <Text>Flag-Lauf wurde beendet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1509">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="w110" />
      <LineComment>
        <Text>beim Ende des Lauf sind Inkremente uninteressant</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1512">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1513">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag bei Weiche auf GST schalten         </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1516">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Zähl-Lauf mit Flag ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1519">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="1520">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag bei Weiche auf GST schalten          </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1523">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Lauf_Flag" />
      </Symbol>
      <LineComment>
        <Text>Zähl-Lauf mit Flag ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1526">
    <StlToken Text="JCN" />
    <Access Scope="Label">
      <Label Name="en11" />
    </Access>
  </StlStatement>
  <StlStatement UId="1528">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1529">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ink_Wert" />
      </Symbol>
      <LineComment>
        <Text>Aktuelle Inkrementalwert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1532">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente bei Weiche auf GST schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1535">
    <StlToken Text="LT_D" />
  </StlStatement>
  <StlStatement UId="1536">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en11" />
    </Access>
  </StlStatement>
  <StlStatement UId="1538">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1539">
    <LabelDeclaration>
      <Label Name="w110" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Ink_Schaltdauer" />
      </Symbol>
      <LineComment>
        <Text>Inkremente (Fenster), danach wird Weiche in GST geschaltet</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1543">
    <StlToken Text="ITD" />
  </StlStatement>
  <StlStatement UId="1544">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente bei Weiche auf GST schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1547">
    <StlToken Text="ADD_D" />
    <LineComment>
      <Text>dazuaddieren, um zu ermitteln, ob nächste Daten schon früher kommen</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1549">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Hauptstrang_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente zum Weiche schalten (vom Hauptstrang)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1552">
    <StlToken Text="GT_D" />
    <LineComment>
      <Text>Haupstrangdaten sind kleiner</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1554">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="1555">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>DInt</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>sinnvolle Hauptstrang-Daten ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1558">
    <StlToken Text="NE_D" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1560">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="1561">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="X111" />
      <LineComment>
        <Text>Nicht auf GST schalten, da nächste Daten schon kommen !</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1564">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1565">
    <LineComment>
      <Text>Weiche auf GST schalten:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1567">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1569">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1571">
    <StlToken Text="JCN" />
    <Access Scope="Label">
      <Label Name="W110_Mig" />
      <LineComment>
        <Text>Negierter Sprung !</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1574">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1575">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM fährt aus Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1578">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM bei Ausfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1581">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en11" />
      <LineComment>
        <Text>Warten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1584">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1585">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1586">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Gerade schalten   </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1589">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1591">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="X111" />
    </Access>
  </StlStatement>
  <StlStatement UId="1593">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1594">
    <LabelDeclaration>
      <Label Name="W110_Mig" />
    </LabelDeclaration>
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1597">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Weichen_GST_gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1599">
    <StlToken Text="JCN" />
    <Access Scope="Label">
      <Label Name="X111" />
      <LineComment>
        <Text>Negierter Sprung !</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1602">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1603">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM fährt geradeaus durch Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1606">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM bei Weiterfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1609">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en11" />
      <LineComment>
        <Text>Warten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1612">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1613">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1614">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Abzweig schalten   </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1617">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1619">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1620">
    <LabelDeclaration>
      <Label Name="X111" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="1623">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Ink" />
      </Symbol>
      <LineComment>
        <Text>Inkremente bei Weiche auf GST schalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1626">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1627">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="GSTschalt_Flag" />
      </Symbol>
      <LineComment>
        <Text>Flag bei Weiche auf GST schalten         </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1630">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1631">
    <LabelDeclaration>
      <Label Name="en11" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="1633">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="69" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="6A" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="6B" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="6C" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="6D" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="6E" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="6F" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Weiche auf GST zurückschalten</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="70" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="71" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="1634">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Kontroll_B_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Kontroll-Sensor bei Weiterfahrt (gerade)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1637">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ohne_VerklemmKontrolle" />
      </Symbol>
      <LineComment>
        <Text>Verklemmkontrolle ausschalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="O" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Hauptstrang_leer" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1640">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM fährt geradeaus durch Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1643">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BM_Gerade_erkannt" />
      </Symbol>
      <LineComment>
        <Text>Geradeausfahrendes BM wurde erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1646">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM bei Weiterfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1649">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_undef_Gerade" />
      </Symbol>
      <LineComment>
        <Text>undefiniertes BM bei Weiterfahrt erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1652">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Gerade_Neg" />
      </Symbol>
      <LineComment>
        <Text>Geradeaus: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1655">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Nw17" />
    </Access>
  </StlStatement>
  <StlStatement UId="1657">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1658">
    <LineComment>
      <Text>BM fährt geradeaus:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1660">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Kontroll-Sensor nach Weiche Gerade</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1663">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BM_Gerade_erkannt" />
      </Symbol>
      <LineComment>
        <Text>Geradeausfahrendes BM wurde erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1666">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM fährt geradeaus durch Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1669">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1671">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BM_Gerade_erkannt" />
      </Symbol>
      <LineComment>
        <Text>Geradeausfahrendes BM wurde erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1674">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1675">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Kontroll-Sensor nach Weiche Gerade</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1678">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BM_Gerade_erkannt" />
      </Symbol>
      <LineComment>
        <Text>Geradeausfahrendes BM wurde erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1681">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1682">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Last_IDX" />
      </Symbol>
      <LineComment>
        <Text>IDX des letzten durchfahrenden Teils</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1685">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Kontroll_IDX" />
      </Symbol>
      <LineComment>
        <Text>IDX des zu kontollierenden Teils</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1688">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="IDX_Flag" />
      </Symbol>
      <LineComment>
        <Text>Hauptstrang_DL +1 durchsuchen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1691">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Kontroll_Flag" />
      </Symbol>
      <LineComment>
        <Text>Hauptstrang_DL +1 durchsuchen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1694">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1695">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="Q_G" />
    </Access>
  </StlStatement>
  <StlStatement UId="1697">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1698">
    <LabelDeclaration>
      <Label Name="N_G" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Kontroll_Zeit_gerade" />
      </Symbol>
      <LineComment>
        <Text>Nach dieser Zeit muss BM Weichenbereich verlassen haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1702">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche gerade verlassen haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1705">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1706">
    <LabelDeclaration>
      <Label Name="Q_G" />
    </LabelDeclaration>
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ErrQuit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1709">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM fährt geradeaus durch Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1712">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM bei Weiterfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1715">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1716">
    <LineComment>
      <Text>Zeit verändern:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1718">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Band ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1721">
    <StlToken Text="ON" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="100ms-Impuls" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1723">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM bei Weiterfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1726">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Un_G" />
    </Access>
  </StlStatement>
  <StlStatement UId="1728">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1729">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche gerade verlassen haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1732">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW2" />
      </Symbol>
      <LineComment>
        <Text>Anzahl der 100ms-Takte</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1735">
    <StlToken Text="SUB_I" />
  </StlStatement>
  <StlStatement UId="1736">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche gerade verlassen haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1739">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Kontroll-Zeit abgelaufen ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1742">
    <StlToken Text="GT_I" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1744">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Gerade_Neg" />
      </Symbol>
      <LineComment>
        <Text>Geradeaus: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1747">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en16" />
    </Access>
  </StlStatement>
  <StlStatement UId="1749">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1750">
    <LineComment>
      <Text>BM verklemmt ?:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1752">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Gerade_Neg" />
      </Symbol>
      <LineComment>
        <Text>Geradeaus: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1755">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Un_G" />
    </Access>
  </StlStatement>
  <StlStatement UId="1757">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1758">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1759">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Gerade_Neg" />
      </Symbol>
      <LineComment>
        <Text>Geradeaus: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1762">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1763">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM fährt geradeaus durch Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1766">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM bei Weiterfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1769">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="N_G" />
      <LineComment>
        <Text>Zeit neu laden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1772">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1773">
    <LineComment>
      <Text>BM undefiniert ?:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1775">
    <LabelDeclaration>
      <Label Name="Un_G" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche gerade verlassen haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1779">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="DraussenZeit_gerade" />
      </Symbol>
      <LineComment>
        <Text>Nach dieser neg. Zeit [100ms] Error undef.BM, falls Kontroll-Sensor aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1782">
    <StlToken Text="GT_I" />
    <LineComment>
      <Text>Muss BM draussen sein ? Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1784">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en16" />
    </Access>
  </StlStatement>
  <StlStatement UId="1786">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1787">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche gerade verlassen haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1790">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1791">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Gerade" />
      </Symbol>
      <LineComment>
        <Text>Kontroll-Sensor nach Weiche Gerade</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1794">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en16" />
    </Access>
  </StlStatement>
  <StlStatement UId="1796">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1797">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1798">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_undef_Gerade" />
      </Symbol>
      <LineComment>
        <Text>undefiniertes BM bei Weiterfahrt erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1801">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1802">
    <LabelDeclaration>
      <Label Name="en16" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="1804">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="72" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="73" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="74" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="75" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="76" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="77" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="78" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Weichenbereich auf verklemmte gerade fahrende BM kontrollieren</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="79" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="7A" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="1805">
    <LabelDeclaration>
      <Label Name="Nw17" />
    </LabelDeclaration>
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="Kontroll_B_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Kontroll-Sensor bei Ausfahrt (abzweig)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1809">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Ohne_VerklemmKontrolle" />
      </Symbol>
      <LineComment>
        <Text>Verklemmkontrolle ausschalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1812">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM fährt aus Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1815">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BM_Ausfahrt_erkannt" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrendes BM wurde erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1818">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM bei Ausfahrt in Weiche verklemmt (-&gt; Antrieb gestoppt)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1821">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Ausfahrt_Neg" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrend: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1824">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Nw18" />
    </Access>
  </StlStatement>
  <StlStatement UId="1826">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1827">
    <LineComment>
      <Text>BM fährt aus:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1829">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Kontroll-Sensor nach Weiche Ausfahrt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Stau_Ausfahrtbereich" />
      </Symbol>
      <LineComment>
        <Text>Bei Stau Einzelerkennung nicht mehr möglich!</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1832">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BM_Ausfahrt_erkannt" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrendes BM wurde erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1835">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM fährt aus Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Ausfahrt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1843">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BM_Ausfahrt_erkannt" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrendes BM wurde erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1846">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1847">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Kontroll-Sensor nach Weiche Ausfahrt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1850">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Stau_Ausfahrtbereich" />
      </Symbol>
      <LineComment>
        <Text>Bei Stau auch !</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1853">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BM_Ausfahrt_erkannt" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrendes BM wurde erkannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1856">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1857">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="Q_A" />
    </Access>
  </StlStatement>
  <StlStatement UId="1859">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1860">
    <LabelDeclaration>
      <Label Name="N_A" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Kontroll_Zeit_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Nach dieser Zeit muss BM Weichenbereich verlassen haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1864">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche ausgefahren haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1867">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1868">
    <LabelDeclaration>
      <Label Name="Q_A" />
    </LabelDeclaration>
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ErrQuit" />
      </Symbol>
      <LineComment>
        <Text>s.u.</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1872">
    <StlToken Text="SET" />
    <LineComment>
      <Text>Ohne Quittierung</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1874">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM fährt aus Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1877">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM bei Ausfahrt in Weiche verklemmt (-&gt; Antrieb gestoppt)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1880">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1881">
    <LineComment>
      <Text>Zeit verändern:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1883">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Band ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1886">
    <StlToken Text="ON" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="100ms-Impuls" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1888">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM bei Ausfahrt in Weiche verklemmt (-&gt; Antrieb gestoppt)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1891">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en17" />
    </Access>
  </StlStatement>
  <StlStatement UId="1893">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1894">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche ausgefahren haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1897">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW2" />
      </Symbol>
      <LineComment>
        <Text>Anzahl der 100ms-Takte</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1900">
    <StlToken Text="SUB_I" />
  </StlStatement>
  <StlStatement UId="1901">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche ausgefahren haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1904">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Kontroll-Zeit abgelaufen ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1907">
    <StlToken Text="GT_I" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1909">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Ausfahrt_Neg" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrend: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1912">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en17" />
    </Access>
  </StlStatement>
  <StlStatement UId="1914">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1915">
    <LineComment>
      <Text>BM verklemmt ?:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1917">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Ausfahrt_Neg" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrend: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1920">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Un_A" />
    </Access>
  </StlStatement>
  <StlStatement UId="1922">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1923">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1924">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Ausfahrt_Neg" />
      </Symbol>
      <LineComment>
        <Text>Ausfahrend: Kontroll-Time ist negativ </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1927">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1928">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="BT_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM fährt aus Weichenbereich</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1931">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BM_verklemmt_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>BM bei Ausfahrt in Weiche verklemmt (-&gt; Antrieb gestoppt)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1934">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="N_A" />
      <LineComment>
        <Text>Zeit neu laden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1937">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1938">
    <LabelDeclaration>
      <Label Name="Un_A" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="1941">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Kontroll_Time_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Innerhalb dieser Zeit muss BM Weiche ausgefahren haben [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1944">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1945">
    <LabelDeclaration>
      <Label Name="en17" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="1947">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1948">
    <LineComment>
      <Text>BM fährt aus:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1950">
    <LineComment>
      <Text>Zeit verändern:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1952">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Band ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1955">
    <StlToken Text="ON" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="100ms-Impuls" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1957">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En17_Mig" />
    </Access>
  </StlStatement>
  <StlStatement UId="1959">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1960">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Time_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Diese Zeit benötigt BM zum Ausfahren [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1963">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW2" />
      </Symbol>
      <LineComment>
        <Text>Anzahl der 100ms-Takte</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1966">
    <StlToken Text="SUB_I" />
  </StlStatement>
  <StlStatement UId="1967">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Time_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Diese Zeit benötigt BM zum Ausfahren [100ms]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1970">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Ausfahr-Zeit abgelaufen ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1973">
    <StlToken Text="GT_I" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="1975">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En17_Mig" />
    </Access>
  </StlStatement>
  <StlStatement UId="1977">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1978">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Time_Ausfahrt" />
      </Symbol>
      <LineComment>
        <Text>Minimum übergeben</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1981">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1982">
    <LabelDeclaration>
      <Label Name="En17_Mig" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="1984">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="7B" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="7C" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="7D" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="7E" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="7F" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="80" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="81" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Weichenbereich auf verklemmte ausfahrende BM kontrollieren</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="82" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="83" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="1985">
    <LabelDeclaration>
      <Label Name="Nw18" />
    </LabelDeclaration>
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="PC_Komm_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1988">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Carr" />
      </Symbol>
      <LineComment>
        <Text>CARR-Telegramm muss noch gesendet werden </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="68">
    <StlToken Text="O" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="SGes" />
        <Component Name="Ohne_PC_Fahren" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="1991">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Carr" />
      </Symbol>
      <LineComment>
        <Text>CARR-Telegramm muss noch gesendet werden </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1994">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en13" />
    </Access>
  </StlStatement>
  <StlStatement UId="1996">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1997">
    <LineComment>
      <Text>CARR mit dieser IDX schon gesendet?: (wegen Travel-FIFO leer) </Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1999">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Sort_Info" />
        <Component Name="Teil_IDX" />
      </Symbol>
      <LineComment>
        <Text>IDX des BT  </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="109">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MD220" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="2002">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Teil_IDX_Old" />
      </Symbol>
      <LineComment>
        <Text>BT/MT-IDX (wurde bei Auslagerung gemeldet)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="2005">
    <StlToken Text="EQ_D" />
  </StlStatement>
  <StlStatement UId="2006">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="X130" />
    </Access>
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="23">
    <LineComment>
      <Text>GOHDUM an Host senden: oder beim Verlaasen vom Sep4503?</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="83">
    <LineComment>
      <Text>Puffer ermitteln:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="64">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="AbzweigZiel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="ADD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>-200</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Daten_für_SendFIFO" />
        <Component Name="Puffer_LinienNr" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="71">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="70">
    <LineComment>
      <Text>Pufferstatus (Stau) ermitteln:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="72">
    <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="78">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Daten_für_SendFIFO" />
        <Component Name="Status_2_Bit[0]" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="81">
    <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="86">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Daten_für_SendFIFO" />
        <Component Name="Status_2_Bit[1]" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="90">
    <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="92">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Daten_für_SendFIFO" />
        <Component Name="Status_2_Bit[2]" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="96">
    <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="98">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="Daten_für_SendFIFO" />
        <Component Name="Status_2_Bit[3]" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="28">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="29">
    <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>'U'</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="TelegrammKennung[6]" Section="Input" Type="Char">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Char</ConstantType>
              <ConstantValue>'M'</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="TelegrammKennung[7]" Section="Input" Type="Char" />
        <Parameter Name="TelegrammKennung[8]" Section="Input" Type="Char" />
        <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="LocalVariable">
            <Symbol>
              <Component Name="Daten" />
              <Component Name="Sort_Info" />
              <Component Name="Teil_IDX" />
            </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">
          <LineComment>
            <Text>s.o.</Text>
          </LineComment>
        </Parameter>
        <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">
          <LineComment>
            <Text>s.o.</Text>
          </LineComment>
        </Parameter>
        <Parameter Name="Status_2_Bit[1]" Section="Input" Type="Bool">
          <LineComment>
            <Text>s.o.</Text>
          </LineComment>
        </Parameter>
        <Parameter Name="Status_2_Bit[2]" Section="Input" Type="Bool">
          <LineComment>
            <Text>s.o.</Text>
          </LineComment>
        </Parameter>
        <Parameter Name="Status_2_Bit[3]" Section="Input" Type="Bool">
          <LineComment>
            <Text>s.o.</Text>
          </LineComment>
        </Parameter>
        <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_SendFIFO" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="66">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="67">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Error_SendFIFO" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="75">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en13" />
    </Access>
  </StlStatement>
  <StlStatement UId="74">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="2116">
    <LabelDeclaration>
      <Label Name="X130" />
    </LabelDeclaration>
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="2118">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Carr" />
      </Symbol>
      <LineComment>
        <Text>CARR-Telegramm muss noch gesendet werden </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="2121">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="2122">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Sort_Info" />
        <Component Name="Teil_IDX" />
      </Symbol>
      <LineComment>
        <Text>IDX des BT  </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="2125">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Teil_IDX_Old" />
      </Symbol>
      <LineComment>
        <Text>BT/MT-IDX (wurde bei Auslagerung gemeldet)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="2128">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="2129">
    <LabelDeclaration>
      <Label Name="en13" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="2131">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="84" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="85" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="86" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="87" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="88" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="89" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="8A" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>CARR-Telegramm an PC senden</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="8B" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="8C" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="24">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Parameter" />
        <Component Name="IDX_an_Puffer" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Puffer_IDX" />
      </Symbol>
      <LineComment>
        <Text>Trolley-ID in Puffer eintragen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Puffer_IDX" />
      </Symbol>
      <LineComment>
        <Text>CARR-Telegramm muss noch gesendet werden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="xn16" />
    </Access>
  </StlStatement>
  <StlStatement UId="57">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="58">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Ziel_unbekannt" />
      </Symbol>
      <LineComment>
        <Text>Ziel des BT ist unbekannt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="50">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="X160" />
    </Access>
  </StlStatement>
  <StlStatement UId="35">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Carr_Ziel" />
      </Symbol>
      <LineComment>
        <Text>Ziel, das bei Carr-Telegramm gemeldet wird (1-20)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="34">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW220" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="62">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="63">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <CallInfo Name="DatenOut" BlockType="FC">
        <Parameter Name="SSDB" Section="Input" Type="Int">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Int</ConstantType>
              <ConstantValue>275</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="SSDW" Section="Input" Type="Int">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Int</ConstantType>
              <ConstantValue>0</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="PARA" Section="Input" Type="Word">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>Word</ConstantType>
              <ConstantValue>16#0000</ConstantValue>
            </Constant>
          </Access>
          <LineComment>
            <Text>Eintrag lesen</Text>
          </LineComment>
        </Parameter>
        <Parameter Name="SEARCHDATEN" Section="Input" Type="Pointer">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>ARef</ConstantType>
              <ConstantValue>P#M220.0</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="RE_VAL" Section="Output" Type="Byte">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MB199" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="OUTDATEN" Section="Output" Type="Pointer">
          <Access Scope="Address">
            <Address Area="DB" Type="Bool" BlockNumber="1275" BitOffset="0" />
          </Access>
        </Parameter>
        <Parameter Name="Position" Section="Output" Type="Int">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="MW196" />
            </Symbol>
          </Access>
        </Parameter>
      </CallInfo>
    </Access>
  </StlStatement>
  <StlStatement UId="80">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="81">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MB199" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="83">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Word</ConstantType>
        <ConstantValue>2#1111111</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Bit 7 ausblenden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="86">
    <StlToken Text="AW" />
  </StlStatement>
  <StlStatement UId="87">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Fehler vorhanden?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="90">
    <StlToken Text="NE_I" />
    <LineComment>
      <Text>Ja</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="36">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="X160" />
    </Access>
  </StlStatement>
  <StlStatement UId="128">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="94">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="LagerDL_OutDaten" />
        <Component Name="OUTDaten" />
        <Component Name="Puffer_Dyn_DB" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="77">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="DatenDB" />
      </Symbol>
      <LineComment>
        <Text>s.u.</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="28">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="40">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="LagerDL_OutDaten" />
        <Component Name="OUTDaten" />
        <Component Name="Puffer_Dyn_DW" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="96">
    <StlToken Text="ITD" />
  </StlStatement>
  <StlStatement UId="108">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="AR1Start" />
      </Symbol>
      <LineComment>
        <Text>Startwert mit Offset 0</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="111">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="112">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="AR1Start" />
      </Symbol>
      <LineComment>
        <Text>Startwert mit Offset 0</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="115">
    <StlToken Text="ADD" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#72</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Offset TrolleyID_Einfahrt</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="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="67">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="42">
    <StlToken Text="OPEN_DB" />
    <Access Scope="Address">
      <Indirect Width="Block" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="DatenDB" />
          </Symbol>
        </Access>
      </Indirect>
    </Access>
  </StlStatement>
  <StlStatement UId="47">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="39">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Daten" />
        <Component Name="Sort_Info" />
        <Component Name="Teil_IDX" />
      </Symbol>
      <LineComment>
        <Text>IDX des Trolleys an Omnipuffer melden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="54">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Indirect Width="Double" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="AR1Zeiger" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>Lager +1 (DBW 72)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="44">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="160">
    <LabelDeclaration>
      <Label Name="X160" />
    </LabelDeclaration>
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="162">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Puffer_IDX" />
      </Symbol>
      <LineComment>
        <Text>CARR-Telegramm muss noch gesendet werden</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="172">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="173">
    <LabelDeclaration>
      <Label Name="xn16" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="175">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="8D" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="8E" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="8F" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="90" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="91" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="92" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="93" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Trolley-ID in Puffer eintragen</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="94" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="95" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="2132">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Abzweig schalten   </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="2135">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="2137">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_abzweigen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="2139">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="2140">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
      <LineComment>
        <Text>Weiche auf Gerade schalten   </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="2143">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="2145">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="96" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="97" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="98" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="99" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="9A" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="9B" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="9C" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Weiche schalten</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="9D" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="9E" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="2146">
    <StlToken Text="BE" />
  </StlStatement>
  <StlStatement UId="2147">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="9F" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="A0" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="A1" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="A2" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="A3" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="A4" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="A5" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Ende</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="A6" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <MultilingualText ID="A7" CompositionName="Title">
        <ObjectList>
          <MultilingualTextItem ID="A8" CompositionName="Items">
            <AttributeList>
              <Culture>cs-CZ</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="A9" CompositionName="Items">
            <AttributeList>
              <Culture>de-DE</Culture>
              <Text>Weichen-Modul (AS)</Text>
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="AA" CompositionName="Items">
            <AttributeList>
              <Culture>en-US</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.FB>
</Document>