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

9511 lines
264 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_Trolley_da" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Sensor Trolley ist an Sychronisierstelle</MultiLanguageText>
</Comment>
</Member>
<Member Name="B_RefPunkt" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Sensor Trolley am Referenzpunkt erkannt</MultiLanguageText>
</Comment>
</Member>
<Member Name="B_TeachPunk" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Sensor Trolley am Teachpunkt erkannt</MultiLanguageText>
</Comment>
</Member>
<Member Name="Antrieb_aktiv" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Antrieb ist aktiv</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="Output">
<Member Name="ScannerTriggern" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Scanner triggern</MultiLanguageText>
</Comment>
</Member>
<Member Name="Error" Datatype="Word">
<Comment>
<MultiLanguageText Lang="de-DE">Störungen übergeben</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="InOut">
<Member Name="Antrieb_stoppen" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Antrieb wegen Haupt-Störung stoppen</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="Static">
<Member Name="SyncPkt" Datatype="&quot;UDLScannerSync&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</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_FIFO_In" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung nach Aufruf</MultiLanguageText>
</Comment>
</Member>
<Member Name="RET_VAL_FIFO_Out" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung nach Aufruf</MultiLanguageText>
</Comment>
</Member>
<Member Name="RET_VAL_FIFO_CHANGE" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung bei Fifo-Zugriff</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 Name="RET_VAL_SendFIFO" Datatype="Byte">
<Comment>
<MultiLanguageText Lang="de-DE">Rückmeldung nach SendPC_FIFO-Aufruf</MultiLanguageText>
</Comment>
</Member>
</Member>
<Member Name="Error" Datatype="&quot;UErrScannerSync&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="Fest_Ziel" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Ziel, daß angefahren wird (Scanner ausgeschaltet!)</MultiLanguageText>
</Comment>
</Member>
<Member Name="Trolley_ausgewertet" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">BT wurde schon ausgewertet</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="Scannen_Flag" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Lauf-Flag bei Scann-Inkremente</MultiLanguageText>
</Comment>
</Member>
<Member Name="InkZelle" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Inkzelle: Taschen-Sensor dauernd aktiv</MultiLanguageText>
</Comment>
</Member>
<Member Name="Position" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Position zum FIFO auslesen</MultiLanguageText>
</Comment>
</Member>
<Member Name="Scannen_Ink" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Inkremente zum Scannen</MultiLanguageText>
</Comment>
</Member>
<Member Name="Scannen_Nr" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">SPS-Nr zum Scannen</MultiLanguageText>
</Comment>
</Member>
<Member Name="Ref_Ink" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Inkremente bei Referenzpunkt</MultiLanguageText>
</Comment>
</Member>
<Member Name="TeachPunkt" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Punkt zum Ein-Teachen</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="Ink_ohne_Zeit" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Zeit Inkremntalgeberwert ohne Änderung [100ms]</MultiLanguageText>
</Comment>
</Member>
<Member Name="Max_Wert" Datatype="DInt">
<Comment>
<MultiLanguageText Lang="de-DE">Maximal erlaubter Zählwert</MultiLanguageText>
</Comment>
</Member>
<Member Name="Lauf_Flag" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Zähl-Lauf mit Flag ist aktiv</MultiLanguageText>
</Comment>
</Member>
<Member Name="Flag_Lauf_fertig" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Flag-Lauf wurde beendet</MultiLanguageText>
</Comment>
</Member>
<Member Name="Ohne_Lauf_fertig" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="de-DE">Ohne Flag-Lauf wurde beendet</MultiLanguageText>
</Comment>
</Member>
<Member Name="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="Reserve" Datatype="Array[1..64] of Int">
<Comment>
<MultiLanguageText Lang="de-DE">Damit 150-Teilung erhalten bleibt !</MultiLanguageText>
</Comment>
</Member>
</Member>
<Member Name="FIFO_Daten" Datatype="&quot;UFIFO_BM_Daten&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="Daten" Datatype="&quot;UBM_Daten&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</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>
</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="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="HaupstranglistenDB" Datatype="Int">
<Comment>
<MultiLanguageText Lang="de-DE">Aktueller Hauptstranglisten-DB</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="Constant" />
</Sections></Interface>
<MemoryLayout>Standard</MemoryLayout>
<Name>MScannerSync</Name>
<Namespace />
<Number>179</Number>
<ProgrammingLanguage>STL</ProgrammingLanguage>
</AttributeList>
<ObjectList>
<MultilingualText ID="1" CompositionName="Comment">
<ObjectList>
<MultilingualTextItem ID="2" CompositionName="Items">
<AttributeList>
<Culture>de-DE</Culture>
<Text>OPYRIGHT by Ingenieurbüro A.Emmert
Ortsstr.33, D-869925 Fuchstal (Germany)
Tel.: 0049(0)8243-960629
Version: IMB2009_NT / 14.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="22">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>178</ConstantValue>
</Constant>
<LineComment>
<Text>Einsprung Weichen-DL</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="25">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para" />
<Component Name="Weichen_DL_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="27">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="29">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para" />
<Component Name="Weichen_DL_DW" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="31">
<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>Parameter-Übergabe</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="32">
<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="35">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en05" />
</Access>
</StlStatement>
<StlStatement UId="37">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="38">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="39">
<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="42">
<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="45">
<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="48">
<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="51">
<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="54">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="StatusFIFO_Err" />
</Symbol>
<LineComment>
<Text>Status-FIFO fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="57">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="StatusFIFO_voll" />
</Symbol>
<LineComment>
<Text>Status-FIFO ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="60">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Korrektur_Modus_aktiv" />
</Symbol>
<LineComment>
<Text>Korrektur-Modus nach Crash aktiviert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="63">
<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="66">
<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="69">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Uebergabeliste_Err" />
</Symbol>
<LineComment>
<Text>Übergabeliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="72">
<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="75">
<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="78">
<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="81">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Send_FIFO_fehlerhaft" />
</Symbol>
<LineComment>
<Text>Send-FIFO zum PC ist fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="84">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Send_FIFO_voll" />
</Symbol>
<LineComment>
<Text>Send-FIFO zu PC ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="87">
<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="90">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="91">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="92">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Trolley_ausgewertet" />
</Symbol>
<LineComment>
<Text>Trolley wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="95">
<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="98">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="99">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="101">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="InkZelle" />
</Symbol>
<LineComment>
<Text>Inkzelle: Taschen-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="104">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="105">
<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="FIFO_DB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="FIFO_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="RE_VAL" Section="Output" Type="Byte">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</Parameter>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="112">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="113">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="115">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_FIFO_Out" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="117">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="118">
<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="121">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="123">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="StatusFIFO_Err" />
</Symbol>
<LineComment>
<Text>Error bei FIFO-Zugriff</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="126">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="127">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="128">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="129">
<LabelDeclaration>
<Label Name="en05" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="131">
<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>Reset</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="132">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="134">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="136">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="137">
<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="140">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.0" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="142">
<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="145">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.1" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="147">
<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="150">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.2" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="152">
<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="155">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.3" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="157">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="StatusFIFO_Err" />
</Symbol>
<LineComment>
<Text>Status-FIFO fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="160">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.4" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="162">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="StatusFIFO_voll" />
</Symbol>
<LineComment>
<Text>Status-FIFO ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="165">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.5" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="167">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Korrektur_Modus_aktiv" />
</Symbol>
<LineComment>
<Text>Korrektur-Modus nach Crash aktiviert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="170">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.6" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="172">
<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="175">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M200.7" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="177">
<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="180">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.0" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="182">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Uebergabeliste_Err" />
</Symbol>
<LineComment>
<Text>Übergabeliste fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="185">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.1" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="187">
<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="190">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.2" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="192">
<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="195">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.3" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="197">
<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="200">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.4" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="202">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Send_FIFO_fehlerhaft" />
</Symbol>
<LineComment>
<Text>Send-FIFO zum PC ist fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="205">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.5" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="207">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Send_FIFO_voll" />
</Symbol>
<LineComment>
<Text>Send-FIFO zu PC ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="210">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.6" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="212">
<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="215">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M201.7" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="217">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="218">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="220">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Error" />
</Symbol>
<LineComment>
<Text>Schnittstelle nach Außen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="223">
<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>Störungen nach Außen übergeben</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="224">
<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="227">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Sync_Nr" />
</Symbol>
<LineComment>
<Text>Aufruf-Parameter</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="230">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Identisch ?</Text>
</LineComment>
</StlStatement>
<StlStatement UId="232">
<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="235">
<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="238">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en03" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="241">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="242">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
<LineComment>
<Text>Search-Daten </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="245">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="246">
<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="256">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="257">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="259">
<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="262">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="263">
<StlToken Text="JBI" />
<Access Scope="Label">
<Label Name="G_Ok" />
</Access>
</StlStatement>
<StlStatement UId="265">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="266">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.0" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="268">
<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="271">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="272">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="273">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="274">
<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="277">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="278">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="279">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="280">
<LineComment>
<Text>Kennung + Datenbytes</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="282">
<LabelDeclaration>
<Label Name="G_Ok" />
</LabelDeclaration>
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="284">
<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="287">
<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="290">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="291">
<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="294">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="0" />
<LineComment>
<Text>Any-Kennung, Datentyp</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="297">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>40</ConstantValue>
</Constant>
<LineComment>
<Text>Datenwords speichern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="300">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="16" />
<LineComment>
<Text>Wiederholungen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="303">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="304">
<LineComment>
<Text>Quelle-Pointer erzeugen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="306">
<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="309">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="Word" BitOffset="32" />
<LineComment>
<Text>DB_Nummer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="312">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>220</ConstantValue>
</Constant>
<LineComment>
<Text>Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="315">
<StlToken Text="SLD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="317">
<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="320">
<StlToken Text="OD" />
</StlStatement>
<StlStatement UId="321">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="Local" Type="DWord" BitOffset="48" />
<LineComment>
<Text>Kennung, Adresse</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="324">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="325">
<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="333">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="334">
<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="337">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Fehler vorhanden ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="340">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="342">
<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="345">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="346">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="347">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Sync_Typ" />
</Symbol>
<LineComment>
<Text>Synchron-Punkt-Typ = 179 (ScannerSync)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="350">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>179</ConstantValue>
</Constant>
<LineComment>
<Text>Dieser Aufruf-FB ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="353">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="355">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en03" />
</Access>
</StlStatement>
<StlStatement UId="357">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="358">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="359">
<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="362">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="363">
<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="366">
<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="369">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="370">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="371">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="372">
<LabelDeclaration>
<Label Name="en03" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="374">
<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>Statische Sync-Parameter holen</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="375">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="377">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en02" />
</Access>
</StlStatement>
<StlStatement UId="379">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="380">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="381">
<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="384">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="StatusFIFO_voll" />
</Symbol>
<LineComment>
<Text>Status-FIFO ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="387">
<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="390">
<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="393">
<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="396">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Send_FIFO_voll" />
</Symbol>
<LineComment>
<Text>Send-FIFO zu PC ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="399">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="400">
<LineComment>
<Text>Kann nur über Reset zurückgesetzt werden:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="402">
<LineComment>
<Text> R #Dyn.Error.SyncPkt_DL_Err //Sync-Punkt-Datenliste fehlerhaft</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="404">
<LineComment>
<Text> R #Dyn.Error.Undef_SyncPkt //undefinierter Synchronpunkt</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="406">
<LineComment>
<Text> R #Dyn.Error.BLKMov //Fehler bei Block kopieren</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="408">
<LineComment>
<Text> R #Dyn.Error.StatusFIFO_Err //Status-FIFO fehlerhaft</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="410">
<LineComment>
<Text> R #Dyn.Error.Hauptstrangliste_Err //Hauptstrangliste fehlerhaft</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="412">
<LineComment>
<Text> R #Dyn.Error.Uebergabeliste_Err //Übergabeliste fehlerhaft</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="414">
<LineComment>
<Text> R #Dyn.Error.Send_FIFO_fehlerhaft //Send-FIFO zum PC ist fehlerhaft</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="416">
<LineComment>
<Text> R #Dyn.Error.Korrektur_Modus_aktiv //Korrektur-Modus nach Crash aktiviert</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="418">
<LineComment>
<Text> R #Dyn.Error.TeachPkt_Datenliste_Err //Teachdatenliste fehlerhaft</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="420">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="421">
<LineComment>
<Text>werden weiter unten quittiert:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="423">
<LineComment>
<Text> R #Dyn.Error.Sync_Sensor_aktiv //Sync-Sensor dauernd aktiv</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="425">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="426">
<LabelDeclaration>
<Label Name="en02" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="428">
<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 quittieren</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="429">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="431">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="433">
<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="437">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="438">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Parameter" />
<Component Name="InkSim" />
</Symbol>
<LineComment>
<Text>Inkrementalgeber simulieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="441">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w030" />
</Access>
</StlStatement>
<StlStatement UId="443">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="444">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb_aktiv" />
</Symbol>
<LineComment>
<Text>Band ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="447">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Chk" />
<LineComment>
<Text>weitere Kontrollen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="450">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="451">
<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="454">
<StlToken Text="ITD" />
</StlStatement>
<StlStatement UId="455">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="0" />
</Access>
</StlStatement>
<StlStatement UId="457">
<StlToken Text="ADD_D" />
<LineComment>
<Text>10ms-Takte dazuaddieren</Text>
</LineComment>
</StlStatement>
<StlStatement UId="459">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="0" />
</Access>
</StlStatement>
<StlStatement UId="461">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="462">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Chk" />
<LineComment>
<Text>weitere Kontrollen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="465">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="466">
<LabelDeclaration>
<Label Name="w030" />
</LabelDeclaration>
<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="470">
<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="473">
<StlToken Text="LE_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="475">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Ink" />
</Access>
</StlStatement>
<StlStatement UId="477">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="478">
<LineComment>
<Text>Zählerwert einlesen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="480">
<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="483">
<StlToken Text="SLW" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
<LineComment>
<Text>Pointer erzeugen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="486">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse0" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="488">
<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="490">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="0" />
</Access>
</StlStatement>
<StlStatement UId="492">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="493">
<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="496">
<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="499">
<StlToken Text="SLW" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
<LineComment>
<Text>Pointer erzeugen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="502">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse4" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="504">
<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="506">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="32" />
</Access>
</StlStatement>
<StlStatement UId="508">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="509">
<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="512">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>8</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="514">
<StlToken Text="SLW" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
<LineComment>
<Text>Pointer erzeugen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="517">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Adresse8" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="519">
<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="521">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="64" />
<LineComment>
<Text>eigentlich doppelt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="524">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="525">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="0" />
<LineComment>
<Text>Aktueller Zählerwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="528">
<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="531">
<StlToken Text="NE_D" />
<LineComment>
<Text>ist verändert !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="533">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Ok_I" />
</Access>
</StlStatement>
<StlStatement UId="535">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="536">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb_aktiv" />
</Symbol>
<LineComment>
<Text>Band ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="539">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
<LineComment>
<Text>Ablaufstörung quittieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="542">
<StlToken Text="ON" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="100ms-Impuls" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="544">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="X_I" />
</Access>
</StlStatement>
<StlStatement UId="546">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="547">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_ohne_Zeit" />
</Symbol>
<LineComment>
<Text>Zeit Inkremntalgeberwert ohne Änderung [100ms]</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="550">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW2" />
</Symbol>
<LineComment>
<Text>Anzahl der 100ms-Takte</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="553">
<StlToken Text="ADD_I" />
<LineComment>
<Text>aufaddieren</Text>
</LineComment>
</StlStatement>
<StlStatement UId="555">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_ohne_Zeit" />
</Symbol>
<LineComment>
<Text>Zeit Inkremntalgeberwert ohne Änderung [100ms]</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="558">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="559">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>2</ConstantValue>
</Constant>
<LineComment>
<Text>0,2 s ohne Änderung ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="562">
<StlToken Text="GE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="564">
<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="567">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="568">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="X_I" />
</Access>
</StlStatement>
<StlStatement UId="570">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="571">
<LabelDeclaration>
<Label Name="Ok_I" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="574">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_ohne_Zeit" />
</Symbol>
<LineComment>
<Text>Zeit Inkremntalgeberwert ohne Änderung [100ms]</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="577">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="578">
<LineComment>
<Text>Software-Gate öffnen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="580">
<LabelDeclaration>
<Label Name="X_I" />
</LabelDeclaration>
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="582">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="128" />
<LineComment>
<Text>SW-Gate öffnen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="585">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="586">
<LineComment>
<Text>Zähler setzen läuft:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="588">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="591">
<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="594">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Load" />
</Access>
</StlStatement>
<StlStatement UId="596">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="597">
<LineComment>
<Text>Zähler auf 000 setzen ?:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="599">
<LabelDeclaration>
<Label Name="Chk" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="602">
<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="605">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="606">
<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="609">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="612">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Load" />
</Access>
</StlStatement>
<StlStatement UId="614">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="615">
<LineComment>
<Text>Zähler neu setzen ?:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="617">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="560" />
<LineComment>
<Text>Speicherung </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="620">
<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="623">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="624">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="592" />
<LineComment>
<Text>Zähler Neustart</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="627">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Parameter" />
<Component Name="InkSim" />
</Symbol>
<LineComment>
<Text>Inkrementalgeber simulieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="630">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="633">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Load" />
</Access>
</StlStatement>
<StlStatement UId="635">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="636">
<LineComment>
<Text>Zähler-Überlauf ?:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="638">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="0" />
<LineComment>
<Text>Aktueller Zählerwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="641">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="608" />
<LineComment>
<Text>Max. Wert erreicht ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="644">
<StlToken Text="LE_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="646">
<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="649">
<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="652">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Ok" />
</Access>
</StlStatement>
<StlStatement UId="654">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="655">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Restwert als Startwert nehmen !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="657">
<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="660">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="661">
<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="664">
<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="667">
<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="670">
<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="673">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="674">
<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="677">
<StlToken Text="Assign" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="595" />
</Access>
</StlStatement>
<StlStatement UId="679">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="680">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="681">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="593" />
<LineComment>
<Text>Überlauf</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="684">
<StlToken Text="S" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="687">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="688">
<LabelDeclaration>
<Label Name="Load" />
</LabelDeclaration>
<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="692">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="592" />
<LineComment>
<Text>Zähler Neustart</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="695">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="593" />
<LineComment>
<Text>Überlauf</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="698">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="701">
<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="704">
<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="707">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Fake" />
</Access>
</StlStatement>
<StlStatement UId="709">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="710">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="713">
<StlToken Text="Assign" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="136" />
<LineComment>
<Text>Load_Val</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="716">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="Ok" />
</Access>
</StlStatement>
<StlStatement UId="718">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="719">
<LineComment>
<Text>Daten an Zähler senden:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="721">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="96" />
</Access>
</StlStatement>
<StlStatement UId="723">
<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="725">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="726">
<LabelDeclaration>
<Label Name="Ok" />
</LabelDeclaration>
<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="730">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="592" />
<LineComment>
<Text>Zähler Neustart</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="733">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="593" />
<LineComment>
<Text>Überlauf</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="736">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="739">
<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="742">
<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="745">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Ink" />
</Access>
</StlStatement>
<StlStatement UId="747">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="748">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="Word" BitOffset="128" />
</Access>
</StlStatement>
<StlStatement UId="750">
<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="752">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="753">
<LineComment>
<Text>Zählerstatus einlesen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="755">
<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="758">
<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="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="Adresse4" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="766">
<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="768">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="32" />
</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_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="773">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="775">
<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="779">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="780">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="783">
<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="786">
<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="789">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="792">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="793">
<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="796">
<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="799">
<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="802">
<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="805">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="592" />
<LineComment>
<Text>Zähler Neustart</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="808">
<StlToken Text="R" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="593" />
<LineComment>
<Text>Überlauf</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="811">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="812">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="594" />
<LineComment>
<Text>Zähler setzen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="815">
<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="818">
<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="821">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Fake" />
</Access>
</StlStatement>
<StlStatement UId="823">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="824">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="0" />
<LineComment>
<Text>Aktueller Zählerwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="827">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="560" />
<LineComment>
<Text>Speicherung </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="830">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="831">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="Ink" />
</Access>
</StlStatement>
<StlStatement UId="833">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="834">
<LabelDeclaration>
<Label Name="Fake" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="837">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="839">
<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="843">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="844">
<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="847">
<StlToken Text="T" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="0" />
</Access>
</StlStatement>
<StlStatement UId="849">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="850">
<LineComment>
<Text>Daten des Inktremental-Gebers übergeben:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="852">
<LabelDeclaration>
<Label Name="Ink" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_DB" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="855">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="857">
<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="861">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="0" />
</Access>
</StlStatement>
<StlStatement UId="863">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="865">
<StlToken Text="L" />
<Access Scope="Address">
<Address Area="DB" Type="DWord" BitOffset="608" />
</Access>
</StlStatement>
<StlStatement UId="867">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Max_Wert" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="869">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="595" />
</Access>
</StlStatement>
<StlStatement UId="871">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="873">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="596" />
</Access>
</StlStatement>
<StlStatement UId="875">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Flag_Lauf_fertig" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="877">
<StlToken Text="A" />
<Access Scope="Address">
<Address Area="DB" Type="Bool" BitOffset="597" />
</Access>
</StlStatement>
<StlStatement UId="879">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ohne_Lauf_fertig" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="881">
<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>Inkremental-Geber mit Zähler-Baugruppe (ET200)</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="882">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ScannerTriggern" />
</Symbol>
<LineComment>
<Text>Scanner triggern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="885">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en06" />
</Access>
</StlStatement>
<StlStatement UId="887">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="888">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_Scannen" />
</Symbol>
<LineComment>
<Text>InkrementAnzahl während Scanner triggern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="891">
<StlToken Text="ITD" />
</StlStatement>
<StlStatement UId="892">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Sinnvoll ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="895">
<StlToken Text="LT_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="897">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w060" />
</Access>
</StlStatement>
<StlStatement UId="899">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="900">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="903">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Flag_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="906">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="907">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="910">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ohne_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="913">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w060" />
<LineComment>
<Text>beim Ende des Lauf sind Inkremente uninteressant</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="916">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="917">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="920">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="923">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="924">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="927">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="930">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="en06" />
</Access>
</StlStatement>
<StlStatement UId="932">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="933">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="936">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Ink" />
</Symbol>
<LineComment>
<Text>InkrementAnzahl während Scanner triggern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="939">
<StlToken Text="LT_D" />
</StlStatement>
<StlStatement UId="940">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en06" />
</Access>
</StlStatement>
<StlStatement UId="942">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="943">
<LabelDeclaration>
<Label Name="w060" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="946">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente zum Scannen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="949">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="950">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="953">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ScannerTriggern" />
</Symbol>
<LineComment>
<Text>Scanner triggern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="956">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="957">
<LabelDeclaration>
<Label Name="en06" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="959">
<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>Scanner-Triggerung ausschalten</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="960">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B_Trolley_da" />
</Symbol>
<LineComment>
<Text>Sensor Trolley ist an Sychronisierstelle</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="963">
<StlToken Text="ON" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb_aktiv" />
</Symbol>
<LineComment>
<Text>Band ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="966">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en04" />
</Access>
</StlStatement>
<StlStatement UId="968">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="969">
<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="972">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>angegeben ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="975">
<StlToken Text="LE_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="977">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w040" />
</Access>
</StlStatement>
<StlStatement UId="979">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="980">
<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="983">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Flag_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="986">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="987">
<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="990">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ohne_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="993">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w040" />
<LineComment>
<Text>beim Ende des Lauf sind Inkremente uninteressant</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="996">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="997">
<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="1000">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1003">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1004">
<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="1007">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1010">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="en04" />
</Access>
</StlStatement>
<StlStatement UId="1012">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1013">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1016">
<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="1019">
<StlToken Text="LT_D" />
</StlStatement>
<StlStatement UId="1020">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en04" />
</Access>
</StlStatement>
<StlStatement UId="1022">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1023">
<LabelDeclaration>
<Label Name="w040" />
</LabelDeclaration>
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1025">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Trolley_ausgewertet" />
</Symbol>
<LineComment>
<Text>Trolley wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1028">
<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="1031">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1033">
<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="1036">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1037">
<LabelDeclaration>
<Label Name="en04" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1039">
<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>Trolley ist wieder weg</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="1040">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B_Trolley_da" />
</Symbol>
<LineComment>
<Text>Sensor Taschen ist an Sychronisierstelle</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1043">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1044">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Neuspeicherung nötig</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1047">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1049">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1050">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Neuspeicherung nötig</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1053">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1055">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ErrQuit" />
</Symbol>
<LineComment>
<Text>Störung quittieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1058">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Reset" />
</Symbol>
<LineComment>
<Text>Bereich resetten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1061">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="W030_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1063">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1064">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Antrieb_aktiv" />
</Symbol>
<LineComment>
<Text>Band ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1067">
<StlToken Text="O" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Sync_Sensor_aktiv" />
</Symbol>
<LineComment>
<Text>Taschen-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1070">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En03_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1072">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1073">
<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="1076">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Speicherung vorhanden ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1079">
<StlToken Text="EQ_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1081">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En03_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1083">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1084">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktueller Ink-Wert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1087">
<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="1090">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Differenz bilden</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1092">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>3</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1094">
<StlToken Text="GE_D" />
</StlStatement>
<StlStatement UId="1095">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Sync_Sensor_aktiv" />
</Symbol>
<LineComment>
<Text>Taschen-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1098">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1099">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="En03_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1101">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1102">
<LabelDeclaration>
<Label Name="W030_Mig" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktueller Ink-Wert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1106">
<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="1109">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1111">
<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="1114">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1115">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Sync_Sensor_aktiv" />
</Symbol>
<LineComment>
<Text>Taschen-Sensor dauernd aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1118">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1119">
<LabelDeclaration>
<Label Name="En03_Mig" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1121">
<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>Error: Sync-Sensor dauernd 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="1122">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="B_Trolley_da" />
</Symbol>
<LineComment>
<Text>Sensor Taschen ist an Sychronisierstelle</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1125">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Trolley_ausgewertet" />
</Symbol>
<LineComment>
<Text>Trolley wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1128">
<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="1131">
<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="1134">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Trolley_ausgewertet" />
</Symbol>
<LineComment>
<Text>Trolley wurde schon ausgewertet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1137">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Sync" />
</Access>
</StlStatement>
<StlStatement UId="1139">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1140">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="More" />
<LineComment>
<Text>Vordere Haken auswerten</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1143">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1144">
<LineComment>
<Text>End-Punkt der Synchronisation speichern: (wegen Doppel-Impuls bei MT)</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1146">
<LabelDeclaration>
<Label Name="Sync" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Entprellung_B_Sync" />
</Symbol>
<LineComment>
<Text>Länge des Trolleys (in Inkremente)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1150">
<StlToken Text="ITD" />
</StlStatement>
<StlStatement UId="1151">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktueller Ink-Wert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1154">
<StlToken Text="ADD_D" />
</StlStatement>
<StlStatement UId="1155">
<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="1158">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1160">
<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="1163">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Max_Wert" />
</Symbol>
<LineComment>
<Text>Maximal erlaubter Zählwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1166">
<StlToken Text="GT_D" />
</StlStatement>
<StlStatement UId="1167">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="En07" />
</Access>
</StlStatement>
<StlStatement UId="1169">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1170">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Restwert übernehmen</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1172">
<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="1175">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1176">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1179">
<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="1182">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1183">
<LabelDeclaration>
<Label Name="En07" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1185">
<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>Trolley am Sync-Sensor erkannt</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="1186">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="SGes" />
<Component Name="IDX" />
</Symbol>
<LineComment>
<Text>SPS-Nr. für BM</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1189">
<LineComment>
<Text>Interne SPS-Nr. (wird bei Scannbefehl gemeldet)</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1191">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1193">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="SGes" />
<Component Name="IDX" />
</Symbol>
<LineComment>
<Text>SPS-Nr. für BM (wird bei Scannbefehl gemeldet)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1196">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW220" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1198">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Negativer Wert ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1201">
<StlToken Text="LE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1203">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="W070" />
</Access>
</StlStatement>
<StlStatement UId="1205">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1206">
<StlToken Text="CAC" />
</StlStatement>
<StlStatement UId="1207">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>32000</ConstantValue>
</Constant>
<LineComment>
<Text>Unterhalb Maximal Wert ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1210">
<StlToken Text="LE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1212">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="W071" />
</Access>
</StlStatement>
<StlStatement UId="1214">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1215">
<LabelDeclaration>
<Label Name="W070" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1218">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="SGes" />
<Component Name="IDX" />
</Symbol>
<LineComment>
<Text>SPS-Nr. für BM (wird bei Scannbefehl gemeldet)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1221">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW220" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1223">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1224">
<LabelDeclaration>
<Label Name="W071" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1228">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD222" />
</Symbol>
<LineComment>
<Text>Inkremente beim Synchronisieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1231">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1233">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M234.0" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Start-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1236">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1237">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1240">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="InkOff_Scannen" />
</Symbol>
<LineComment>
<Text>Ink-Offset zum Scannen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1243">
<StlToken Text="ADD_D" />
</StlStatement>
<StlStatement UId="1244">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD226" />
</Symbol>
<LineComment>
<Text>Inkremente zum Scannen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1247">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1249">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M234.1" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1252">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Max_Wert" />
</Symbol>
<LineComment>
<Text>Maximal erlaubter Zählwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1255">
<StlToken Text="GT_D" />
</StlStatement>
<StlStatement UId="1256">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="w070_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1258">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1259">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Restwert übernehmen</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1261">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD226" />
</Symbol>
<LineComment>
<Text>Inkremente zum Scannen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1264">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1265">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Aktuelles Lauf-Flag invertieren, da Überlauf !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1268">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M234.1" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1271">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1272">
<LabelDeclaration>
<Label Name="w070_Mig" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1276">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="InkOff_Entscheiden" />
</Symbol>
<LineComment>
<Text>Ink-Offset zum Ziel entscheiden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1279">
<StlToken Text="ADD_D" />
</StlStatement>
<StlStatement UId="1280">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD230" />
</Symbol>
<LineComment>
<Text>Inkremente zum Ziel entscheiden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1283">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1285">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M234.2" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Entscheid-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1288">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Max_Wert" />
</Symbol>
<LineComment>
<Text>Maximal erlaubter Zählwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1291">
<StlToken Text="GT_D" />
</StlStatement>
<StlStatement UId="1292">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="w071_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1294">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1295">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Restwert übernehmen</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1297">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD230" />
</Symbol>
<LineComment>
<Text>Inkremente zum Ziel entscheiden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1300">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1301">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Aktuelles Lauf-Flag invertieren, da Überlauf !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1304">
<StlToken Text="Assign" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M234.2" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Entscheid-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1307">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1308">
<LabelDeclaration>
<Label Name="w071_Mig" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>wird von PC später gemeldet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1312">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW236" />
</Symbol>
<LineComment>
<Text>Teile-Nr. (wird bei Auslagerung gemeldet)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1315">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1316">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Default_Ziel" />
</Symbol>
<LineComment>
<Text>Ziel, daß vorerst angefahren wird</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1319">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW238" />
</Symbol>
<LineComment>
<Text>Haken bei diesem Abwurf-Ziel entladen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1322">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1323">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>wird von PC später gemeldet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1326">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW240" />
</Symbol>
<LineComment>
<Text>Sortier-Info (Mandant)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1329">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW242" />
</Symbol>
<LineComment>
<Text>Sortier-Info (Wareneingangsbeleg)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1332">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW244" />
</Symbol>
<LineComment>
<Text>Sortier-Info (Original-Ziel/999)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1335">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW246" />
</Symbol>
<LineComment>
<Text>Sortier-Info (Kennung)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1338">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1340">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW248" />
</Symbol>
<LineComment>
<Text>Reserve</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1343">
<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>Daten für Eintrag in FIFO vorbereiten</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="1344">
<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="FIFO_DB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="FIFO_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 speichern</Text>
</LineComment>
</Parameter>
<Parameter Name="INDATEN" Section="Input" Type="Pointer">
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>ARef</ConstantType>
<ConstantValue>P#M220.0</ConstantValue>
</Constant>
</Access>
</Parameter>
<Parameter Name="RE_VAL" Section="Output" Type="Byte">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</Parameter>
</CallInfo>
</Access>
</StlStatement>
<StlStatement UId="1353">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1354">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1356">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_FIFO_In" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1358">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1359">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.2" />
</Symbol>
<LineComment>
<Text>FIFO ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1362">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="StatusFIFO_voll" />
</Symbol>
<LineComment>
<Text>FIFO ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1365">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="xn04" />
<LineComment>
<Text>Auslager-Sk aufrufen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1368">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1369">
<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="1372">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1374">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="StatusFIFO_Err" />
</Symbol>
<LineComment>
<Text>Error bei FIFO-Zugriff</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1377">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1378">
<LabelDeclaration>
<Label Name="xn04" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1380">
<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>Daten in FIFO eintragen</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="1381">
<LabelDeclaration>
<Label Name="More" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
<LineComment>
<Text>Bei Daten 1 beginnen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1385">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Position" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1387">
<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>Mit Daten 1 beginnen</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="1388">
<LabelDeclaration>
<Label Name="more_Mig" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Position" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1391">
<StlToken Text="SLW" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>8</ConstantValue>
</Constant>
<LineComment>
<Text>Damit Pos+00 als PARA</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1394">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW217" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1396">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1397">
<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="FIFO_DB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="FIFO_DW" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="PARA" Section="Input" Type="Word">
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW217" />
</Symbol>
</Access>
<LineComment>
<Text>Datensatz lesen</Text>
</LineComment>
</Parameter>
<Parameter Name="OUTDATEN" Section="Output" Type="Pointer">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_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="1406">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1407">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1409">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_FIFO_Out" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1411">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1412">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="SPS_Nr" />
</Symbol>
<LineComment>
<Text>SPS-Nr.</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1415">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>vorhanden ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1418">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1420">
<StlToken Text="O" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.2" />
</Symbol>
<LineComment>
<Text>FIFO ist leer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1423">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="Teac" />
<LineComment>
<Text>Teach-Modus aktiv ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1426">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1427">
<StlToken Text="JBI" />
<Access Scope="Label">
<Label Name="en09" />
<LineComment>
<Text>Alles ok </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1430">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1431">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1432">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="StatusFIFO_Err" />
</Symbol>
<LineComment>
<Text>Error bei FIFO-Zugriff</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1435">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="1436">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1437">
<LabelDeclaration>
<Label Name="en09" />
</LabelDeclaration>
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1439">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Status" />
<Component Name="TeachModus_Aktiv" />
</Symbol>
<LineComment>
<Text>Teach-Modus ist aktiv ausschalten, da Daten im FIFO !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1442">
<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>Daten in Fifo kontrollieren</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="1443">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Scann_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente zum Scannen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1446">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>angegeben ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1449">
<StlToken Text="EQ_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1451">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en11" />
</Access>
</StlStatement>
<StlStatement UId="1453">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1454">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Scann_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1457">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Flag_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1460">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1461">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Scann_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1464">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ohne_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1467">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="x110" />
<LineComment>
<Text>beim Ende des Lauf sind Inkremente uninteressant</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1470">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1471">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Scann_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1474">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1477">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1478">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Scann_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1481">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1484">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="en11" />
</Access>
</StlStatement>
<StlStatement UId="1486">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1487">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Scann_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente zum Scannen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1490">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Position schon erreicht ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1493">
<StlToken Text="GT_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1495">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en11" />
</Access>
</StlStatement>
<StlStatement UId="1497">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1498">
<LabelDeclaration>
<Label Name="x110" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Eintrag nullen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1502">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Scann_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente zum Scannen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1505">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="SPS_Nr" />
</Symbol>
<LineComment>
<Text>Interne SPS-Nr. (wird bei Scannbefehl gemeldet)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1508">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Nr" />
</Symbol>
<LineComment>
<Text>SPS-Nr zum Scannen (da EG-Telegramm erst bei neg.Flanke)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1511">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1512">
<LineComment>
<Text>Scann-Inkremente nullen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1514">
<StlToken Text="CALL" />
<Access Scope="Call">
<CallInfo Name="FIFOChange" BlockType="FC">
<Parameter Name="SSDB" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="FIFO_DB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="FIFO_DW" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="CH_POS" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Position" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="CHANGEDATEN" Section="Input" Type="Pointer">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_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="1522">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1523">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1525">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_FIFO_CHANGE" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1527">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1528">
<StlToken Text="JBI" />
<Access Scope="Label">
<Label Name="w111" />
<LineComment>
<Text>Alles ok </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1531">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1532">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.2" />
</Symbol>
<LineComment>
<Text>FIFO ist leer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1535">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w111" />
</Access>
</StlStatement>
<StlStatement UId="1537">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1538">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1539">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="StatusFIFO_Err" />
</Symbol>
<LineComment>
<Text>Error bei FIFO-Zugriff</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1542">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1543">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="1544">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1545">
<LineComment>
<Text>Scanner triggern:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1547">
<LabelDeclaration>
<Label Name="w111" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Fest_Ziel" />
</Symbol>
<LineComment>
<Text>Ziel, daß angefahren wird (Scanner ausgeschaltet!)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1551">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Festes Ziel angegeben ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1554">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1556">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="ScannerTriggern" />
</Symbol>
<LineComment>
<Text>Scanner triggern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1559">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1560">
<LineComment>
<Text>Dauer des Triggersignals speichern:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1562">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1565">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="Ink_Scannen" />
</Symbol>
<LineComment>
<Text>InkrementAnzahl während Scanner triggern</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1568">
<StlToken Text="ADD_D" />
</StlStatement>
<StlStatement UId="1569">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente zum Scannen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1572">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1574">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1577">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Max_Wert" />
</Symbol>
<LineComment>
<Text>Maximal erlaubter Zählwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1580">
<StlToken Text="GT_D" />
</StlStatement>
<StlStatement UId="1581">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="En14" />
</Access>
</StlStatement>
<StlStatement UId="1583">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1584">
<StlToken Text="SUB_D" />
<LineComment>
<Text>Restwert übernehmen</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1586">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente zum Scannen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1589">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1590">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Aktuelles Lauf-Flag invertieren, da Überlauf !</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1593">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Scannen_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Scann-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1596">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1597">
<LabelDeclaration>
<Label Name="En14" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1599">
<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>Scanner triggern ?</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="1600">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Fest_Ziel" />
</Symbol>
<LineComment>
<Text>Ziel, daß angefahren wird (Scanner ausgeschaltet!)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1603">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Festes Ziel angegeben ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1606">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="21">
<StlToken Text="O_BRACK" />
</StlStatement>
<StlStatement UId="27">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="PC_Send_FIFO" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="31">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Sinnvolle Angabe ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="33">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="28">
<StlToken Text="BRACKET" />
</StlStatement>
<StlStatement UId="1608">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en11" />
</Access>
</StlStatement>
<StlStatement UId="1610">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1611">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>String</ConstantType>
<ConstantValue>'DREQ'</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1613">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD214" />
</Symbol>
<LineComment>
<Text>Telegramm-Kennung</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1616">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>33</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1618">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW218" />
</Symbol>
<LineComment>
<Text>Anzahl Bytes</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1621">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="PC_Komm_SorterID" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1623">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD220" />
</Symbol>
<LineComment>
<Text>Sep-ID</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1626">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="SPS_Nr" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1628">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW224" />
</Symbol>
<LineComment>
<Text>Carrier-IDX</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1631">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1633">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB226" />
</Symbol>
<LineComment>
<Text>Carrier-Type</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1636">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1638">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB227" />
</Symbol>
<LineComment>
<Text>Scan-State</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1641">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1643">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD228" />
</Symbol>
<LineComment>
<Text>Barcode</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1646">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Word</ConstantType>
<ConstantValue>16#0003</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1648">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB232" />
</Symbol>
<LineComment>
<Text>ETX</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1651">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1652">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>Rest nullen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1655">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB233" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1657">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB234" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1659">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB235" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1661">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB236" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1663">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB237" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1665">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB238" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1667">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB239" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1669">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1670">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1671">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Send_FIFO_voll" />
</Symbol>
<LineComment>
<Text>Send-FIFO zu PC ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1674">
<StlToken Text="R" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Send_FIFO_fehlerhaft" />
</Symbol>
<LineComment>
<Text>Send-FIFO fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1677">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1678">
<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="PC_Send_FIFO" />
</Symbol>
</Access>
<LineComment>
<Text>Send-FIFO für PC-Sendungen</Text>
</LineComment>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</Parameter>
<Parameter Name="PARA" Section="Input" Type="Word">
<Access Scope="TypedConstant">
<Constant>
<ConstantValue>WORD#16#0000</ConstantValue>
</Constant>
</Access>
</Parameter>
<Parameter Name="INDATEN" Section="Input" Type="Pointer">
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>ARef</ConstantType>
<ConstantValue>P#M214.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="1687">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1688">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1690">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_SendFIFO" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1692">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1693">
<StlToken Text="JBI" />
<Access Scope="Label">
<Label Name="en11" />
</Access>
</StlStatement>
<StlStatement UId="1695">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1696">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.2" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1698">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="x070" />
</Access>
</StlStatement>
<StlStatement UId="1700">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1701">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1702">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Send_FIFO_voll" />
</Symbol>
<LineComment>
<Text>Send-FIFO zu PC ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1705">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1706">
<StlToken Text="BEU" />
<LineComment>
<Text>Warten</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1708">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1709">
<LabelDeclaration>
<Label Name="x070" />
</LabelDeclaration>
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1711">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="Send_FIFO_fehlerhaft" />
</Symbol>
<LineComment>
<Text>Send-FIFO fehlerhaft</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1714">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1715">
<LabelDeclaration>
<Label Name="en11" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1717">
<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>DREQ-Telegramm an PC senden (bei Trigger-Start)</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="1718">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Position" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1720">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>2</ConstantValue>
</Constant>
<LineComment>
<Text>Daten 2 oder grösser ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1723">
<StlToken Text="GE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1725">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en14_Mig" />
<LineComment>
<Text>Ziel-Entscheidung nur beim 1.DS, Scannen bei DS 1+2 ok</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1728">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1729">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Entscheid_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Entscheid-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1732">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Flag_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1735">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1736">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Entscheid_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Entscheid-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1739">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ohne_Lauf_fertig" />
</Symbol>
<LineComment>
<Text>Flag-Lauf wurde beendet</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1742">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w141" />
<LineComment>
<Text>beim Ende des Lauf sind Inkremente uninteressant</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1745">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1746">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Entscheid_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Entscheid-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1749">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1752">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="1753">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Entscheid_Flag" />
</Symbol>
<LineComment>
<Text>Lauf-Flag bei Entscheid-Inkremente</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1756">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
<LineComment>
<Text>Zähl-Lauf mit Flag ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1759">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="en14_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1761">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1762">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Entscheid_Ink" />
</Symbol>
<LineComment>
<Text>Inkremente zum Ziel entscheiden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1765">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Position schon erreicht ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1768">
<StlToken Text="GT_D" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1770">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en14_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1772">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1773">
<LineComment>
<Text>FIFO-Daten austragen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1775">
<LabelDeclaration>
<Label Name="w141" />
</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="FIFO_DB" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="SSDW" Section="Input" Type="Int">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="FIFO_DW" />
</Symbol>
</Access>
</Parameter>
<Parameter Name="PARA" Section="Input" Type="Word">
<Access Scope="TypedConstant">
<Constant>
<ConstantValue>WORD#16#E100</ConstantValue>
</Constant>
</Access>
<LineComment>
<Text>Lesen und austragen </Text>
</LineComment>
</Parameter>
<Parameter Name="OUTDATEN" Section="Output" Type="Pointer">
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_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="1785">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1786">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1788">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_FIFO_Out" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1790">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1791">
<StlToken Text="JBI" />
<Access Scope="Label">
<Label Name="Nw19" />
<LineComment>
<Text>Alles ok </Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1794">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1795">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.2" />
</Symbol>
<LineComment>
<Text>FIFO ist leer</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1798">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en14_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1800">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1801">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1802">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="StatusFIFO_Err" />
</Symbol>
<LineComment>
<Text>Error bei FIFO-Zugriff</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1805">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1806">
<LabelDeclaration>
<Label Name="en14_Mig" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1808">
<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>Ziel-Entscheidung ?</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="1809">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Position" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1811">
<StlToken Text="ADD" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>1</ConstantValue>
</Constant>
<LineComment>
<Text>nächste Daten kontrollieren</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1814">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Position" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1816">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1817">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="more_Mig" />
</Access>
</StlStatement>
<StlStatement UId="1819">
<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>FIFO-Daten +1</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="1820">
<LineComment>
<Text>Sort-Info werden von Status-FIFO übernehmen:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1822">
<LabelDeclaration>
<Label Name="Nw19" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Start_Ink" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1825">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Start_Ink" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1827">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Start_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1829">
<StlToken Text="Assign" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Start_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1831">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Sort_Info" />
<Component Name="Teil_Nr" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1833">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="SPS_Nr" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1835">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Teil_IDX" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1837">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Sort_Info" />
<Component Name="Abwurf_Ziel" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1839">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Teil_Ziel" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1841">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="SyncPkt" />
<Component Name="PC_Komm_SorterID" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1843">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Sort_ID" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1845">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Sort_Info" />
<Component Name="Sort_Info2" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1847">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Sort_Info2" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1849">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Sort_Info" />
<Component Name="Sort_Info3" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1851">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Sort_Info3" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1853">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="FIFO_Daten" />
<Component Name="Sort_Info" />
<Component Name="Sort_Info4" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1855">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Sort_Info" />
<Component Name="Sort_Info4" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1857">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1858">
<LineComment>
<Text>Quell_Info:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="1860">
<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="1863">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Quelle" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1865">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="letzte_Position" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1867">
<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="1868">
<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="1871">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="HaupstranglistenDB" />
</Symbol>
<LineComment>
<Text>Aktueller Hauptstrang-DB</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1874">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>angegeben ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1877">
<StlToken Text="EQ_I" />
<LineComment>
<Text>Nein !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1879">
<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="1882">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En18" />
</Access>
</StlStatement>
<StlStatement UId="1884">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1885">
<StlToken Text="AN" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Daten" />
<Component Name="Start_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1887">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w180" />
</Access>
</StlStatement>
<StlStatement UId="1889">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1890">
<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="1893">
<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="1896">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="HaupstranglistenDB" />
</Symbol>
<LineComment>
<Text>Aktueller Hauptstrang-DB</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1899">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1900">
<LabelDeclaration>
<Label Name="w180" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="HaupstranglistenDB" />
</Symbol>
<LineComment>
<Text>Aktueller Hauptstrang-DB</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1904">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW836" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1906">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1907">
<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="1916">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1917">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1919">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_Hauptstrang_In" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="1921">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1922">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.2" />
</Symbol>
<LineComment>
<Text>Hauptstrangliste ist voll</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1925">
<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="1928">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En18" />
</Access>
</StlStatement>
<StlStatement UId="1930">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1931">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.7" />
</Symbol>
<LineComment>
<Text>Eintrag richtig erfolgt</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1934">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="En18" />
</Access>
</StlStatement>
<StlStatement UId="1936">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1937">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1938">
<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="1941">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1942">
<LabelDeclaration>
<Label Name="En18" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1944">
<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="1945">
<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="1949">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>Int</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
<LineComment>
<Text>bekannt ?</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1952">
<StlToken Text="NE_I" />
<LineComment>
<Text>Ja !</Text>
</LineComment>
</StlStatement>
<StlStatement UId="1954">
<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="1957">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="en20" />
</Access>
</StlStatement>
<StlStatement UId="1959">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1960">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="1962">
<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="1965">
<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="1968">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Abstands_Ink" />
</Symbol>
<LineComment>
<Text>Abstands-Inkremente nach Teachen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="1971">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1972">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="1973">
<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="1976">
<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="1979">
<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="1982">
<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="1985">
<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="1988">
<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="1991">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1992">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="1993">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="1994">
<LabelDeclaration>
<Label Name="en20" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="1996">
<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="1997">
<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="2000">
<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="2003">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2004">
<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="2007">
<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="2010">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="en21" />
</Access>
</StlStatement>
<StlStatement UId="2012">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2013">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2016">
<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="2019">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2021">
<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="2024">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2025">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2026">
<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="2029">
<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="2032">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2033">
<StlToken Text="L" />
<Access Scope="LiteralConstant">
<Constant>
<ConstantType>DInt</ConstantType>
<ConstantValue>0</ConstantValue>
</Constant>
</Access>
</StlStatement>
<StlStatement UId="2035">
<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="2038">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Abstands_Ink" />
</Symbol>
<LineComment>
<Text>Abstands-Inkremente nach Teachen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2041">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2042">
<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="2045">
<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="2048">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2049">
<LabelDeclaration>
<Label Name="en21" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="2051">
<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="2052">
<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="2055">
<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="2058">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2059">
<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="2062">
<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="2065">
<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="2068">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="2069">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2070">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Ink_Wert" />
</Symbol>
<LineComment>
<Text>Aktuelle Inkrementalwert</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2073">
<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="2076">
<StlToken Text="A" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Lauf_Flag" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2078">
<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="2081">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2082">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2083">
<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="2086">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2087">
<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="2090">
<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="2093">
<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="2094">
<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="2097">
<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="2100">
<StlToken Text="O" />
</StlStatement>
<StlStatement UId="2101">
<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="2104">
<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="2107">
<StlToken Text="JCN" />
<Access Scope="Label">
<Label Name="w230" />
</Access>
</StlStatement>
<StlStatement UId="2109">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2110">
<LineComment>
<Text>Inkremente im gleichem Lauf:</Text>
</LineComment>
<StlToken Text="COMMENT" />
</StlStatement>
<StlStatement UId="2112">
<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="2115">
<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="2118">
<StlToken Text="SUB_D" />
</StlStatement>
<StlStatement UId="2119">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Abstands_Ink" />
</Symbol>
<LineComment>
<Text>Abstands-Inkremente nach Teachen</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2122">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2123">
<StlToken Text="JU" />
<Access Scope="Label">
<Label Name="en23" />
</Access>
</StlStatement>
<StlStatement UId="2125">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2126">
<LabelDeclaration>
<Label Name="w230" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Max_Wert" />
</Symbol>
<LineComment>
<Text>Max. Wert beim Zähler</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2130">
<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="2133">
<StlToken Text="SUB_D" />
</StlStatement>
<StlStatement UId="2134">
<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="2137">
<StlToken Text="ADD_D" />
</StlStatement>
<StlStatement UId="2138">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Abstands_Ink" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2140">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2141">
<LabelDeclaration>
<Label Name="en23" />
</LabelDeclaration>
<StlToken Text="NOP_0" />
</StlStatement>
<StlStatement UId="2143">
<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="2144">
<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="2147">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MW200" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2149">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2150">
<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="2161">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2162">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2164">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_Teach_OUT" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2166">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2167">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.7" />
</Symbol>
<LineComment>
<Text>Datensatz ist vorhanden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2170">
<StlToken Text="JC" />
<Access Scope="Label">
<Label Name="w240" />
</Access>
</StlStatement>
<StlStatement UId="2172">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2173">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.6" />
</Symbol>
<LineComment>
<Text>Datensatz ist nicht vorhanden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2176">
<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 ! R #Dyn.Status.TeachModus_Aktiv //Teach-Modus ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2179">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="2180">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2181">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2182">
<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="2185">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TeachPkt_Datenliste_Err" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2187">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2188">
<StlToken Text="BEU" />
</StlStatement>
<StlStatement UId="2189">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2190">
<LabelDeclaration>
<Label Name="w240" />
</LabelDeclaration>
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Abstands_Ink" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2193">
<StlToken Text="L" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Para" />
<Component Name="Offset_RefPunkt" />
</Symbol>
<LineComment>
<Text>Offset Refpunkt zu TaschenPunkt (für Teachen)</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2196">
<StlToken Text="ADD_D" />
</StlStatement>
<StlStatement UId="2197">
<StlToken Text="T" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MD210" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2199">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2200">
<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="2207">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2208">
<StlToken Text="L" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="MB199" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2210">
<StlToken Text="T" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Rueckmld" />
<Component Name="RET_VAL_Teach_IN" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2212">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2213">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.7" />
</Symbol>
<LineComment>
<Text>Datensatz ist vorhanden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2216">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="2217">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2218">
<StlToken Text="A" />
<Access Scope="GlobalVariable">
<Symbol>
<Component Name="M199.6" />
</Symbol>
<LineComment>
<Text>Datensatz ist nicht vorhanden</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2221">
<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 ! R #Dyn.Status.TeachModus_Aktiv //Teach-Modus ist aktiv</Text>
</LineComment>
</Access>
</StlStatement>
<StlStatement UId="2224">
<StlToken Text="BEC" />
</StlStatement>
<StlStatement UId="2225">
<StlToken Text="EMPTY_LINE" />
</StlStatement>
<StlStatement UId="2226">
<StlToken Text="SET" />
</StlStatement>
<StlStatement UId="2227">
<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="2230">
<StlToken Text="S" />
<Access Scope="LocalVariable">
<Symbol>
<Component Name="Dyn" />
<Component Name="Error" />
<Component Name="TeachPkt_Datenliste_Err" />
</Symbol>
</Access>
</StlStatement>
<StlStatement UId="2232">
<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="2233">
<StlToken Text="BE" />
</StlStatement>
<StlStatement UId="2234">
<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 Scanner, Trolley </Text>
</AttributeList>
</MultilingualTextItem>
</ObjectList>
</MultilingualText>
</ObjectList>
</SW.Blocks.FB>
</Document>