<?xml version="1.0" encoding="utf-8"?>
<Document>
  <Engineering version="V20" />
  <SW.Blocks.FB ID="0">
    <AttributeList>
      <AutoNumber>false</AutoNumber>
      <Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
  <Section Name="Input">
    <Member Name="Ink_DB" Datatype="Int">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="de-DE">DB-Nr des Inkremental-Gebers (Zählerbaugruppe) Neu-Sync-Zähler</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="B_Zaehlen" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Sensor zum Zählen</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Antrieb_aktiv" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Antrieb ist aktiv</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Quit" Datatype="Bool" />
    <Member Name="Zeit_Signal_zu_lang" Datatype="Time">
      <StartValue>T#350ms</StartValue>
    </Member>
    <Member Name="Zeit_Kein_Signal" Datatype="Time">
      <StartValue>T#500ms</StartValue>
    </Member>
  </Section>
  <Section Name="Output">
    <Member Name="Signal" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Falls kein InkDB</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="InOut">
    <Member Name="Err_Kein_Signal" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Kein_Signal bei laufenden Antrieb</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Err_Signal_zu_lang" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="de-DE">Signal bei laufenden Antrieb zu lang</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Static">
    <Member Name="Sensor_entprellen" Datatype="Bool" />
    <Member Name="Timer_1" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="Timer_2" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="Timer_3" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
  </Section>
  <Section Name="Temp" />
  <Section Name="Constant" />
</Sections></Interface>
      <MemoryLayout>Optimized</MemoryLayout>
      <MemoryReserve>100</MemoryReserve>
      <Name>MImpulsGeber</Name>
      <Namespace />
      <Number>100</Number>
      <ProgrammingLanguage>STL</ProgrammingLanguage>
    </AttributeList>
    <ObjectList>
      <MultilingualText ID="1" CompositionName="Comment">
        <ObjectList>
          <MultilingualTextItem ID="2" CompositionName="Items">
            <AttributeList>
              <Culture>cs-CZ</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="3" CompositionName="Items">
            <AttributeList>
              <Culture>de-DE</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="4" CompositionName="Items">
            <AttributeList>
              <Culture>en-US</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
      <SW.Blocks.CompileUnit ID="5" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="21">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Signal" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="6" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="7" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="8" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="9" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="A" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="B" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="C" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Initialisierung</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="D" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="E" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="66">
    <LineComment>
      <Text>Störung quittieren:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="70">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Quit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="73">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Err_Signal_zu_lang" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="85">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Err_Kein_Signal" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="68">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="25">
    <LineComment>
      <Text>Signal zu lang:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="23">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Zaehlen" />
      </Symbol>
      <LineComment>
        <Text>Sensor zum Zählen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Antrieb ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="67">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Quit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.0" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="48">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="49">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <Instruction Name="TON" Version="1.0">
        <TemplateValue Name="time_type" Type="Type">Time</TemplateValue>
        <Instance Scope="LocalVariable">
          <Component Name="Timer_2" />
        </Instance>
        <Parameter Name="IN">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="M200.0" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="PT">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Zeit_Signal_zu_lang" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Q" />
        <Parameter Name="ET" />
      </Instruction>
    </Access>
  </StlStatement>
  <StlStatement UId="81">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="82">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Timer_2" />
        <Component Name="Q" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="87">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Err_Signal_zu_lang" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="29">
    <LineComment>
      <Text>Kein Signal:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Zaehlen" />
      </Symbol>
      <LineComment>
        <Text>Sensor zum Zählen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="34">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Antrieb ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="78">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Quit" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="37">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.0" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="39">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="40">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <Instruction Name="TON" Version="1.0">
        <TemplateValue Name="time_type" Type="Type">Time</TemplateValue>
        <Instance Scope="LocalVariable">
          <Component Name="Timer_3" />
        </Instance>
        <Parameter Name="IN">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="M200.0" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="PT">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="Zeit_Kein_Signal" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="Q" />
        <Parameter Name="ET" />
      </Instruction>
    </Access>
  </StlStatement>
  <StlStatement UId="56">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="57">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Timer_3" />
        <Component Name="Q" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="59">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Err_Kein_Signal" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="F" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="10" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="11" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="12" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="13" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="14" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="15" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Störungen</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="16" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="17" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="23">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Zaehlen" />
      </Symbol>
      <LineComment>
        <Text>Sensor zum Zählen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="29">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Sensor_entprellen" />
      </Symbol>
      <LineComment>
        <Text>Sperre Auswertung schon erfolgt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="30">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Antrieb_aktiv" />
      </Symbol>
      <LineComment>
        <Text>Antrieb ist aktiv</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="48">
    <StlToken Text="Assign" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="M200.0" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="98">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="99">
    <StlToken Text="CALL" />
    <Access Scope="Call">
      <Instruction Name="TON" Version="1.0">
        <TemplateValue Name="time_type" Type="Type">Time</TemplateValue>
        <Instance Scope="LocalVariable">
          <Component Name="Timer_1" />
        </Instance>
        <Parameter Name="IN">
          <Access Scope="GlobalVariable">
            <Symbol>
              <Component Name="M200.0" />
            </Symbol>
          </Access>
        </Parameter>
        <Parameter Name="PT">
          <Access Scope="TypedConstant">
            <Constant>
              <ConstantValue>t#50ms</ConstantValue>
            </Constant>
          </Access>
        </Parameter>
        <Parameter Name="Q" />
        <Parameter Name="ET" />
      </Instruction>
    </Access>
  </StlStatement>
  <StlStatement UId="108">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="109">
    <StlToken Text="A" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Timer_1" />
        <Component Name="Q" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="21">
    <StlToken Text="R" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Sensor_entprellen" />
      </Symbol>
      <LineComment>
        <Text>Sperre Auswertung schon erfolgt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="35">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="36">
    <StlToken Text="AN" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="B_Zaehlen" />
      </Symbol>
      <LineComment>
        <Text>Sensor zum Zählen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="O" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Sensor_entprellen" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="39">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="40">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="41">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Sensor_entprellen" />
      </Symbol>
      <LineComment>
        <Text>Sperre Auswertung schon erfolgt</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="43">
    <StlToken Text="S" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Signal" />
      </Symbol>
      <LineComment>
        <Text>Für Signal-Auswertung ohne InkDB</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="18" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="19" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="1A" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="1B" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="1C" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="1D" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="1E" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Zählen über Sensor</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="1F" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="20" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="56">
    <StlToken Text="L" />
    <Access Scope="LocalVariable">
      <Symbol>
        <Component Name="Ink_DB" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="57">
    <StlToken Text="T" />
    <Access Scope="GlobalVariable">
      <Symbol>
        <Component Name="MW200" />
      </Symbol>
    </Access>
  </StlStatement>
  <StlStatement UId="82">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="83">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Sinnvolle Angabe?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="85">
    <StlToken Text="LE_I" />
    <LineComment>
      <Text>Nein!</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="86">
    <StlToken Text="BEC" />
    <LineComment>
      <Text>Also nur Signal-Auswertung !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="43">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="23">
    <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="42">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="73">
    <StlToken Text="L" />
    <Access Scope="Address">
      <Address Area="DB" Type="DWord" BitOffset="640" />
    </Access>
  </StlStatement>
  <StlStatement UId="75">
    <StlToken Text="ADD" />
    <Access Scope="TypedConstant">
      <Constant>
        <ConstantValue>DINT#1</ConstantValue>
      </Constant>
      <LineComment>
        <Text>Aktueller Zählerwert +1</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="78">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Address Area="DB" Type="DWord" BitOffset="640" />
    </Access>
  </StlStatement>
  <StlStatement UId="24">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="25">
    <StlToken Text="L" />
    <Access Scope="Address">
      <Address Area="DB" Type="DWord" BitOffset="640" />
      <LineComment>
        <Text>Aktueller Zählerwert</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="26">
    <StlToken Text="L" />
    <Access Scope="Address">
      <Address Area="DB" Type="DWord" BitOffset="608" />
      <LineComment>
        <Text>Max. Wert erreicht ?</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="27">
    <StlToken Text="LE_D" />
    <LineComment>
      <Text>Nein !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="28">
    <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="29">
    <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="30">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="31">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="32">
    <StlToken Text="SUB_D" />
    <LineComment>
      <Text>Restwert als Startwert nehmen !</Text>
    </LineComment>
  </StlStatement>
  <StlStatement UId="33">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Address Area="DB" Type="DWord" BitOffset="640" />
      <LineComment>
        <Text>Keine Inkrementalgeber verbaut, sondern nur Sensor</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="34">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="35">
    <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="36">
    <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="37">
    <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="38">
    <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="39">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="40">
    <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="41">
    <StlToken Text="Assign" />
    <Access Scope="Address">
      <Address Area="DB" Type="Bool" BitOffset="595" />
    </Access>
  </StlStatement>
  <StlStatement UId="80">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="89">
    <LineComment>
      <Text>Zähler auf 000 setzen ?:</Text>
    </LineComment>
    <StlToken Text="COMMENT" />
  </StlStatement>
  <StlStatement UId="91">
    <StlToken Text="AN" />
    <Access Scope="Address">
      <Address Area="DB" Type="Bool" BitOffset="598" />
      <LineComment>
        <Text>Zähler Zero-Load</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="95">
    <StlToken Text="BEC" />
  </StlStatement>
  <StlStatement UId="97">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="98">
    <StlToken Text="SET" />
  </StlStatement>
  <StlStatement UId="99">
    <StlToken Text="R" />
    <Access Scope="Address">
      <Address Area="DB" Type="Bool" BitOffset="598" />
    </Access>
  </StlStatement>
  <StlStatement UId="101">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
  <StlStatement UId="102">
    <StlToken Text="L" />
    <Access Scope="LiteralConstant">
      <Constant>
        <ConstantType>DInt</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
  </StlStatement>
  <StlStatement UId="104">
    <StlToken Text="T" />
    <Access Scope="Address">
      <Address Area="DB" Type="DWord" BitOffset="640" />
      <LineComment>
        <Text>Zählerwert zum Setzen</Text>
      </LineComment>
    </Access>
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="21" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="22" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="23" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="24" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="25" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="26" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="27" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Übergabe an Inkrement-Baustein / max.Wert erreicht?</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="28" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="29" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
  <StlStatement UId="21">
    <StlToken Text="BE" />
  </StlStatement>
  <StlStatement UId="22">
    <StlToken Text="EMPTY_LINE" />
  </StlStatement>
</StatementList></NetworkSource>
          <ProgrammingLanguage>STL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="2A" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="2B" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="2C" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="2D" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="2E" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="2F" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="30" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Ende</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="31" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <MultilingualText ID="32" CompositionName="Title">
        <ObjectList>
          <MultilingualTextItem ID="33" CompositionName="Items">
            <AttributeList>
              <Culture>cs-CZ</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="34" CompositionName="Items">
            <AttributeList>
              <Culture>de-DE</Culture>
              <Text>Modul Zähler über Zahnrad-Sensor Wert in Zähler-DB eintragen</Text>
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="35" CompositionName="Items">
            <AttributeList>
              <Culture>en-US</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.FB>
</Document>