<?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">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Aufruf für Weiche</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="ErrQuit" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Ablaufstörung quittieren</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Fahren_Ok" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Fahren Ok</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="B_Ziel_gerade" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Ziel-Sensor gerade</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="B_Ziel_abzweig" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Ziel-Sensor abzweig</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Antrieb_Weiche_aktiv" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Weichen-Antrieb aktiv</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Antrieb_Gerade_aktiv" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Gerade-Antrieb aktiv</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Antrieb_Abzweig_aktiv" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Abzweig-Antrieb aktiv</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Weiche_ist_AST" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Weiche ist auf Arbeitsstellung</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Output">
    <Member Name="Y_Weiche_gerade" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Weiche auf Gerade schalten</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Y_Weiche_abzweig" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Weiche auf Abzweig schalten</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Error" Datatype="Word">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Störungen übergeben</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="InOut">
    <Member Name="Antrieb_Weiche_vor" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Weichenantrieb einschalten</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Antrieb_Weiche_stop" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Weichenantrieb stoppen</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Antrieb_Weiche_gerade_vor" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Weichenantrieb gerade einschalten</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Antrieb_Weiche_gerade_stop" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Weichenantrieb gerade stoppen</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Antrieb_Weiche_abzweig_vor" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Weichenantrieb abzweig einschalten</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Antrieb_Weiche_abzweig_stop" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Weichenantrieb abzweig stoppen</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="hStOk" Datatype="Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">Anzeige Start n. Störung aktivieren</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Static">
    <Member Name="SAVE" Datatype="Struct">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Member Name="Schleusen_DB" Datatype="Int">
        <Comment>
          <MultiLanguageText Lang="de-DE">Schleuse-1-DB</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Schleuse-1_DW" Datatype="Int">
        <Comment>
          <MultiLanguageText Lang="de-DE">Schleuse-1-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="Para" Datatype="Struct">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <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="Schleusen_DL_DB" Datatype="Int">
        <Comment>
          <MultiLanguageText Lang="de-DE">Einsprung Schleuse-Datenliste-DB</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Schleusen_DL_DW" Datatype="Int">
        <Comment>
          <MultiLanguageText Lang="de-DE">Einsprung Schleuse-Datenliste-DW</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Res1" Datatype="Array[1..1] of Int">
        <Comment>
          <MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
        </Comment>
      </Member>
    </Member>
    <Member Name="Weiche" Datatype="&quot;UDLHMOmniWeiche_2fach_Plus&quot;">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</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">
        <AttributeList>
          <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
        </AttributeList>
        <Comment>
          <MultiLanguageText Lang="de-DE">Status</MultiLanguageText>
        </Comment>
        <Member Name="Weiche_frei" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Rückmeldung: Weiche ist wieder frei</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Kein_StartOk" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Input StartOk &lt;&gt;1</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="MindestZeit_ok" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Mindestzeit für Weichendurchfahrt erreicht?</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Ziel_erreicht" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Ziel erreicht</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Frei06" Datatype="Bool" />
        <Member Name="Weiche_aktiv" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Weiche ist aktiv</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Auto_akt" Datatype="Bool" />
        <Member Name="Hand_akt" Datatype="Bool" />
        <Member Name="Bereich_ok" Datatype="Bool" />
        <Member Name="MindestZeit_nachtriggern" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Mindestzeit nachtriggern (von Schleuse -1)</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Warten_auf_Mindestzeit" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Mindestzeit noch nicht abgelaufen</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Res15" Datatype="Bool" />
        <Member Name="Error_aktiv" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Störung vorhanden</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Reset_aktiv" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Reset aktiv</MultiLanguageText>
          </Comment>
          <StartValue>TRUE</StartValue>
        </Member>
      </Member>
      <Member Name="TrolleyID" Datatype="DInt">
        <AttributeList>
          <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
        </AttributeList>
        <Comment>
          <MultiLanguageText Lang="de-DE">Trolley-Nr (Eintrag Schleuse, Austrag Weiche)</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Weichen_Ziel" Datatype="Word">
        <AttributeList>
          <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
        </AttributeList>
        <Comment>
          <MultiLanguageText Lang="de-DE">Weichen-Ziel (Eintrag Schleuse, Austrag Weiche)</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Schleuse -1" Datatype="Int">
        <AttributeList>
          <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
        </AttributeList>
        <Comment>
          <MultiLanguageText Lang="de-DE">Schleuse, woher Ziel kam</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Zwischen_Ziel" Datatype="Word">
        <Comment>
          <MultiLanguageText Lang="de-DE">Zwischen-Ziel</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="HMI" Datatype="Struct">
        <Member Name="TrolleyID_Weiche" Datatype="DInt">
          <AttributeList>
            <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
          </AttributeList>
          <Comment>
            <MultiLanguageText Lang="de-DE">Trolley-Nr im Weichenbereich (IN:PLC, OUT:PLC)</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="WeichenZiel" Datatype="DInt">
          <AttributeList>
            <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
          </AttributeList>
          <Comment>
            <MultiLanguageText Lang="de-DE">Ziel im Weichenbereich (IN:PLC, OUT:PLC)</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Weiche_resetten" Datatype="Bool">
          <Comment>
            <MultiLanguageText Lang="de-DE">Weiche resetten (IN:HMI, Out:PLC)</MultiLanguageText>
          </Comment>
        </Member>
      </Member>
      <Member Name="Rueckmld" Datatype="Struct">
        <AttributeList>
          <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
        </AttributeList>
        <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_DL_Schleusen" Datatype="Byte">
          <Comment>
            <MultiLanguageText Lang="de-DE">Rückmeldung nach DatenOut-Aufruf</MultiLanguageText>
          </Comment>
        </Member>
      </Member>
      <Member Name="Error" Datatype="&quot;UErrOmniWeiche_2fach&quot;">
        <AttributeList>
          <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
        </AttributeList>
      </Member>
      <Member Name="FahrKontrolle" Datatype="Struct">
        <AttributeList>
          <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
        </AttributeList>
        <Member Name="Para_Mindestzeit" Datatype="Int">
          <Comment>
            <MultiLanguageText Lang="de-DE">BM erst nach dieser Zeit im Ziel</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Para_Überwachungszeit" Datatype="Int">
          <Comment>
            <MultiLanguageText Lang="de-DE">BM nach dieser Zeit in Weiche verklemmt</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Akt_Mindestzeitzeit" Datatype="Int">
          <Comment>
            <MultiLanguageText Lang="de-DE">BM erst nach dieser Zeit im Ziel</MultiLanguageText>
          </Comment>
        </Member>
        <Member Name="Akt_Überwachungszeit" Datatype="Int">
          <Comment>
            <MultiLanguageText Lang="de-DE">BM nach dieser Zeit in Weiche verklemmt</MultiLanguageText>
          </Comment>
        </Member>
      </Member>
      <Member Name="Leer_Zeit" Datatype="Int">
        <AttributeList>
          <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
        </AttributeList>
        <Comment>
          <MultiLanguageText Lang="de-DE">Lager ist frei [1s]</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Schalttakte" Datatype="DInt">
        <AttributeList>
          <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
        </AttributeList>
        <Comment>
          <MultiLanguageText Lang="de-DE">Anzahl der getätigten Umschaltungen</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Frei200" Datatype="Array[1..44] of Int">
        <AttributeList>
          <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
          <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
        </AttributeList>
      </Member>
    </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="Parameter" Datatype="Word">
      <Comment>
        <MultiLanguageText Lang="de-DE">Parameter</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>
    <Member Name="AR1Start" Datatype="DInt">
      <Comment>
        <MultiLanguageText Lang="de-DE">Startwert mit Offset 0</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Bereich+1ID" Datatype="Int" />
    <Member Name="Bereich+1_DB" Datatype="Int" />
    <Member Name="Keine_Einfahrt" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Keine Einfahrt angemeldet</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Err_Bereich+1" Datatype="Bool" />
    <Member Name="Weichen_Trolleys" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Weichen-Trolleys vorhanden</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="ZielSensor_aktiv" Datatype="Bool" />
    <Member Name="Abzweig_Ziel" Datatype="Bool" />
    <Member Name="Gerade_Ziel" Datatype="Bool" />
    <Member Name="Antriebe_ein" Datatype="Bool" />
  </Section>
  <Section Name="Constant" />
</Sections></Interface>
      <MemoryLayout>Standard</MemoryLayout>
      <Name>MHMOmniWeiche_Plus</Name>
      <Namespace />
      <Number>1280</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 Plus: HM-Omniflow 2100 / 12.2025
-kompatibel zu Schleuse_Plus

Version: H&amp;M Omniflow 2100 / 07.2025

Version: Omniflow 2100 / 10.2024
</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="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>279</ConstantValue>
      </Constant>
      <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="21">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="36">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>274</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Einsprung Schleuse-DL</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="39">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Para" />
        <Component Name="Schleusen_DL_DB" />
      </Symbol>
      <LineComment>
        <Text>vor Aufruf übergeben!</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="42">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="44">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Para" />
        <Component Name="Schleusen_DL_DW" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="46">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="48">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="49">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ZielSensor_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Temp</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="52">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weichen_Trolleys" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="47">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antriebe_ein" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="54">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Abzweig_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="65">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Gerade_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="56">
    <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="30">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weichen_Nr" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="77">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="78">
    <LineComment>
      <Text>      R     #Y_Weiche_gerade     //Wegen Reset</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="24">
    <LineComment>
      <Text>      R     #Y_Weiche_abzweig    //Wegen Reset</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="SET" />
    <LineComment>
      <Text>Erst mal</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_frei" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="23">
    <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>Gesamt: Out-Bits zum Zurücksetzen</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="16" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="17" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="24">
    <LineComment>
      <Text>Von HMI:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="HMI" />
        <Component Name="Weiche_resetten" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="49">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="HMI" />
        <Component Name="Weiche_resetten" />
      </Symbol>
      <LineComment>
        <Text>von HMI</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="28">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="37">
    <StlToken Text="JCN" />
    <Access Scope="Label">
      <Label Name="HMI1" />
    </Access>
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Leer_Zeit" />
      </Symbol>
      <LineComment>
        <Text>da kein Sk</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="52">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Mindestzeitzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="54">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Überwachungszeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="35">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="59">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="63">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="56">
    <LineComment>
      <Text>An HMI:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="58">
    <LabelDeclaration>
      <Label Name="HMI1" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="TrolleyID" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="60">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="HMI" />
        <Component Name="TrolleyID_Weiche" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="44">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="62">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Weichen_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="46">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="HMI" />
        <Component Name="WeichenZiel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="48">
    <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>HMI-Zeug</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="257">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="259">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MB200" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="261">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="262">
    <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="265">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.0" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="267">
    <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="270">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="272">
    <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="275">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.2" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="277">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Undef_Bereich+1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="279">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.3" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="281">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Frei04" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="283">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.4" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="285">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Frei05" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="287">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.5" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="289">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Ziel_undefiniert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="292">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.6" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="294">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Schleusen_DL" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="297">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.7" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="299">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Undef_Schleuse-1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="301">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.0" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="303">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM bei Weiterfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="306">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="308">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Abzweig" />
      </Symbol>
      <LineComment>
        <Text>BM bei Ausfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="311">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.2" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="313">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Gerade_Sensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="315">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.3" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="317">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Abzweig_Sensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="319">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.4" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="321">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Gerade_Bereich_belegt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="324">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.5" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="326">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Abzweig_Bereich_belegt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="329">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.6" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="25">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="335">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M201.7" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="337">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="338">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW200" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="340">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Error" />
      </Symbol>
      <LineComment>
        <Text>Schnittstelle nach Außen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="43">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="27">
    <LineComment>
      <Text>Störung vorhanden:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="34">
    <StlToken Text="NE_I" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="35">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Error_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="343">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="356">
    <LineComment>
      <Text>Anzeige Start n. Störung aktivieren:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="358">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Gerade" />
      </Symbol>
      <LineComment>
        <Text>BM bei Weiterfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="361">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Abzweig" />
      </Symbol>
      <LineComment>
        <Text>BM bei Ausfahrt in Weiche verklemmt (-&gt; Antrieb stoppen)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="364">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="hStOk" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="29">
    <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>Störungen nach Außen übergeben</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="367">
    <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="370">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weichen_Nr" />
      </Symbol>
      <LineComment>
        <Text>Aufruf-Parameter</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="373">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>Identisch ?</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="375">
    <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="378">
    <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="381">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en06_Mig" />
      <LineComment>
        <Text>Ja !</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="384">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="385">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW200" />
      </Symbol>
      <LineComment>
        <Text>Search-Daten </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="388">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="389">
    <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="399">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="400">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MB199" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="402">
    <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="405">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="406">
    <StlToken Text="JBI" />
    <Access Scope="Label">
      <Label Name="G_Ok" />
    </Access>
  </StlStatement>
  <StlStatement UId="408">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="409">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M199.0" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="411">
    <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="414">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="415">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="416">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="417">
    <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="420">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="421">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="422">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="423">
    <LineComment>
      <Text>Kennung + Datenbytes</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="425">
    <LabelDeclaration>
      <Label Name="G_Ok" />
    </LabelDeclaration>
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="427">
    <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="430">
    <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="433">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="434">
    <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="437">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Address Area="Local" Type="Word" BitOffset="0" />
      <LineComment>
        <Text>Any-Kennung, Datentyp</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="440">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>40</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Datenwords speichern</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="443">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Address Area="Local" Type="Word" BitOffset="16" />
      <LineComment>
        <Text>Wiederholungen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="446">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="447">
    <LineComment>
      <Text>Quelle-Pointer erzeugen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="449">
    <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="452">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Address Area="Local" Type="Word" BitOffset="32" />
      <LineComment>
        <Text>DB_Nummer</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="455">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>220</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Adresse</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="458">
    <StlToken Text="SLD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="460">
    <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="463">
    <StlToken Text="OD" />
  </StlStatement>
  <StlStatement UId="464">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Address Area="Local" Type="DWord" BitOffset="48" />
      <LineComment>
        <Text>Kennung, Adresse</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="467">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="468">
    <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="476">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="477">
    <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="480">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Fehler vorhanden ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="483">
    <StlToken Text="NE_I" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="485">
    <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="488">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="489">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="490">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Weichen_Typ" />
      </Symbol>
      <LineComment>
        <Text>Weichentyp = 1280 (HM-Weiche 2fach_Plus)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="493">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>1280</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Dieser Aufruf-FB ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="496">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="498">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en06_Mig" />
    </Access>
  </StlStatement>
  <StlStatement UId="500">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="501">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="502">
    <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="505">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="506">
    <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="509">
    <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="512">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="513">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="514">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="515">
    <LabelDeclaration>
      <Label Name="en06_Mig" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="517">
    <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="24">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En06" />
    </Access>
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="41">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_vor" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_gerade_vor" />
      </Symbol>
      <LineComment>
        <Text>Antrieb gerade einschalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="37">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_abzweig_vor" />
      </Symbol>
      <LineComment>
        <Text>Antrieb abzweig einschalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="48">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="50">
    <StlToken Text="ON" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="1s-Impuls" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="52">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En06" />
    </Access>
  </StlStatement>
  <StlStatement UId="53">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="54">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Leer_Zeit" />
      </Symbol>
      <LineComment>
        <Text>Zeit für LeerCheck [1s]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="57">
    <StlToken Text="ADD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>+1</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="59">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Leer_Zeit" />
      </Symbol>
      <LineComment>
        <Text>Zeit für LeerCheck [1s]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="62">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="63">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Wartezeit_bis_Weiche_leer" />
      </Symbol>
      <LineComment>
        <Text>Leer-Zeit erreicht ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="66">
    <StlToken Text="LT_I" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="69">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En06" />
    </Access>
  </StlStatement>
  <StlStatement UId="68">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="70">
    <LineComment>
      <Text>Dyn.Daten löschen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="72">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="73">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="75">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="77">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="79">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="80">
    <StlToken Text="L" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="82">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="TrolleyID" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="84">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="86">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Weichen_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="35">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Zwischen_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="88">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Schleuse -1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="90">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Leer_Zeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="92">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Mindestzeitzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="94">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Überwachungszeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="28">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleusen_DB" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="96">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleuse-1_DW" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="97">
    <LineComment>
      <Text>Rückmeldungen löschen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="99">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="101">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_DL_Weichen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="103">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_BLKMOV_Weiche" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="105">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_DL_Schleusen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="107">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="108">
    <LineComment>
      <Text>Störungen löschen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="110">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="111">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Weichen_DL" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="113">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Undef_Weiche" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="115">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="BLKMov" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="117">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Undef_Bereich+1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="119">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Frei04" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="121">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Frei05" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="123">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Ziel_undefiniert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="125">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Schleusen_DL" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="127">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Undef_Schleuse-1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="129">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="131">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="133">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Gerade_Sensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="135">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Abzweig_Sensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="137">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Gerade_Bereich_belegt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="139">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Abzweig_Bereich_belegt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="38">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Warten_auf_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="141">
    <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="144">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="145">
    <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="148">
    <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="157">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="158">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="159">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="160">
    <LabelDeclaration>
      <Label Name="En06" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="162">
    <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="35">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Schleuse -1" />
      </Symbol>
      <LineComment>
        <Text>Nr. der Schleuse -1 [In/OUT von Schleuse -1 / Reset]</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="38">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW200" />
      </Symbol>
      <LineComment>
        <Text>Search-Daten </Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="41">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>angegeben ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="44">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="53">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Keine_Einfahrt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="55">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En08" />
    </Access>
  </StlStatement>
  <StlStatement UId="110">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleusen_DB" />
      </Symbol>
      <LineComment>
        <Text>Weichen-FIFO-DB</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Einsprung-Zeiger bekannt ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="GT_I" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="111">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Schleusen_DL" />
      </Symbol>
      <LineComment>
        <Text>Schleusen-Datenliste fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="116">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Undef_Schleuse-1" />
      </Symbol>
      <LineComment>
        <Text>undefinierte Schleuse-1</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En08" />
    </Access>
  </StlStatement>
  <StlStatement UId="34">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="22">
    <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="Schleusen_DL_DB" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="SSDW" Section="Input" Type="Int">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Para" />
              <Component Name="Schleusen_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="71">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="72">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MB199" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="74">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Rueckmld" />
        <Component Name="RET_VAL_DL_Schleusen" />
      </Symbol>
      <LineComment>
        <Text>Rückmeldung bei Datenbank-Zugriff (Weichen-DL)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="77">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="78">
    <StlToken Text="JBI" />
    <Access Scope="Label">
      <Label Name="W_Ok" />
    </Access>
  </StlStatement>
  <StlStatement UId="80">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="81">
    <StlToken Text="A" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M199.0" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="83">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Schleusen_DL" />
      </Symbol>
      <LineComment>
        <Text>Schleusen-Datenliste fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="86">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="88">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="89">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="90">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Undef_Schleuse-1" />
      </Symbol>
      <LineComment>
        <Text>undefinierte Schleuse-1</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="93">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="94">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="96">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="97">
    <LabelDeclaration>
      <Label Name="W_Ok" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW224" />
      </Symbol>
      <LineComment>
        <Text>Rein-FIFO-DB</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="101">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleusen_DB" />
      </Symbol>
      <LineComment>
        <Text>Weichen-FIFO-DB</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="104">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>sinnvoller Wert ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="107">
    <StlToken Text="LE_I" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="84">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Undef_Schleuse-1" />
      </Symbol>
      <LineComment>
        <Text>undefinierte Schleuse-1</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="76">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="114">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="115">
    <StlToken Text="L" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW226" />
      </Symbol>
      <LineComment>
        <Text>Schleuse -1</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="118">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleuse-1_DW" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="75">
    <LabelDeclaration>
      <Label Name="En08" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="109">
    <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>Einsprung Schleuse -1 ermitteln</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="59">
    <LineComment>
      <Text>Antrieb zusätzlich starten:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="61">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ErrQuit" />
      </Symbol>
      <LineComment>
        <Text>Überwachungszeit abgelaufen quittieren</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="66">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_vor" />
      </Symbol>
      <LineComment>
        <Text>Weichenantrieb starten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="67">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_gerade_vor" />
      </Symbol>
      <LineComment>
        <Text>Antrieb gerade einschalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="68">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_abzweig_vor" />
      </Symbol>
      <LineComment>
        <Text>Antrieb abzweig einschalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="58">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="803">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ErrQuit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="53">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Keine_Einfahrt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="805">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En08_Mig" />
    </Access>
  </StlStatement>
  <StlStatement UId="807">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="808">
    <LineComment>
      <Text>Störungen löschen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="810">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Ziel_undefiniert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="25">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Schleusen_DL" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="38">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Undef_Schleuse-1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="40">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="42">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="44">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Gerade_Sensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="46">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Abzweig_Sensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="48">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Gerade_Bereich_belegt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="50">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Abzweig_Bereich_belegt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="816">
    <LineComment>
      <Text>Kann nur über Reset zurückgesetzt werden:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="22">
    <LineComment>
      <Text>/      R     #Dyn.Error.Weichen_DL</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="27">
    <LineComment>
      <Text>/      R     #Dyn.Error.Undef_Weiche</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="29">
    <LineComment>
      <Text>/      R     #Dyn.Error.BLKMov</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="31">
    <LineComment>
      <Text>/      R     #Dyn.Error."Undef_Bereich+1"</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="33">
    <LineComment>
      <Text>/      R     #Dyn.Error.Frei04</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="35">
    <LineComment>
      <Text>/      R     #Dyn.Error.Frei05</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="55">
    <LineComment>
      <Text>/      R     #Dyn.Error.Reset_aktiv//Reset ist aktiv</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="850">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="851">
    <LabelDeclaration>
      <Label Name="En08_Mig" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="853">
    <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>
</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>Störungen quittieren</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="23">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Keine_Einfahrt" />
      </Symbol>
      <LineComment>
        <Text>Also keine Schleuse -1 aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="55">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Warten_auf_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="68">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Schleusen_DL" />
      </Symbol>
      <LineComment>
        <Text>Schleusen-Datenliste fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="75">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Undef_Schleuse-1" />
      </Symbol>
      <LineComment>
        <Text>undefinierte Schleuse-1</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="JCN" />
    <Access Scope="Label">
      <Label Name="Schalt" />
      <LineComment>
        <Text>Negierter Sprung!</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="44">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="33">
    <LineComment>
      <Text>Einsprung löschen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="61">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="63">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleusen_DB" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="65">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleuse-1_DW" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="67">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="21">
    <LineComment>
      <Text>Weichendaten löschen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="35">
    <StlToken Text="L" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="39">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="TrolleyID" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="41">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="28">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Weichen_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="72">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Zwischen_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="43">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Mindestzeitzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="71">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Überwachungszeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="25">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="48">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Kein_StartOk" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="51">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="MindestZeit_ok" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="45">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Ziel_erreicht" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="53">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="56">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="50">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="Ret" />
      <LineComment>
        <Text>Weichen-Checkerei überspringen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="32">
    <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 />
                </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>Einfahrt angemeldet/reserviert ?</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="64">
    <LineComment>
      <Text>Ziel-Check für Kontrolle:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="68">
    <LabelDeclaration>
      <Label Name="Schalt" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Weichen_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="71">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Abzweig" />
        <Component Name="Ziel" />
      </Symbol>
      <LineComment>
        <Text>Abzweig-Ziel?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="220">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>Ja!</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="231">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Abzweig_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="237">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="238">
    <StlToken Text="CAC" />
  </StlStatement>
  <StlStatement UId="239">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Gerade" />
        <Component Name="Ziel" />
      </Symbol>
      <LineComment>
        <Text>Gerade-Ziel?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="242">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>Ja!</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="245">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Gerade_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="63">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="99">
    <LineComment>
      <Text>Sind noch Teile im Weichenbereich?:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="91">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleuse-1_DW" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="165">
    <StlToken Text="ITD" />
  </StlStatement>
  <StlStatement UId="166">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="AR1Start" />
      </Symbol>
      <LineComment>
        <Text>Startwert mit Offset 0</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="88">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="108">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="AR1Start" />
      </Symbol>
      <LineComment>
        <Text>Startwert mit Offset 0</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="119">
    <StlToken Text="ADD" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#162</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="121">
    <StlToken Text="SLD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="149">
    <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="154">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="157">
    <StlToken Text="OPEN_DB" />
    <Access Scope="Address">
      <Indirect Width="Block" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="SAVE" />
            <Component Name="Schleusen_DB" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>FABE+ -DB öffnen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="161">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="120">
    <StlToken Text="L" />
    <Access Scope="Address">
      <Indirect Width="Word" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="AR1Zeiger" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>Raus-Trolleys von Schleuse-1 (DBW162)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="84">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Teile vorhanden?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="113">
    <StlToken Text="GT_I" />
    <LineComment>
      <Text>JA !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="87">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weichen_Trolleys" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="243">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="217">
    <LineComment>
      <Text>Evtl. Weiche umschalten:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="222">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weichen_Trolleys" />
      </Symbol>
      <LineComment>
        <Text>Trolleys im Weichenbereich!</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="178">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="196">
    <StlToken Text="O" />
    <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="213">
    <StlToken Text="O" />
    <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="189">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="221">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en10" />
    </Access>
  </StlStatement>
  <StlStatement UId="115">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="167">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="MindestZeit_ok" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="214">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Warten_auf_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="227">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="228">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Warten_auf_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="202">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en10" />
    </Access>
  </StlStatement>
  <StlStatement UId="205">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="49">
    <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="52">
    <StlToken Text="O" />
    <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="109">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Warten_auf_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="55">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Ziel_undefiniert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="194">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Gerade_Sensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="197">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Abzweig_Sensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="200">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Gerade_Bereich_belegt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="203">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Abzweig_Bereich_belegt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="42">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en10" />
    </Access>
  </StlStatement>
  <StlStatement UId="133">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="134">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Fahren_Ok" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="135">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Kein_StartOk" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="138">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Ret" />
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="22">
    <LineComment>
      <Text>Ziel-Check zum Schalten:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Weichen_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="122">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="127">
    <StlToken Text="EQ_I" />
  </StlStatement>
  <StlStatement UId="80">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Ziel_undefiniert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="124">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="New" />
    </Access>
  </StlStatement>
  <StlStatement UId="123">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="125">
    <StlToken Text="CAC" />
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Abzweig" />
        <Component Name="Ziel" />
      </Symbol>
      <LineComment>
        <Text>Abzweig-Ziel?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="25">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>Ja!</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Abzweigen" />
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="28">
    <StlToken Text="CAC" />
  </StlStatement>
  <StlStatement UId="29">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Gerade" />
        <Component Name="Ziel" />
      </Symbol>
      <LineComment>
        <Text>Gerade-Ziel?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="59">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>Ja!</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Gerade" />
    </Access>
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="74">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="75">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Ziel_undefiniert" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="76">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="79">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="New" />
    </Access>
  </StlStatement>
  <StlStatement UId="41">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="38">
    <LabelDeclaration>
      <Label Name="Gerade" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="60">
    <LineComment>
      <Text>Gerade-Fahrt gewünscht**************************************************</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="35">
    <LineComment>
      <Text>Ziel-Sensor-Check:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="36">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Ziel_gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="37">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Gerade_Sensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="89">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Gerade_Sensor_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Muss erst quittiert werden!</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="93">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="New" />
    </Access>
  </StlStatement>
  <StlStatement UId="116">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1082">
    <LineComment>
      <Text>Trolley geradeaus fahren:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="1084">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="1085">
    <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="1088">
    <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="232">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Warten_auf_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="77">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1095">
    <LineComment>
      <Text>Zeiten speichern:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="94">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Gerade" />
        <Component Name="Mindestzeit" />
      </Symbol>
      <LineComment>
        <Text>Nach dieser Zeit kann Trolley erst aus Weiche sein</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="101">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Para_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="102">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Gerade" />
        <Component Name="Überwachungszeit" />
      </Symbol>
      <LineComment>
        <Text>Nach dieser Zeit muss Trolley Zielbereich erreicht haben</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="103">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Para_Überwachungszeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="104">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="105">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="en10" />
    </Access>
  </StlStatement>
  <StlStatement UId="110">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="48">
    <LabelDeclaration>
      <Label Name="Abzweigen" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="62">
    <LineComment>
      <Text>Abzweig-Fahrt gewünscht**************************************************</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="142">
    <LineComment>
      <Text>Ziel-Sensor-Check:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="143">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Ziel_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="145">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Abzweig_Sensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="147">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Abzweig_Sensor_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Muss erst quittiert werden!</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="151">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="New" />
    </Access>
  </StlStatement>
  <StlStatement UId="56">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="169">
    <LineComment>
      <Text>Trolly abzweigen fahren:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="171">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="172">
    <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="173">
    <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="235">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Warten_auf_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="170">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="180">
    <LineComment>
      <Text>Zeiten speichern:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="182">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Abzweig" />
        <Component Name="Mindestzeit" />
      </Symbol>
      <LineComment>
        <Text>Nach dieser Zeit kann Trolley erst aus Weiche sein</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="185">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Para_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="187">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche" />
        <Component Name="Abzweig" />
        <Component Name="Überwachungszeit" />
      </Symbol>
      <LineComment>
        <Text>Nach dieser Zeit muss Trolley Zielbereich erreicht haben</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="190">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Para_Überwachungszeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="309">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="310">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="en10" />
    </Access>
  </StlStatement>
  <StlStatement UId="311">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="314">
    <LabelDeclaration>
      <Label Name="New" />
    </LabelDeclaration>
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ErrQuit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="315">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="en10" />
    </Access>
  </StlStatement>
  <StlStatement UId="321">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="316">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Reservierung löschen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="323">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Schleuse -1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="192">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="73">
    <LabelDeclaration>
      <Label Name="en10" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="1195">
    <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>Weiche aufgrund vom Weichen-Ziel checken</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="121">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Gerade_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="128">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="131">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="133">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Gerade_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="122">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="132">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="134">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Abzweig_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="142">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="137">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="139">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Abzweig_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="123">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="W011" />
    </Access>
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="32">
    <LineComment>
      <Text>Mindestzeit neu triggern: (von Schleuse -1)</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="34">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="MindestZeit_nachtriggern" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="36">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="MindestZeit_nachtriggern" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Warten_auf_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="38">
    <StlToken Text="JCN" />
    <Access Scope="Label">
      <Label Name="X011" />
      <LineComment>
        <Text>Negierter Sprung</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="41">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="42">
    <LabelDeclaration>
      <Label Name="W011" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="44">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Mindestzeitzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="117">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="118">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="y011" />
    </Access>
  </StlStatement>
  <StlStatement UId="46">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="47">
    <LineComment>
      <Text>Zeiten aufaddieren:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="27">
    <LabelDeclaration>
      <Label Name="X011" />
    </LabelDeclaration>
    <StlToken Text="AN" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="1s-Impuls" />
      </Symbol>
      <LineComment>
        <Text>1s-Impuls</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="126">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="X08E" />
    </Access>
  </StlStatement>
  <StlStatement UId="146">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="49">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Mindestzeitzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="52">
    <StlToken Text="ADD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>1</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="54">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Mindestzeitzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="56">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="57">
    <LabelDeclaration>
      <Label Name="y011" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Mindestzeitzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="59">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Para_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="61">
    <StlToken Text="GE_I" />
  </StlStatement>
  <StlStatement UId="62">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="MindestZeit_ok" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="64">
    <StlToken Text="JCN" />
    <Access Scope="Label">
      <Label Name="X080" />
    </Access>
  </StlStatement>
  <StlStatement UId="66">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="67">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Mindestzeitzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="69">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="70">
    <LabelDeclaration>
      <Label Name="X080" />
    </LabelDeclaration>
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="75">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="ON" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="1s-Impuls" />
      </Symbol>
      <LineComment>
        <Text>1s-Impuls</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="141">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="77">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="X08E" />
    </Access>
  </StlStatement>
  <StlStatement UId="79">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="80">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Überwachungszeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="82">
    <StlToken Text="ADD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>1</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="84">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Überwachungszeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="86">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="87">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Para_Überwachungszeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="89">
    <StlToken Text="LT_I" />
    <LineComment>
      <Text>Max.Zeit erreicht ?</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="91">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="X08E" />
      <LineComment>
        <Text>Nein</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="94">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="95">
    <LineComment>
      <Text>Überwachungszeit ist abgelaufen:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="97">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="99">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="101">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="102">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="104">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="106">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="107">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Zeiten neu initialisieren</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="110">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Überwachungszeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="112">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="113">
    <LabelDeclaration>
      <Label Name="X08E" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="115">
    <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>Mindestzeit / Überwachungszeit</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="31">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="35">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Ziel_gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="49">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ZielSensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="37">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="41">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="29">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Ziel_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="54">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ZielSensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="43">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Ziel_AOk" />
    </Access>
  </StlStatement>
  <StlStatement UId="42">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="47">
    <StlToken Text="JU" />
    <Access Scope="Label">
      <Label Name="X09E" />
    </Access>
  </StlStatement>
  <StlStatement UId="63">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="23">
    <LabelDeclaration>
      <Label Name="Ziel_AOk" />
    </LabelDeclaration>
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Ziel_erreicht" />
      </Symbol>
      <LineComment>
        <Text>Einmaliger Durchlauf</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="50">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="X09E" />
    </Access>
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="34">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="36">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Ziel_erreicht" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="142">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="133">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Schalttakte" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="135">
    <StlToken Text="ADD" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#1</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Auf Abzweig umgeschaltet +1</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="138">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Schalttakte" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="22">
    <LabelDeclaration>
      <Label Name="X09E" />
    </LabelDeclaration>
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ZielSensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="56">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="59">
    <StlToken Text="JCN" />
    <Access Scope="Label">
      <Label Name="En12" />
      <LineComment>
        <Text>Negierter Sprung</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="67">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="68">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Zeiten neu initialisieren</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="71">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="FahrKontrolle" />
        <Component Name="Akt_Überwachungszeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="73">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="74">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="75">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="77">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Übzeit_Abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="79">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="80">
    <LabelDeclaration>
      <Label Name="En12" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="46">
    <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>Ziel ist erreicht</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="24">
    <LabelDeclaration>
      <Label Name="Ret" />
    </LabelDeclaration>
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weichen_Trolleys" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="42">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="En13" />
    </Access>
  </StlStatement>
  <StlStatement UId="40">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="23">
    <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="25">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Gerade hätte Vorrang</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="1802">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_gerade" />
      </Symbol>
      <LineComment>
        <Text>nicht mit =, damit Weichenstellung erst bei Änderung schaltet!</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="50">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="27">
    <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="28">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="41">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_gerade" />
      </Symbol>
      <LineComment>
        <Text>nicht mit =, damit Weichenstellung erst bei Änderung schaltet!</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="1804">
    <LabelDeclaration>
      <Label Name="En13" />
    </LabelDeclaration>
    <StlToken Text="NOP_0" />
  </StlStatement>
  <StlStatement UId="47">
    <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>RET: Weiche schalten</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="56">
    <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="85">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Gerade hätte Vorrang</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="49">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Keine_Einfahrt" />
      </Symbol>
      <LineComment>
        <Text>Also ist Schleuse -1 aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="115">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weichen_Trolleys" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="76">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antriebe_ein" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="78">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="83">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antriebe_ein" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="28">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="25">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_vor" />
      </Symbol>
      <LineComment>
        <Text>Weichenantrieb starten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="38">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="90">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antriebe_ein" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="39">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_gerade_vor" />
      </Symbol>
      <LineComment>
        <Text>Antrieb gerade einschalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="105">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antriebe_ein" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="93">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="45">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_abzweig_vor" />
      </Symbol>
      <LineComment>
        <Text>Antrieb abzweig einschalten</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="37">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="44">
    <LineComment>
      <Text>Antriebe stoppen</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="96">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="95">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="67">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Keine_Einfahrt" />
      </Symbol>
      <LineComment>
        <Text>Also ist Schleuse -1 aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="66">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="54">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Fahren_Ok" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="64">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="60">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="70">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche_ist_AST" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="63">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Abzweig_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="62">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="52">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="55">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_geradeaus" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="71">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="58">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weiche_ist_AST" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="72">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Gerade_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="75">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="73">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="104">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Auto_akt" />
      </Symbol>
      <LineComment>
        <Text>SystemVoraussetzungen fehlen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="107">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Hand_akt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="109">
    <StlToken Text="ON" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Bereich_ok" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="98">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="36">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_stop" />
      </Symbol>
      <LineComment>
        <Text>Alle Antriebe stoppen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="86">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="87">
    <StlToken Text="SET" />
    <LineComment>
      <Text>//</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="89">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_stop" />
      </Symbol>
      <LineComment>
        <Text>Alle Antriebe stoppen////</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="53">
    <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>Antriebe ansteuern / stoppen ?</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="39">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleusen_DB" />
      </Symbol>
      <LineComment>
        <Text>Alte Speicherung ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="42">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleuse-1_DW" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="45">
    <StlToken Text="OW" />
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Weichen_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="47">
    <StlToken Text="OW" />
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="28">
    <StlToken Text="EQ_I" />
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Keine_Einfahrt" />
      </Symbol>
      <LineComment>
        <Text>Keine Einfahrt aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="AN" />
    <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="33">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Gerade hätte Vorrang</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="29">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Warten_auf_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="51">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_frei" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="54">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="MindestZeit_nachtriggern" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="NEG" />
  </StlStatement>
  <StlStatement UId="44">
    <StlToken Text="Assign" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Zum Abfragen, damit evtl. Förderer nicht ausgeschaltet wird</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="49">
    <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>Weiche ist frei </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="23">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Keine_Einfahrt" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Schleusen_DL" />
      </Symbol>
      <LineComment>
        <Text>Schleusen-Datenliste fehlerhaft</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Error" />
        <Component Name="Err_Undef_Schleuse-1" />
      </Symbol>
      <LineComment>
        <Text>undefinierte Schleuse-1</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="25">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="39">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleusen_DB" />
      </Symbol>
      <LineComment>
        <Text>Schleusen-DB</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="42">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Einsprung-Zeiger bekannt ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="45">
    <StlToken Text="LE_I" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="50">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="35">
    <LineComment>
      <Text>Anmeldung an diese Weiche von Schleuse -1 noch aktiv?:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="70">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="SAVE" />
        <Component Name="Schleuse-1_DW" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="72">
    <StlToken Text="ITD" />
  </StlStatement>
  <StlStatement UId="74">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="AR1Start" />
      </Symbol>
      <LineComment>
        <Text>Startwert mit Offset 0</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="78">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="38">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="AR1Start" />
      </Symbol>
      <LineComment>
        <Text>Startwert mit Offset 0</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="49">
    <StlToken Text="ADD" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#16</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="52">
    <StlToken Text="SLD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="54">
    <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="36">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="48">
    <StlToken Text="OPEN_DB" />
    <Access Scope="Address">
      <Indirect Width="Block" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="SAVE" />
            <Component Name="Schleusen_DB" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>FABE+ -DB öffnen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="65">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="57">
    <StlToken Text="L" />
    <Access Scope="Address">
      <Indirect Width="Word" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="AR1Zeiger" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>Anmeldung von dieser Schleuse (DBW16)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="37">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Weichen_Nr" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="EQ_I" />
    <LineComment>
      <Text>Ja !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="62">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Warten_auf_Mindestzeit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="68">
    <StlToken Text="JC" />
    <Access Scope="Label">
      <Label Name="Mldg" />
    </Access>
  </StlStatement>
  <StlStatement UId="83">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="84">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Reservierung löschen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="87">
    <StlToken Text="T" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Schleuse -1" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="80">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="81">
    <StlToken Text="BEU" />
  </StlStatement>
  <StlStatement UId="67">
    <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>Schleuse -1 aktiv / vorhanden ?</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="26">
    <LabelDeclaration>
      <Label Name="Mldg" />
    </LabelDeclaration>
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="AR1Start" />
      </Symbol>
      <LineComment>
        <Text>Startwert mit Offset 0</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="40">
    <StlToken Text="ADD" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#71</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="43">
    <StlToken Text="SLD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="45">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>4</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Damit DBX71.4</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="48">
    <StlToken Text="OD" />
  </StlStatement>
  <StlStatement UId="49">
    <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="39">
    <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="SAVE" />
            <Component Name="Schleusen_DB" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>FABE+ -DB öffnen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="54">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="A_BRACK" />
  </StlStatement>
  <StlStatement UId="72">
    <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="64">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Gerade_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_gerade" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="53">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Gerade_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="59">
    <StlToken Text="O" />
  </StlStatement>
  <StlStatement UId="69">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Weiche_abzweigen" />
      </Symbol>
      <LineComment>
        <Text>Gerade hätte Vorrang</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="66">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Abzweig_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="29">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Y_Weiche_abzweig" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="60">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Abzweig_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="34">
    <StlToken Text="BRACKET" />
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Fahren_Ok" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="35">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_Weiche_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Antrieb aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="62">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="56">
    <StlToken Text="Assign" />
    <Access Scope="Address">
      <Indirect Width="Bit" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="AR1Zeiger" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>Weiche hat geschaltet ? (DBX71.4)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="32">
    <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>Meldung an Schleuse -1: Weiche hat geschaltet</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="65">
    <LineComment>
      <Text>Rückmeldung an Schleuse -1 (Weichenziel):</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="67">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="AR1Start" />
      </Symbol>
      <LineComment>
        <Text>Startwert mit Offset 0</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="70">
    <StlToken Text="ADD" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#166</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="72">
    <StlToken Text="SLD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="74">
    <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="22">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="OPEN_DB" />
    <Access Scope="Address">
      <Indirect Width="Block" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="SAVE" />
            <Component Name="Schleusen_DB" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>FABE+ -DB öffnen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="77">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="78">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Weichen_Ziel" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="80">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Indirect Width="Word" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="AR1Zeiger" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>Zurückgemeldetes WeichenZiel (DBW166)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="83">
    <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>Meldung an Schleuse -1: Aktuell aktives Ziel</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="A6" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="A7" 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="AR1Start" />
      </Symbol>
      <LineComment>
        <Text>Startwert mit Offset 0</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="ADD" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#71</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="29">
    <StlToken Text="SLD" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>5</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Damit DBX71.5</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="34">
    <StlToken Text="OD" />
  </StlStatement>
  <StlStatement UId="35">
    <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="42">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="40">
    <StlToken Text="OPEN_DB" />
    <Access Scope="Address">
      <Indirect Width="Block" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="SAVE" />
            <Component Name="Schleusen_DB" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>FABE+ -DB öffnen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="38">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="ZielSensor_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="45">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Dyn" />
        <Component Name="Status" />
        <Component Name="Reset_aktiv" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="Assign" />
    <Access Scope="Address">
      <Indirect Width="Bit" Area="DB">
        <Access Scope="LocalVariable">
          <Symbol>
            <Component Name="AR1Zeiger" />
          </Symbol>
        </Access>
      </Indirect>
      <LineComment>
        <Text>Trolley ausserhalb Weiche (DBX71.5)</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="48">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="A8" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="A9" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="AA" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="AB" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="AC" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="AD" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="AE" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Meldung an Schleuse -1: Trolley hat Ziel erreicht </Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="AF" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="B0" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="1849">
    <StlToken Text="BE" />
  </StlStatement>
  <StlStatement UId="1850">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="B1" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="B2" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="B3" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="B4" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="B5" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="B6" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="B7" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Ende</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="B8" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <MultilingualText ID="B9" CompositionName="Title">
        <ObjectList>
          <MultilingualTextItem ID="BA" CompositionName="Items">
            <AttributeList>
              <Culture>cs-CZ</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="BB" CompositionName="Items">
            <AttributeList>
              <Culture>de-DE</Culture>
              <Text>OmniWeichen-Modul</Text>
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="BC" CompositionName="Items">
            <AttributeList>
              <Culture>en-US</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.FB>
</Document>