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

9757 lines
272 KiB
XML

<?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="Sync_Nr" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Aufruf für Weiche</MultiLanguageText>
</Comment>
</Member>
<Member Name="ErrQuit" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Ablaufstörung quittieren</MultiLanguageText>
</Comment>
</Member>
<Member Name="B_BT_da" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Sensor BT ist an Sychronisierstelle</MultiLanguageText>
</Comment>
</Member>
<Member Name="B_RefPunkt" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Sensor RefHaken am Referenzpunkt erkannt</MultiLanguageText>
</Comment>
</Member>
<Member Name="B_TeachPunk" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Sensor RefHaken am Teachpunkt erkannt</MultiLanguageText>
</Comment>
</Member>
<Member Name="Antrieb_aktiv" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Band ist aktiv</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="Output">
<Member Name="Error" Datatype="Word">
<Comment>
<MultiLanguageText Lang="de-DE">Störungen übergeben</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="InOut">
<Member Name="Antrieb_start" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Kreiselantrieb starten</MultiLanguageText>
</Comment>
</Member>
<Member Name="hStOk" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Anzeige Start n. Störung aktivieren</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="Static">
<Member Name="Teil_IDX_Old" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">BT/MT-IDX (wird bei Auslagerung gemeldet)</MultiLanguageText>
</Comment>
</Member>
<Member Name="Teil_Ziel_Old" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">BT/MT bei diesem Abwurf-Ziel ausfahren/entladen</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res1" Datatype="Array[1..3] of Int">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
<Member Name="SAVE" Datatype="Struct">
<Member Name="Ink_ohne_Zeit" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Zeit Inkremntalgeberwert ohne Änderung [100ms]</MultiLanguageText>
</Comment>
</Member>
</Member>
<Member Name="Para" Datatype="Struct">
<Comment>
<MultiLanguageText Lang="de-DE">Parameter</MultiLanguageText>
</Comment>
<Member Name="Weichen_DL_DB" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Einsprung Weichen-Datenliste-DB</MultiLanguageText>
</Comment>
</Member>
<Member Name="Weichen_DL_DW" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Einsprung Weichen-Datenliste-DW</MultiLanguageText>
</Comment>
</Member>
<Member Name="Offset_RefPunkt" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Offset Refpunkt zu TaschenPunkt (für Teachen)</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res1" Datatype="Array[1..1] of Int">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
</Member>
<Member Name="SyncPkt" Datatype="&quot;UDLStartSync&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
<Comment>
<MultiLanguageText Lang="de-DE">Fahrbereichs Daten</MultiLanguageText>
</Comment>
</Member>
<Member Name="Dyn" Datatype="Struct">
<Comment>
<MultiLanguageText Lang="de-DE">Dynamische Daten</MultiLanguageText>
</Comment>
<Member Name="Status" Datatype="Struct">
<Comment>
<MultiLanguageText Lang="de-DE">Status</MultiLanguageText>
</Comment>
<Member Name="TeachModus_Aktiv" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Teach-Modus ist aktiv</MultiLanguageText>
</Comment>
</Member>
<Member Name="MoreTeach" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Nächsten Teachpunkt ohne neuen Refpunkt</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res02" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res03" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res04" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res05" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res06" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res07" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res10" Datatype="Bool" />
<Member Name="Res11" Datatype="Bool" />
<Member Name="Res12" Datatype="Bool" />
<Member Name="Res13" Datatype="Bool" />
<Member Name="Res14" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res15" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res16" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
<Member Name="Res17" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Reserve</MultiLanguageText>
</Comment>
</Member>
</Member>
<Member Name="Rueckmld" Datatype="Struct">
<Member Name="RET_VAL_BLKMOV_Sync" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung nach BLKMOV-Aufruf</MultiLanguageText>
</Comment>
</Member>
<Member Name="RET_VAL_DL_Weichen_Out" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung nach DatenOut-Aufruf</MultiLanguageText>
</Comment>
</Member>
<Member Name="RET_VAL_Hauptstrang_In" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung nach Hauptstrangdaten-In-Aufruf</MultiLanguageText>
</Comment>
</Member>
<Member Name="RET_VAL_TravelFIFO_In" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung nach Aufruf</MultiLanguageText>
</Comment>
</Member>
<Member Name="RET_VAL_TravelFIFO_Out" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung nach Aufruf</MultiLanguageText>
</Comment>
</Member>
<Member Name="RET_VAL_Teach_OUT" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung bei Datenlisten-Zugriff</MultiLanguageText>
</Comment>
</Member>
<Member Name="RET_VAL_Teach_IN" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung bei Datenlisten-Zugriff</MultiLanguageText>
</Comment>
</Member>
</Member>
<Member Name="Error" Datatype="&quot;UErrStartSync&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="BT_ausgewertet" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">BT wurde schon ausgewertet</MultiLanguageText>
</Comment>
</Member>
<Member Name="TeachPunkt" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Punkt zum Ein-Teachen</MultiLanguageText>
</Comment>
</Member>
<Member Name="Refpunkt_ausgewertet" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Referenzpunkt ausgewertet</MultiLanguageText>
</Comment>
</Member>
<Member Name="Refpunkt_ok" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Referenzpunkt erkannt</MultiLanguageText>
</Comment>
</Member>
<Member Name="Teachpunkt_ausgewertet" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Teachpunkt ausgewertet</MultiLanguageText>
</Comment>
</Member>
<Member Name="Reset" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Bereich + FIFO resetten</MultiLanguageText>
</Comment>
</Member>
<Member Name="Ink_Flag" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Laufflag bei Speicherung</MultiLanguageText>
</Comment>
</Member>
<Member Name="Ref_Flag" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Lauf-Flag bei Ref-Inkremente</MultiLanguageText>
</Comment>
</Member>
<Member Name="Teach_Flag" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Lauf-Flag bei Teach-Inkremente</MultiLanguageText>
</Comment>
</Member>
<Member Name="Ende_Flag" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Lauf-Flag bei Synchron-Ende (MT)</MultiLanguageText>
</Comment>
</Member>
<Member Name="FIFO_Flag" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Lauf-Flag bei FIFO-Wechsel (sonst Err)</MultiLanguageText>
</Comment>
</Member>
<Member Name="Stop" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Rein-Separator stoppen</MultiLanguageText>
</Comment>
</Member>
<Member Name="Max_raus" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Max_Wert wurde schon übertragen</MultiLanguageText>
</Comment>
</Member>
<Member Name="InkZelle" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Inkzelle: Sync-Sensor dauernd aktiv</MultiLanguageText>
</Comment>
</Member>
<Member Name="Ref_Ink" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Inkremente bei Referenzpunkt</MultiLanguageText>
</Comment>
</Member>
<Member Name="Teach_Ink" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Inkremente bei Teachpunkt</MultiLanguageText>
</Comment>
</Member>
<Member Name="Ende_Ink" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Inkremente bei Synchron-Ende (MT)</MultiLanguageText>
</Comment>
</Member>
<Member Name="FIFO_Ink" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Inkremente bei FIFO-Wechsel (sonst Err)</MultiLanguageText>
</Comment>
</Member>
</Member>
<Member Name="Daten" Datatype="&quot;UBT_Daten&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="Max_Wert" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Maximal erlaubter Zählwert</MultiLanguageText>
</Comment>
</Member>
<Member Name="Lauf_Flag" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Zähl-Lauf mit Flag ist aktiv</MultiLanguageText>
</Comment>
</Member>
<Member Name="Flag_Lauf_fertig" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Flag-Lauf wurde beendet</MultiLanguageText>
</Comment>
</Member>
<Member Name="Ohne_Lauf_fertig" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Ohne Flag-Lauf wurde beendet</MultiLanguageText>
</Comment>
</Member>
<Member Name="Ink_Wert" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Aktuelle Inkrementalwert</MultiLanguageText>
</Comment>
</Member>
<Member Name="Abstands_Ink" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Abstands-Inkremente nach Teachen</MultiLanguageText>
</Comment>
</Member>
<Member Name="Sich_Ink" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Übrige Inks, bevor dann gestoppt wird !</MultiLanguageText>
</Comment>
</Member>
<Member Name="Reserve" Datatype="Array[1..1] of Int" />
</Section>
<Section Name="Temp">
<Member Name="Quelle" Datatype="Any">
<Comment>
<MultiLanguageText Lang="de-DE">Zeiger, wo Rein-Daten sind</MultiLanguageText>
</Comment>
</Member>
<Member Name="Adresse0" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Für indirekte Adressierung (Offset 0)</MultiLanguageText>
</Comment>
</Member>
<Member Name="Adresse2" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Für indirekte Adressierung (Offset 0)</MultiLanguageText>
</Comment>
</Member>
<Member Name="Adresse4" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Für indirekte Adressierung (Offset 4)</MultiLanguageText>
</Comment>
</Member>
<Member Name="Adresse8" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Für indirekte Adressierung (Offset 8)</MultiLanguageText>
</Comment>
</Member>
<Member Name="Abwurf_DB" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Abwurf-DB für 1.Rückschaltung</MultiLanguageText>
</Comment>
</Member>
<Member Name="HaupstranglistenDB" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Aktueller Hauptstranglisten-DB</MultiLanguageText>
</Comment>
</Member>
<Member Name="Parameter" Datatype="Word">
<Comment>
<MultiLanguageText Lang="de-DE">Parameter</MultiLanguageText>
</Comment>
</Member>
<Member Name="sB_BT_da" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Sensor BT ist an Sychronisierstelle</MultiLanguageText>
</Comment>
</Member>
<Member Name="ZSW2_ENC" Datatype="Word" />
<Member Name="G1_ZSW" Datatype="Word" />
<Member Name="G1_XIST1" Datatype="DWord" />
<Member Name="G1_XIST2" Datatype="DWord">
<Comment>
<MultiLanguageText Lang="de-DE">Positionswert 2, Sensor 1</MultiLanguageText>
</Comment>
</Member>
<Member Name="STW2_ENC" Datatype="Word">
<Comment>
<MultiLanguageText Lang="de-DE">Steuerwort 2, Encoder</MultiLanguageText>
</Comment>
</Member>
<Member Name="G1_STW" Datatype="Word">
<Comment>
<MultiLanguageText Lang="de-DE">Steuerwort, Sensor 1</MultiLanguageText>
</Comment>
</Member>
<Member Name="tABS_Resolution" Datatype="DInt" />
<Member Name="tInk_Wert" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Aktueller Zählerwert</MultiLanguageText>
</Comment>
</Member>
<Member Name="tSpeicherung" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Speicherung des aktuellen Zählerwerts (für Neustart)</MultiLanguageText>
</Comment>
</Member>
<Member Name="tLastSingelturn_Wert" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Speicherung des letzten Zählerwerts (für Neustart)</MultiLanguageText>
</Comment>
</Member>
<Member Name="tLauf_Flag" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Zähl-Lauf mit Flag ist aktiv</MultiLanguageText>
</Comment>
</Member>
<Member Name="tFlag_Lauf_fertig" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Flag-Lauf wurde beendet</MultiLanguageText>
</Comment>
</Member>
<Member Name="tOhne_Lauf_fertig" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Ohne Flag-Lauf wurde beendet</MultiLanguageText>
</Comment>
</Member>
<Member Name="tNull_laden" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Zähler mit 0000 laden</MultiLanguageText>
</Comment>
</Member>
<Member Name="tQuit" Datatype="Bool" />
</Section>
<Section Name="Constant" />
</Sections></Interface>
<MemoryLayout>Standard</MemoryLayout>
<Name>MStartSync</Name>
<Namespace />
<Number>177</Number>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="1" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="2" 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 4.12.2014:
-Entprellung ohne Antrieb!
Version: ILS2100 / 12.01.2010
</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<SW.Blocks.CompileUnit ID="3" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="26">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Sync_Nr" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="23">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="21">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B_BT_da" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="24">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="sB_BT_da" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="22">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="4" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="5" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="6" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="7" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Eingangsvariablen einlesen</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="8" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="22">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Sync_Nr" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="24">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="25">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW178" />
</Symbol>
<LineComment>
<Text>Einsprung Weichen-DL</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="28">
<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="31">
<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="Para" />
<Component Name="Weichen_DL_DW" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="35">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="9" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="A" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="B" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="C" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Parameter-Übergabe</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="D" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="36">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Max_raus" />
</Symbol>
<LineComment>
<Text>Max_Wert wurde schon übertragen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="39">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="BT_ausgewertet" />
</Symbol>
<LineComment>
<Text>BT wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="42">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb_start" />
</Symbol>
<LineComment>
<Text>Kreiselantrieb starten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="22">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="23">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="24">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="31">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Reset" />
</Symbol>
<LineComment>
<Text>Bereich + FIFO resetten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="26">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="tQuit" />
</Symbol>
<LineComment>
<Text>Für ABS-Modul</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="45">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="E" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="F" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="10" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="11" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Gesamt: Out-Bits zum Zurücksetzen / temp</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="12" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="46">
<LineComment>
<Text>Reset oder Tastendruck:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="48">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="50">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Hauptstrang_leer" />
</Symbol>
<LineComment>
<Text>Keine Haupstrangdaten vorhanden -&gt; Verklemm-Errors löschen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="53">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_belegt" />
</Symbol>
<LineComment>
<Text>Travel-FIFO bleibt belegt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="56">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Reset" />
</Symbol>
<LineComment>
<Text>Bereich + FIFO resetten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="59">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="60">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Hauptstrang_leer" />
</Symbol>
<LineComment>
<Text>Keine Haupstrangdaten vorhanden -&gt; Verklemm-Errors löschen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="63">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_leer" />
</Symbol>
<LineComment>
<Text>keine Daten im Travel-FIFO eingetragen (Auto-Reset!)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="66">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="BT_ausgewertet" />
</Symbol>
<LineComment>
<Text>BT wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="69">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Reset" />
</Symbol>
<LineComment>
<Text>Bereich + FIFO resetten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="72">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="73">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Reset" />
</Symbol>
<LineComment>
<Text>Bereich + FIFO resetten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="76">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en02" />
</Access>
</StlStatement>
<StlStatement UId="78">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="79">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="80">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Reset" />
</Symbol>
<LineComment>
<Text>Bereich + FIFO resetten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="83">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="SyncPkt_DL_Err" />
</Symbol>
<LineComment>
<Text>Sync-Punkt-Datenliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="86">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Undef_SyncPkt" />
</Symbol>
<LineComment>
<Text>undefinierter Synchronpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="89">
<StlToken Text="R" />
<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="92">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Sync_Sensor_aktiv" />
</Symbol>
<LineComment>
<Text>Sync-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="95">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_Err" />
</Symbol>
<LineComment>
<Text>Travel-FIFO fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="98">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_leer" />
</Symbol>
<LineComment>
<Text>keine Daten im Travel-FIFO eingetragen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="101">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_belegt" />
</Symbol>
<LineComment>
<Text>Travel-FIFO bleibt belegt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="104">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Hauptstrangliste_Err" />
</Symbol>
<LineComment>
<Text>Hauptstrangliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="107">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Hauptstrangliste_voll" />
</Symbol>
<LineComment>
<Text>Hauptstrangliste ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="110">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Inkgeber_Err" />
</Symbol>
<LineComment>
<Text>Übergabeliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="113">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Keine_Hauptstrangliste" />
</Symbol>
<LineComment>
<Text>Keine Hauptstrangliste zum Eintragen angegeben</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="116">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Keine_TeachPktdaten" />
</Symbol>
<LineComment>
<Text>Teach-Punkt in Datenliste nicht vorhanden !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="119">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TeachPkt_Datenliste_Err" />
</Symbol>
<LineComment>
<Text>Teachdatenliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="122">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Kein_Parameter" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="124">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Err_Parameter" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="126">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Inkrementalgeber" />
</Symbol>
<LineComment>
<Text>Inkrementalgeberwert ohne Änderung</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="129">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="130">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="131">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="BT_ausgewertet" />
</Symbol>
<LineComment>
<Text>BT wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="134">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_Aktiv" />
</Symbol>
<LineComment>
<Text>Teach-Modus ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="137">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Stop" />
</Symbol>
<LineComment>
<Text>Rein-Separator stoppen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="140">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="141">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="143">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="InkZelle" />
</Symbol>
<LineComment>
<Text>Inkzelle: Sync-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="146">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="148">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei FIFO-Wechsel (sonst Err)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="151">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Sich_Ink" />
</Symbol>
<LineComment>
<Text>Übrige Inks, bevor dann gestoopt wird !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="154">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="155">
<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="158">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Sync_Nr" />
</Symbol>
<LineComment>
<Text>Nummer des Sync-Punktes</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="161">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="162">
<LineComment>
<Text>Travel-FIFO zurücksetzen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="164">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="FifoReset" BlockType="FC">
<Parameter Name="SSDB" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DW" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="PARA" Section="Input" Type="Word">
<Access Scope="TypedConstant">
<Constant>
<ConstantValue>WORD#16#0000</ConstantValue>
</Constant>
</Access>
<LineComment>
<Text>normaler FIFO</Text>
</LineComment>
</Parameter>
<Parameter Name="RE_VAL" Section="Output" Type="Byte">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</Parameter>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="172">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="173">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="175">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_TravelFIFO_Out" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="177">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="178">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Aufruf mit Fehler ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="181">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="183">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_Err" />
</Symbol>
<LineComment>
<Text>Error bei FIFO-Zugriff</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="186">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="187">
<LineComment>
<Text>Hauptstrang-Daten zurücksetzen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="189">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="DatenResetSort" BlockType="FC">
<Parameter Name="SSDB" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Hauptstrang_DL_DB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Hauptstrang_DL_DW" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="RE_VAL" Section="Output" Type="Byte">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB198" />
</Symbol>
</Access>
</Parameter>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="195">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="196">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Hauptstrang_DL_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="198">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="200">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="HaupstranglistenDB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="202">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="203">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="DatenResetSort" BlockType="FC">
<Parameter Name="SSDB" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="HaupstranglistenDB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Hauptstrang_DL_DW" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="RE_VAL" Section="Output" Type="Byte">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</Parameter>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="209">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="210">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB198" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="212">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="214">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Aufruf mit Fehler ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="217">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="219">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Hauptstrangliste_Err" />
</Symbol>
<LineComment>
<Text>Hauptstrang-DL fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="222">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="223">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="224">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="225">
<LabelDeclaration>
<Label Name="en02" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="227">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="13" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="14" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="15" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="16" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Reset</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="228">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="230">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="232">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="233">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="SyncPkt_DL_Err" />
</Symbol>
<LineComment>
<Text>Sync-Punkt-Datenliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="236">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.0" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="238">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Undef_SyncPkt" />
</Symbol>
<LineComment>
<Text>undefinierter Synchronpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="241">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.1" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="243">
<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="246">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.2" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="248">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Sync_Sensor_aktiv" />
</Symbol>
<LineComment>
<Text>Sync-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="251">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.3" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="253">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_Err" />
</Symbol>
<LineComment>
<Text>Travel-FIFO fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="256">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.4" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="258">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_leer" />
</Symbol>
<LineComment>
<Text>keine Daten im Travel-FIFO eingetragen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="261">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.5" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="263">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_belegt" />
</Symbol>
<LineComment>
<Text>Travel-FIFO bleibt belegt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="266">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.6" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="268">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Hauptstrangliste_Err" />
</Symbol>
<LineComment>
<Text>Hauptstrangliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="271">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.7" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="273">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Hauptstrangliste_voll" />
</Symbol>
<LineComment>
<Text>Hauptstrangliste ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="276">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.0" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="278">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Inkgeber_Err" />
</Symbol>
<LineComment>
<Text>Inkrementalgeber meldet Störung</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="281">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.1" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="283">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Keine_Hauptstrangliste" />
</Symbol>
<LineComment>
<Text>Keine Hauptstrangliste zum Eintragen angegeben</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="286">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.2" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="288">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Keine_TeachPktdaten" />
</Symbol>
<LineComment>
<Text>Teach-Punkt in Datenliste nicht vorhanden !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="291">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.3" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="293">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TeachPkt_Datenliste_Err" />
</Symbol>
<LineComment>
<Text>Teachdatenliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="296">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.4" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="298">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Kein_Parameter" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="300">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.5" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="302">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Err_Parameter" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="304">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.6" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="306">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Inkrementalgeber" />
</Symbol>
<LineComment>
<Text>Inkrementalgeberwert ohne Änderung</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="309">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.7" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="311">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="312">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="314">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Error" />
</Symbol>
<LineComment>
<Text>Schnittstelle nach Außen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="317">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="318">
<LineComment>
<Text>Anzeige Start n. Störung aktivieren:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="320">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="Hauptstrang_leer" />
</Symbol>
<LineComment>
<Text>Keine Haupstrangdaten vorhanden -&gt; Verklemm-Errors löschen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="323">
<StlToken Text="A_BRACK" />
</StlStatement>
<StlStatement UId="324">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_leer" />
</Symbol>
<LineComment>
<Text>keine Daten im Travel-FIFO eingetragen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="327">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_belegt" />
</Symbol>
<LineComment>
<Text>Travel-FIFO bleibt belegt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="330">
<StlToken Text="BRACKET" />
</StlStatement>
<StlStatement UId="331">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Sync_Sensor_aktiv" />
</Symbol>
<LineComment>
<Text>Sync-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="334">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Inkrementalgeber" />
</Symbol>
<LineComment>
<Text>Inkrementalgeberwert ohne Änderung</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="337">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="hStOk" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="339">
<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>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="1A" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="1B" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Störungen nach Außen übergeben</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="1C" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="340">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Sync_Nr" />
</Symbol>
<LineComment>
<Text>Nummer des Synchron-Puntes</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="343">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Sync_Nr" />
</Symbol>
<LineComment>
<Text>Aufruf-Parameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="346">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Identisch ?</Text>
</LineComment>
</StlStatement>
<StlStatement UId="348">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="SyncPkt_DL_Err" />
</Symbol>
<LineComment>
<Text>Sync-Punkt-Datenliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="351">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Undef_SyncPkt" />
</Symbol>
<LineComment>
<Text>undefinierter Synchronpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="354">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en03" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="357">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="358">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
<LineComment>
<Text>Search-Daten </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="361">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="362">
<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="372">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="373">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="375">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_DL_Weichen_Out" />
</Symbol>
<LineComment>
<Text>Rückmeldung bei Datenbank-Zugriff (Gefälle-DL)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="378">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="379">
<StlToken Text="JBI" />
<Access Scope="Label">
<Label Name="G_Ok" />
</Access>
</StlStatement>
<StlStatement UId="381">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="382">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.0" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="384">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="SyncPkt_DL_Err" />
</Symbol>
<LineComment>
<Text>Sync-Punkt-Datenliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="387">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="388">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="389">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="390">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Undef_SyncPkt" />
</Symbol>
<LineComment>
<Text>undefinierter Synchronpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="393">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="394">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="395">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="396">
<LineComment>
<Text>Kennung + Datenbytes</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="398">
<LabelDeclaration>
<Label Name="G_Ok" />
</LabelDeclaration>
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="400">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="SyncPkt_DL_Err" />
</Symbol>
<LineComment>
<Text>Sync-Punkt-Datenliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="403">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Undef_SyncPkt" />
</Symbol>
<LineComment>
<Text>undefinierter Synchronpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="406">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="407">
<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="410">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="0" />
<LineComment>
<Text>Any-Kennung, Datentyp</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="413">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>40</ConstantValue>
</Constant>
<LineComment>
<Text>Datenwords speichern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="416">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="16" />
<LineComment>
<Text>Wiederholungen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="419">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="420">
<LineComment>
<Text>Quelle-Pointer erzeugen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="422">
<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="425">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="32" />
<LineComment>
<Text>DB_Nummer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="428">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>220</ConstantValue>
</Constant>
<LineComment>
<Text>Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="431">
<StlToken Text="SLD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="433">
<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="436">
<StlToken Text="OD" />
</StlStatement>
<StlStatement UId="437">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="DWord" BitOffset="48" />
<LineComment>
<Text>Kennung, Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="440">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="441">
<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_Sync" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="DSTBLK">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
</Symbol>
</Access>
<LineComment>
<Text>#Ziel</Text>
</LineComment>
</Parameter>
</Instruction>
</Access>
</StlStatement>
<StlStatement UId="449">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="450">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_BLKMOV_Sync" />
</Symbol>
<LineComment>
<Text>Rückmeldung</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="453">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Fehler vorhanden ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="456">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="458">
<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="461">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="462">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="463">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Sync_Typ" />
</Symbol>
<LineComment>
<Text>Synchron-Punkt-Typ = 177 (StartSync)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="466">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>177</ConstantValue>
</Constant>
<LineComment>
<Text>Dieser Aufruf-FB ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="469">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="471">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en03" />
</Access>
</StlStatement>
<StlStatement UId="473">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="474">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="475">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Undef_SyncPkt" />
</Symbol>
<LineComment>
<Text>undefinierter Synchronpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="478">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="479">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Synchronpunkt ungültig !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="482">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Sync_Nr" />
</Symbol>
<LineComment>
<Text>Nummer des Synchron-Puntes</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="485">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="486">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="487">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="488">
<LabelDeclaration>
<Label Name="en03" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="490">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="1D" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="1E" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="1F" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="20" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Statische Sync-Parameter holen</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="21" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="491">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="493">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en05" />
</Access>
</StlStatement>
<StlStatement UId="495">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="496">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="497">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Keine_TeachPktdaten" />
</Symbol>
<LineComment>
<Text>Teach-Punkt in Datenliste nicht vorhanden !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="500">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Hauptstrangliste_voll" />
</Symbol>
<LineComment>
<Text>Hauptstrangliste ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="503">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Keine_Hauptstrangliste" />
</Symbol>
<LineComment>
<Text>Keine Hauptstrangliste zum Eintragen angegeben</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="506">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_leer" />
</Symbol>
<LineComment>
<Text>keine Daten im Travel-FIFO eingetragen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="509">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Inkrementalgeber" />
</Symbol>
<LineComment>
<Text>Inkrementalgeberwert ohne Änderung</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="512">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="513">
<LineComment>
<Text>Kann nur über Reset zurückgesetzt werden:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="515">
<LineComment>
<Text> R #Dyn.Error.SyncPkt_DL_Err //Sync-Punkt-Datenliste fehlerhaft</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="517">
<LineComment>
<Text> R #Dyn.Error.Undef_SyncPkt //undefinierter Synchronpunkt</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="519">
<LineComment>
<Text> R #Dyn.Error.BLKMov //Fehler bei Block kopieren</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="521">
<LineComment>
<Text> R #Dyn.Error.Sync_Sensor_aktiv //Sync-Sensor dauernd aktiv</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="523">
<LineComment>
<Text> R #Dyn.Error.TravelFIFO //Travel-FIFO fehlerhaft</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="525">
<LineComment>
<Text> R #Dyn.Error.TravelFIFO_belegt //Travel-FIFO bleibt belegt</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="527">
<LineComment>
<Text> R #Dyn.Error.Hauptstrangliste_Err //Hauptstrangliste fehlerhaft</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="529">
<LineComment>
<Text> R #Dyn.Error.Uebergabeliste_Err //Übergabeliste fehlerhaft</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="531">
<LineComment>
<Text> R #Dyn.Error.TeachPkt_Datenliste_Err //Teachdatenliste fehlerhaft</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="533">
<LineComment>
<Text> R #Dyn.Error.Keine_TeachPktdaten //Keine Teachdaten in Datenliste vorhanden !</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="535">
<LineComment>
<Text> R #Dyn.Error.Err16</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="537">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="538">
<LineComment>
<Text>werden weiter unten quittiert:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="540">
<LineComment>
<Text> R #Dyn.Error.Sync_Sensor_aktiv //Sync-Sensor dauernd aktiv</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="542">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="543">
<LabelDeclaration>
<Label Name="en05" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="545">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="22" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="23" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="24" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="25" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Störungen quittieren</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="26" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="546">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_DB" />
</Symbol>
<LineComment>
<Text>Zähler-DB</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="549">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Sinnvolle Angabe ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="552">
<StlToken Text="LE_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="554">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Kein_Parameter" />
</Symbol>
<LineComment>
<Text>Kein Parameter zur Wegerfassung definiert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="557">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="OK" />
</Access>
</StlStatement>
<StlStatement UId="559">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="560">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Parameter" />
<Component Name="InkSim" />
</Symbol>
<LineComment>
<Text>Inkrementalgeber simulieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="563">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="ISim" />
</Access>
</StlStatement>
<StlStatement UId="565">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="566">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Parameter" />
<Component Name="ET200" />
</Symbol>
<LineComment>
<Text>Inkremental-Geber mit Zähler-Baugruppe (ET200)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="569">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="ET20" />
</Access>
</StlStatement>
<StlStatement UId="579">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="580">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="OK" />
</Access>
</StlStatement>
<StlStatement UId="582">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="27" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="28" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="29" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="2A" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Auswahl der Wegerfassung</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="2B" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="583">
<LabelDeclaration>
<Label Name="ISim" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="586">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="588">
<StlToken Text="OPEN_DB" />
<Access Scope="Address">
<Indirect Width="Block" Area="DB">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</Indirect>
<LineComment>
<Text>Zähler-DB öffnen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="592">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="593">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="594">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="593" />
<LineComment>
<Text>Überlauf</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="597">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="596" />
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="600">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="597" />
<LineComment>
<Text>Ohne Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="603">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="604">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb_aktiv" />
</Symbol>
<LineComment>
<Text>Antrieb ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="607">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="chk" />
<LineComment>
<Text>weitere Kontrollen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="610">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="611">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW4" />
</Symbol>
<LineComment>
<Text>Anzahl der 10ms-Takte (letzter Zyklus)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="614">
<StlToken Text="ITD" />
</StlStatement>
<StlStatement UId="615">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="640" />
</Access>
</StlStatement>
<StlStatement UId="617">
<StlToken Text="ADD_D" />
<LineComment>
<Text>10ms-Takte dazuaddieren</Text>
</LineComment>
</StlStatement>
<StlStatement UId="619">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="640" />
</Access>
</StlStatement>
<StlStatement UId="621">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="622">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="chk" />
<LineComment>
<Text>weitere Kontrollen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="625">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="626">
<LineComment>
<Text>Zähler auf 000 setzen ?:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="628">
<LabelDeclaration>
<Label Name="chk" />
</LabelDeclaration>
<StlToken Text="AN" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="598" />
<LineComment>
<Text>Zähler Zero-Load</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="632">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="new" />
</Access>
</StlStatement>
<StlStatement UId="634">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="635">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="636">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="598" />
</Access>
</StlStatement>
<StlStatement UId="638">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="639">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="641">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="560" />
<LineComment>
<Text>Zählerwert zum Setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="644">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="645">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="load" />
</Access>
</StlStatement>
<StlStatement UId="647">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="648">
<LineComment>
<Text>Zähler neu setzen ?:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="650">
<LabelDeclaration>
<Label Name="new" />
</LabelDeclaration>
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="592" />
<LineComment>
<Text>Zähler Neustart</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="654">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="592" />
</Access>
</StlStatement>
<StlStatement UId="656">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="load" />
</Access>
</StlStatement>
<StlStatement UId="658">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="659">
<LineComment>
<Text>Zähler-Überlauf ?:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="661">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="640" />
<LineComment>
<Text>Aktueller Zählerwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="664">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="600" />
<LineComment>
<Text>Speicherung einfrieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="667">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="nos" />
</Access>
</StlStatement>
<StlStatement UId="669">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="670">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="560" />
<LineComment>
<Text>Speicherung </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="673">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="674">
<LabelDeclaration>
<Label Name="nos" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="608" />
<LineComment>
<Text>Max. Wert erreicht ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="678">
<StlToken Text="LE_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="680">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="OK" />
</Access>
</StlStatement>
<StlStatement UId="682">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="683">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Restwert als Startwert nehmen !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="685">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="560" />
<LineComment>
<Text>Zählerwert zum Setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="688">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="689">
<StlToken Text="AN" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="595" />
<LineComment>
<Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="692">
<StlToken Text="Assign" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="597" />
<LineComment>
<Text>Ohne Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="695">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="595" />
<LineComment>
<Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="698">
<StlToken Text="Assign" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="596" />
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="701">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="702">
<StlToken Text="AN" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="595" />
<LineComment>
<Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="705">
<StlToken Text="Assign" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="595" />
</Access>
</StlStatement>
<StlStatement UId="707">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="708">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="709">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="593" />
<LineComment>
<Text>Überlauf</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="712">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="713">
<LabelDeclaration>
<Label Name="load" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="716">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="718">
<StlToken Text="OPEN_DB" />
<Access Scope="Address">
<Indirect Width="Block" Area="DB">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</Indirect>
<LineComment>
<Text>Zähler-DB öffnen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="722">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="723">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="560" />
<LineComment>
<Text>Zählerwert zum Setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="726">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="640" />
</Access>
</StlStatement>
<StlStatement UId="728">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="729">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="OK" />
</Access>
</StlStatement>
<StlStatement UId="731">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="2C" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="2D" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="2E" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="2F" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Inkremental-Geber über 10ms-Takte simulieren und Antrieb aktiv</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="30" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="732">
<LabelDeclaration>
<Label Name="ET20" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="735">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="737">
<StlToken Text="OPEN_DB" />
<Access Scope="Address">
<Indirect Width="Block" Area="DB">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</Indirect>
<LineComment>
<Text>Zähler-DB öffnen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="741">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="742">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_HW_Adress" />
</Symbol>
<LineComment>
<Text>Hardware-Adresse der ET200-Zählerbaugruppe</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="745">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Adresse sinnvoll ? (also ohne Zählerbaugruppe !)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="748">
<StlToken Text="LE_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="750">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Err_Parameter" />
</Symbol>
<LineComment>
<Text>Parameter für ET200 fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="753">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="OK" />
</Access>
</StlStatement>
<StlStatement UId="755">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="756">
<LineComment>
<Text>Zählerwert einlesen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="758">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_HW_Adress" />
</Symbol>
<LineComment>
<Text>Hardware-Adresse der ET200-Zählerbaugruppe</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="761">
<StlToken Text="SLW" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
<LineComment>
<Text>Pointer erzeugen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="764">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse0" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="766">
<StlToken Text="L" />
<Access Scope="Address">
<Indirect Width="Double" Area="PeripheryInput">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse0" />
</Symbol>
</Access>
</Indirect>
</Access>
</StlStatement>
<StlStatement UId="768">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="640" />
</Access>
</StlStatement>
<StlStatement UId="770">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="771">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_HW_Adress" />
</Symbol>
<LineComment>
<Text>Hardware-Adresse der ET200-Zählerbaugruppe</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="774">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>4</ConstantValue>
</Constant>
<LineComment>
<Text>Offset 4 DWs</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="777">
<StlToken Text="SLW" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
<LineComment>
<Text>Pointer erzeugen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="780">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse4" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="782">
<StlToken Text="L" />
<Access Scope="Address">
<Indirect Width="Double" Area="PeripheryInput">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse4" />
</Symbol>
</Access>
</Indirect>
</Access>
</StlStatement>
<StlStatement UId="784">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="32" />
</Access>
</StlStatement>
<StlStatement UId="786">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="787">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_HW_Adress" />
</Symbol>
<LineComment>
<Text>Hardware-Adresse der ET200-Zählerbaugruppe</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="790">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>8</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="792">
<StlToken Text="SLW" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
<LineComment>
<Text>Pointer erzeugen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="795">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse8" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="797">
<StlToken Text="L" />
<Access Scope="Address">
<Indirect Width="Double" Area="PeripheryInput">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse8" />
</Symbol>
</Access>
</Indirect>
</Access>
</StlStatement>
<StlStatement UId="799">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="64" />
<LineComment>
<Text>eigentlich doppelt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="802">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="803">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="640" />
<LineComment>
<Text>Aktueller Zählerwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="806">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="560" />
<LineComment>
<Text>Speicherung (Zählerwert letzter Zyklus) </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="809">
<StlToken Text="NE_D" />
<LineComment>
<Text>ist verändert !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="811">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Ok_I" />
</Access>
</StlStatement>
<StlStatement UId="813">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="814">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb_aktiv" />
</Symbol>
<LineComment>
<Text>Antrieb ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="817">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
<LineComment>
<Text>Ablaufstörung quittieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="820">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="X_I" />
</Access>
</StlStatement>
<StlStatement UId="822">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="823">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SAVE" />
<Component Name="Ink_ohne_Zeit" />
</Symbol>
<LineComment>
<Text>Zeit Inkremntalgeberwert ohne Änderung [10ms]</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="826">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW4" />
</Symbol>
<LineComment>
<Text>Anzahl der 10ms-Takte (letzter Zyklus)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="829">
<StlToken Text="ADD_I" />
<LineComment>
<Text>aufaddieren</Text>
</LineComment>
</StlStatement>
<StlStatement UId="831">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SAVE" />
<Component Name="Ink_ohne_Zeit" />
</Symbol>
<LineComment>
<Text>Zeit Inkremntalgeberwert ohne Änderung [10ms]</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="834">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="835">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>50</ConstantValue>
</Constant>
<LineComment>
<Text>500ms ohne Änderung ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="838">
<StlToken Text="GE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="840">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Inkrementalgeber" />
</Symbol>
<LineComment>
<Text>Inkrementalgeberwert ohne Änderung</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="843">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="844">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="X_I" />
</Access>
</StlStatement>
<StlStatement UId="846">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="847">
<LabelDeclaration>
<Label Name="Ok_I" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="850">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SAVE" />
<Component Name="Ink_ohne_Zeit" />
</Symbol>
<LineComment>
<Text>Zeit Inkremntalgeberwert ohne Änderung [10ms]</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="853">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="854">
<LineComment>
<Text>Software-Gate öffnen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="856">
<LabelDeclaration>
<Label Name="X_I" />
</LabelDeclaration>
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="858">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="128" />
<LineComment>
<Text>SW-Gate öffnen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="861">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="862">
<LineComment>
<Text>Zähler setzen läuft:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="864">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="867">
<StlToken Text="O" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="599" />
<LineComment>
<Text>Zähler laden ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="870">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="597" />
<LineComment>
<Text>Ohne Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="873">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="596" />
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="876">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="LOAD_Mig" />
</Access>
</StlStatement>
<StlStatement UId="878">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="879">
<LineComment>
<Text>Zähler auf 000 setzen ?:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="881">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="883">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="96" />
<LineComment>
<Text>Zählerwert zum Setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="886">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="887">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="598" />
<LineComment>
<Text>Zähler Zero-Load</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="890">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="893">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="LOAD_Mig" />
</Access>
</StlStatement>
<StlStatement UId="895">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="896">
<LineComment>
<Text>Zähler neu setzen ?:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="898">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="560" />
<LineComment>
<Text>Speicherung </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="901">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="96" />
<LineComment>
<Text>Zählerwert zum Setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="904">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="905">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="592" />
<LineComment>
<Text>Zähler Neustart</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="908">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="911">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="LOAD_Mig" />
</Access>
</StlStatement>
<StlStatement UId="913">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="914">
<LineComment>
<Text>Zähler-Überlauf ?:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="916">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="640" />
<LineComment>
<Text>Aktueller Zählerwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="919">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="608" />
<LineComment>
<Text>Max. Wert erreicht ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="922">
<StlToken Text="LE_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="924">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Ok_Mig" />
</Access>
</StlStatement>
<StlStatement UId="926">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="927">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Restwert als Startwert nehmen !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="929">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="96" />
<LineComment>
<Text>Zählerwert zum Setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="932">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="933">
<StlToken Text="AN" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="595" />
<LineComment>
<Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="936">
<StlToken Text="Assign" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="597" />
<LineComment>
<Text>Ohne Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="939">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="595" />
<LineComment>
<Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="942">
<StlToken Text="Assign" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="596" />
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="945">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="946">
<StlToken Text="AN" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="595" />
<LineComment>
<Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="949">
<StlToken Text="Assign" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="595" />
</Access>
</StlStatement>
<StlStatement UId="951">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="952">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="953">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="593" />
<LineComment>
<Text>Überlauf</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="956">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="959">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="960">
<LabelDeclaration>
<Label Name="LOAD_Mig" />
</LabelDeclaration>
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="964">
<StlToken Text="Assign" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="136" />
<LineComment>
<Text>Load_Val</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="967">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="Ok_Mig" />
</Access>
</StlStatement>
<StlStatement UId="969">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="970">
<LineComment>
<Text>Daten an Zähler senden:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="972">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="96" />
</Access>
</StlStatement>
<StlStatement UId="974">
<StlToken Text="T" />
<Access Scope="Address">
<Indirect Width="Double" Area="PeripheryOutput">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse0" />
</Symbol>
</Access>
</Indirect>
</Access>
</StlStatement>
<StlStatement UId="976">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="977">
<LabelDeclaration>
<Label Name="Ok_Mig" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="Word" BitOffset="128" />
</Access>
</StlStatement>
<StlStatement UId="980">
<StlToken Text="T" />
<Access Scope="Address">
<Indirect Width="Word" Area="PeripheryOutput">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse4" />
</Symbol>
</Access>
</Indirect>
</Access>
</StlStatement>
<StlStatement UId="982">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="983">
<LineComment>
<Text>Zählerstatus einlesen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="985">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_HW_Adress" />
</Symbol>
<LineComment>
<Text>Hardware-Adresse der ET200-Zählerbaugruppe</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="988">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>4</ConstantValue>
</Constant>
<LineComment>
<Text>Offset 4 DWs</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="991">
<StlToken Text="SLW" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
<LineComment>
<Text>Pointer erzeugen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="994">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse4" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="996">
<StlToken Text="L" />
<Access Scope="Address">
<Indirect Width="Double" Area="PeripheryInput">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse4" />
</Symbol>
</Access>
</Indirect>
</Access>
</StlStatement>
<StlStatement UId="998">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="32" />
</Access>
</StlStatement>
<StlStatement UId="1000">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1001">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1003">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1005">
<StlToken Text="OPEN_DB" />
<Access Scope="Address">
<Indirect Width="Block" Area="DB">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</Indirect>
<LineComment>
<Text>Zähler-DB öffnen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1009">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1010">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1013">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="32" />
<LineComment>
<Text>Zähler wird geladen (Modul-Rückmeldung)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1016">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="599" />
<LineComment>
<Text>Zähler laden ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1019">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1022">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1023">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="599" />
<LineComment>
<Text>Zähler laden ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1026">
<StlToken Text="AN" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="32" />
<LineComment>
<Text>Zähler wird geladen (Modul-Rückmeldung)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1029">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="599" />
<LineComment>
<Text>Zähler laden ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1032">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="598" />
<LineComment>
<Text>Zähler Zero-Load</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1035">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="592" />
<LineComment>
<Text>Zähler Neustart</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1038">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="593" />
<LineComment>
<Text>Überlauf</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1041">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1042">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1045">
<StlToken Text="O" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="599" />
<LineComment>
<Text>Zähler laden ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1048">
<StlToken Text="O" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="32" />
<LineComment>
<Text>Zähler wird geladen (Modul-Rückmeldung)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1051">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Fake" />
</Access>
</StlStatement>
<StlStatement UId="1053">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1054">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="640" />
<LineComment>
<Text>Aktueller Zählerwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1057">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Sinnvoller Wert ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1060">
<StlToken Text="LE_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1062">
<StlToken Text="O" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="600" />
<LineComment>
<Text>Speicherung einfrieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1065">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="OK" />
</Access>
</StlStatement>
<StlStatement UId="1067">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1068">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="640" />
<LineComment>
<Text>Aktueller Zählerwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1071">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="560" />
<LineComment>
<Text>Speicherung </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1074">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1075">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="OK" />
</Access>
</StlStatement>
<StlStatement UId="1077">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1078">
<LabelDeclaration>
<Label Name="Fake" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1081">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1083">
<StlToken Text="OPEN_DB" />
<Access Scope="Address">
<Indirect Width="Block" Area="DB">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</Indirect>
<LineComment>
<Text>Zähler-DB öffnen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1087">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1088">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="96" />
<LineComment>
<Text>Während Neusetzen Loadwert übergeben</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1091">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="640" />
</Access>
</StlStatement>
<StlStatement UId="1093">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1094">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="OK" />
</Access>
</StlStatement>
<StlStatement UId="1096">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="31" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="32" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="33" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="34" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Inkremental-Geber mit Zähler-Baugruppe (ET200)</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="35" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="1402">
<LineComment>
<Text>Daten des Inktremental-Gebers übergeben:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1404">
<LabelDeclaration>
<Label Name="OK" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1407">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1409">
<StlToken Text="OPEN_DB" />
<Access Scope="Address">
<Indirect Width="Block" Area="DB">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</Indirect>
<LineComment>
<Text>Zähler-DB öffnen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1413">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="640" />
</Access>
</StlStatement>
<StlStatement UId="1415">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1417">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="608" />
</Access>
</StlStatement>
<StlStatement UId="1419">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Max_Wert" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1421">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="595" />
</Access>
</StlStatement>
<StlStatement UId="1423">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1425">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="596" />
</Access>
</StlStatement>
<StlStatement UId="1427">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Flag_Lauf_fertig" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1429">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="597" />
</Access>
</StlStatement>
<StlStatement UId="1431">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ohne_Lauf_fertig" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1433">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="36" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="37" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="38" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="39" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Inkwerte holen</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="3A" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="1434">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DB" />
</Symbol>
<LineComment>
<Text>Travel-FIFO: DB-Nr.</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1437">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>sinnvolle Angabe ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1440">
<StlToken Text="LE_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1442">
<StlToken Text="O_BRACK" />
</StlStatement>
<StlStatement UId="1443">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DW" />
</Symbol>
<LineComment>
<Text>Einfahr-FIFO: DW-Nr.</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1446">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Sinnvolle Angabe ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1449">
<StlToken Text="LT_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1451">
<StlToken Text="BRACKET" />
</StlStatement>
<StlStatement UId="1452">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en13" />
</Access>
</StlStatement>
<StlStatement UId="1454">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1455">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#0224</ConstantValue>
</Constant>
<LineComment>
<Text>2-4.Zusatz-DWs schreiben</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1458">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Parameter" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1460">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1461">
<LineComment>
<Text>Inkwerte übergeben:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1463">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1465">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD242" />
</Symbol>
<LineComment>
<Text>Inkwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1468">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1469">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1471">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW246" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1473">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1475">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M246.3" />
</Symbol>
<LineComment>
<Text>Flag-Info</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1478">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Flag_Lauf_fertig" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1480">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M246.4" />
</Symbol>
<LineComment>
<Text>Fertig-Info</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1483">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ohne_Lauf_fertig" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1485">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M246.5" />
</Symbol>
<LineComment>
<Text>Fertig-Info</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1488">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1489">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="10s-Impuls" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1491">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M247.7" />
</Symbol>
<LineComment>
<Text>Übergabe MaxWert aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1494">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Max_raus" />
</Symbol>
<LineComment>
<Text>Max_Wert wurde schon übertragen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1497">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="w041" />
</Access>
</StlStatement>
<StlStatement UId="1499">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1500">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Max_Wert" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1502">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD242" />
</Symbol>
<LineComment>
<Text>MaxWert übergeben</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1505">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1506">
<LabelDeclaration>
<Label Name="w041" />
</LabelDeclaration>
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="FifoIn" BlockType="FC">
<Parameter Name="SSDB" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DW" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="PARA" Section="Input" Type="Word">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Parameter" />
</Symbol>
</Access>
<LineComment>
<Text>Zusatz-DWs schreiben (s.o.)</Text>
</LineComment>
</Parameter>
<Parameter Name="INDATEN" 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>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="1516">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1517">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1519">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_TravelFIFO_In" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1521">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_TravelFIFO_In" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1523">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1524">
<StlToken Text="JBI" />
<Access Scope="Label">
<Label Name="en13" />
</Access>
</StlStatement>
<StlStatement UId="1526">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1527">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1528">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_Err" />
</Symbol>
<LineComment>
<Text>Travel-FIFO fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1531">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1532">
<LabelDeclaration>
<Label Name="en13" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1534">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="3B" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="3C" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="3D" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="3E" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Zusatz-DWs an Travel-FIFO übergeben</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="3F" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="1535">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Parameter" />
<Component Name="Kein_Sync_B" />
</Symbol>
<LineComment>
<Text>Kein Sync-Sensor eingebaut (Daten-Sync) </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1538">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En04" />
<LineComment>
<Text>Also Sensor verbaut !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1541">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1542">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="FifoOut" BlockType="FC">
<Parameter Name="SSDB" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DW" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="PARA" Section="Input" Type="Word">
<Access Scope="TypedConstant">
<Constant>
<ConstantValue>WORD#16#0000</ConstantValue>
</Constant>
</Access>
<LineComment>
<Text>Daten lesen</Text>
</LineComment>
</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="RE_VAL" Section="Output" Type="Byte">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</Parameter>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="1551">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1552">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1554">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_TravelFIFO_Out" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1556">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Aufruf mit Fehler ? (Bit2 = FIFO ist leer auch nicht!)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1559">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1561">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb_aktiv" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1563">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="sB_BT_da" />
</Symbol>
<LineComment>
<Text>Sensor BT ist an Sychronisierstelle</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1566">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1567">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="En06" />
<LineComment>
<Text>Überwachungen überspringen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1570">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1571">
<LabelDeclaration>
<Label Name="En04" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1573">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="40" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="41" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="42" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="43" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Kein Sync-Sensor vorhanden</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="1574">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="BT_ausgewertet" />
</Symbol>
<LineComment>
<Text>BT wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1577">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en04_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1579">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1580">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Synchron-Ende (MT)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1583">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>angegeben ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1586">
<StlToken Text="LE_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1588">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="sB_BT_da" />
</Symbol>
<LineComment>
<Text>Sensor BT ist an Sychronisierstelle</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1591">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Save" />
</Access>
</StlStatement>
<StlStatement UId="1593">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1594">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Synchron-Ende (MT)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1597">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Flag_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1600">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1601">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Synchron-Ende (MT)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1604">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ohne_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1607">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w040" />
<LineComment>
<Text>beim Ende des Lauf sind Inkremente uninteressant</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1610">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1611">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Synchron-Ende (MT) </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1614">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1617">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1618">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Synchron-Ende (MT) </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1621">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1624">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="en04_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1626">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1627">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1630">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Synchron-Ende (MT)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1633">
<StlToken Text="LT_D" />
</StlStatement>
<StlStatement UId="1634">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en04_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1636">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1637">
<LabelDeclaration>
<Label Name="w040" />
</LabelDeclaration>
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1639">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="BT_ausgewertet" />
</Symbol>
<LineComment>
<Text>BT wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1642">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Synchron-Ende (MT) </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1645">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1646">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1648">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Synchron-Ende (MT)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1651">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1652">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="en04_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1654">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1655">
<LineComment>
<Text>End-Punkt der Synchronisation speichern: (wegen Entprelling)</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1657">
<LabelDeclaration>
<Label Name="Save" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktueller Ink-Wert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1661">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Entprellung_B_Sync" />
</Symbol>
<LineComment>
<Text>Entprellung Snyc-Sensor (in Inkremente)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1664">
<StlToken Text="ADD_D" />
</StlStatement>
<StlStatement UId="1665">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Synchron-Ende (MT)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1668">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1670">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Synchron-Ende (MT)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1673">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Max_Wert" />
</Symbol>
<LineComment>
<Text>Maximal erlaubter Zählwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1676">
<StlToken Text="GT_D" />
</StlStatement>
<StlStatement UId="1677">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="en04_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1679">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1680">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Restwert übernehmen</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1682">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Synchron-Ende (MT)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1685">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1686">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1689">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ende_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Synchron-Ende (MT)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1692">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1693">
<LabelDeclaration>
<Label Name="en04_Mig" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1695">
<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>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="47" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="48" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>BT ist wieder weg</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="49" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="1696">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="sB_BT_da" />
</Symbol>
<LineComment>
<Text>Sensor Sync ist an Sychronisierstelle</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1699">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1700">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Neuspeicherung nötig</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1703">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1705">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1706">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Neuspeicherung nötig</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1709">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1711">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
<LineComment>
<Text>Störung quittieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1714">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Reset" />
</Symbol>
<LineComment>
<Text>Bereich resetten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1717">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="W030" />
</Access>
</StlStatement>
<StlStatement UId="1719">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1720">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Sync_Sensor_aktiv" />
</Symbol>
<LineComment>
<Text>Sync-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1723">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En03_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1725">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1726">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="InkZelle" />
</Symbol>
<LineComment>
<Text>Speicherung Sensor frei </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1729">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Speicherung vorhanden ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1732">
<StlToken Text="EQ_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1734">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En03_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1736">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1737">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktueller Ink-Wert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1740">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="InkZelle" />
</Symbol>
<LineComment>
<Text>Speicherung Sensor frei </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1743">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Differenz bilden</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1745">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>10</ConstantValue>
</Constant>
<LineComment>
<Text>davon 10%</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1748">
<StlToken Text="DIV_D" />
</StlStatement>
<StlStatement UId="1749">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Entprellung_B_Sync" />
</Symbol>
<LineComment>
<Text>Falls also 10mal Entprellwert, dann</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1752">
<StlToken Text="GE_D" />
</StlStatement>
<StlStatement UId="1753">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Sync_Sensor_aktiv" />
</Symbol>
<LineComment>
<Text>Sync-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1756">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1757">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="En03_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1759">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1760">
<LabelDeclaration>
<Label Name="W030" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktueller Ink-Wert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1764">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="InkZelle" />
</Symbol>
<LineComment>
<Text>Speicherung Sensor frei </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1767">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1769">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Flag" />
</Symbol>
<LineComment>
<Text>Speicherung Laufflag</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1772">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1773">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Sync_Sensor_aktiv" />
</Symbol>
<LineComment>
<Text>Sync-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1776">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1777">
<LabelDeclaration>
<Label Name="En03_Mig" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1779">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="4A" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="4B" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="4C" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="4D" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Error: Sync-Sensor dauernd aktiv</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="4E" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="1780">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei FIFO-Wechsel (sonst Stop/Err)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1783">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>sinnvolle Angabe ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1786">
<StlToken Text="LE_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1788">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_Aktiv" />
</Symbol>
<LineComment>
<Text>Teach-Modus ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1791">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_belegt" />
</Symbol>
<LineComment>
<Text>Travel-FIFO bleibt belegt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1794">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w061" />
</Access>
</StlStatement>
<StlStatement UId="1796">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1797">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Flag" />
</Symbol>
<LineComment>
<Text>Flag bei FIFO-Wechsel (sonst Stop/Err)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1800">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Flag_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1803">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1804">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Flag" />
</Symbol>
<LineComment>
<Text>Flag bei FIFO-Wechsel (sonst Stop/Err) </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1807">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ohne_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1810">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w060" />
<LineComment>
<Text>beim Ende des Lauf sind Inkremente uninteressant</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1813">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1814">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Flag" />
</Symbol>
<LineComment>
<Text>Flag bei FIFO-Wechsel (sonst Stop/Err)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1817">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1820">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1821">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Flag" />
</Symbol>
<LineComment>
<Text>Flag bei FIFO-Wechsel (sonst Stop/Err) </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1824">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1827">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="En06" />
</Access>
</StlStatement>
<StlStatement UId="1829">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1830">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1833">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei FIFO-Wechsel (sonst Stop/Err)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1836">
<StlToken Text="LT_D" />
</StlStatement>
<StlStatement UId="1837">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb_start" />
</Symbol>
<LineComment>
<Text>Kreiselantrieb starten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1840">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En06" />
</Access>
</StlStatement>
<StlStatement UId="1842">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1843">
<LabelDeclaration>
<Label Name="w060" />
</LabelDeclaration>
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Stop" />
</Symbol>
<LineComment>
<Text>Falls noch nicht gestoppt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1847">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Stop" />
</Symbol>
<LineComment>
<Text>Rein-Separator stoppen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1850">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w063" />
</Access>
</StlStatement>
<StlStatement UId="1852">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1853">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Abstand_StartSep" />
</Symbol>
<LineComment>
<Text>Abstand Start-Separator &lt;-&gt; Sync-Sensor (in Inkremente)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1856">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>sinnvoller Wert ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1859">
<StlToken Text="GT_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1861">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_belegt" />
</Symbol>
<LineComment>
<Text>Travel-FIFO bleibt belegt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1864">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1865">
<LabelDeclaration>
<Label Name="w061" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1868">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei FIFO-Wechsel (sonst Err)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1871">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1872">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Flag" />
</Symbol>
<LineComment>
<Text>Flag bei FIFO-Wechsel (sonst Err) </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1875">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1876">
<LineComment>
<Text>Kontrolle, ob Daten im Travel-FIFO vorhanden:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1878">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="FifoOut" BlockType="FC">
<Parameter Name="SSDB" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DW" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="PARA" Section="Input" Type="Word">
<Access Scope="TypedConstant">
<Constant>
<ConstantValue>WORD#16#0000</ConstantValue>
</Constant>
</Access>
<LineComment>
<Text>Daten lesen</Text>
</LineComment>
</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="RE_VAL" Section="Output" Type="Byte">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</Parameter>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="1887">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1888">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1890">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Aufruf mit Fehler ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1893">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1895">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_Err" />
</Symbol>
<LineComment>
<Text>Travel-FIFO fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1898">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w062" />
</Access>
</StlStatement>
<StlStatement UId="1900">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1901">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.2" />
</Symbol>
<LineComment>
<Text>FIFO ist leer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1904">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_Err" />
</Symbol>
<LineComment>
<Text>Travel-FIFO fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1907">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Stop" />
</Symbol>
<LineComment>
<Text>Rein-Separator stoppen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1910">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_belegt" />
</Symbol>
<LineComment>
<Text>Travel-FIFO bleibt belegt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1913">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En06" />
</Access>
</StlStatement>
<StlStatement UId="1915">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1916">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1917">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_Err" />
</Symbol>
<LineComment>
<Text>Travel-FIFO fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1920">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1921">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="En06" />
</Access>
</StlStatement>
<StlStatement UId="1923">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1924">
<LineComment>
<Text>Inkremente speichern, bei denen spätestens FIFO-Zugriff erfolgen muss (sonst Stop)!</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1926">
<LabelDeclaration>
<Label Name="w062" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Abstand_StartSep" />
</Symbol>
<LineComment>
<Text>Abstand Start-Separator &lt;-&gt; Sync-Sensor (in Inkremente)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1930">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>sinnvoller Wert ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1933">
<StlToken Text="LE_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1935">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En06" />
</Access>
</StlStatement>
<StlStatement UId="1937">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1938">
<StlToken Text="CAC" />
</StlStatement>
<StlStatement UId="1939">
<LineComment>
<Text>/ L MD 220 //Ink-Wert des nächsten BTs beim Vereinzeln</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1941">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktueller Ink-Wert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1944">
<StlToken Text="ADD_D" />
</StlStatement>
<StlStatement UId="1945">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei FIFO-Wechsel (sonst Stop)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1948">
<LineComment>
<Text>/ U M 224.0 //Lauf-Flag des nächsten BTs beim Vereinzeln</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1950">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1952">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei FIFO-Wechsel (sonst Stop)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1955">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Max_Wert" />
</Symbol>
<LineComment>
<Text>Maximal erlaubter Zählwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1958">
<StlToken Text="GT_D" />
</StlStatement>
<StlStatement UId="1959">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="En06" />
</Access>
</StlStatement>
<StlStatement UId="1961">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1962">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Restwert übernehmen</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1964">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei FIFO-Wechsel (sonst Stop)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1967">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1968">
<StlToken Text="AN" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M224.0" />
</Symbol>
<LineComment>
<Text>Lauf-Flag des nächsten BTs beim Vereinzeln (unvertieren)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1971">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei FIFO-Wechsel (sonst Stop)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1974">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1975">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="En06" />
</Access>
</StlStatement>
<StlStatement UId="1977">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1978">
<LineComment>
<Text>Inkremente speichern, bei denen spätestens FIFO leer (sonst Err)</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1980">
<LabelDeclaration>
<Label Name="w063" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Abstand_StartSep" />
</Symbol>
<LineComment>
<Text>Abstand Start-Separator &lt;-&gt; Sync-Sensor (in Inkremente)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1984">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktueller Ink-Wert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1987">
<StlToken Text="ADD_D" />
</StlStatement>
<StlStatement UId="1988">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei FIFO-Wechsel (sonst Err)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1991">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1993">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei FIFO-Wechsel (sonst Err)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1996">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Max_Wert" />
</Symbol>
<LineComment>
<Text>Maximal erlaubter Zählwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1999">
<StlToken Text="GT_D" />
</StlStatement>
<StlStatement UId="2000">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="En06" />
</Access>
</StlStatement>
<StlStatement UId="2002">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2003">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Restwert übernehmen</Text>
</LineComment>
</StlStatement>
<StlStatement UId="2005">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei FIFO-Wechsel (sonst Err)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2008">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2009">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2012">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei FIFO-Wechsel (sonst Err)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2015">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2016">
<LabelDeclaration>
<Label Name="En06" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="2018">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="4F" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="50" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="51" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="52" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Error: Travel-FIFO bleibt voll</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="53" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="2019">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="sB_BT_da" />
</Symbol>
<LineComment>
<Text>BT ist an Sychronisierstelle</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2022">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="BT_ausgewertet" />
</Symbol>
<LineComment>
<Text>BT wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2025">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Sync_Sensor_aktiv" />
</Symbol>
<LineComment>
<Text>Sync-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2028">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_Aktiv" />
</Symbol>
<LineComment>
<Text>Teach-Modus ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2031">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="BT_ausgewertet" />
</Symbol>
<LineComment>
<Text>BT wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2034">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Sync" />
</Access>
</StlStatement>
<StlStatement UId="2036">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2037">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Teac" />
</Access>
</StlStatement>
<StlStatement UId="2039">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="54" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="55" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="56" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="57" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Sync-Sensor ist aktiv</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="58" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="2040">
<LabelDeclaration>
<Label Name="Sync" />
</LabelDeclaration>
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="FifoOut" BlockType="FC">
<Parameter Name="SSDB" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="TravelFIFO_DW" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="PARA" Section="Input" Type="Word">
<Access Scope="TypedConstant">
<Constant>
<ConstantValue>WORD#16#E100</ConstantValue>
</Constant>
</Access>
<LineComment>
<Text>Daten lesen + austragen</Text>
</LineComment>
</Parameter>
<Parameter Name="OUTDATEN" Section="Output" Type="Pointer">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="RE_VAL" Section="Output" Type="Byte">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</Parameter>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="2050">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2051">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2053">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_TravelFIFO_Out" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2055">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Aufruf mit Fehler ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2058">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="2060">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_leer" />
</Symbol>
<LineComment>
<Text>keine Daten im Travel-FIFO eingetragen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2063">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="X081" />
</Access>
</StlStatement>
<StlStatement UId="2065">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2066">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.2" />
</Symbol>
<LineComment>
<Text>FIFO ist leer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2069">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_leer" />
</Symbol>
<LineComment>
<Text>keine Daten im Travel-FIFO eingetragen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2072">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="X080" />
</Access>
</StlStatement>
<StlStatement UId="2074">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2075">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2076">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TravelFIFO_Err" />
</Symbol>
<LineComment>
<Text>Travel-FIFO fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2079">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2080">
<LabelDeclaration>
<Label Name="X080" />
</LabelDeclaration>
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="En18" />
<LineComment>
<Text>Keine Reaktion ist am Besten !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2084">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2085">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>-1</ConstantValue>
</Constant>
<LineComment>
<Text>Null-Daten übergeben</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2088">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Teil_IDX" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2090">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>-1</ConstantValue>
</Constant>
<LineComment>
<Text>in nächsten Bereich fahren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2093">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Teil_Ziel" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2095">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2096">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="X082" />
</Access>
</StlStatement>
<StlStatement UId="2098">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2099">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Teil_IDX_Old" />
</Symbol>
<LineComment>
<Text>Letzte gültige Daten übergeben</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2102">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Teil_IDX" />
</Symbol>
<LineComment>
<Text>nicht mehr, da nur Ärger!</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2105">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Teil_Ziel_Old" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2107">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Teil_Ziel" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2109">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2110">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="X082" />
</Access>
</StlStatement>
<StlStatement UId="2112">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2113">
<LineComment>
<Text>IDX und Ziel speichern (für Travel-FIFO leer,...)</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="2115">
<LabelDeclaration>
<Label Name="X081" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Teil_IDX" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2118">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Teil_IDX_Old" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2120">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Teil_Ziel" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2122">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Teil_Ziel_Old" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2124">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2125">
<LineComment>
<Text>Travel-FIFO-Daten übergeben:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="2127">
<LabelDeclaration>
<Label Name="X082" />
</LabelDeclaration>
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Stop" />
</Symbol>
<LineComment>
<Text>Rein-Separator stoppen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2131">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="X083" />
</Access>
</StlStatement>
<StlStatement UId="2133">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2134">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei FIFO-Wechsel (sonst Stop)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2137">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktueller Ink-Wert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2140">
<StlToken Text="SUB_D" />
</StlStatement>
<StlStatement UId="2141">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Sich_Ink" />
</Symbol>
<LineComment>
<Text>Übrige Inks, bevor dann gestoppt wird !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2144">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2145">
<LabelDeclaration>
<Label Name="X083" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="2148">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="FIFO_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei FIFO-Wechsel (sonst Stop)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2151">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2152">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Parameter" />
<Component Name="Kein_Sync_B" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2154">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="BT_ausgewertet" />
</Symbol>
<LineComment>
<Text>BT wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2157">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="59" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="5A" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="5B" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="5C" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Daten aus Travel-FIFO holen</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="5D" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="2158">
<LineComment>
<Text>Sync-Info:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="2160">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert (Start-Sync-Zähler)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2163">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Start_Ink" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2165">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2166">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Start-Flag übergeben (für evtl. Fahrsync)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2169">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Start_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2171">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2172">
<LineComment>
<Text>Sort-Info werden von Travel-FIFO übernommen</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="2174">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2175">
<LineComment>
<Text>Quell_Info:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="2177">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Sync_Nr" />
</Symbol>
<LineComment>
<Text>Identifikation des Synchron-Punktes</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2180">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Quelle" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2182">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="letzte_Position" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2184">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="5E" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="5F" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="60" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="61" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Daten für Haupstrangdaten aufbereiten</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="62" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="2185">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Hauptstrang_DL_DB" />
</Symbol>
<LineComment>
<Text>Hauptstrang-DB</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2188">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="HaupstranglistenDB" />
</Symbol>
<LineComment>
<Text>Aktueller Hauptstrang-DB</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2191">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>angegeben ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2194">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="2196">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Keine_Hauptstrangliste" />
</Symbol>
<LineComment>
<Text>Keine Hauptstrangliste zum Eintragen angegeben</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2199">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En18" />
</Access>
</StlStatement>
<StlStatement UId="2201">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2202">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Start-Flag </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2205">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w180" />
</Access>
</StlStatement>
<StlStatement UId="2207">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2208">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Hauptstrang_DL_DB" />
</Symbol>
<LineComment>
<Text>Hauptstrang-DB</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2211">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
<LineComment>
<Text>DB+1 bei Flaglauf !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2214">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="HaupstranglistenDB" />
</Symbol>
<LineComment>
<Text>Aktueller Hauptstrang-DB</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2217">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2218">
<LabelDeclaration>
<Label Name="w180" />
</LabelDeclaration>
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="DatenInSort" BlockType="FC">
<Token Text="," />
<LineComment>
<Text>Hauptstrangliste mit Lauf-Flag</Text>
</LineComment>
<Parameter Name="SSDB" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="HaupstranglistenDB" />
</Symbol>
</Access>
<LineComment>
<Text>Aktueller Hauptstrang-DB</Text>
</LineComment>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Hauptstrang_DL_DW" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="INDATEN" Section="Input" Type="Pointer">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="RE_VAL" Section="Output" Type="Byte">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</Parameter>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="2228">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2229">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2231">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_Hauptstrang_In" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2233">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2234">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.2" />
</Symbol>
<LineComment>
<Text>Hauptstrangliste ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2237">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Hauptstrangliste_voll" />
</Symbol>
<LineComment>
<Text>Hauptstrangliste ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2240">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En18" />
</Access>
</StlStatement>
<StlStatement UId="2242">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2243">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.7" />
</Symbol>
<LineComment>
<Text>Eintrag richtig erfolgt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2246">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En18" />
</Access>
</StlStatement>
<StlStatement UId="2248">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2249">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2250">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Hauptstrangliste_Err" />
</Symbol>
<LineComment>
<Text>Error bei Hauptstrang-Zugriff</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2253">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2254">
<LabelDeclaration>
<Label Name="En18" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="2256">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="63" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="64" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="65" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="66" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Daten in Haupstrangdaten eintragen</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="67" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="2257">
<LabelDeclaration>
<Label Name="Teac" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="TeachPunkt" />
</Symbol>
<LineComment>
<Text>Punkt zum Ein-Teachen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2261">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>bekannt ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2264">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="2266">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_Aktiv" />
</Symbol>
<LineComment>
<Text>Teach-Modus ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2269">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en20" />
</Access>
</StlStatement>
<StlStatement UId="2271">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2272">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="2274">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ref_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Referenzpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2277">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teach_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Teachpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2280">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Abstands_Ink" />
</Symbol>
<LineComment>
<Text>Abstands-Inkremente nach Teachen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2283">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2284">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2285">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_Aktiv" />
</Symbol>
<LineComment>
<Text>Teach-Modus ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2288">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ref_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Ref-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2291">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teach_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Teach-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2294">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Refpunkt_ausgewertet" />
</Symbol>
<LineComment>
<Text>Referenzpunkt ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2297">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teachpunkt_ausgewertet" />
</Symbol>
<LineComment>
<Text>Teachpunkt ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2300">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Refpunkt_ok" />
</Symbol>
<LineComment>
<Text>Referenzpunkt erkannt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2303">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2304">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="2305">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2306">
<LabelDeclaration>
<Label Name="en20" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="2308">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="68" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="69" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="6A" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="6B" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Teach-Modus aktiv ?</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="6C" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="2309">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B_RefPunkt" />
</Symbol>
<LineComment>
<Text>Sensor RefBT am Referenzpunkt erkannt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2312">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Refpunkt_ausgewertet" />
</Symbol>
<LineComment>
<Text>Referenzpunkt ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2315">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2316">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B_RefPunkt" />
</Symbol>
<LineComment>
<Text>Sensor RefBT am Referenzpunkt erkannt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2319">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Refpunkt_ausgewertet" />
</Symbol>
<LineComment>
<Text>Referenzpunkt ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2322">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="en21" />
</Access>
</StlStatement>
<StlStatement UId="2324">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2325">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2328">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ref_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Referenzpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2331">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2333">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ref_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Ref-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2336">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2337">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2338">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Refpunkt_ausgewertet" />
</Symbol>
<LineComment>
<Text>Referenzpunkt ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2341">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Refpunkt_ok" />
</Symbol>
<LineComment>
<Text>Referenzpunkt erkannt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2344">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2345">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="2347">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teach_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Teachpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2350">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Abstands_Ink" />
</Symbol>
<LineComment>
<Text>Abstands-Inkremente nach Teachen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2353">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2354">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teachpunkt_ausgewertet" />
</Symbol>
<LineComment>
<Text>Teachpunkt ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2357">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teach_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Teach-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2360">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2361">
<LabelDeclaration>
<Label Name="en21" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="2363">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="6D" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="6E" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="6F" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="70" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Ref-Inkremente speichern</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="2364">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B_TeachPunk" />
</Symbol>
<LineComment>
<Text>Sensor RefHaken am Teachpunkt erkannt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2367">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb_aktiv" />
</Symbol>
<LineComment>
<Text>Antrieb aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2370">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teachpunkt_ausgewertet" />
</Symbol>
<LineComment>
<Text>Teachpunkt ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2373">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2374">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B_TeachPunk" />
</Symbol>
<LineComment>
<Text>Sensor RefHaken am Teachpunkt erkannt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2377">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teachpunkt_ausgewertet" />
</Symbol>
<LineComment>
<Text>Teachpunkt ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2380">
<StlToken Text="ON" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Refpunkt_ok" />
</Symbol>
<LineComment>
<Text>Referenzpunkt erkannt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="21">
<StlToken Text="ON" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb_aktiv" />
</Symbol>
<LineComment>
<Text>Antrieb aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2383">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="2384">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2385">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2388">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teach_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Teachpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2391">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2393">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teach_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Teach-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2396">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2397">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2398">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teachpunkt_ausgewertet" />
</Symbol>
<LineComment>
<Text>Teachpunkt ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2401">
<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>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="74" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="75" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Teach-Inkremente speichern</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="76" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="2402">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ref_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Ref-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2405">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teach_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Teach-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2408">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="2409">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ref_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Ref-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2412">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teach_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Teach-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2415">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="w230" />
</Access>
</StlStatement>
<StlStatement UId="2417">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2418">
<LineComment>
<Text>Inkremente im gleichem Lauf:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="2420">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teach_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Teachpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2423">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ref_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Referenzpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2426">
<StlToken Text="SUB_D" />
</StlStatement>
<StlStatement UId="2427">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Abstands_Ink" />
</Symbol>
<LineComment>
<Text>Abstands-Inkremente nach Teachen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2430">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2431">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="en23" />
</Access>
</StlStatement>
<StlStatement UId="2433">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2434">
<LabelDeclaration>
<Label Name="w230" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Max_Wert" />
</Symbol>
<LineComment>
<Text>Max. Wert beim Zähler</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2438">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ref_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Referenzpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2441">
<StlToken Text="SUB_D" />
</StlStatement>
<StlStatement UId="2442">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Teach_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente bei Teachpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2445">
<StlToken Text="ADD_D" />
</StlStatement>
<StlStatement UId="2446">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Abstands_Ink" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2448">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2449">
<LabelDeclaration>
<Label Name="en23" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="2451">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="77" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="78" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="79" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="7A" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Abstand ermitteln</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="7B" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="2452">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="TeachPunkt" />
</Symbol>
<LineComment>
<Text>Punkt zum Ein-Teachen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2455">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2457">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="21">
<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>
<LineComment>
<Text>Nach angegeben Datensatz suchen</Text>
</LineComment>
</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#M200.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="2486">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2487">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2489">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_Teach_OUT" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2491">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2492">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.7" />
</Symbol>
<LineComment>
<Text>Datensatz ist vorhanden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2495">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w240" />
</Access>
</StlStatement>
<StlStatement UId="2497">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2498">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.6" />
</Symbol>
<LineComment>
<Text>Datensatz ist nicht vorhanden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2501">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Keine_TeachPktdaten" />
</Symbol>
<LineComment>
<Text>Teach-Punkt in Datenliste nicht vorhanden !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2504">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_Aktiv" />
</Symbol>
<LineComment>
<Text>Teach-Modus ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2507">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="2508">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2509">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2510">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_Aktiv" />
</Symbol>
<LineComment>
<Text>Teach-Modus ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2513">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TeachPkt_Datenliste_Err" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2515">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2516">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="2517">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2518">
<LabelDeclaration>
<Label Name="w240" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Abstands_Ink" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2521">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para" />
<Component Name="Offset_RefPunkt" />
</Symbol>
<LineComment>
<Text>Offset Refpunkt zu SyncPunkt (für Teachen)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2524">
<StlToken Text="ADD_D" />
</StlStatement>
<StlStatement UId="2525">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD218" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2527">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2528">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="DatenIn" 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="INDATEN" 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>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="44">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="MoreTeach" />
</Symbol>
<LineComment>
<Text>Nächsten Teachpunkt ohne neuen Refpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="47">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Refpunkt_ok" />
</Symbol>
<LineComment>
<Text>Referenzpunkt erkannt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2535">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2536">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2538">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_Teach_IN" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2540">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2541">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.7" />
</Symbol>
<LineComment>
<Text>Datensatz ist vorhanden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2544">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="MORE" />
</Access>
</StlStatement>
<StlStatement UId="2545">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2546">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.6" />
</Symbol>
<LineComment>
<Text>Datensatz ist nicht vorhanden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2549">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Keine_TeachPktdaten" />
</Symbol>
<LineComment>
<Text>Teach-Punkt in Datenliste nicht vorhanden !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2552">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_Aktiv" />
</Symbol>
<LineComment>
<Text>Teach-Modus ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2555">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="2556">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2557">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2558">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_Aktiv" />
</Symbol>
<LineComment>
<Text>Teach-Modus ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2561">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TeachPkt_Datenliste_Err" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="41">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="23">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="42">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="25">
<LabelDeclaration>
<Label Name="MORE" />
</LabelDeclaration>
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="MoreTeach" />
</Symbol>
<LineComment>
<Text>Nächsten Teachpunkt ohne neuen Refpunkt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="43">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="56">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="57">
<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#FF00</ConstantValue>
</Constant>
</Access>
<LineComment>
<Text>Nach nächsten Datensatz suchen</Text>
</LineComment>
</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#M200.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="24">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="29">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW206" />
</Symbol>
<LineComment>
<Text>Weichentyp</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="35">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>178</ConstantValue>
</Constant>
<LineComment>
<Text>Sorterweiche ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="40">
<StlToken Text="NE_I" />
<LineComment>
<Text>Nein!</Text>
</LineComment>
</StlStatement>
<StlStatement UId="83">
<StlToken Text="O" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.2" />
</Symbol>
<LineComment>
<Text>Listenende erreicht!</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="30">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="TEND" />
</Access>
</StlStatement>
<StlStatement UId="54">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="66">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="37">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="TeachPunkt" />
</Symbol>
<LineComment>
<Text>Punkt zum Ein-Teachen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="78">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="76">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="31">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2563">
<LabelDeclaration>
<Label Name="TEND" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="79">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="TeachPunkt" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="75">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="82">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="81">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="7C" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="7D" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text />
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="7E" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="7F" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Teach-Inkremente in Datenbank abspeichern</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<SW.Blocks.CompileUnit ID="80" CompositionName="CompileUnits">
<AttributeList>
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
<StlStatement UId="2564">
<StlToken Text="BE" />
</StlStatement>
<StlStatement UId="2565">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
</StatementList></NetworkSource>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="81" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="82" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>
</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
<MultilingualText ID="83" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="84" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Ende</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.CompileUnit>
<MultilingualText ID="85" CompositionName="Title">
<ObjectList>
<MultilingualTextItem ID="86" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>Synchronisation Anfang neuer Sortbereich</Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.FB>
</Document>