<?xml version="1.0" encoding="utf-8"?>
<Document>
  <Engineering version="V20" />
  <SW.Blocks.OB ID="0">
    <AttributeList>
      <AutoNumber>false</AutoNumber>
      <Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
  <Section Name="Input">
    <Member Name="Initial_Call" Datatype="Bool" Informative="true">
      <Comment>
        <MultiLanguageText Lang="cs-CZ">Initial call of this OB</MultiLanguageText>
        <MultiLanguageText Lang="de-DE">Initial call of this OB</MultiLanguageText>
        <MultiLanguageText Lang="en-US">Initial call of this OB</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Remanence" Datatype="Bool" Informative="true">
      <Comment>
        <MultiLanguageText Lang="cs-CZ">=True, if remanent data are available</MultiLanguageText>
        <MultiLanguageText Lang="de-DE">=True, if remanent data are available</MultiLanguageText>
        <MultiLanguageText Lang="en-US">=True, if remanent data are available</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Temp">
    <Member Name="arEmptyStorageLine" Datatype="Array[0..0] of &quot;stCarrier&quot;" />
    <Member Name="stEmptyStorageData" Datatype="&quot;stStorageData&quot;" />
    <Member Name="rTimeMem" Datatype="LReal" />
    <Member Name="rTimeResult" Datatype="LReal" />
    <Member Name="nIdx1" Datatype="USInt" />
    <Member Name="nIdx2" Datatype="USInt" />
    <Member Name="nIdxHyper" Datatype="UInt" />
    <Member Name="Temp_1" Datatype="Array[0..1] of &quot;stEventCorrectionInfo&quot;" />
  </Section>
  <Section Name="Constant" />
</Sections></Interface>
      <MemoryLayout>Optimized</MemoryLayout>
      <Name>OB1</Name>
      <Namespace />
      <Number>1</Number>
      <ProgrammingLanguage>FBD</ProgrammingLanguage>
      <SecondaryType>ProgramCycle</SecondaryType>
      <SetENOAutomatically>false</SetENOAutomatically>
    </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><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <Access Scope="GlobalVariable" UId="21">
    <Symbol UId="22">
      <Component Name="DB_Error" UId="23">
        <BooleanAttribute Name="HasQuotes" UId="24">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="25" />
      <Component Name="xErrorActive" UId="26" />
    </Symbol>
  </Access>
  <Blank UId="27" />
  <Token Text=":=" UId="28" />
  <Blank UId="29" />
  <Access Scope="LiteralConstant" UId="30">
    <Constant UId="31">
      <ConstantValue UId="33">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="34" />
  <Blank UId="35" />
  <LineComment UId="36">
    <Text UId="37">Wird in OB121 auf TRUE gesetzt</Text>
  </LineComment>
  <NewLine UId="38" />
  <Access Scope="LocalVariable" UId="39">
    <Symbol UId="40">
      <Component Name="rTimeResult" UId="41" />
    </Symbol>
  </Access>
  <Blank UId="42" />
  <Token Text=":=" UId="43" />
  <Blank UId="44" />
  <Access Scope="Call" UId="45">
    <Instruction Name="RUNTIME" UId="46">
      <Token Text="(" UId="47" />
      <NamelessParameter UId="48">
        <Access Scope="LocalVariable" UId="49">
          <Symbol UId="50">
            <Component Name="rTimeMem" UId="51" />
          </Symbol>
        </Access>
      </NamelessParameter>
      <Token Text=")" UId="53" />
    </Instruction>
  </Access>
  <Token Text=";" UId="54" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</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>Zykluszeit genau ermitteln START</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><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <Token Text="IF" UId="21" />
  <Blank UId="22" />
  <Access Scope="GlobalVariable" UId="23">
    <Symbol UId="24">
      <Component Name="DB_Error" UId="25">
        <BooleanAttribute Name="HasQuotes" UId="26">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="27" />
      <Component Name="BlockNr" UId="28" />
    </Symbol>
  </Access>
  <Blank UId="29" />
  <Token Text="&lt;&gt;" UId="30" />
  <Blank UId="31" />
  <Access Scope="LiteralConstant" UId="32">
    <Constant UId="33">
      <ConstantValue UId="35">0</ConstantValue>
    </Constant>
  </Access>
  <Blank UId="36" />
  <Token Text="THEN" UId="37" />
  <NewLine UId="38" />
  <Blank Num="4" UId="39" />
  <Token Text=";" UId="40" />
  <LineComment UId="41">
    <Text UId="42">"DB_Error".sErrorText.....Reaktion, Meldung etc.</Text>
  </LineComment>
  <NewLine UId="43" />
  <Token Text="END_IF" UId="44" />
  <Token Text=";" UId="45" />
  <NewLine UId="46" />
  <Token Text="IF" UId="47" />
  <Blank UId="48" />
  <Access Scope="GlobalVariable" UId="49">
    <Symbol UId="50">
      <Component Name="DB_Test" UId="51">
        <BooleanAttribute Name="HasQuotes" UId="52">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="53" />
      <Component Name="xBit3" UId="54" />
    </Symbol>
  </Access>
  <Blank UId="55" />
  <Token Text="THEN" UId="56" />
  <Blank UId="57" />
  <LineComment UId="58">
    <Text UId="59">Quittieren</Text>
  </LineComment>
  <NewLine UId="60" />
  <Blank Num="4" UId="61" />
  <Access Scope="GlobalVariable" UId="62">
    <Symbol UId="63">
      <Component Name="DB_Error" UId="64">
        <BooleanAttribute Name="HasQuotes" UId="65">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="66" />
      <Component Name="BlockNr" UId="67" />
    </Symbol>
  </Access>
  <Blank UId="68" />
  <Token Text=":=" UId="69" />
  <Blank UId="70" />
  <Access Scope="LiteralConstant" UId="71">
    <Constant UId="72">
      <ConstantValue UId="74">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="75" />
  <NewLine UId="76" />
  <Blank Num="4" UId="77" />
  <Access Scope="GlobalVariable" UId="78">
    <Symbol UId="79">
      <Component Name="DB_Error" UId="80">
        <BooleanAttribute Name="HasQuotes" UId="81">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="82" />
      <Component Name="Reaction" UId="83" />
    </Symbol>
  </Access>
  <Blank UId="84" />
  <Token Text=":=" UId="85" />
  <Blank UId="86" />
  <Access Scope="LiteralConstant" UId="87">
    <Constant UId="88">
      <ConstantValue UId="90">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="91" />
  <NewLine UId="92" />
  <Blank Num="4" UId="93" />
  <Access Scope="GlobalVariable" UId="94">
    <Symbol UId="95">
      <Component Name="DB_Error" UId="96">
        <BooleanAttribute Name="HasQuotes" UId="97">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="98" />
      <Component Name="Fault_ID" UId="99" />
    </Symbol>
  </Access>
  <Blank UId="100" />
  <Token Text=":=" UId="101" />
  <Blank UId="102" />
  <Access Scope="LiteralConstant" UId="103">
    <Constant UId="104">
      <ConstantValue UId="106">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="107" />
  <NewLine UId="108" />
  <Blank Num="4" UId="109" />
  <Access Scope="GlobalVariable" UId="110">
    <Symbol UId="111">
      <Component Name="DB_Error" UId="112">
        <BooleanAttribute Name="HasQuotes" UId="113">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="114" />
      <Component Name="BlockType" UId="115" />
    </Symbol>
  </Access>
  <Blank UId="116" />
  <Token Text=":=" UId="117" />
  <Blank UId="118" />
  <Access Scope="LiteralConstant" UId="119">
    <Constant UId="120">
      <ConstantValue UId="122">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="123" />
  <NewLine UId="124" />
  <Blank Num="4" UId="125" />
  <Access Scope="GlobalVariable" UId="126">
    <Symbol UId="127">
      <Component Name="DB_Error" UId="128">
        <BooleanAttribute Name="HasQuotes" UId="129">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="130" />
      <Component Name="Area" UId="131" />
    </Symbol>
  </Access>
  <Blank UId="132" />
  <Token Text=":=" UId="133" />
  <Blank UId="134" />
  <Access Scope="LiteralConstant" UId="135">
    <Constant UId="136">
      <ConstantValue UId="138">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="139" />
  <NewLine UId="140" />
  <Blank Num="4" UId="141" />
  <Access Scope="GlobalVariable" UId="142">
    <Symbol UId="143">
      <Component Name="DB_Error" UId="144">
        <BooleanAttribute Name="HasQuotes" UId="145">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="146" />
      <Component Name="DBNr" UId="147" />
    </Symbol>
  </Access>
  <Blank UId="148" />
  <Token Text=":=" UId="149" />
  <Blank UId="150" />
  <Access Scope="LiteralConstant" UId="151">
    <Constant UId="152">
      <ConstantValue UId="154">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="155" />
  <NewLine UId="156" />
  <Blank Num="4" UId="157" />
  <Access Scope="GlobalVariable" UId="158">
    <Symbol UId="159">
      <Component Name="DB_Error" UId="160">
        <BooleanAttribute Name="HasQuotes" UId="161">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="162" />
      <Component Name="Csg_OBNr" UId="163" />
    </Symbol>
  </Access>
  <Blank UId="164" />
  <Token Text=":=" UId="165" />
  <Blank UId="166" />
  <Access Scope="LiteralConstant" UId="167">
    <Constant UId="168">
      <ConstantValue UId="170">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="171" />
  <NewLine UId="172" />
  <Blank Num="4" UId="173" />
  <Access Scope="GlobalVariable" UId="174">
    <Symbol UId="175">
      <Component Name="DB_Error" UId="176">
        <BooleanAttribute Name="HasQuotes" UId="177">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="178" />
      <Component Name="Csg_Prio" UId="179" />
    </Symbol>
  </Access>
  <Blank UId="180" />
  <Token Text=":=" UId="181" />
  <Blank UId="182" />
  <Access Scope="LiteralConstant" UId="183">
    <Constant UId="184">
      <ConstantValue UId="186">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="187" />
  <NewLine UId="188" />
  <Blank Num="4" UId="189" />
  <Access Scope="GlobalVariable" UId="190">
    <Symbol UId="191">
      <Component Name="DB_Error" UId="192">
        <BooleanAttribute Name="HasQuotes" UId="193">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="194" />
      <Component Name="Width" UId="195" />
    </Symbol>
  </Access>
  <Blank UId="196" />
  <Token Text=":=" UId="197" />
  <Blank UId="198" />
  <Access Scope="LiteralConstant" UId="199">
    <Constant UId="200">
      <ConstantValue UId="202">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="203" />
  <NewLine UId="204" />
  <Blank Num="4" UId="205" />
  <Access Scope="GlobalVariable" UId="206">
    <Symbol UId="207">
      <Component Name="DB_Error" UId="208">
        <BooleanAttribute Name="HasQuotes" UId="209">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="210" />
      <Component Name="sErrorText" UId="211" />
    </Symbol>
  </Access>
  <Blank UId="212" />
  <Token Text=":=" UId="213" />
  <Blank UId="214" />
  <Access Scope="LiteralConstant" UId="215">
    <Constant UId="216">
      <ConstantValue UId="218">''</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="219" />
  <NewLine UId="220" />
  <Blank Num="4" UId="221" />
  <Access Scope="GlobalVariable" UId="222">
    <Symbol UId="223">
      <Component Name="DB_Test" UId="224">
        <BooleanAttribute Name="HasQuotes" UId="225">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="226" />
      <Component Name="xBit3" UId="227" />
    </Symbol>
  </Access>
  <Blank UId="228" />
  <Token Text=":=" UId="229" />
  <Blank UId="230" />
  <Access Scope="LiteralConstant" UId="231">
    <Constant UId="232">
      <ConstantValue UId="234">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="235" />
  <NewLine UId="236" />
  <Token Text="END_IF" UId="237" />
  <Token Text=";" UId="238" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</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>OB 121 zeigt bei Programmierfehler in DB_Error die Infos an. Infos können hier gelöscht werden.</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>Programmierfehler Handling</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><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <Access Scope="Call" UId="21">
    <CallInfo UId="22" BlockType="FB" Name="FB_CallSensors">
      <Instance Scope="GlobalVariable" UId="23">
        <Component Name="fbCallSensors_DB" UId="24">
          <BooleanAttribute Name="HasQuotes" UId="25">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="26" />
      <Parameter Name="stInOutControlUnitCabinet" UId="27">
        <Blank UId="28" />
        <Token Text=":=" UId="29" />
        <Blank UId="30" />
        <Access Scope="GlobalVariable" UId="31">
          <Symbol UId="32">
            <Component Name="DB_MachineGlobal" UId="33">
              <BooleanAttribute Name="HasQuotes" UId="34">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="35" />
            <Component Name="stStateMain" UId="36" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text=")" UId="37" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="38" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</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>Call Sensors</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><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <Access Scope="Call" UId="21">
    <CallInfo UId="22" BlockType="FB" Name="FB_PreMain">
      <Instance Scope="GlobalVariable" UId="23">
        <Component Name="fbPreMain_DB" UId="24">
          <BooleanAttribute Name="HasQuotes" UId="25">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="26" />
      <NamelessParameter UId="27">
        <Access Scope="GlobalVariable" UId="28">
          <Symbol UId="29">
            <Component Name="DB_MachineGlobal" UId="30">
              <BooleanAttribute Name="HasQuotes" UId="31">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="32" />
            <Component Name="stStateMain" UId="33" />
          </Symbol>
        </Access>
      </NamelessParameter>
      <Token Text=")" UId="34" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="35" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</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>PreMain</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><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <Access Scope="Call" UId="21">
    <CallInfo UId="22" BlockType="FB" Name="FB_Main">
      <Instance Scope="GlobalVariable" UId="23">
        <Component Name="fbMain_DB" UId="24">
          <BooleanAttribute Name="HasQuotes" UId="25">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="26" />
      <Parameter Name="stInOutControlUnitCabinet" UId="27">
        <Blank UId="28" />
        <Token Text=":=" UId="29" />
        <Blank UId="30" />
        <Access Scope="GlobalVariable" UId="31">
          <Symbol UId="32">
            <Component Name="DB_MachineGlobal" UId="33">
              <BooleanAttribute Name="HasQuotes" UId="34">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="35" />
            <Component Name="stStateMain" UId="36" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text=")" UId="37" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="38" />
  <NewLine Num="2" UId="39" />
  <LineComment UId="40">
    <Text UId="41">"fbTestMain_DB"();</Text>
  </LineComment>
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</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>Main</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="31" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="32" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <Blank Num="4" UId="21" />
  <Access Scope="Call" UId="22">
    <CallInfo UId="23" BlockType="FB" Name="FB_PriorityLogic">
      <Instance Scope="GlobalVariable" UId="24">
        <Component Name="fbPriorityLogic_DB" UId="25">
          <BooleanAttribute Name="HasQuotes" UId="26">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="27" />
      <Token Text=")" UId="28" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="29" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="33" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="34" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="35" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="36" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="37" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="38" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="39" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Priority Logic</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="3A" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="3B" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <Blank Num="4" UId="21" />
  <Access Scope="Call" UId="22">
    <CallInfo UId="23" BlockType="FB" Name="FB_CommunicationWCSBL">
      <Instance Scope="GlobalVariable" UId="24">
        <Component Name="FB_CommunicationWCSBL_DB" UId="25">
          <BooleanAttribute Name="HasQuotes" UId="26">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="27" />
      <Parameter Name="fbInOutSendFIFO" UId="28">
        <Blank UId="29" />
        <Token Text=":=" UId="30" />
        <Blank UId="31" />
        <Access Scope="GlobalVariable" UId="32">
          <Symbol UId="33">
            <Component Name="DB_LGF_FIFO_CommWCSBL" UId="34">
              <BooleanAttribute Name="HasQuotes" UId="35">true</BooleanAttribute>
            </Component>
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="36" />
      <NewLine UId="37" />
      <Blank Num="31" UId="38" />
      <Parameter Name="arFifoSendBuffer" UId="39">
        <Blank UId="40" />
        <Token Text=":=" UId="41" />
        <Blank UId="42" />
        <Access Scope="GlobalVariable" UId="43">
          <Symbol UId="44">
            <Component Name="DB_Buffer_CommunicationWCSBL" UId="45">
              <BooleanAttribute Name="HasQuotes" UId="46">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="47" />
            <Component Name="BUFFER" UId="48" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text=")" UId="49" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="50" />
  <NewLine UId="51" />
  <Blank Num="4" UId="52" />
  <NewLine UId="53" />
  <Blank Num="4" UId="54" />
  <Access Scope="Call" UId="55">
    <CallInfo UId="56" BlockType="FB" Name="FB_CommunicationWES_DeviceHub">
      <Instance Scope="GlobalVariable" UId="57">
        <Component Name="FB_CommunicationWES_DeviceHub_DB" UId="58">
          <BooleanAttribute Name="HasQuotes" UId="59">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="60" />
      <Parameter Name="fbInOutSendFIFO" UId="61">
        <Blank UId="62" />
        <Token Text=":=" UId="63" />
        <Blank UId="64" />
        <Access Scope="GlobalVariable" UId="65">
          <Symbol UId="66">
            <Component Name="DB_LGF_FIFO_CommWES" UId="67">
              <BooleanAttribute Name="HasQuotes" UId="68">true</BooleanAttribute>
            </Component>
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="69" />
      <NewLine UId="70" />
      <Blank Num="39" UId="71" />
      <Parameter Name="arFifoSendBuffer" UId="72">
        <Blank UId="73" />
        <Token Text=":=" UId="74" />
        <Blank UId="75" />
        <Access Scope="GlobalVariable" UId="76">
          <Symbol UId="77">
            <Component Name="DB_Buffer_CommunicationWES" UId="78">
              <BooleanAttribute Name="HasQuotes" UId="79">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="80" />
            <Component Name="BUFFER" UId="81" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text=")" UId="82" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="83" />
  <NewLine UId="84" />
  <Blank Num="4" UId="85" />
  <NewLine UId="86" />
  <Blank Num="4" UId="87" />
  <Access Scope="Call" UId="88">
    <CallInfo UId="89" BlockType="FB" Name="FB_CommunicationLogger">
      <Instance Scope="GlobalVariable" UId="90">
        <Component Name="FB_CommunicationLogger_DB" UId="91">
          <BooleanAttribute Name="HasQuotes" UId="92">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="93" />
      <Parameter Name="fbInOutSendFIFO" UId="94">
        <Blank UId="95" />
        <Token Text=":=" UId="96" />
        <Blank UId="97" />
        <Access Scope="GlobalVariable" UId="98">
          <Symbol UId="99">
            <Component Name="DB_LGF_FIFO_CommLogger" UId="100">
              <BooleanAttribute Name="HasQuotes" UId="101">true</BooleanAttribute>
            </Component>
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="102" />
      <NewLine UId="103" />
      <Blank Num="32" UId="104" />
      <Parameter Name="arFifoSendBuffer" UId="105">
        <Blank UId="106" />
        <Token Text=":=" UId="107" />
        <Blank UId="108" />
        <Access Scope="GlobalVariable" UId="109">
          <Symbol UId="110">
            <Component Name="DB_Buffer_CommunicationLogger" UId="111">
              <BooleanAttribute Name="HasQuotes" UId="112">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="113" />
            <Component Name="BUFFER" UId="114" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text=")" UId="115" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="116" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="3C" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="3D" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="3E" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="3F" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="40" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="41" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="42" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Communications</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="43" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="44" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <Blank Num="8" UId="21" />
  <Access Scope="Call" UId="22">
    <CallInfo UId="23" BlockType="FB" Name="FB_CallAMRManagement">
      <Instance Scope="GlobalVariable" UId="24">
        <Component Name="FB_CallAMRManagement_DB" UId="25">
          <BooleanAttribute Name="HasQuotes" UId="26">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="27" />
      <Token Text=")" UId="28" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="29" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="45" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="46" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="47" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="48" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="49" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="4A" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="4B" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>AMR Management</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="4C" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="4D" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <LineComment Inserted="true" UId="21">
    <Text UId="22"> REGION Jam füllen
    IF "DB_Test".xFillJam THEN
        REGION HyperJam
            FOR #nIdxHyper := 1 TO "cHyperJam" -1 DO
                "DB_HyperJam".stHyperJam.arCarrier[#nIdxHyper].nBarcode := 20000015;
                "DB_HyperJam".stHyperJam.arCarrier[#nIdxHyper].bStatus.%X0 := true;
            END_FOR;
        END_REGION
        (* REGION Conveyor
            FOR #nIdx2 := 1 TO "cJamConv1_1" -1 DO
                "DB_JamAreaConv1".stJamConv1_1.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamAreaConv1".stJamConv1_1.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJamConv1_2" -1 DO
                "DB_JamAreaConv1".stJamConv1_2.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamAreaConv1".stJamConv1_2.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJamConv1_3" -1 DO
                "DB_JamAreaConv1".stJamConv1_3.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamAreaConv1".stJamConv1_3.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJamConv1_4" -1 DO
                "DB_JamAreaConv1".stJamConv1_4.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamAreaConv1".stJamConv1_4.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJamConv2" -1 DO
                "DB_JamAreaConv2".stJamConv2.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamAreaConv2".stJamConv2.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
        END_REGION
        REGION Block 1
            FOR #nIdx2 := 1 TO "cJam1101_1" -1 DO
                "DB_JamArea1101".stJam1101_1.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1101".stJam1101_1.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1101_2" -1 DO
                "DB_JamArea1101".stJam1101_2.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1101".stJam1101_2.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1102_1" -1 DO
                "DB_JamArea1102".stJam1102_1.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1102".stJam1102_1.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1102_2" -1 DO
                "DB_JamArea1102".stJam1102_2.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1102".stJam1102_2.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1102_3" -1 DO
                "DB_JamArea1102".stJam1102_3.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1102".stJam1102_3.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1102_4" -1 DO
                "DB_JamArea1102".stJam1102_4.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1102".stJam1102_4.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1102_5" -1 DO
                "DB_JamArea1102".stJam1102_5.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1102".stJam1102_5.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1103_1" -1 DO
                "DB_JamArea1103".stJam1103_1.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1103".stJam1103_1.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1103_2" -1 DO
                "DB_JamArea1103".stJam1103_2.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1103".stJam1103_2.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1104_1" -1 DO
                "DB_JamArea1104".stJam1104_1.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1104".stJam1104_1.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1104_2" -1 DO
                "DB_JamArea1104".stJam1104_2.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1104".stJam1104_2.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1104_3" -1 DO
                "DB_JamArea1104".stJam1104_3.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1104".stJam1104_3.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1104_4" -1 DO
                "DB_JamArea1104".stJam1104_4.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1104".stJam1104_4.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1105_1" - 1 DO
                "DB_JamArea1105".stJam1105_1.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1105".stJam1105_1.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1105_2" -1 DO
                "DB_JamArea1105".stJam1105_2.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1105".stJam1105_2.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1106_1" - 1 DO
                "DB_JamArea1106".stJam1106_1.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1106".stJam1106_1.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1106_2" -1 DO
                "DB_JamArea1106".stJam1106_2.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1106".stJam1106_2.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1107_1" - 1 DO
                "DB_JamArea1107".stJam1107_1.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1107".stJam1107_1.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1107_2" -1 DO
                "DB_JamArea1107".stJam1107_2.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1107".stJam1107_2.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1108_1" - 1 DO
                "DB_JamArea1108".stJam1108_1.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1108".stJam1108_1.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam1108_2" -1 DO
                "DB_JamArea1108".stJam1108_2.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamArea1108".stJam1108_2.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJamB1Entry_1" -1 DO
                "DB_JamAreaB1Entry".stJamB1Entry_1.arCarrier[#nIdx2].nBarcode := 20000015;
                "DB_JamAreaB1Entry".stJamB1Entry_1.arCarrier[#nIdx2].bStatus.%X0 := true;
            END_FOR;
            // FOR #nIdx2 := 1 TO "cJamB1ExitLeave" -1 DO
            //     "DB_JamAreaB1ExitLeave".stJamB1ExitLeave.arCarrier[#nIdx2].nBarcode := 20000015;
            //     "DB_JamAreaB1ExitLeave".stJamB1ExitLeave.arCarrier[#nIdx2].bStatus.%X0 := true;
            // END_FOR;
        END_REGION *)
        
        
    END_IF;
    "DB_Test".xFillJam := FALSE;
END_REGION

REGION Jam leeren
    IF "DB_Test".xEmptyJam THEN
        REGION HyperJam
            FOR #nIdxHyper := 1 TO "cHyperJam" DO
                "DB_HyperJam".stHyperJam.arCarrier[#nIdxHyper].nBarcode := 0;
                "DB_HyperJam".stHyperJam.arCarrier[#nIdxHyper].bStatus.%X0 := false;
            END_FOR;
        END_REGION
        REGION Conveyor
            // FOR #nIdx2 := 1 TO "cJamConv1_1" DO
            //     "DB_JamAreaConv1".stJamConv1_1.arCarrier[#nIdx2].nBarcode := 0;
            //     "DB_JamAreaConv1".stJamConv1_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            // END_FOR;
         
        END_REGION
        REGION Jam Area
            FOR #nIdx2 := 1 TO "cJam4101_1" DO
                "DB_JamArea4003".stJam4003_1.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4003".stJam4003_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam4101_2" DO
                "DB_JamArea4003".stJam4003_2.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4003".stJam4003_2.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam4101_3" DO
                "DB_JamArea4003".stJam4003_3.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4003".stJam4003_3.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            
            FOR #nIdx2 := 1 TO "cJam4101_4" DO
                "DB_JamArea4003".stJam4003_4.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4003".stJam4003_4.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam4101_5" DO
                "DB_JamArea4003".stJam4003_5.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4003".stJam4003_5.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam4101_6" DO
                "DB_JamArea4003".stJam4003_6.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4003".stJam4003_6.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            
            FOR #nIdx2 := 1 TO "cJam4101_7" DO
                "DB_JamArea4003".stJam4003_7.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4003".stJam4003_7.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            
            
            FOR #nIdx2 := 1 TO "cJam4002_1" DO
                "DB_JamArea4002".stJam4002_1.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4002".stJam4002_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam4002_2" DO
                "DB_JamArea4002".stJam4002_2.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4002".stJam4002_2.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam0403_1" DO
                "DB_JamArea4011".stJam4011_1.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4011".stJam4011_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam0403_2" DO
                "DB_JamArea4011".stJam0403_2.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4011".stJam0403_2.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam0403.01_1" DO
                "DB_JamArea4000".stJam4000_1.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4000".stJam4000_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam0403.02_1" DO
                "DB_JamArea0403.02"."stJam0403.02_1".arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea0403.02"."stJam0403.02_1".arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam0402.01_1" DO
                "DB_JamArea4009".stJam4009_1.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4009".stJam4009_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam0402.02_1" DO
                "DB_JamArea4010".stJam4010_1.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4010".stJam4010_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam0401.01_1" DO
                "DB_JamArea4007".stJam4007_1.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4007".stJam4007_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam0401.02_1" DO
                "DB_JamArea4008".stJam4008_1.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4008".stJam4008_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam4001_1" DO
                "DB_JamArea4001".stJam4001_1.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4001".stJam4001_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam4001_2" DO
                "DB_JamArea4001".stJam4001_2.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4001".stJam4001_2.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam4404_1" DO
                "DB_JamArea4004".stJam4004_1.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4004".stJam4004_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            FOR #nIdx2 := 1 TO "cJam4404_2" DO
                "DB_JamArea4004".stJam4404_2.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4004".stJam4404_2.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
            
            FOR #nIdx2 := 1 TO "cJam4503_1" DO
                "DB_JamArea4006".stJam4006_1.arCarrier[#nIdx2].nBarcode := 0;
                "DB_JamArea4006".stJam4006_1.arCarrier[#nIdx2].bStatus.%X0 := false;
            END_FOR;
        END_REGION
        
    END_IF;
    "DB_Test".xEmptyJam := FALSE;
END_REGION </Text>
  </LineComment>
  <NewLine Num="2" UId="23" />
  <LineComment UId="24">
    <Text UId="25"> "MA0061" := "DB_IBN".xVario4004;</Text>
  </LineComment>
  <NewLine UId="26" />
  <LineComment UId="27">
    <Text UId="28"> "MA0062" := "DB_IBN".xVario4005;</Text>
  </LineComment>
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="4E" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="4F" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="50" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="51" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="52" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="53" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="54" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>TEST-SCHLEIFEN</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="55" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="56" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <Access Scope="Call" UId="21">
    <CallInfo UId="22" BlockType="FC">
      <Instance Scope="GlobalVariable" UId="24">
        <Component Name="FC_Call_Jams" UId="23" />
      </Instance>
      <Token Text="(" UId="25" />
      <Token Text=")" UId="26" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="27" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="57" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="58" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="59" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="5A" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="5B" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="5C" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="5D" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Call Jams</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="5E" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="5F" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <Access Scope="Call" UId="21">
    <CallInfo UId="22" BlockType="FB" Name="FB_Visu">
      <Instance Scope="GlobalVariable" UId="23">
        <Component Name="DB_Visu" UId="24">
          <BooleanAttribute Name="HasQuotes" UId="25">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="26" />
      <Token Text=")" UId="27" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="28" />
  <NewLine Num="2" UId="29" />
  <Access Scope="Call" UId="30">
    <CallInfo UId="31" BlockType="FB" Name="FB_Visu_Jams">
      <Instance Scope="GlobalVariable" UId="32">
        <Component Name="DB_Visu_Jams" UId="33">
          <BooleanAttribute Name="HasQuotes" UId="34">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="35" />
      <Token Text=")" UId="36" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="37" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="60" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="61" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="62" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Visu</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="63" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="64" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="65" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="66" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Visu</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="67" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="68" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <Access Scope="LocalVariable" UId="21">
    <Symbol UId="22">
      <Component Name="rTimeResult" UId="23" />
    </Symbol>
  </Access>
  <Blank UId="24" />
  <Token Text=":=" UId="25" />
  <Blank UId="26" />
  <Access Scope="Call" UId="27">
    <Instruction Name="RUNTIME" UId="28">
      <Token Text="(" UId="29" />
      <NamelessParameter UId="30">
        <Access Scope="LocalVariable" UId="31">
          <Symbol UId="32">
            <Component Name="rTimeMem" UId="33" />
          </Symbol>
        </Access>
      </NamelessParameter>
      <Token Text=")" UId="35" />
    </Instruction>
  </Access>
  <Token Text=";" UId="36" />
  <NewLine UId="37" />
  <Access Scope="GlobalVariable" UId="38">
    <Symbol UId="39">
      <Component Name="DB_MachineGlobal" UId="40">
        <BooleanAttribute Name="HasQuotes" UId="41">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="42" />
      <Component Name="rCycle" UId="43" />
    </Symbol>
  </Access>
  <Blank UId="44" />
  <Token Text=":=" UId="45" />
  <Blank UId="46" />
  <Access Scope="Call" UId="47">
    <Instruction Name="LREAL_TO_REAL" UId="48">
      <Token Text="(" UId="49" />
      <NamelessParameter UId="50">
        <Access Scope="LocalVariable" UId="51">
          <Symbol UId="52">
            <Component Name="rTimeResult" UId="53" />
          </Symbol>
        </Access>
        <Blank UId="54" />
        <Token Text="*" UId="55" />
        <Blank UId="56" />
        <Access Scope="LiteralConstant" UId="57">
          <Constant UId="58">
            <ConstantValue UId="60">1000.0</ConstantValue>
          </Constant>
        </Access>
      </NamelessParameter>
      <Token Text=")" UId="62" />
    </Instruction>
  </Access>
  <Token Text=";" UId="63" />
  <Blank UId="64" />
  <LineComment UId="65">
    <Text UId="66">in Millisekunden anzeigen</Text>
  </LineComment>
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="69" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="6A" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="6B" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="6C" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="6D" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="6E" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="6F" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>Zykluszeit genau ermitteln ENDE</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="70" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="71" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <LineComment UId="21">
    <Text UId="22">Senden</Text>
  </LineComment>
  <NewLine UId="23" />
  <Access Scope="GlobalVariable" UId="24">
    <Symbol UId="25">
      <Component Name="IO_Device_UH04_TO_UH01" UId="26">
        <BooleanAttribute Name="HasQuotes" UId="27">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="28" />
      <Component Name="xLIFEBIT" UId="29" />
    </Symbol>
  </Access>
  <Blank UId="30" />
  <Token Text=":=" UId="31" />
  <Blank UId="32" />
  <Access Scope="GlobalVariable" UId="33">
    <Symbol UId="34">
      <Component Name="Clock_1Hz" UId="35">
        <BooleanAttribute Name="HasQuotes" UId="36">true</BooleanAttribute>
      </Component>
    </Symbol>
  </Access>
  <Token Text=";" UId="37" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="72" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="73" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="74" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="75" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="76" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="77" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="78" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>IO Device Datenübergabe</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="79" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="7A" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
  <LineComment Inserted="true" UId="21">
    <Text UId="22">*****************************
FÜR PERFORMANCE MESSUNG:
20.01.
1 - 405.1
2 - 405.1
3 - 406.1


</Text>
  </LineComment>
  <NewLine Num="2" UId="23" />
  <Access Scope="Call" UId="24">
    <CallInfo UId="25" BlockType="FB" Name="FB_PerfTest">
      <Instance Scope="GlobalVariable" UId="26">
        <Component Name="fbPerfTest_406" UId="27">
          <BooleanAttribute Name="HasQuotes" UId="28">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="29" />
      <Parameter Name="nInSepNo" UId="30">
        <Blank UId="31" />
        <Token Text=":=" UId="32" />
        <Blank UId="33" />
        <Access Scope="GlobalConstant" UId="34">
          <Constant Name="cSep406.1" UId="35" />
        </Access>
      </Parameter>
      <Token Text="," UId="38" />
      <Blank UId="39" />
      <LineComment UId="40">
        <Text UId="41">Sep-Nr. für Auflistung der Messungen</Text>
      </LineComment>
      <NewLine UId="42" />
      <Blank Num="17" UId="43" />
      <Parameter Name="xInSepFlag" UId="44">
        <Blank UId="45" />
        <Token Text=":=" UId="46" />
        <Blank UId="47" />
        <Access Scope="GlobalVariable" UId="48">
          <Symbol UId="49">
            <Component Name="fbMain_DB" UId="50">
              <BooleanAttribute Name="HasQuotes" UId="51">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="52" />
            <Component Name="TRO406" UId="53" />
            <Token Text="." UId="54" />
            <Component Name="nState" UId="55" />
          </Symbol>
        </Access>
        <Blank UId="56" />
        <Token Text="=" UId="57" />
        <Blank UId="58" />
        <Access Scope="LiteralConstant" UId="59">
          <Constant UId="60">
            <ConstantValue UId="62">2500</ConstantValue>
          </Constant>
        </Access>
        <Blank UId="63" />
        <Token Text="AND" UId="64" />
        <Blank UId="65" />
        <Access Scope="GlobalVariable" UId="66">
          <Symbol UId="67">
            <Component Name="fbMain_DB" UId="68">
              <BooleanAttribute Name="HasQuotes" UId="69">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="70" />
            <Component Name="TRO406" UId="71" />
            <Token Text="." UId="72" />
            <Component Name="fbSeparator1" UId="73" />
            <Token Text="." UId="74" />
            <Component Name="xOutTrolleyReleasedEdge" UId="75" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="76" />
      <Blank UId="77" />
      <LineComment UId="78">
        <Text UId="79">ReleasedEdge des jeweiligen Seps</Text>
      </LineComment>
      <NewLine UId="80" />
      <Blank Num="17" UId="81" />
      <Parameter Name="tInTimeMeasurement" UId="82">
        <Blank UId="83" />
        <Token Text=":=" UId="84" />
        <Blank UId="85" />
        <Access Scope="TypedConstant" UId="86">
          <Constant UId="87">
            <ConstantValue UId="88">T#86400s</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="89" />
      <NewLine UId="90" />
      <Blank Num="17" UId="91" />
      <Parameter Name="nInGoalFlags" UId="92">
        <Blank UId="93" />
        <Token Text=":=" UId="94" />
        <Blank UId="95" />
        <Access Scope="LiteralConstant" UId="96">
          <Constant UId="97">
            <ConstantValue UId="99">398</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="101" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="102" />
  <Blank UId="103" />
  <LineComment UId="104">
    <Text UId="105">gewünschte Messzeit</Text>
  </LineComment>
  <NewLine Num="2" UId="106" />
  <Access Scope="Call" UId="107">
    <CallInfo UId="108" BlockType="FB" Name="FB_PerfTest">
      <Instance Scope="GlobalVariable" UId="109">
        <Component Name="fbPerfTest_418" UId="110">
          <BooleanAttribute Name="HasQuotes" UId="111">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="112" />
      <Parameter Name="nInSepNo" UId="113">
        <Blank UId="114" />
        <Token Text=":=" UId="115" />
        <Blank UId="116" />
        <Access Scope="GlobalConstant" UId="117">
          <Constant Name="cSep418.1" UId="118" />
        </Access>
      </Parameter>
      <Token Text="," UId="121" />
      <Blank UId="122" />
      <LineComment UId="123">
        <Text UId="124">Sep-Nr. für Auflistung der Messungen</Text>
      </LineComment>
      <NewLine UId="125" />
      <Blank Num="16" UId="126" />
      <Parameter Name="xInSepFlag" UId="127">
        <Blank UId="128" />
        <Token Text=":=" UId="129" />
        <Blank UId="130" />
        <Access Scope="GlobalVariable" UId="131">
          <Symbol UId="132">
            <Component Name="fbMain_DB" UId="133">
              <BooleanAttribute Name="HasQuotes" UId="134">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="135" />
            <Component Name="TRO418" UId="136" />
            <Token Text="." UId="137" />
            <Component Name="nState" UId="138" />
          </Symbol>
        </Access>
        <Blank UId="139" />
        <Token Text="=" UId="140" />
        <Blank UId="141" />
        <Access Scope="LiteralConstant" UId="142">
          <Constant UId="143">
            <ConstantValue UId="145">2600</ConstantValue>
          </Constant>
        </Access>
        <Blank UId="146" />
        <Token Text="AND" UId="147" />
        <Blank UId="148" />
        <Access Scope="GlobalVariable" UId="149">
          <Symbol UId="150">
            <Component Name="fbMain_DB" UId="151">
              <BooleanAttribute Name="HasQuotes" UId="152">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="153" />
            <Component Name="TRO418" UId="154" />
            <Token Text="." UId="155" />
            <Component Name="fbSeparator1" UId="156" />
            <Token Text="." UId="157" />
            <Component Name="xOutTrolleyReleasedEdge" UId="158" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="159" />
      <Blank UId="160" />
      <LineComment UId="161">
        <Text UId="162">ReleasedEdge des jeweiligen Seps</Text>
      </LineComment>
      <NewLine UId="163" />
      <Blank Num="16" UId="164" />
      <Parameter Name="tInTimeMeasurement" UId="165">
        <Blank UId="166" />
        <Token Text=":=" UId="167" />
        <Blank UId="168" />
        <Access Scope="TypedConstant" UId="169">
          <Constant UId="170">
            <ConstantValue UId="171">T#86400s</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="172" />
      <NewLine UId="173" />
      <Blank Num="16" UId="174" />
      <Parameter Name="nInGoalFlags" UId="175">
        <Blank UId="176" />
        <Token Text=":=" UId="177" />
        <Blank UId="178" />
        <Access Scope="LiteralConstant" UId="179">
          <Constant UId="180">
            <ConstantValue UId="182">398</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="184" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="185" />
  <Blank UId="186" />
  <LineComment UId="187">
    <Text UId="188">gewünschte Messzeit</Text>
  </LineComment>
  <NewLine Num="2" UId="189" />
  <Access Scope="Call" UId="190">
    <CallInfo UId="191" BlockType="FB" Name="FB_PerfTest">
      <Instance Scope="GlobalVariable" UId="192">
        <Component Name="fbPerfTest_421" UId="193">
          <BooleanAttribute Name="HasQuotes" UId="194">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="195" />
      <Parameter Name="nInSepNo" UId="196">
        <Blank UId="197" />
        <Token Text=":=" UId="198" />
        <Blank UId="199" />
        <Access Scope="GlobalConstant" UId="200">
          <Constant Name="cSep421.1" UId="201" />
        </Access>
      </Parameter>
      <Token Text="," UId="204" />
      <Blank UId="205" />
      <LineComment UId="206">
        <Text UId="207">Sep-Nr. für Auflistung der Messungen</Text>
      </LineComment>
      <NewLine UId="208" />
      <Blank Num="17" UId="209" />
      <Parameter Name="xInSepFlag" UId="210">
        <Blank UId="211" />
        <Token Text=":=" UId="212" />
        <Blank UId="213" />
        <Access Scope="GlobalVariable" UId="214">
          <Symbol UId="215">
            <Component Name="fbMain_DB" UId="216">
              <BooleanAttribute Name="HasQuotes" UId="217">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="218" />
            <Component Name="TRO421" UId="219" />
            <Token Text="." UId="220" />
            <Component Name="nState" UId="221" />
          </Symbol>
        </Access>
        <Blank UId="222" />
        <Token Text="=" UId="223" />
        <Blank UId="224" />
        <Access Scope="LiteralConstant" UId="225">
          <Constant UId="226">
            <ConstantValue UId="228">2600</ConstantValue>
          </Constant>
        </Access>
        <Blank UId="229" />
        <Token Text="AND" UId="230" />
        <Blank UId="231" />
        <Access Scope="GlobalVariable" UId="232">
          <Symbol UId="233">
            <Component Name="fbMain_DB" UId="234">
              <BooleanAttribute Name="HasQuotes" UId="235">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="236" />
            <Component Name="TRO421" UId="237" />
            <Token Text="." UId="238" />
            <Component Name="fbSeparator1" UId="239" />
            <Token Text="." UId="240" />
            <Component Name="xOutTrolleyReleasedEdge" UId="241" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="242" />
      <Blank UId="243" />
      <LineComment UId="244">
        <Text UId="245">ReleasedEdge des jeweiligen Seps</Text>
      </LineComment>
      <NewLine UId="246" />
      <Blank Num="17" UId="247" />
      <Parameter Name="tInTimeMeasurement" UId="248">
        <Blank UId="249" />
        <Token Text=":=" UId="250" />
        <Blank UId="251" />
        <Access Scope="TypedConstant" UId="252">
          <Constant UId="253">
            <ConstantValue UId="254">T#86400s</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="255" />
      <NewLine UId="256" />
      <Blank Num="17" UId="257" />
      <Parameter Name="nInGoalFlags" UId="258">
        <Blank UId="259" />
        <Token Text=":=" UId="260" />
        <Blank UId="261" />
        <Access Scope="LiteralConstant" UId="262">
          <Constant UId="263">
            <ConstantValue UId="265">398</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="267" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="268" />
  <Blank UId="269" />
  <LineComment UId="270">
    <Text UId="271">gewünschte Messzeit</Text>
  </LineComment>
  <NewLine Num="2" UId="272" />
  <Access Scope="Call" UId="273">
    <CallInfo UId="274" BlockType="FB" Name="FB_PerfTest">
      <Instance Scope="GlobalVariable" UId="275">
        <Component Name="fbPerfTest_422" UId="276">
          <BooleanAttribute Name="HasQuotes" UId="277">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="278" />
      <Parameter Name="nInSepNo" UId="279">
        <Blank UId="280" />
        <Token Text=":=" UId="281" />
        <Blank UId="282" />
        <Access Scope="GlobalConstant" UId="283">
          <Constant Name="cSep422.1" UId="284" />
        </Access>
      </Parameter>
      <Token Text="," UId="287" />
      <Blank UId="288" />
      <LineComment UId="289">
        <Text UId="290">Sep-Nr. für Auflistung der Messungen</Text>
      </LineComment>
      <NewLine UId="291" />
      <Blank Num="17" UId="292" />
      <Parameter Name="xInSepFlag" UId="293">
        <Blank UId="294" />
        <Token Text=":=" UId="295" />
        <Blank UId="296" />
        <Access Scope="GlobalVariable" UId="297">
          <Symbol UId="298">
            <Component Name="fbMain_DB" UId="299">
              <BooleanAttribute Name="HasQuotes" UId="300">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="301" />
            <Component Name="TRO422" UId="302" />
            <Token Text="." UId="303" />
            <Component Name="nState" UId="304" />
          </Symbol>
        </Access>
        <Blank UId="305" />
        <Token Text="=" UId="306" />
        <Blank UId="307" />
        <Access Scope="LiteralConstant" UId="308">
          <Constant UId="309">
            <ConstantValue UId="311">2600</ConstantValue>
          </Constant>
        </Access>
        <Blank UId="312" />
        <Token Text="AND" UId="313" />
        <Blank UId="314" />
        <Access Scope="GlobalVariable" UId="315">
          <Symbol UId="316">
            <Component Name="fbMain_DB" UId="317">
              <BooleanAttribute Name="HasQuotes" UId="318">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="319" />
            <Component Name="TRO422" UId="320" />
            <Token Text="." UId="321" />
            <Component Name="fbSeparator1" UId="322" />
            <Token Text="." UId="323" />
            <Component Name="xOutTrolleyReleasedEdge" UId="324" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="325" />
      <Blank UId="326" />
      <LineComment UId="327">
        <Text UId="328">ReleasedEdge des jeweiligen Seps</Text>
      </LineComment>
      <NewLine UId="329" />
      <Blank Num="17" UId="330" />
      <Parameter Name="tInTimeMeasurement" UId="331">
        <Blank UId="332" />
        <Token Text=":=" UId="333" />
        <Blank UId="334" />
        <Access Scope="TypedConstant" UId="335">
          <Constant UId="336">
            <ConstantValue UId="337">T#86400s</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="338" />
      <NewLine UId="339" />
      <Blank Num="17" UId="340" />
      <Parameter Name="nInGoalFlags" UId="341">
        <Blank UId="342" />
        <Token Text=":=" UId="343" />
        <Blank UId="344" />
        <Access Scope="LiteralConstant" UId="345">
          <Constant UId="346">
            <ConstantValue UId="348">398</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="350" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="351" />
  <Blank UId="352" />
  <LineComment UId="353">
    <Text UId="354">gewünschte Messzeit</Text>
  </LineComment>
  <NewLine Num="2" UId="355" />
  <Access Scope="Call" UId="356">
    <CallInfo UId="357" BlockType="FB" Name="FB_PerfTest">
      <Instance Scope="GlobalVariable" UId="358">
        <Component Name="fbPerfTest_423" UId="359">
          <BooleanAttribute Name="HasQuotes" UId="360">true</BooleanAttribute>
        </Component>
      </Instance>
      <Token Text="(" UId="361" />
      <Parameter Name="nInSepNo" UId="362">
        <Blank UId="363" />
        <Token Text=":=" UId="364" />
        <Blank UId="365" />
        <Access Scope="GlobalConstant" UId="366">
          <Constant Name="cSep423.1" UId="367" />
        </Access>
      </Parameter>
      <Token Text="," UId="370" />
      <Blank UId="371" />
      <LineComment UId="372">
        <Text UId="373">Sep-Nr. für Auflistung der Messungen</Text>
      </LineComment>
      <NewLine UId="374" />
      <Blank Num="17" UId="375" />
      <Parameter Name="xInSepFlag" UId="376">
        <Blank UId="377" />
        <Token Text=":=" UId="378" />
        <Blank UId="379" />
        <Access Scope="GlobalVariable" UId="380">
          <Symbol UId="381">
            <Component Name="fbMain_DB" UId="382">
              <BooleanAttribute Name="HasQuotes" UId="383">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="384" />
            <Component Name="TRO423" UId="385" />
            <Token Text="." UId="386" />
            <Component Name="nState" UId="387" />
          </Symbol>
        </Access>
        <Blank UId="388" />
        <Token Text="=" UId="389" />
        <Blank UId="390" />
        <Access Scope="LiteralConstant" UId="391">
          <Constant UId="392">
            <ConstantValue UId="394">2600</ConstantValue>
          </Constant>
        </Access>
        <Blank UId="395" />
        <Token Text="AND" UId="396" />
        <Blank UId="397" />
        <Access Scope="GlobalVariable" UId="398">
          <Symbol UId="399">
            <Component Name="fbMain_DB" UId="400">
              <BooleanAttribute Name="HasQuotes" UId="401">true</BooleanAttribute>
            </Component>
            <Token Text="." UId="402" />
            <Component Name="TRO423" UId="403" />
            <Token Text="." UId="404" />
            <Component Name="fbSeparator1" UId="405" />
            <Token Text="." UId="406" />
            <Component Name="xOutTrolleyReleasedEdge" UId="407" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="408" />
      <Blank UId="409" />
      <LineComment UId="410">
        <Text UId="411">ReleasedEdge des jeweiligen Seps</Text>
      </LineComment>
      <NewLine UId="412" />
      <Blank Num="17" UId="413" />
      <Parameter Name="tInTimeMeasurement" UId="414">
        <Blank UId="415" />
        <Token Text=":=" UId="416" />
        <Blank UId="417" />
        <Access Scope="TypedConstant" UId="418">
          <Constant UId="419">
            <ConstantValue UId="420">T#86400s</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="421" />
      <NewLine UId="422" />
      <Blank Num="17" UId="423" />
      <Parameter Name="nInGoalFlags" UId="424">
        <Blank UId="425" />
        <Token Text=":=" UId="426" />
        <Blank UId="427" />
        <Access Scope="LiteralConstant" UId="428">
          <Constant UId="429">
            <ConstantValue UId="431">398</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="433" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="434" />
  <Blank UId="435" />
  <LineComment UId="436">
    <Text UId="437">gewünschte Messzeit</Text>
  </LineComment>
  <NewLine UId="438" />
  <LineComment UId="439">
    <Text UId="440">*****************************</Text>
  </LineComment>
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="7B" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="7C" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="7D" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="7E" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="7F" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="80" CompositionName="Items">
                <AttributeList>
                  <Culture>cs-CZ</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="81" CompositionName="Items">
                <AttributeList>
                  <Culture>de-DE</Culture>
                  <Text>IBN</Text>
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="82" CompositionName="Items">
                <AttributeList>
                  <Culture>en-US</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <MultilingualText ID="83" CompositionName="Title">
        <ObjectList>
          <MultilingualTextItem ID="84" CompositionName="Items">
            <AttributeList>
              <Culture>cs-CZ</Culture>
              <Text>"Main Program Sweep (Cycle)"</Text>
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="85" CompositionName="Items">
            <AttributeList>
              <Culture>de-DE</Culture>
              <Text>"Main Program Sweep (Cycle)"</Text>
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="86" CompositionName="Items">
            <AttributeList>
              <Culture>en-US</Culture>
              <Text>"Main Program Sweep (Cycle)"</Text>
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.OB>
</Document>