<?xml version="1.0" encoding="utf-8"?>
<Document>
  <Engineering version="V18" />
  <SW.Blocks.FC ID="0">
    <AttributeList>
      <AutoNumber>false</AutoNumber>
      <HeaderAuthor />
      <HeaderFamily />
      <HeaderName />
      <HeaderVersion>0.1</HeaderVersion>
      <Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
  <Section Name="Input" />
  <Section Name="Output" />
  <Section Name="InOut" />
  <Section Name="Temp">
    <Member Name="wPosition" Datatype="Word" />
    <Member Name="xrtCurrentLimit" Datatype="Bool" />
    <Member Name="g" Datatype="Int" />
    <Member Name="p" Datatype="Int" />
    <Member Name="m" Datatype="Int" />
    <Member Name="b" Datatype="Int" />
  </Section>
  <Section Name="Constant" />
  <Section Name="Return">
    <Member Name="Ret_Val" Datatype="Void" Accessibility="Public" />
  </Section>
</Sections></Interface>
      <IsIECCheckEnabled>false</IsIECCheckEnabled>
      <MemoryLayout>Optimized</MemoryLayout>
      <Name>1032_FC Manual function</Name>
      <Namespace />
      <Number>1032</Number>
      <ProgrammingLanguage>SCL</ProgrammingLanguage>
      <SetENOAutomatically>false</SetENOAutomatically>
      <UDABlockProperties />
      <UDAEnableTagReadback>false</UDAEnableTagReadback>
    </AttributeList>
    <ObjectList>
      <MultilingualText ID="1" CompositionName="Comment">
        <ObjectList>
          <MultilingualTextItem ID="2" CompositionName="Items">
            <AttributeList>
              <Culture>it-IT</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="3" CompositionName="Items">
            <AttributeList>
              <Culture>en-GB</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
      <SW.Blocks.CompileUnit ID="4" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <NewLine Num="1" UId="21" />
  <Access Scope="LocalVariable" UId="22">
    <Symbol UId="23">
      <Component Name="g" UId="24" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="25" />
  <Token Text=":=" UId="26" />
  <Blank Num="1" UId="27" />
  <Access Scope="GlobalVariable" UId="28">
    <Symbol UId="29">
      <Component Name="DB HMI_1" UId="30" />
      <Token Text="." UId="31" />
      <Component Name="nGWNumber" UId="32" />
    </Symbol>
  </Access>
  <Token Text=";" UId="33" />
  <NewLine Num="1" UId="34" />
  <Access Scope="LocalVariable" UId="35">
    <Symbol UId="36">
      <Component Name="p" UId="37" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="38" />
  <Token Text=":=" UId="39" />
  <Blank Num="1" UId="40" />
  <Access Scope="GlobalVariable" UId="41">
    <Symbol UId="42">
      <Component Name="DB HMI_1" UId="43" />
      <Token Text="." UId="44" />
      <Component Name="nPortNumber" UId="45" />
    </Symbol>
  </Access>
  <Token Text=";" UId="46" />
  <NewLine Num="1" UId="47" />
  <Access Scope="LocalVariable" UId="48">
    <Symbol UId="49">
      <Component Name="b" UId="50" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="51" />
  <Token Text=":=" UId="52" />
  <Blank Num="1" UId="53" />
  <Access Scope="GlobalVariable" UId="54">
    <Symbol UId="55">
      <Component Name="DB HMI_1" UId="56" />
      <Token Text="." UId="57" />
      <Component Name="nBoxNumber" UId="58" />
    </Symbol>
  </Access>
  <Token Text=";" UId="59" />
  <NewLine Num="1" UId="60" />
  <Access Scope="LocalVariable" UId="61">
    <Symbol UId="62">
      <Component Name="m" UId="63" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="64" />
  <Token Text=":=" UId="65" />
  <Blank Num="1" UId="66" />
  <Access Scope="GlobalVariable" UId="67">
    <Symbol UId="68">
      <Component Name="DB HMI_1" UId="69" />
      <Token Text="." UId="70" />
      <Component Name="nMotorNumber" UId="71" />
    </Symbol>
  </Access>
  <Token Text=";" UId="72" />
  <NewLine Num="2" UId="73" />
  <Access Scope="GlobalVariable" UId="74">
    <Symbol UId="75">
      <Component Name="rtMotInPos" UId="76">
        <BooleanAttribute Name="HasQuotes" UId="77">true</BooleanAttribute>
      </Component>
    </Symbol>
  </Access>
  <Access Scope="Call" UId="78">
    <Instruction UId="79">
      <Token Text="(" UId="80" />
      <Parameter Name="CLK" UId="81">
        <Token Text=":=" UId="82" />
        <Access Scope="GlobalVariable" UId="83">
          <Symbol UId="84">
            <Component Name="DB HMI_1" UId="85" />
            <Token Text="." UId="86" />
            <Component Name="xMotStatInPos" UId="87" />
          </Symbol>
        </Access>
      </Parameter>
      <Blank Num="1" UId="88" />
      <Token Text=")" UId="89" />
    </Instruction>
  </Access>
  <Token Text=";" UId="90" />
  <NewLine Num="2" UId="91" />
  <Token Text="IF" UId="92" />
  <Blank Num="1" UId="93" />
  <Access Scope="GlobalVariable" UId="94">
    <Symbol UId="95">
      <Component Name="DB Cycle" UId="96" />
      <Token Text="." UId="97" />
      <Component Name="Man" UId="98" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="99" />
  <Token Text="THEN" UId="100" />
  <NewLine Num="1" UId="101" />
  <Blank Num="4" UId="102" />
  <NewLine Num="1" UId="103" />
  <Blank Num="4" UId="104" />
  <LineComment Inserted="false" NoClosingBracket="false" UId="105">
    <Text UId="106"> Run Forward</Text>
  </LineComment>
  <NewLine Num="1" UId="107" />
  <Blank Num="4" UId="108" />
  <Token Text="IF" UId="109" />
  <Blank Num="1" UId="110" />
  <Access Scope="GlobalVariable" UId="111">
    <Symbol UId="112">
      <Component Name="DB HMI_1" UId="113" />
      <Token Text="." UId="114" />
      <Component Name="xPBMotMoveFw" UId="115" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="116" />
  <Token Text="AND" UId="117" />
  <NewLine Num="1" UId="118" />
  <Blank Num="8" UId="119" />
  <Access Scope="GlobalVariable" UId="120">
    <Symbol UId="121">
      <Component Name="DB MotorPar" UId="122" />
      <Token Text="." UId="123" />
      <Component Name="GW" UId="124">
        <Token Text="[" UId="125" />
        <Access Scope="LocalVariable" UId="126">
          <Symbol UId="127">
            <Component Name="g" UId="128" />
          </Symbol>
        </Access>
        <Token Text="]" UId="129" />
      </Component>
      <Token Text="." UId="130" />
      <Component Name="P" UId="131">
        <Token Text="[" UId="132" />
        <Access Scope="LocalVariable" UId="133">
          <Symbol UId="134">
            <Component Name="p" UId="135" />
          </Symbol>
        </Access>
        <Token Text="]" UId="136" />
      </Component>
      <Token Text="." UId="137" />
      <Component Name="Box" UId="138">
        <Token Text="[" UId="139" />
        <Access Scope="LocalVariable" UId="140">
          <Symbol UId="141">
            <Component Name="b" UId="142" />
          </Symbol>
        </Access>
        <Token Text="]" UId="143" />
      </Component>
      <Token Text="." UId="144" />
      <Component Name="Mot" UId="145">
        <Token Text="[" UId="146" />
        <Access Scope="LocalVariable" UId="147">
          <Symbol UId="148">
            <Component Name="m" UId="149" />
          </Symbol>
        </Access>
        <Token Text="]" UId="150" />
      </Component>
      <Token Text="." UId="151" />
      <Component Name="xEnable" UId="152" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="153" />
  <Token Text="THEN" UId="154" />
  <NewLine Num="1" UId="155" />
  <Blank Num="8" UId="156" />
  <Access Scope="GlobalVariable" UId="157">
    <Symbol UId="158">
      <Component Name="DB Gateway" UId="159" />
      <Token Text="." UId="160" />
      <Component Name="N" UId="161">
        <Token Text="[" UId="162" />
        <Access Scope="LocalVariable" UId="163">
          <Symbol UId="164">
            <Component Name="g" UId="165" />
          </Symbol>
        </Access>
        <Token Text="]" UId="166" />
      </Component>
      <Token Text="." UId="167" />
      <Component Name="write" UId="168" />
      <Token Text="." UId="169" />
      <Component Name="P" UId="170">
        <Token Text="[" UId="171" />
        <Access Scope="LocalVariable" UId="172">
          <Symbol UId="173">
            <Component Name="p" UId="174" />
          </Symbol>
        </Access>
        <Token Text="]" UId="175" />
      </Component>
      <Token Text="." UId="176" />
      <Component Name="MotorBoxCtrl" UId="177">
        <Token Text="[" UId="178" />
        <Access Scope="LocalVariable" UId="179">
          <Symbol UId="180">
            <Component Name="b" UId="181" />
          </Symbol>
        </Access>
        <Token Text="]" UId="182" />
      </Component>
      <Token Text="." UId="183" />
      <Component Name="Mot" UId="184">
        <Token Text="[" UId="185" />
        <Access Scope="LocalVariable" UId="186">
          <Symbol UId="187">
            <Component Name="m" UId="188" />
          </Symbol>
        </Access>
        <Token Text="]" UId="189" />
      </Component>
      <Token Text="." UId="190" />
      <Component Name="Sign" UId="191" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="192" />
  <Token Text=":=" UId="193" />
  <Blank Num="1" UId="194" />
  <Access Scope="LiteralConstant" UId="195">
    <Constant UId="196">
      <ConstantValue UId="198">TRUE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="199" />
  <NewLine Num="1" UId="200" />
  <Blank Num="8" UId="201" />
  <Access Scope="GlobalVariable" UId="202">
    <Symbol UId="203">
      <Component Name="DB Gateway" UId="204" />
      <Token Text="." UId="205" />
      <Component Name="N" UId="206">
        <Token Text="[" UId="207" />
        <Access Scope="LocalVariable" UId="208">
          <Symbol UId="209">
            <Component Name="g" UId="210" />
          </Symbol>
        </Access>
        <Token Text="]" UId="211" />
      </Component>
      <Token Text="." UId="212" />
      <Component Name="write" UId="213" />
      <Token Text="." UId="214" />
      <Component Name="P" UId="215">
        <Token Text="[" UId="216" />
        <Access Scope="LocalVariable" UId="217">
          <Symbol UId="218">
            <Component Name="p" UId="219" />
          </Symbol>
        </Access>
        <Token Text="]" UId="220" />
      </Component>
      <Token Text="." UId="221" />
      <Component Name="MotorBoxCtrl" UId="222">
        <Token Text="[" UId="223" />
        <Access Scope="LocalVariable" UId="224">
          <Symbol UId="225">
            <Component Name="b" UId="226" />
          </Symbol>
        </Access>
        <Token Text="]" UId="227" />
      </Component>
      <Token Text="." UId="228" />
      <Component Name="Mot" UId="229">
        <Token Text="[" UId="230" />
        <Access Scope="LocalVariable" UId="231">
          <Symbol UId="232">
            <Component Name="m" UId="233" />
          </Symbol>
        </Access>
        <Token Text="]" UId="234" />
      </Component>
      <Token Text="." UId="235" />
      <Component Name="PosType" UId="236" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="237" />
  <Token Text=":=" UId="238" />
  <Blank Num="1" UId="239" />
  <Access Scope="LiteralConstant" UId="240">
    <Constant UId="241">
      <ConstantValue UId="243">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="244" />
  <NewLine Num="1" UId="245" />
  <Blank Num="8" UId="246" />
  <Access Scope="GlobalVariable" UId="247">
    <Symbol UId="248">
      <Component Name="DB Gateway" UId="249" />
      <Token Text="." UId="250" />
      <Component Name="N" UId="251">
        <Token Text="[" UId="252" />
        <Access Scope="LocalVariable" UId="253">
          <Symbol UId="254">
            <Component Name="g" UId="255" />
          </Symbol>
        </Access>
        <Token Text="]" UId="256" />
      </Component>
      <Token Text="." UId="257" />
      <Component Name="write" UId="258" />
      <Token Text="." UId="259" />
      <Component Name="P" UId="260">
        <Token Text="[" UId="261" />
        <Access Scope="LocalVariable" UId="262">
          <Symbol UId="263">
            <Component Name="p" UId="264" />
          </Symbol>
        </Access>
        <Token Text="]" UId="265" />
      </Component>
      <Token Text="." UId="266" />
      <Component Name="MotorBoxCtrl" UId="267">
        <Token Text="[" UId="268" />
        <Access Scope="LocalVariable" UId="269">
          <Symbol UId="270">
            <Component Name="b" UId="271" />
          </Symbol>
        </Access>
        <Token Text="]" UId="272" />
      </Component>
      <Token Text="." UId="273" />
      <Component Name="Mot" UId="274">
        <Token Text="[" UId="275" />
        <Access Scope="LocalVariable" UId="276">
          <Symbol UId="277">
            <Component Name="m" UId="278" />
          </Symbol>
        </Access>
        <Token Text="]" UId="279" />
      </Component>
      <Token Text="." UId="280" />
      <Component Name="Position" UId="281" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="282" />
  <Token Text=":=" UId="283" />
  <Blank Num="1" UId="284" />
  <Access Scope="GlobalVariable" UId="285">
    <Symbol UId="286">
      <Component Name="DB HMI_1" UId="287" />
      <Token Text="." UId="288" />
      <Component Name="nPosition" UId="289" />
    </Symbol>
  </Access>
  <Token Text=";" UId="290" />
  <NewLine Num="1" UId="291" />
  <Blank Num="4" UId="292" />
  <Token Text="END_IF" UId="293" />
  <Token Text=";" UId="294" />
  <NewLine Num="1" UId="295" />
  <Blank Num="4" UId="296" />
  <NewLine Num="1" UId="297" />
  <Blank Num="4" UId="298" />
  <LineComment Inserted="false" NoClosingBracket="false" UId="299">
    <Text UId="300"> Run Backward</Text>
  </LineComment>
  <NewLine Num="1" UId="301" />
  <Blank Num="4" UId="302" />
  <Token Text="IF" UId="303" />
  <Blank Num="1" UId="304" />
  <Access Scope="GlobalVariable" UId="305">
    <Symbol UId="306">
      <Component Name="DB HMI_1" UId="307" />
      <Token Text="." UId="308" />
      <Component Name="xPBMotMoveBw" UId="309" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="310" />
  <Token Text="AND" UId="311" />
  <NewLine Num="1" UId="312" />
  <Blank Num="8" UId="313" />
  <Access Scope="GlobalVariable" UId="314">
    <Symbol UId="315">
      <Component Name="DB MotorPar" UId="316" />
      <Token Text="." UId="317" />
      <Component Name="GW" UId="318">
        <Token Text="[" UId="319" />
        <Access Scope="LocalVariable" UId="320">
          <Symbol UId="321">
            <Component Name="g" UId="322" />
          </Symbol>
        </Access>
        <Token Text="]" UId="323" />
      </Component>
      <Token Text="." UId="324" />
      <Component Name="P" UId="325">
        <Token Text="[" UId="326" />
        <Access Scope="LocalVariable" UId="327">
          <Symbol UId="328">
            <Component Name="p" UId="329" />
          </Symbol>
        </Access>
        <Token Text="]" UId="330" />
      </Component>
      <Token Text="." UId="331" />
      <Component Name="Box" UId="332">
        <Token Text="[" UId="333" />
        <Access Scope="LocalVariable" UId="334">
          <Symbol UId="335">
            <Component Name="b" UId="336" />
          </Symbol>
        </Access>
        <Token Text="]" UId="337" />
      </Component>
      <Token Text="." UId="338" />
      <Component Name="Mot" UId="339">
        <Token Text="[" UId="340" />
        <Access Scope="LocalVariable" UId="341">
          <Symbol UId="342">
            <Component Name="m" UId="343" />
          </Symbol>
        </Access>
        <Token Text="]" UId="344" />
      </Component>
      <Token Text="." UId="345" />
      <Component Name="xEnable" UId="346" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="347" />
  <Token Text="THEN" UId="348" />
  <NewLine Num="1" UId="349" />
  <Blank Num="8" UId="350" />
  <Access Scope="GlobalVariable" UId="351">
    <Symbol UId="352">
      <Component Name="DB Gateway" UId="353" />
      <Token Text="." UId="354" />
      <Component Name="N" UId="355">
        <Token Text="[" UId="356" />
        <Access Scope="LocalVariable" UId="357">
          <Symbol UId="358">
            <Component Name="g" UId="359" />
          </Symbol>
        </Access>
        <Token Text="]" UId="360" />
      </Component>
      <Token Text="." UId="361" />
      <Component Name="write" UId="362" />
      <Token Text="." UId="363" />
      <Component Name="P" UId="364">
        <Token Text="[" UId="365" />
        <Access Scope="LocalVariable" UId="366">
          <Symbol UId="367">
            <Component Name="p" UId="368" />
          </Symbol>
        </Access>
        <Token Text="]" UId="369" />
      </Component>
      <Token Text="." UId="370" />
      <Component Name="MotorBoxCtrl" UId="371">
        <Token Text="[" UId="372" />
        <Access Scope="LocalVariable" UId="373">
          <Symbol UId="374">
            <Component Name="b" UId="375" />
          </Symbol>
        </Access>
        <Token Text="]" UId="376" />
      </Component>
      <Token Text="." UId="377" />
      <Component Name="Mot" UId="378">
        <Token Text="[" UId="379" />
        <Access Scope="LocalVariable" UId="380">
          <Symbol UId="381">
            <Component Name="m" UId="382" />
          </Symbol>
        </Access>
        <Token Text="]" UId="383" />
      </Component>
      <Token Text="." UId="384" />
      <Component Name="Sign" UId="385" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="386" />
  <Token Text=":=" UId="387" />
  <Blank Num="1" UId="388" />
  <Access Scope="LiteralConstant" UId="389">
    <Constant UId="390">
      <ConstantValue UId="392">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="393" />
  <NewLine Num="1" UId="394" />
  <Blank Num="8" UId="395" />
  <Access Scope="GlobalVariable" UId="396">
    <Symbol UId="397">
      <Component Name="DB Gateway" UId="398" />
      <Token Text="." UId="399" />
      <Component Name="N" UId="400">
        <Token Text="[" UId="401" />
        <Access Scope="LocalVariable" UId="402">
          <Symbol UId="403">
            <Component Name="g" UId="404" />
          </Symbol>
        </Access>
        <Token Text="]" UId="405" />
      </Component>
      <Token Text="." UId="406" />
      <Component Name="write" UId="407" />
      <Token Text="." UId="408" />
      <Component Name="P" UId="409">
        <Token Text="[" UId="410" />
        <Access Scope="LocalVariable" UId="411">
          <Symbol UId="412">
            <Component Name="p" UId="413" />
          </Symbol>
        </Access>
        <Token Text="]" UId="414" />
      </Component>
      <Token Text="." UId="415" />
      <Component Name="MotorBoxCtrl" UId="416">
        <Token Text="[" UId="417" />
        <Access Scope="LocalVariable" UId="418">
          <Symbol UId="419">
            <Component Name="b" UId="420" />
          </Symbol>
        </Access>
        <Token Text="]" UId="421" />
      </Component>
      <Token Text="." UId="422" />
      <Component Name="Mot" UId="423">
        <Token Text="[" UId="424" />
        <Access Scope="LocalVariable" UId="425">
          <Symbol UId="426">
            <Component Name="m" UId="427" />
          </Symbol>
        </Access>
        <Token Text="]" UId="428" />
      </Component>
      <Token Text="." UId="429" />
      <Component Name="PosType" UId="430" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="431" />
  <Token Text=":=" UId="432" />
  <Blank Num="1" UId="433" />
  <Access Scope="LiteralConstant" UId="434">
    <Constant UId="435">
      <ConstantValue UId="437">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="438" />
  <NewLine Num="1" UId="439" />
  <Blank Num="8" UId="440" />
  <Access Scope="GlobalVariable" UId="441">
    <Symbol UId="442">
      <Component Name="DB Gateway" UId="443" />
      <Token Text="." UId="444" />
      <Component Name="N" UId="445">
        <Token Text="[" UId="446" />
        <Access Scope="LocalVariable" UId="447">
          <Symbol UId="448">
            <Component Name="g" UId="449" />
          </Symbol>
        </Access>
        <Token Text="]" UId="450" />
      </Component>
      <Token Text="." UId="451" />
      <Component Name="write" UId="452" />
      <Token Text="." UId="453" />
      <Component Name="P" UId="454">
        <Token Text="[" UId="455" />
        <Access Scope="LocalVariable" UId="456">
          <Symbol UId="457">
            <Component Name="p" UId="458" />
          </Symbol>
        </Access>
        <Token Text="]" UId="459" />
      </Component>
      <Token Text="." UId="460" />
      <Component Name="MotorBoxCtrl" UId="461">
        <Token Text="[" UId="462" />
        <Access Scope="LocalVariable" UId="463">
          <Symbol UId="464">
            <Component Name="b" UId="465" />
          </Symbol>
        </Access>
        <Token Text="]" UId="466" />
      </Component>
      <Token Text="." UId="467" />
      <Component Name="Mot" UId="468">
        <Token Text="[" UId="469" />
        <Access Scope="LocalVariable" UId="470">
          <Symbol UId="471">
            <Component Name="m" UId="472" />
          </Symbol>
        </Access>
        <Token Text="]" UId="473" />
      </Component>
      <Token Text="." UId="474" />
      <Component Name="Position" UId="475" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="476" />
  <Token Text=":=" UId="477" />
  <Blank Num="1" UId="478" />
  <Access Scope="GlobalVariable" UId="479">
    <Symbol UId="480">
      <Component Name="DB HMI_1" UId="481" />
      <Token Text="." UId="482" />
      <Component Name="nPosition" UId="483" />
    </Symbol>
  </Access>
  <Token Text=";" UId="484" />
  <NewLine Num="1" UId="485" />
  <Blank Num="4" UId="486" />
  <Token Text="END_IF" UId="487" />
  <Token Text=";" UId="488" />
  <NewLine Num="1" UId="489" />
  <Blank Num="4" UId="490" />
  <NewLine Num="1" UId="491" />
  <Blank Num="4" UId="492" />
  <LineComment Inserted="false" NoClosingBracket="false" UId="493">
    <Text UId="494"> Run Zero/Position</Text>
  </LineComment>
  <NewLine Num="1" UId="495" />
  <Blank Num="4" UId="496" />
  <Token Text="IF" UId="497" />
  <Blank Num="1" UId="498" />
  <Access Scope="GlobalVariable" UId="499">
    <Symbol UId="500">
      <Component Name="DB HMI_1" UId="501" />
      <Token Text="." UId="502" />
      <Component Name="xPBMotMoveZeroPos" UId="503" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="504" />
  <Token Text="AND" UId="505" />
  <NewLine Num="1" UId="506" />
  <Blank Num="8" UId="507" />
  <Access Scope="GlobalVariable" UId="508">
    <Symbol UId="509">
      <Component Name="DB MotorPar" UId="510" />
      <Token Text="." UId="511" />
      <Component Name="GW" UId="512">
        <Token Text="[" UId="513" />
        <Access Scope="LocalVariable" UId="514">
          <Symbol UId="515">
            <Component Name="g" UId="516" />
          </Symbol>
        </Access>
        <Token Text="]" UId="517" />
      </Component>
      <Token Text="." UId="518" />
      <Component Name="P" UId="519">
        <Token Text="[" UId="520" />
        <Access Scope="LocalVariable" UId="521">
          <Symbol UId="522">
            <Component Name="p" UId="523" />
          </Symbol>
        </Access>
        <Token Text="]" UId="524" />
      </Component>
      <Token Text="." UId="525" />
      <Component Name="Box" UId="526">
        <Token Text="[" UId="527" />
        <Access Scope="LocalVariable" UId="528">
          <Symbol UId="529">
            <Component Name="b" UId="530" />
          </Symbol>
        </Access>
        <Token Text="]" UId="531" />
      </Component>
      <Token Text="." UId="532" />
      <Component Name="Mot" UId="533">
        <Token Text="[" UId="534" />
        <Access Scope="LocalVariable" UId="535">
          <Symbol UId="536">
            <Component Name="m" UId="537" />
          </Symbol>
        </Access>
        <Token Text="]" UId="538" />
      </Component>
      <Token Text="." UId="539" />
      <Component Name="xEnable" UId="540" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="541" />
  <Token Text="THEN" UId="542" />
  <NewLine Num="1" UId="543" />
  <Blank Num="8" UId="544" />
  <Access Scope="GlobalVariable" UId="545">
    <Symbol UId="546">
      <Component Name="DB Gateway" UId="547" />
      <Token Text="." UId="548" />
      <Component Name="N" UId="549">
        <Token Text="[" UId="550" />
        <Access Scope="LocalVariable" UId="551">
          <Symbol UId="552">
            <Component Name="g" UId="553" />
          </Symbol>
        </Access>
        <Token Text="]" UId="554" />
      </Component>
      <Token Text="." UId="555" />
      <Component Name="write" UId="556" />
      <Token Text="." UId="557" />
      <Component Name="P" UId="558">
        <Token Text="[" UId="559" />
        <Access Scope="LocalVariable" UId="560">
          <Symbol UId="561">
            <Component Name="p" UId="562" />
          </Symbol>
        </Access>
        <Token Text="]" UId="563" />
      </Component>
      <Token Text="." UId="564" />
      <Component Name="MotorBoxCtrl" UId="565">
        <Token Text="[" UId="566" />
        <Access Scope="LocalVariable" UId="567">
          <Symbol UId="568">
            <Component Name="b" UId="569" />
          </Symbol>
        </Access>
        <Token Text="]" UId="570" />
      </Component>
      <Token Text="." UId="571" />
      <Component Name="Mot" UId="572">
        <Token Text="[" UId="573" />
        <Access Scope="LocalVariable" UId="574">
          <Symbol UId="575">
            <Component Name="m" UId="576" />
          </Symbol>
        </Access>
        <Token Text="]" UId="577" />
      </Component>
      <Token Text="." UId="578" />
      <Component Name="PosType" UId="579" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="580" />
  <Token Text=":=" UId="581" />
  <Blank Num="1" UId="582" />
  <Access Scope="LiteralConstant" UId="583">
    <Constant UId="584">
      <ConstantValue UId="586">TRUE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="587" />
  <NewLine Num="1" UId="588" />
  <Blank Num="8" UId="589" />
  <Access Scope="GlobalVariable" UId="590">
    <Symbol UId="591">
      <Component Name="DB Gateway" UId="592" />
      <Token Text="." UId="593" />
      <Component Name="N" UId="594">
        <Token Text="[" UId="595" />
        <Access Scope="LocalVariable" UId="596">
          <Symbol UId="597">
            <Component Name="g" UId="598" />
          </Symbol>
        </Access>
        <Token Text="]" UId="599" />
      </Component>
      <Token Text="." UId="600" />
      <Component Name="write" UId="601" />
      <Token Text="." UId="602" />
      <Component Name="P" UId="603">
        <Token Text="[" UId="604" />
        <Access Scope="LocalVariable" UId="605">
          <Symbol UId="606">
            <Component Name="p" UId="607" />
          </Symbol>
        </Access>
        <Token Text="]" UId="608" />
      </Component>
      <Token Text="." UId="609" />
      <Component Name="MotorBoxCtrl" UId="610">
        <Token Text="[" UId="611" />
        <Access Scope="LocalVariable" UId="612">
          <Symbol UId="613">
            <Component Name="b" UId="614" />
          </Symbol>
        </Access>
        <Token Text="]" UId="615" />
      </Component>
      <Token Text="." UId="616" />
      <Component Name="Mot" UId="617">
        <Token Text="[" UId="618" />
        <Access Scope="LocalVariable" UId="619">
          <Symbol UId="620">
            <Component Name="m" UId="621" />
          </Symbol>
        </Access>
        <Token Text="]" UId="622" />
      </Component>
      <Token Text="." UId="623" />
      <Component Name="Position" UId="624" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="625" />
  <Token Text=":=" UId="626" />
  <Blank Num="1" UId="627" />
  <Access Scope="GlobalVariable" UId="628">
    <Symbol UId="629">
      <Component Name="DB HMI_1" UId="630" />
      <Token Text="." UId="631" />
      <Component Name="nPosition" UId="632" />
    </Symbol>
  </Access>
  <Token Text=";" UId="633" />
  <NewLine Num="1" UId="634" />
  <Blank Num="4" UId="635" />
  <Token Text="END_IF" UId="636" />
  <Token Text=";" UId="637" />
  <NewLine Num="1" UId="638" />
  <Blank Num="4" UId="639" />
  <NewLine Num="1" UId="640" />
  <Blank Num="4" UId="641" />
  <LineComment Inserted="false" NoClosingBracket="false" UId="642">
    <Text UId="643"> Stop</Text>
  </LineComment>
  <NewLine Num="1" UId="644" />
  <Blank Num="4" UId="645" />
  <Token Text="IF" UId="646" />
  <Blank Num="1" UId="647" />
  <Token Text="NOT" UId="648" />
  <Blank Num="1" UId="649" />
  <Access Scope="GlobalVariable" UId="650">
    <Symbol UId="651">
      <Component Name="DB Cycle" UId="652" />
      <Token Text="." UId="653" />
      <Component Name="xZona_MoveManFw" UId="654" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="655" />
  <Token Text="AND" UId="656" />
  <Blank Num="1" UId="657" />
  <Token Text="NOT" UId="658" />
  <Blank Num="1" UId="659" />
  <Access Scope="GlobalVariable" UId="660">
    <Symbol UId="661">
      <Component Name="DB Cycle" UId="662" />
      <Token Text="." UId="663" />
      <Component Name="xZona_MoveManBw" UId="664" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="665" />
  <Token Text="THEN" UId="666" />
  <NewLine Num="1" UId="667" />
  <Blank Num="8" UId="668" />
  <Token Text="IF" UId="669" />
  <Blank Num="1" UId="670" />
  <Access Scope="GlobalVariable" UId="671">
    <Symbol UId="672">
      <Component Name="DB HMI_1" UId="673" />
      <Token Text="." UId="674" />
      <Component Name="xPBMotStop" UId="675" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="676" />
  <Token Text="OR" UId="677" />
  <Blank Num="1" UId="678" />
  <Access Scope="GlobalVariable" UId="679">
    <Symbol UId="680">
      <Component Name="rtMotInPos" UId="681">
        <BooleanAttribute Name="HasQuotes" UId="682">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="683" />
      <Component Name="Q" UId="684" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="685" />
  <Token Text="OR" UId="686" />
  <Blank Num="1" UId="687" />
  <Access Scope="GlobalVariable" UId="688">
    <Symbol UId="689">
      <Component Name="DB HMI_1" UId="690" />
      <Token Text="." UId="691" />
      <Component Name="xMotStatAlarm" UId="692" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="693" />
  <Token Text="THEN" UId="694" />
  <NewLine Num="1" UId="695" />
  <Blank Num="12" UId="696" />
  <Access Scope="GlobalVariable" UId="697">
    <Symbol UId="698">
      <Component Name="DB Gateway" UId="699" />
      <Token Text="." UId="700" />
      <Component Name="N" UId="701">
        <Token Text="[" UId="702" />
        <Access Scope="LocalVariable" UId="703">
          <Symbol UId="704">
            <Component Name="g" UId="705" />
          </Symbol>
        </Access>
        <Token Text="]" UId="706" />
      </Component>
      <Token Text="." UId="707" />
      <Component Name="write" UId="708" />
      <Token Text="." UId="709" />
      <Component Name="P" UId="710">
        <Token Text="[" UId="711" />
        <Access Scope="LocalVariable" UId="712">
          <Symbol UId="713">
            <Component Name="p" UId="714" />
          </Symbol>
        </Access>
        <Token Text="]" UId="715" />
      </Component>
      <Token Text="." UId="716" />
      <Component Name="MotorBoxCtrl" UId="717">
        <Token Text="[" UId="718" />
        <Access Scope="LocalVariable" UId="719">
          <Symbol UId="720">
            <Component Name="b" UId="721" />
          </Symbol>
        </Access>
        <Token Text="]" UId="722" />
      </Component>
      <Token Text="." UId="723" />
      <Component Name="Mot" UId="724">
        <Token Text="[" UId="725" />
        <Access Scope="LocalVariable" UId="726">
          <Symbol UId="727">
            <Component Name="m" UId="728" />
          </Symbol>
        </Access>
        <Token Text="]" UId="729" />
      </Component>
      <Token Text="." UId="730" />
      <Component Name="Position" UId="731" />
    </Symbol>
  </Access>
  <Blank Num="4" UId="732" />
  <Token Text=":=" UId="733" />
  <Blank Num="1" UId="734" />
  <Access Scope="LiteralConstant" UId="735">
    <Constant UId="736">
      <ConstantValue UId="738">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="739" />
  <NewLine Num="1" UId="740" />
  <Blank Num="12" UId="741" />
  <Access Scope="GlobalVariable" UId="742">
    <Symbol UId="743">
      <Component Name="DB Gateway" UId="744" />
      <Token Text="." UId="745" />
      <Component Name="N" UId="746">
        <Token Text="[" UId="747" />
        <Access Scope="LocalVariable" UId="748">
          <Symbol UId="749">
            <Component Name="g" UId="750" />
          </Symbol>
        </Access>
        <Token Text="]" UId="751" />
      </Component>
      <Token Text="." UId="752" />
      <Component Name="write" UId="753" />
      <Token Text="." UId="754" />
      <Component Name="P" UId="755">
        <Token Text="[" UId="756" />
        <Access Scope="LocalVariable" UId="757">
          <Symbol UId="758">
            <Component Name="p" UId="759" />
          </Symbol>
        </Access>
        <Token Text="]" UId="760" />
      </Component>
      <Token Text="." UId="761" />
      <Component Name="MotorBoxCtrl" UId="762">
        <Token Text="[" UId="763" />
        <Access Scope="LocalVariable" UId="764">
          <Symbol UId="765">
            <Component Name="b" UId="766" />
          </Symbol>
        </Access>
        <Token Text="]" UId="767" />
      </Component>
      <Token Text="." UId="768" />
      <Component Name="Mot" UId="769">
        <Token Text="[" UId="770" />
        <Access Scope="LocalVariable" UId="771">
          <Symbol UId="772">
            <Component Name="m" UId="773" />
          </Symbol>
        </Access>
        <Token Text="]" UId="774" />
      </Component>
      <Token Text="." UId="775" />
      <Component Name="PosType" UId="776" />
    </Symbol>
  </Access>
  <Blank Num="5" UId="777" />
  <Token Text=":=" UId="778" />
  <Blank Num="1" UId="779" />
  <Access Scope="LiteralConstant" UId="780">
    <Constant UId="781">
      <ConstantValue UId="783">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="784" />
  <NewLine Num="1" UId="785" />
  <Blank Num="12" UId="786" />
  <Access Scope="GlobalVariable" UId="787">
    <Symbol UId="788">
      <Component Name="DB Gateway" UId="789" />
      <Token Text="." UId="790" />
      <Component Name="N" UId="791">
        <Token Text="[" UId="792" />
        <Access Scope="LocalVariable" UId="793">
          <Symbol UId="794">
            <Component Name="g" UId="795" />
          </Symbol>
        </Access>
        <Token Text="]" UId="796" />
      </Component>
      <Token Text="." UId="797" />
      <Component Name="write" UId="798" />
      <Token Text="." UId="799" />
      <Component Name="P" UId="800">
        <Token Text="[" UId="801" />
        <Access Scope="LocalVariable" UId="802">
          <Symbol UId="803">
            <Component Name="p" UId="804" />
          </Symbol>
        </Access>
        <Token Text="]" UId="805" />
      </Component>
      <Token Text="." UId="806" />
      <Component Name="MotorBoxCtrl" UId="807">
        <Token Text="[" UId="808" />
        <Access Scope="LocalVariable" UId="809">
          <Symbol UId="810">
            <Component Name="b" UId="811" />
          </Symbol>
        </Access>
        <Token Text="]" UId="812" />
      </Component>
      <Token Text="." UId="813" />
      <Component Name="Mot" UId="814">
        <Token Text="[" UId="815" />
        <Access Scope="LocalVariable" UId="816">
          <Symbol UId="817">
            <Component Name="m" UId="818" />
          </Symbol>
        </Access>
        <Token Text="]" UId="819" />
      </Component>
      <Token Text="." UId="820" />
      <Component Name="Reset" UId="821" />
    </Symbol>
  </Access>
  <Blank Num="7" UId="822" />
  <Token Text=":=" UId="823" />
  <Blank Num="1" UId="824" />
  <Access Scope="LiteralConstant" UId="825">
    <Constant UId="826">
      <ConstantValue UId="828">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="829" />
  <NewLine Num="1" UId="830" />
  <Blank Num="12" UId="831" />
  <Access Scope="GlobalVariable" UId="832">
    <Symbol UId="833">
      <Component Name="DB Gateway" UId="834" />
      <Token Text="." UId="835" />
      <Component Name="N" UId="836">
        <Token Text="[" UId="837" />
        <Access Scope="LocalVariable" UId="838">
          <Symbol UId="839">
            <Component Name="g" UId="840" />
          </Symbol>
        </Access>
        <Token Text="]" UId="841" />
      </Component>
      <Token Text="." UId="842" />
      <Component Name="write" UId="843" />
      <Token Text="." UId="844" />
      <Component Name="P" UId="845">
        <Token Text="[" UId="846" />
        <Access Scope="LocalVariable" UId="847">
          <Symbol UId="848">
            <Component Name="p" UId="849" />
          </Symbol>
        </Access>
        <Token Text="]" UId="850" />
      </Component>
      <Token Text="." UId="851" />
      <Component Name="MotorBoxCtrl" UId="852">
        <Token Text="[" UId="853" />
        <Access Scope="LocalVariable" UId="854">
          <Symbol UId="855">
            <Component Name="b" UId="856" />
          </Symbol>
        </Access>
        <Token Text="]" UId="857" />
      </Component>
      <Token Text="." UId="858" />
      <Component Name="Mot" UId="859">
        <Token Text="[" UId="860" />
        <Access Scope="LocalVariable" UId="861">
          <Symbol UId="862">
            <Component Name="m" UId="863" />
          </Symbol>
        </Access>
        <Token Text="]" UId="864" />
      </Component>
      <Token Text="." UId="865" />
      <Component Name="Sign" UId="866" />
    </Symbol>
  </Access>
  <Blank Num="8" UId="867" />
  <Token Text=":=" UId="868" />
  <Blank Num="1" UId="869" />
  <Access Scope="LiteralConstant" UId="870">
    <Constant UId="871">
      <ConstantValue UId="873">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="874" />
  <NewLine Num="1" UId="875" />
  <Blank Num="12" UId="876" />
  <Access Scope="GlobalVariable" UId="877">
    <Symbol UId="878">
      <Component Name="DB Gateway" UId="879" />
      <Token Text="." UId="880" />
      <Component Name="N" UId="881">
        <Token Text="[" UId="882" />
        <Access Scope="LocalVariable" UId="883">
          <Symbol UId="884">
            <Component Name="g" UId="885" />
          </Symbol>
        </Access>
        <Token Text="]" UId="886" />
      </Component>
      <Token Text="." UId="887" />
      <Component Name="write" UId="888" />
      <Token Text="." UId="889" />
      <Component Name="P" UId="890">
        <Token Text="[" UId="891" />
        <Access Scope="LocalVariable" UId="892">
          <Symbol UId="893">
            <Component Name="p" UId="894" />
          </Symbol>
        </Access>
        <Token Text="]" UId="895" />
      </Component>
      <Token Text="." UId="896" />
      <Component Name="MotorBoxCtrl" UId="897">
        <Token Text="[" UId="898" />
        <Access Scope="LocalVariable" UId="899">
          <Symbol UId="900">
            <Component Name="b" UId="901" />
          </Symbol>
        </Access>
        <Token Text="]" UId="902" />
      </Component>
      <Token Text="." UId="903" />
      <Component Name="Mot" UId="904">
        <Token Text="[" UId="905" />
        <Access Scope="LocalVariable" UId="906">
          <Symbol UId="907">
            <Component Name="m" UId="908" />
          </Symbol>
        </Access>
        <Token Text="]" UId="909" />
      </Component>
      <Token Text="." UId="910" />
      <Component Name="Stop" UId="911" />
    </Symbol>
  </Access>
  <Blank Num="8" UId="912" />
  <Token Text=":=" UId="913" />
  <Blank Num="1" UId="914" />
  <Access Scope="LiteralConstant" UId="915">
    <Constant UId="916">
      <ConstantValue UId="918">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="919" />
  <NewLine Num="1" UId="920" />
  <Blank Num="8" UId="921" />
  <Token Text="END_IF" UId="922" />
  <Token Text=";" UId="923" />
  <NewLine Num="1" UId="924" />
  <Blank Num="8" UId="925" />
  <Token Text="IF" UId="926" />
  <Blank Num="1" UId="927" />
  <Token Text="(" UId="928" />
  <Access Scope="GlobalVariable" UId="929">
    <Symbol UId="930">
      <Component Name="DB HMI_1" UId="931" />
      <Token Text="." UId="932" />
      <Component Name="xPBMotMoveFw" UId="933" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="934" />
  <Token Text="OR" UId="935" />
  <Blank Num="1" UId="936" />
  <Access Scope="GlobalVariable" UId="937">
    <Symbol UId="938">
      <Component Name="DB HMI_1" UId="939" />
      <Token Text="." UId="940" />
      <Component Name="xPBMotMoveBw" UId="941" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="942" />
  <Token Text="OR" UId="943" />
  <Blank Num="1" UId="944" />
  <Access Scope="GlobalVariable" UId="945">
    <Symbol UId="946">
      <Component Name="DB HMI_1" UId="947" />
      <Token Text="." UId="948" />
      <Component Name="xPBMotMoveZeroPos" UId="949" />
    </Symbol>
  </Access>
  <Token Text=")" UId="950" />
  <Blank Num="1" UId="951" />
  <Token Text="AND" UId="952" />
  <NewLine Num="1" UId="953" />
  <Blank Num="12" UId="954" />
  <Access Scope="GlobalVariable" UId="955">
    <Symbol UId="956">
      <Component Name="DB MotorPar" UId="957" />
      <Token Text="." UId="958" />
      <Component Name="GW" UId="959">
        <Token Text="[" UId="960" />
        <Access Scope="LocalVariable" UId="961">
          <Symbol UId="962">
            <Component Name="g" UId="963" />
          </Symbol>
        </Access>
        <Token Text="]" UId="964" />
      </Component>
      <Token Text="." UId="965" />
      <Component Name="P" UId="966">
        <Token Text="[" UId="967" />
        <Access Scope="LocalVariable" UId="968">
          <Symbol UId="969">
            <Component Name="p" UId="970" />
          </Symbol>
        </Access>
        <Token Text="]" UId="971" />
      </Component>
      <Token Text="." UId="972" />
      <Component Name="Box" UId="973">
        <Token Text="[" UId="974" />
        <Access Scope="LocalVariable" UId="975">
          <Symbol UId="976">
            <Component Name="b" UId="977" />
          </Symbol>
        </Access>
        <Token Text="]" UId="978" />
      </Component>
      <Token Text="." UId="979" />
      <Component Name="Mot" UId="980">
        <Token Text="[" UId="981" />
        <Access Scope="LocalVariable" UId="982">
          <Symbol UId="983">
            <Component Name="m" UId="984" />
          </Symbol>
        </Access>
        <Token Text="]" UId="985" />
      </Component>
      <Token Text="." UId="986" />
      <Component Name="xEnable" UId="987" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="988" />
  <Token Text="THEN" UId="989" />
  <NewLine Num="1" UId="990" />
  <Blank Num="12" UId="991" />
  <Access Scope="GlobalVariable" UId="992">
    <Symbol UId="993">
      <Component Name="DB Gateway" UId="994" />
      <Token Text="." UId="995" />
      <Component Name="N" UId="996">
        <Token Text="[" UId="997" />
        <Access Scope="LocalVariable" UId="998">
          <Symbol UId="999">
            <Component Name="g" UId="1000" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1001" />
      </Component>
      <Token Text="." UId="1002" />
      <Component Name="write" UId="1003" />
      <Token Text="." UId="1004" />
      <Component Name="P" UId="1005">
        <Token Text="[" UId="1006" />
        <Access Scope="LocalVariable" UId="1007">
          <Symbol UId="1008">
            <Component Name="p" UId="1009" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1010" />
      </Component>
      <Token Text="." UId="1011" />
      <Component Name="MotorBoxCtrl" UId="1012">
        <Token Text="[" UId="1013" />
        <Access Scope="LocalVariable" UId="1014">
          <Symbol UId="1015">
            <Component Name="b" UId="1016" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1017" />
      </Component>
      <Token Text="." UId="1018" />
      <Component Name="Mot" UId="1019">
        <Token Text="[" UId="1020" />
        <Access Scope="LocalVariable" UId="1021">
          <Symbol UId="1022">
            <Component Name="m" UId="1023" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1024" />
      </Component>
      <Token Text="." UId="1025" />
      <Component Name="Stop" UId="1026" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1027" />
  <Token Text=":=" UId="1028" />
  <Blank Num="1" UId="1029" />
  <Access Scope="LiteralConstant" UId="1030">
    <Constant UId="1031">
      <ConstantValue UId="1033">TRUE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="1034" />
  <NewLine Num="1" UId="1035" />
  <Blank Num="8" UId="1036" />
  <Token Text="END_IF" UId="1037" />
  <Token Text=";" UId="1038" />
  <NewLine Num="1" UId="1039" />
  <Blank Num="4" UId="1040" />
  <Token Text="END_IF" UId="1041" />
  <Token Text=";" UId="1042" />
  <NewLine Num="1" UId="1043" />
  <Blank Num="4" UId="1044" />
  <NewLine Num="1" UId="1045" />
  <Token Text="END_IF" UId="1046" />
  <Token Text=";" UId="1047" />
  <NewLine Num="1" UId="1048" />
  <Blank Num="4" UId="1049" />
  <NewLine Num="1" UId="1050" />
  <Blank Num="4" UId="1051" />
  <LineComment Inserted="false" NoClosingBracket="false" UId="1052">
    <Text UId="1053"> Alarm Reset</Text>
  </LineComment>
  <NewLine Num="1" UId="1054" />
  <Token Text="IF" UId="1055" />
  <Blank Num="1" UId="1056" />
  <Access Scope="GlobalVariable" UId="1057">
    <Symbol UId="1058">
      <Component Name="DB HMI_1" UId="1059" />
      <Token Text="." UId="1060" />
      <Component Name="xPBMotAlarmReset" UId="1061" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1062" />
  <Token Text="AND" UId="1063" />
  <Blank Num="1" UId="1064" />
  <Access Scope="GlobalVariable" UId="1065">
    <Symbol UId="1066">
      <Component Name="DB Gateway" UId="1067" />
      <Token Text="." UId="1068" />
      <Component Name="N" UId="1069">
        <Token Text="[" UId="1070" />
        <Access Scope="LocalVariable" UId="1071">
          <Symbol UId="1072">
            <Component Name="g" UId="1073" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1074" />
      </Component>
      <Token Text="." UId="1075" />
      <Component Name="read" UId="1076" />
      <Token Text="." UId="1077" />
      <Component Name="P" UId="1078">
        <Token Text="[" UId="1079" />
        <Access Scope="LocalVariable" UId="1080">
          <Symbol UId="1081">
            <Component Name="p" UId="1082" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1083" />
      </Component>
      <Token Text="." UId="1084" />
      <Component Name="MotorsBoxStatus" UId="1085">
        <Token Text="[" UId="1086" />
        <Access Scope="LocalVariable" UId="1087">
          <Symbol UId="1088">
            <Component Name="b" UId="1089" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1090" />
      </Component>
      <Token Text="." UId="1091" />
      <Component Name="MotorStatus" UId="1092">
        <Token Text="[" UId="1093" />
        <Access Scope="LocalVariable" UId="1094">
          <Symbol UId="1095">
            <Component Name="m" UId="1096" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1097" />
      </Component>
      <Token Text="." UId="1098" />
      <Component Name="Alarm" UId="1099" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1100" />
  <Token Text="THEN" UId="1101" />
  <NewLine Num="1" UId="1102" />
  <Blank Num="4" UId="1103" />
  <Access Scope="GlobalVariable" UId="1104">
    <Symbol UId="1105">
      <Component Name="DB Gateway" UId="1106" />
      <Token Text="." UId="1107" />
      <Component Name="N" UId="1108">
        <Token Text="[" UId="1109" />
        <Access Scope="LocalVariable" UId="1110">
          <Symbol UId="1111">
            <Component Name="g" UId="1112" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1113" />
      </Component>
      <Token Text="." UId="1114" />
      <Component Name="write" UId="1115" />
      <Token Text="." UId="1116" />
      <Component Name="P" UId="1117">
        <Token Text="[" UId="1118" />
        <Access Scope="LocalVariable" UId="1119">
          <Symbol UId="1120">
            <Component Name="p" UId="1121" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1122" />
      </Component>
      <Token Text="." UId="1123" />
      <Component Name="MotorBoxCtrl" UId="1124">
        <Token Text="[" UId="1125" />
        <Access Scope="LocalVariable" UId="1126">
          <Symbol UId="1127">
            <Component Name="b" UId="1128" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1129" />
      </Component>
      <Token Text="." UId="1130" />
      <Component Name="Mot" UId="1131">
        <Token Text="[" UId="1132" />
        <Access Scope="LocalVariable" UId="1133">
          <Symbol UId="1134">
            <Component Name="m" UId="1135" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1136" />
      </Component>
      <Token Text="." UId="1137" />
      <Component Name="Reset" UId="1138" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1139" />
  <Token Text=":=" UId="1140" />
  <Blank Num="1" UId="1141" />
  <Access Scope="LiteralConstant" UId="1142">
    <Constant UId="1143">
      <ConstantValue UId="1145">TRUE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="1146" />
  <NewLine Num="1" UId="1147" />
  <Blank Num="4" UId="1148" />
  <Access Scope="GlobalVariable" UId="1149">
    <Symbol UId="1150">
      <Component Name="DB Gateway" UId="1151" />
      <Token Text="." UId="1152" />
      <Component Name="N" UId="1153">
        <Token Text="[" UId="1154" />
        <Access Scope="LocalVariable" UId="1155">
          <Symbol UId="1156">
            <Component Name="g" UId="1157" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1158" />
      </Component>
      <Token Text="." UId="1159" />
      <Component Name="write" UId="1160" />
      <Token Text="." UId="1161" />
      <Component Name="P" UId="1162">
        <Token Text="[" UId="1163" />
        <Access Scope="LocalVariable" UId="1164">
          <Symbol UId="1165">
            <Component Name="p" UId="1166" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1167" />
      </Component>
      <Token Text="." UId="1168" />
      <Component Name="MotorBoxCtrl" UId="1169">
        <Token Text="[" UId="1170" />
        <Access Scope="LocalVariable" UId="1171">
          <Symbol UId="1172">
            <Component Name="b" UId="1173" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1174" />
      </Component>
      <Token Text="." UId="1175" />
      <Component Name="Mot" UId="1176">
        <Token Text="[" UId="1177" />
        <Access Scope="LocalVariable" UId="1178">
          <Symbol UId="1179">
            <Component Name="m" UId="1180" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1181" />
      </Component>
      <Token Text="." UId="1182" />
      <Component Name="Stop" UId="1183" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1184" />
  <Token Text=":=" UId="1185" />
  <Blank Num="1" UId="1186" />
  <Access Scope="LiteralConstant" UId="1187">
    <Constant UId="1188">
      <ConstantValue UId="1190">TRUE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="1191" />
  <NewLine Num="1" UId="1192" />
  <Blank Num="4" UId="1193" />
  <Access Scope="GlobalVariable" UId="1194">
    <Symbol UId="1195">
      <Component Name="DB Gateway" UId="1196" />
      <Token Text="." UId="1197" />
      <Component Name="N" UId="1198">
        <Token Text="[" UId="1199" />
        <Access Scope="LocalVariable" UId="1200">
          <Symbol UId="1201">
            <Component Name="g" UId="1202" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1203" />
      </Component>
      <Token Text="." UId="1204" />
      <Component Name="write" UId="1205" />
      <Token Text="." UId="1206" />
      <Component Name="P" UId="1207">
        <Token Text="[" UId="1208" />
        <Access Scope="LocalVariable" UId="1209">
          <Symbol UId="1210">
            <Component Name="p" UId="1211" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1212" />
      </Component>
      <Token Text="." UId="1213" />
      <Component Name="MotorBoxCtrl" UId="1214">
        <Token Text="[" UId="1215" />
        <Access Scope="LocalVariable" UId="1216">
          <Symbol UId="1217">
            <Component Name="b" UId="1218" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1219" />
      </Component>
      <Token Text="." UId="1220" />
      <Component Name="Mot" UId="1221">
        <Token Text="[" UId="1222" />
        <Access Scope="LocalVariable" UId="1223">
          <Symbol UId="1224">
            <Component Name="m" UId="1225" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1226" />
      </Component>
      <Token Text="." UId="1227" />
      <Component Name="Sign" UId="1228" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1229" />
  <Token Text=":=" UId="1230" />
  <Blank Num="1" UId="1231" />
  <Access Scope="LiteralConstant" UId="1232">
    <Constant UId="1233">
      <ConstantValue UId="1235">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="1236" />
  <NewLine Num="1" UId="1237" />
  <Blank Num="4" UId="1238" />
  <Access Scope="GlobalVariable" UId="1239">
    <Symbol UId="1240">
      <Component Name="DB Gateway" UId="1241" />
      <Token Text="." UId="1242" />
      <Component Name="N" UId="1243">
        <Token Text="[" UId="1244" />
        <Access Scope="LocalVariable" UId="1245">
          <Symbol UId="1246">
            <Component Name="g" UId="1247" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1248" />
      </Component>
      <Token Text="." UId="1249" />
      <Component Name="write" UId="1250" />
      <Token Text="." UId="1251" />
      <Component Name="P" UId="1252">
        <Token Text="[" UId="1253" />
        <Access Scope="LocalVariable" UId="1254">
          <Symbol UId="1255">
            <Component Name="p" UId="1256" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1257" />
      </Component>
      <Token Text="." UId="1258" />
      <Component Name="MotorBoxCtrl" UId="1259">
        <Token Text="[" UId="1260" />
        <Access Scope="LocalVariable" UId="1261">
          <Symbol UId="1262">
            <Component Name="b" UId="1263" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1264" />
      </Component>
      <Token Text="." UId="1265" />
      <Component Name="Mot" UId="1266">
        <Token Text="[" UId="1267" />
        <Access Scope="LocalVariable" UId="1268">
          <Symbol UId="1269">
            <Component Name="m" UId="1270" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1271" />
      </Component>
      <Token Text="." UId="1272" />
      <Component Name="PosType" UId="1273" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1274" />
  <Token Text=":=" UId="1275" />
  <Blank Num="1" UId="1276" />
  <Access Scope="LiteralConstant" UId="1277">
    <Constant UId="1278">
      <ConstantValue UId="1280">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="1281" />
  <NewLine Num="1" UId="1282" />
  <Token Text="END_IF" UId="1283" />
  <Token Text=";" UId="1284" />
  <NewLine Num="2" UId="1285" />
  <Access Scope="GlobalVariable" UId="1286">
    <Symbol UId="1287">
      <Component Name="rtPB_MotAlmReset" UId="1288">
        <BooleanAttribute Name="HasQuotes" UId="1289">true</BooleanAttribute>
      </Component>
    </Symbol>
  </Access>
  <Access Scope="Call" UId="1290">
    <Instruction UId="1291">
      <Token Text="(" UId="1292" />
      <Parameter Name="CLK" UId="1293">
        <Token Text=":=" UId="1294" />
        <Blank Num="1" UId="1295" />
        <Token Text="NOT" UId="1296" />
        <Blank Num="1" UId="1297" />
        <Access Scope="GlobalVariable" UId="1298">
          <Symbol UId="1299">
            <Component Name="DB HMI_1" UId="1300" />
            <Token Text="." UId="1301" />
            <Component Name="xPBMotAlarmReset" UId="1302" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text=")" UId="1303" />
    </Instruction>
  </Access>
  <Token Text=";" UId="1304" />
  <NewLine Num="2" UId="1305" />
  <Token Text="IF" UId="1306" />
  <Blank Num="1" UId="1307" />
  <Access Scope="GlobalVariable" UId="1308">
    <Symbol UId="1309">
      <Component Name="rtPB_MotAlmReset" UId="1310">
        <BooleanAttribute Name="HasQuotes" UId="1311">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="1312" />
      <Component Name="Q" UId="1313" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1314" />
  <Token Text="THEN" UId="1315" />
  <NewLine Num="1" UId="1316" />
  <Blank Num="8" UId="1317" />
  <Access Scope="GlobalVariable" UId="1318">
    <Symbol UId="1319">
      <Component Name="DB Gateway" UId="1320" />
      <Token Text="." UId="1321" />
      <Component Name="N" UId="1322">
        <Token Text="[" UId="1323" />
        <Access Scope="LocalVariable" UId="1324">
          <Symbol UId="1325">
            <Component Name="g" UId="1326" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1327" />
      </Component>
      <Token Text="." UId="1328" />
      <Component Name="write" UId="1329" />
      <Token Text="." UId="1330" />
      <Component Name="P" UId="1331">
        <Token Text="[" UId="1332" />
        <Access Scope="LocalVariable" UId="1333">
          <Symbol UId="1334">
            <Component Name="p" UId="1335" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1336" />
      </Component>
      <Token Text="." UId="1337" />
      <Component Name="MotorBoxCtrl" UId="1338">
        <Token Text="[" UId="1339" />
        <Access Scope="LocalVariable" UId="1340">
          <Symbol UId="1341">
            <Component Name="b" UId="1342" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1343" />
      </Component>
      <Token Text="." UId="1344" />
      <Component Name="Mot" UId="1345">
        <Token Text="[" UId="1346" />
        <Access Scope="LocalVariable" UId="1347">
          <Symbol UId="1348">
            <Component Name="m" UId="1349" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1350" />
      </Component>
      <Token Text="." UId="1351" />
      <Component Name="Reset" UId="1352" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1353" />
  <Token Text=":=" UId="1354" />
  <Blank Num="1" UId="1355" />
  <Access Scope="LiteralConstant" UId="1356">
    <Constant UId="1357">
      <ConstantValue UId="1359">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="1360" />
  <NewLine Num="1" UId="1361" />
  <Blank Num="8" UId="1362" />
  <Access Scope="GlobalVariable" UId="1363">
    <Symbol UId="1364">
      <Component Name="DB Gateway" UId="1365" />
      <Token Text="." UId="1366" />
      <Component Name="N" UId="1367">
        <Token Text="[" UId="1368" />
        <Access Scope="LocalVariable" UId="1369">
          <Symbol UId="1370">
            <Component Name="g" UId="1371" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1372" />
      </Component>
      <Token Text="." UId="1373" />
      <Component Name="write" UId="1374" />
      <Token Text="." UId="1375" />
      <Component Name="P" UId="1376">
        <Token Text="[" UId="1377" />
        <Access Scope="LocalVariable" UId="1378">
          <Symbol UId="1379">
            <Component Name="p" UId="1380" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1381" />
      </Component>
      <Token Text="." UId="1382" />
      <Component Name="MotorBoxCtrl" UId="1383">
        <Token Text="[" UId="1384" />
        <Access Scope="LocalVariable" UId="1385">
          <Symbol UId="1386">
            <Component Name="b" UId="1387" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1388" />
      </Component>
      <Token Text="." UId="1389" />
      <Component Name="Mot" UId="1390">
        <Token Text="[" UId="1391" />
        <Access Scope="LocalVariable" UId="1392">
          <Symbol UId="1393">
            <Component Name="m" UId="1394" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1395" />
      </Component>
      <Token Text="." UId="1396" />
      <Component Name="Stop" UId="1397" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1398" />
  <Token Text=":=" UId="1399" />
  <Blank Num="1" UId="1400" />
  <Access Scope="LiteralConstant" UId="1401">
    <Constant UId="1402">
      <ConstantValue UId="1404">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="1405" />
  <NewLine Num="1" UId="1406" />
  <Token Text="END_IF" UId="1407" />
  <Token Text=";" UId="1408" />
  <NewLine Num="1" UId="1409" />
  <Blank Num="4" UId="1410" />
  <NewLine Num="1" UId="1411" />
  <Blank Num="4" UId="1412" />
  <NewLine Num="1" UId="1413" />
  <Blank Num="4" UId="1414" />
  <LineComment Inserted="false" NoClosingBracket="false" UId="1415">
    <Text UId="1416"> Motor Current limitation</Text>
  </LineComment>
  <NewLine Num="1" UId="1417" />
  <Access Scope="GlobalVariable" UId="1418">
    <Symbol UId="1419">
      <Component Name="rtPB_CurrentLimit" UId="1420">
        <BooleanAttribute Name="HasQuotes" UId="1421">true</BooleanAttribute>
      </Component>
    </Symbol>
  </Access>
  <Access Scope="Call" UId="1422">
    <Instruction UId="1423">
      <Token Text="(" UId="1424" />
      <Parameter Name="CLK" UId="1425">
        <Token Text=":=" UId="1426" />
        <Access Scope="GlobalVariable" UId="1427">
          <Symbol UId="1428">
            <Component Name="DB HMI_1" UId="1429" />
            <Token Text="." UId="1430" />
            <Component Name="xPopUpCurrentLim" UId="1431" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="1432" />
      <NewLine Num="1" UId="1433" />
      <Blank Num="24" UId="1434" />
      <Parameter Name="Q" UId="1435">
        <Token Text="=&gt;" UId="1436" />
        <Access Scope="LocalVariable" UId="1437">
          <Symbol UId="1438">
            <Component Name="xrtCurrentLimit" UId="1439" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text=")" UId="1440" />
    </Instruction>
  </Access>
  <Token Text=";" UId="1441" />
  <NewLine Num="1" UId="1442" />
  <Blank Num="4" UId="1443" />
  <Token Text="IF" UId="1444" />
  <Blank Num="1" UId="1445" />
  <Access Scope="GlobalVariable" UId="1446">
    <Symbol UId="1447">
      <Component Name="rtPB_CurrentLimit" UId="1448">
        <BooleanAttribute Name="HasQuotes" UId="1449">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="1450" />
      <Component Name="Q" UId="1451" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1452" />
  <Token Text="THEN" UId="1453" />
  <NewLine Num="1" UId="1454" />
  <Blank Num="8" UId="1455" />
  <Access Scope="GlobalVariable" UId="1456">
    <Symbol UId="1457">
      <Component Name="DB HMI_1" UId="1458" />
      <Token Text="." UId="1459" />
      <Component Name="snCurrentLimFW" UId="1460" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1461" />
  <Token Text=":=" UId="1462" />
  <Blank Num="1" UId="1463" />
  <Access Scope="GlobalVariable" UId="1464">
    <Symbol UId="1465">
      <Component Name="DB MotorPar" UId="1466" />
      <Token Text="." UId="1467" />
      <Component Name="GW" UId="1468">
        <Token Text="[" UId="1469" />
        <Access Scope="LocalVariable" UId="1470">
          <Symbol UId="1471">
            <Component Name="g" UId="1472" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1473" />
      </Component>
      <Token Text="." UId="1474" />
      <Component Name="P" UId="1475">
        <Token Text="[" UId="1476" />
        <Access Scope="LocalVariable" UId="1477">
          <Symbol UId="1478">
            <Component Name="p" UId="1479" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1480" />
      </Component>
      <Token Text="." UId="1481" />
      <Component Name="Box" UId="1482">
        <Token Text="[" UId="1483" />
        <Access Scope="LocalVariable" UId="1484">
          <Symbol UId="1485">
            <Component Name="b" UId="1486" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1487" />
      </Component>
      <Token Text="." UId="1488" />
      <Component Name="Mot" UId="1489">
        <Token Text="[" UId="1490" />
        <Access Scope="LocalVariable" UId="1491">
          <Symbol UId="1492">
            <Component Name="m" UId="1493" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1494" />
      </Component>
      <Token Text="." UId="1495" />
      <Component Name="CurrentLimFW" UId="1496" />
    </Symbol>
  </Access>
  <Token Text=";" UId="1497" />
  <NewLine Num="1" UId="1498" />
  <Blank Num="8" UId="1499" />
  <Access Scope="GlobalVariable" UId="1500">
    <Symbol UId="1501">
      <Component Name="DB HMI_1" UId="1502" />
      <Token Text="." UId="1503" />
      <Component Name="snCurrentLimBW" UId="1504" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1505" />
  <Token Text=":=" UId="1506" />
  <Blank Num="1" UId="1507" />
  <Access Scope="GlobalVariable" UId="1508">
    <Symbol UId="1509">
      <Component Name="DB MotorPar" UId="1510" />
      <Token Text="." UId="1511" />
      <Component Name="GW" UId="1512">
        <Token Text="[" UId="1513" />
        <Access Scope="LocalVariable" UId="1514">
          <Symbol UId="1515">
            <Component Name="g" UId="1516" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1517" />
      </Component>
      <Token Text="." UId="1518" />
      <Component Name="P" UId="1519">
        <Token Text="[" UId="1520" />
        <Access Scope="LocalVariable" UId="1521">
          <Symbol UId="1522">
            <Component Name="p" UId="1523" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1524" />
      </Component>
      <Token Text="." UId="1525" />
      <Component Name="Box" UId="1526">
        <Token Text="[" UId="1527" />
        <Access Scope="LocalVariable" UId="1528">
          <Symbol UId="1529">
            <Component Name="b" UId="1530" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1531" />
      </Component>
      <Token Text="." UId="1532" />
      <Component Name="Mot" UId="1533">
        <Token Text="[" UId="1534" />
        <Access Scope="LocalVariable" UId="1535">
          <Symbol UId="1536">
            <Component Name="m" UId="1537" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1538" />
      </Component>
      <Token Text="." UId="1539" />
      <Component Name="CurrentLimBW" UId="1540" />
    </Symbol>
  </Access>
  <Token Text=";" UId="1541" />
  <NewLine Num="1" UId="1542" />
  <Blank Num="4" UId="1543" />
  <Token Text="END_IF" UId="1544" />
  <Token Text=";" UId="1545" />
  <NewLine Num="1" UId="1546" />
  <Blank Num="4" UId="1547" />
  <Token Text="IF" UId="1548" />
  <Blank Num="1" UId="1549" />
  <Access Scope="GlobalVariable" UId="1550">
    <Symbol UId="1551">
      <Component Name="DB HMI_1" UId="1552" />
      <Token Text="." UId="1553" />
      <Component Name="xPopUpCurrentLim" UId="1554" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1555" />
  <Token Text="AND" UId="1556" />
  <Blank Num="1" UId="1557" />
  <Token Text="NOT" UId="1558" />
  <Blank Num="1" UId="1559" />
  <Access Scope="GlobalVariable" UId="1560">
    <Symbol UId="1561">
      <Component Name="rtPB_CurrentLimit" UId="1562">
        <BooleanAttribute Name="HasQuotes" UId="1563">true</BooleanAttribute>
      </Component>
      <Token Text="." UId="1564" />
      <Component Name="Q" UId="1565" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1566" />
  <Token Text="THEN" UId="1567" />
  <NewLine Num="1" UId="1568" />
  <Blank Num="8" UId="1569" />
  <Access Scope="GlobalVariable" UId="1570">
    <Symbol UId="1571">
      <Component Name="DB MotorPar" UId="1572" />
      <Token Text="." UId="1573" />
      <Component Name="GW" UId="1574">
        <Token Text="[" UId="1575" />
        <Access Scope="LocalVariable" UId="1576">
          <Symbol UId="1577">
            <Component Name="g" UId="1578" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1579" />
      </Component>
      <Token Text="." UId="1580" />
      <Component Name="P" UId="1581">
        <Token Text="[" UId="1582" />
        <Access Scope="LocalVariable" UId="1583">
          <Symbol UId="1584">
            <Component Name="p" UId="1585" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1586" />
      </Component>
      <Token Text="." UId="1587" />
      <Component Name="Box" UId="1588">
        <Token Text="[" UId="1589" />
        <Access Scope="LocalVariable" UId="1590">
          <Symbol UId="1591">
            <Component Name="b" UId="1592" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1593" />
      </Component>
      <Token Text="." UId="1594" />
      <Component Name="Mot" UId="1595">
        <Token Text="[" UId="1596" />
        <Access Scope="LocalVariable" UId="1597">
          <Symbol UId="1598">
            <Component Name="m" UId="1599" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1600" />
      </Component>
      <Token Text="." UId="1601" />
      <Component Name="CurrentLimFW" UId="1602" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1603" />
  <Token Text=":=" UId="1604" />
  <Blank Num="1" UId="1605" />
  <Access Scope="GlobalVariable" UId="1606">
    <Symbol UId="1607">
      <Component Name="DB HMI_1" UId="1608" />
      <Token Text="." UId="1609" />
      <Component Name="snCurrentLimFW" UId="1610" />
    </Symbol>
  </Access>
  <Token Text=";" UId="1611" />
  <NewLine Num="1" UId="1612" />
  <Blank Num="8" UId="1613" />
  <Access Scope="GlobalVariable" UId="1614">
    <Symbol UId="1615">
      <Component Name="DB MotorPar" UId="1616" />
      <Token Text="." UId="1617" />
      <Component Name="GW" UId="1618">
        <Token Text="[" UId="1619" />
        <Access Scope="LocalVariable" UId="1620">
          <Symbol UId="1621">
            <Component Name="g" UId="1622" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1623" />
      </Component>
      <Token Text="." UId="1624" />
      <Component Name="P" UId="1625">
        <Token Text="[" UId="1626" />
        <Access Scope="LocalVariable" UId="1627">
          <Symbol UId="1628">
            <Component Name="p" UId="1629" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1630" />
      </Component>
      <Token Text="." UId="1631" />
      <Component Name="Box" UId="1632">
        <Token Text="[" UId="1633" />
        <Access Scope="LocalVariable" UId="1634">
          <Symbol UId="1635">
            <Component Name="b" UId="1636" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1637" />
      </Component>
      <Token Text="." UId="1638" />
      <Component Name="Mot" UId="1639">
        <Token Text="[" UId="1640" />
        <Access Scope="LocalVariable" UId="1641">
          <Symbol UId="1642">
            <Component Name="m" UId="1643" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1644" />
      </Component>
      <Token Text="." UId="1645" />
      <Component Name="CurrentLimBW" UId="1646" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1647" />
  <Token Text=":=" UId="1648" />
  <Blank Num="1" UId="1649" />
  <Access Scope="GlobalVariable" UId="1650">
    <Symbol UId="1651">
      <Component Name="DB HMI_1" UId="1652" />
      <Token Text="." UId="1653" />
      <Component Name="snCurrentLimBW" UId="1654" />
    </Symbol>
  </Access>
  <Token Text=";" UId="1655" />
  <NewLine Num="1" UId="1656" />
  <Blank Num="4" UId="1657" />
  <Token Text="END_IF" UId="1658" />
  <Token Text=";" UId="1659" />
  <NewLine Num="1" UId="1660" />
  <Blank Num="4" UId="1661" />
  <Token Text="IF" UId="1662" />
  <Blank Num="1" UId="1663" />
  <Token Text="NOT" UId="1664" />
  <Blank Num="1" UId="1665" />
  <Access Scope="GlobalVariable" UId="1666">
    <Symbol UId="1667">
      <Component Name="DB HMI_1" UId="1668" />
      <Token Text="." UId="1669" />
      <Component Name="xPopUpCurrentLim" UId="1670" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1671" />
  <Token Text="THEN" UId="1672" />
  <NewLine Num="1" UId="1673" />
  <Blank Num="8" UId="1674" />
  <Access Scope="GlobalVariable" UId="1675">
    <Symbol UId="1676">
      <Component Name="DB HMI_1" UId="1677" />
      <Token Text="." UId="1678" />
      <Component Name="snCurrentLimFW" UId="1679" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1680" />
  <Token Text=":=" UId="1681" />
  <Blank Num="1" UId="1682" />
  <Access Scope="LiteralConstant" UId="1683">
    <Constant UId="1684">
      <ConstantValue UId="1686">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="1687" />
  <NewLine Num="1" UId="1688" />
  <Blank Num="8" UId="1689" />
  <Access Scope="GlobalVariable" UId="1690">
    <Symbol UId="1691">
      <Component Name="DB HMI_1" UId="1692" />
      <Token Text="." UId="1693" />
      <Component Name="snCurrentLimBW" UId="1694" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="1695" />
  <Token Text=":=" UId="1696" />
  <Blank Num="1" UId="1697" />
  <Access Scope="LiteralConstant" UId="1698">
    <Constant UId="1699">
      <ConstantValue UId="1701">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="1702" />
  <NewLine Num="1" UId="1703" />
  <Blank Num="4" UId="1704" />
  <Token Text="END_IF" UId="1705" />
  <Token Text=";" UId="1706" />
  <NewLine Num="1" UId="1707" />
  <Blank Num="4" UId="1708" />
  <NewLine Num="1" UId="1709" />
  <Blank Num="4" UId="1710" />
  <LineComment Inserted="false" NoClosingBracket="false" UId="1711">
    <Text UId="1712"> HMI Motor Status</Text>
  </LineComment>
  <NewLine Num="1" UId="1713" />
  <Blank Num="4" UId="1714" />
  <Access Scope="GlobalVariable" UId="1715">
    <Symbol UId="1716">
      <Component Name="DB HMI_1" UId="1717" />
      <Token Text="." UId="1718" />
      <Component Name="snGatewayFirmware" UId="1719" />
    </Symbol>
  </Access>
  <Blank Num="6" UId="1720" />
  <Token Text=":=" UId="1721" />
  <Blank Num="1" UId="1722" />
  <Access Scope="GlobalVariable" UId="1723">
    <Symbol UId="1724">
      <Component Name="DB Gateway" UId="1725" />
      <Token Text="." UId="1726" />
      <Component Name="N" UId="1727">
        <Token Text="[" UId="1728" />
        <Access Scope="LocalVariable" UId="1729">
          <Symbol UId="1730">
            <Component Name="g" UId="1731" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1732" />
      </Component>
      <Token Text="." UId="1733" />
      <Component Name="read" UId="1734" />
      <Token Text="." UId="1735" />
      <Component Name="P" UId="1736">
        <Token Text="[" UId="1737" />
        <Access Scope="LocalVariable" UId="1738">
          <Symbol UId="1739">
            <Component Name="p" UId="1740" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1741" />
      </Component>
      <Token Text="." UId="1742" />
      <Component Name="Firmware" UId="1743" />
    </Symbol>
  </Access>
  <Token Text=";" UId="1744" />
  <NewLine Num="1" UId="1745" />
  <Blank Num="4" UId="1746" />
  <Access Scope="GlobalVariable" UId="1747">
    <Symbol UId="1748">
      <Component Name="DB HMI_1" UId="1749" />
      <Token Text="." UId="1750" />
      <Component Name="nBoxInstalled" UId="1751" />
    </Symbol>
  </Access>
  <Blank Num="10" UId="1752" />
  <Token Text=":=" UId="1753" />
  <Blank Num="1" UId="1754" />
  <Access Scope="Call" UId="1755">
    <Instruction Name="USINT_TO_INT" UId="1756">
      <Blank Num="1" UId="1757" />
      <Token Text="(" UId="1758" />
      <NamelessParameter UId="1759">
        <Access Scope="GlobalVariable" UId="1760">
          <Symbol UId="1761">
            <Component Name="DB Gateway" UId="1762" />
            <Token Text="." UId="1763" />
            <Component Name="N" UId="1764">
              <Token Text="[" UId="1765" />
              <Access Scope="LocalVariable" UId="1766">
                <Symbol UId="1767">
                  <Component Name="g" UId="1768" />
                </Symbol>
              </Access>
              <Token Text="]" UId="1769" />
            </Component>
            <Token Text="." UId="1770" />
            <Component Name="read" UId="1771" />
            <Token Text="." UId="1772" />
            <Component Name="P" UId="1773">
              <Token Text="[" UId="1774" />
              <Access Scope="LocalVariable" UId="1775">
                <Symbol UId="1776">
                  <Component Name="p" UId="1777" />
                </Symbol>
              </Access>
              <Token Text="]" UId="1778" />
            </Component>
            <Token Text="." UId="1779" />
            <Component Name="MboxNumber" UId="1780" />
          </Symbol>
        </Access>
      </NamelessParameter>
      <Token Text=")" UId="1782" />
    </Instruction>
  </Access>
  <Token Text=";" UId="1783" />
  <NewLine Num="1" UId="1784" />
  <Blank Num="4" UId="1785" />
  <Access Scope="GlobalVariable" UId="1786">
    <Symbol UId="1787">
      <Component Name="DB HMI_1" UId="1788" />
      <Token Text="." UId="1789" />
      <Component Name="snBoxFirmwareVersion" UId="1790" />
    </Symbol>
  </Access>
  <Blank Num="3" UId="1791" />
  <Token Text=":=" UId="1792" />
  <Blank Num="1" UId="1793" />
  <Access Scope="GlobalVariable" UId="1794">
    <Symbol UId="1795">
      <Component Name="DB Gateway" UId="1796" />
      <Token Text="." UId="1797" />
      <Component Name="N" UId="1798">
        <Token Text="[" UId="1799" />
        <Access Scope="LocalVariable" UId="1800">
          <Symbol UId="1801">
            <Component Name="g" UId="1802" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1803" />
      </Component>
      <Token Text="." UId="1804" />
      <Component Name="read" UId="1805" />
      <Token Text="." UId="1806" />
      <Component Name="P" UId="1807">
        <Token Text="[" UId="1808" />
        <Access Scope="LocalVariable" UId="1809">
          <Symbol UId="1810">
            <Component Name="p" UId="1811" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1812" />
      </Component>
      <Token Text="." UId="1813" />
      <Component Name="MotorsBoxStatus" UId="1814">
        <Token Text="[" UId="1815" />
        <Access Scope="LocalVariable" UId="1816">
          <Symbol UId="1817">
            <Component Name="b" UId="1818" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1819" />
      </Component>
      <Token Text="." UId="1820" />
      <Component Name="BoxStatus" UId="1821" />
      <Token Text="." UId="1822" />
      <Component Name="FirmwareVersion" UId="1823" />
    </Symbol>
  </Access>
  <Token Text=";" UId="1824" />
  <NewLine Num="1" UId="1825" />
  <Blank Num="4" UId="1826" />
  <Access Scope="GlobalVariable" UId="1827">
    <Symbol UId="1828">
      <Component Name="DB HMI_1" UId="1829" />
      <Token Text="." UId="1830" />
      <Component Name="snBoxFirmwareRevision" UId="1831" />
    </Symbol>
  </Access>
  <Blank Num="2" UId="1832" />
  <Token Text=":=" UId="1833" />
  <Blank Num="1" UId="1834" />
  <Access Scope="GlobalVariable" UId="1835">
    <Symbol UId="1836">
      <Component Name="DB Gateway" UId="1837" />
      <Token Text="." UId="1838" />
      <Component Name="N" UId="1839">
        <Token Text="[" UId="1840" />
        <Access Scope="LocalVariable" UId="1841">
          <Symbol UId="1842">
            <Component Name="g" UId="1843" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1844" />
      </Component>
      <Token Text="." UId="1845" />
      <Component Name="read" UId="1846" />
      <Token Text="." UId="1847" />
      <Component Name="P" UId="1848">
        <Token Text="[" UId="1849" />
        <Access Scope="LocalVariable" UId="1850">
          <Symbol UId="1851">
            <Component Name="p" UId="1852" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1853" />
      </Component>
      <Token Text="." UId="1854" />
      <Component Name="MotorsBoxStatus" UId="1855">
        <Token Text="[" UId="1856" />
        <Access Scope="LocalVariable" UId="1857">
          <Symbol UId="1858">
            <Component Name="b" UId="1859" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1860" />
      </Component>
      <Token Text="." UId="1861" />
      <Component Name="BoxStatus" UId="1862" />
      <Token Text="." UId="1863" />
      <Component Name="FirmwareRevision" UId="1864" />
    </Symbol>
  </Access>
  <Token Text=";" UId="1865" />
  <NewLine Num="1" UId="1866" />
  <Blank Num="4" UId="1867" />
  <Access Scope="GlobalVariable" UId="1868">
    <Symbol UId="1869">
      <Component Name="DB HMI_1" UId="1870" />
      <Token Text="." UId="1871" />
      <Component Name="xBox_MotEnabled" UId="1872" />
    </Symbol>
  </Access>
  <Blank Num="8" UId="1873" />
  <Token Text=":=" UId="1874" />
  <Blank Num="1" UId="1875" />
  <Access Scope="GlobalVariable" UId="1876">
    <Symbol UId="1877">
      <Component Name="DB MotorPar" UId="1878" />
      <Token Text="." UId="1879" />
      <Component Name="GW" UId="1880">
        <Token Text="[" UId="1881" />
        <Access Scope="LocalVariable" UId="1882">
          <Symbol UId="1883">
            <Component Name="g" UId="1884" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1885" />
      </Component>
      <Token Text="." UId="1886" />
      <Component Name="P" UId="1887">
        <Token Text="[" UId="1888" />
        <Access Scope="LocalVariable" UId="1889">
          <Symbol UId="1890">
            <Component Name="p" UId="1891" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1892" />
      </Component>
      <Token Text="." UId="1893" />
      <Component Name="Box" UId="1894">
        <Token Text="[" UId="1895" />
        <Access Scope="LocalVariable" UId="1896">
          <Symbol UId="1897">
            <Component Name="b" UId="1898" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1899" />
      </Component>
      <Token Text="." UId="1900" />
      <Component Name="Mot" UId="1901">
        <Token Text="[" UId="1902" />
        <Access Scope="LocalVariable" UId="1903">
          <Symbol UId="1904">
            <Component Name="m" UId="1905" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1906" />
      </Component>
      <Token Text="." UId="1907" />
      <Component Name="xEnable" UId="1908" />
    </Symbol>
  </Access>
  <Token Text=";" UId="1909" />
  <NewLine Num="1" UId="1910" />
  <Blank Num="4" UId="1911" />
  <Access Scope="GlobalVariable" UId="1912">
    <Symbol UId="1913">
      <Component Name="DB HMI_1" UId="1914" />
      <Token Text="." UId="1915" />
      <Component Name="xMotStatRunningFw" UId="1916" />
    </Symbol>
  </Access>
  <Blank Num="6" UId="1917" />
  <Token Text=":=" UId="1918" />
  <Blank Num="1" UId="1919" />
  <Access Scope="GlobalVariable" UId="1920">
    <Symbol UId="1921">
      <Component Name="DB Gateway" UId="1922" />
      <Token Text="." UId="1923" />
      <Component Name="N" UId="1924">
        <Token Text="[" UId="1925" />
        <Access Scope="LocalVariable" UId="1926">
          <Symbol UId="1927">
            <Component Name="g" UId="1928" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1929" />
      </Component>
      <Token Text="." UId="1930" />
      <Component Name="read" UId="1931" />
      <Token Text="." UId="1932" />
      <Component Name="P" UId="1933">
        <Token Text="[" UId="1934" />
        <Access Scope="LocalVariable" UId="1935">
          <Symbol UId="1936">
            <Component Name="p" UId="1937" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1938" />
      </Component>
      <Token Text="." UId="1939" />
      <Component Name="MotorsBoxStatus" UId="1940">
        <Token Text="[" UId="1941" />
        <Access Scope="LocalVariable" UId="1942">
          <Symbol UId="1943">
            <Component Name="b" UId="1944" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1945" />
      </Component>
      <Token Text="." UId="1946" />
      <Component Name="MotorStatus" UId="1947">
        <Token Text="[" UId="1948" />
        <Access Scope="LocalVariable" UId="1949">
          <Symbol UId="1950">
            <Component Name="m" UId="1951" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1952" />
      </Component>
      <Token Text="." UId="1953" />
      <Component Name="MovingFW" UId="1954" />
    </Symbol>
  </Access>
  <Token Text=";" UId="1955" />
  <NewLine Num="1" UId="1956" />
  <Blank Num="4" UId="1957" />
  <Access Scope="GlobalVariable" UId="1958">
    <Symbol UId="1959">
      <Component Name="DB HMI_1" UId="1960" />
      <Token Text="." UId="1961" />
      <Component Name="xMotStatRunningBw" UId="1962" />
    </Symbol>
  </Access>
  <Blank Num="6" UId="1963" />
  <Token Text=":=" UId="1964" />
  <Blank Num="1" UId="1965" />
  <Access Scope="GlobalVariable" UId="1966">
    <Symbol UId="1967">
      <Component Name="DB Gateway" UId="1968" />
      <Token Text="." UId="1969" />
      <Component Name="N" UId="1970">
        <Token Text="[" UId="1971" />
        <Access Scope="LocalVariable" UId="1972">
          <Symbol UId="1973">
            <Component Name="g" UId="1974" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1975" />
      </Component>
      <Token Text="." UId="1976" />
      <Component Name="read" UId="1977" />
      <Token Text="." UId="1978" />
      <Component Name="P" UId="1979">
        <Token Text="[" UId="1980" />
        <Access Scope="LocalVariable" UId="1981">
          <Symbol UId="1982">
            <Component Name="p" UId="1983" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1984" />
      </Component>
      <Token Text="." UId="1985" />
      <Component Name="MotorsBoxStatus" UId="1986">
        <Token Text="[" UId="1987" />
        <Access Scope="LocalVariable" UId="1988">
          <Symbol UId="1989">
            <Component Name="b" UId="1990" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1991" />
      </Component>
      <Token Text="." UId="1992" />
      <Component Name="MotorStatus" UId="1993">
        <Token Text="[" UId="1994" />
        <Access Scope="LocalVariable" UId="1995">
          <Symbol UId="1996">
            <Component Name="m" UId="1997" />
          </Symbol>
        </Access>
        <Token Text="]" UId="1998" />
      </Component>
      <Token Text="." UId="1999" />
      <Component Name="MovingBW" UId="2000" />
    </Symbol>
  </Access>
  <Token Text=";" UId="2001" />
  <NewLine Num="1" UId="2002" />
  <Blank Num="4" UId="2003" />
  <Access Scope="GlobalVariable" UId="2004">
    <Symbol UId="2005">
      <Component Name="DB HMI_1" UId="2006" />
      <Token Text="." UId="2007" />
      <Component Name="xMotStatInPos" UId="2008" />
    </Symbol>
  </Access>
  <Blank Num="10" UId="2009" />
  <Token Text=":=" UId="2010" />
  <Blank Num="1" UId="2011" />
  <Access Scope="GlobalVariable" UId="2012">
    <Symbol UId="2013">
      <Component Name="DB Gateway" UId="2014" />
      <Token Text="." UId="2015" />
      <Component Name="N" UId="2016">
        <Token Text="[" UId="2017" />
        <Access Scope="LocalVariable" UId="2018">
          <Symbol UId="2019">
            <Component Name="g" UId="2020" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2021" />
      </Component>
      <Token Text="." UId="2022" />
      <Component Name="read" UId="2023" />
      <Token Text="." UId="2024" />
      <Component Name="P" UId="2025">
        <Token Text="[" UId="2026" />
        <Access Scope="LocalVariable" UId="2027">
          <Symbol UId="2028">
            <Component Name="p" UId="2029" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2030" />
      </Component>
      <Token Text="." UId="2031" />
      <Component Name="MotorsBoxStatus" UId="2032">
        <Token Text="[" UId="2033" />
        <Access Scope="LocalVariable" UId="2034">
          <Symbol UId="2035">
            <Component Name="b" UId="2036" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2037" />
      </Component>
      <Token Text="." UId="2038" />
      <Component Name="MotorStatus" UId="2039">
        <Token Text="[" UId="2040" />
        <Access Scope="LocalVariable" UId="2041">
          <Symbol UId="2042">
            <Component Name="m" UId="2043" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2044" />
      </Component>
      <Token Text="." UId="2045" />
      <Component Name="InPOS" UId="2046" />
    </Symbol>
  </Access>
  <Token Text=";" UId="2047" />
  <NewLine Num="1" UId="2048" />
  <Blank Num="4" UId="2049" />
  <Access Scope="GlobalVariable" UId="2050">
    <Symbol UId="2051">
      <Component Name="DB HMI_1" UId="2052" />
      <Token Text="." UId="2053" />
      <Component Name="xMotStatAlarm" UId="2054" />
    </Symbol>
  </Access>
  <Blank Num="10" UId="2055" />
  <Token Text=":=" UId="2056" />
  <Blank Num="1" UId="2057" />
  <Access Scope="GlobalVariable" UId="2058">
    <Symbol UId="2059">
      <Component Name="DB Gateway" UId="2060" />
      <Token Text="." UId="2061" />
      <Component Name="N" UId="2062">
        <Token Text="[" UId="2063" />
        <Access Scope="LocalVariable" UId="2064">
          <Symbol UId="2065">
            <Component Name="g" UId="2066" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2067" />
      </Component>
      <Token Text="." UId="2068" />
      <Component Name="read" UId="2069" />
      <Token Text="." UId="2070" />
      <Component Name="P" UId="2071">
        <Token Text="[" UId="2072" />
        <Access Scope="LocalVariable" UId="2073">
          <Symbol UId="2074">
            <Component Name="p" UId="2075" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2076" />
      </Component>
      <Token Text="." UId="2077" />
      <Component Name="MotorsBoxStatus" UId="2078">
        <Token Text="[" UId="2079" />
        <Access Scope="LocalVariable" UId="2080">
          <Symbol UId="2081">
            <Component Name="b" UId="2082" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2083" />
      </Component>
      <Token Text="." UId="2084" />
      <Component Name="MotorStatus" UId="2085">
        <Token Text="[" UId="2086" />
        <Access Scope="LocalVariable" UId="2087">
          <Symbol UId="2088">
            <Component Name="m" UId="2089" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2090" />
      </Component>
      <Token Text="." UId="2091" />
      <Component Name="Alarm" UId="2092" />
    </Symbol>
  </Access>
  <Token Text=";" UId="2093" />
  <NewLine Num="1" UId="2094" />
  <Blank Num="4" UId="2095" />
  <Access Scope="GlobalVariable" UId="2096">
    <Symbol UId="2097">
      <Component Name="DB HMI_1" UId="2098" />
      <Token Text="." UId="2099" />
      <Component Name="xMotStatInZeroPos" UId="2100" />
    </Symbol>
  </Access>
  <Blank Num="6" UId="2101" />
  <Token Text=":=" UId="2102" />
  <Blank Num="1" UId="2103" />
  <Access Scope="GlobalVariable" UId="2104">
    <Symbol UId="2105">
      <Component Name="DB Gateway" UId="2106" />
      <Token Text="." UId="2107" />
      <Component Name="N" UId="2108">
        <Token Text="[" UId="2109" />
        <Access Scope="LocalVariable" UId="2110">
          <Symbol UId="2111">
            <Component Name="g" UId="2112" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2113" />
      </Component>
      <Token Text="." UId="2114" />
      <Component Name="read" UId="2115" />
      <Token Text="." UId="2116" />
      <Component Name="P" UId="2117">
        <Token Text="[" UId="2118" />
        <Access Scope="LocalVariable" UId="2119">
          <Symbol UId="2120">
            <Component Name="p" UId="2121" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2122" />
      </Component>
      <Token Text="." UId="2123" />
      <Component Name="MotorsBoxStatus" UId="2124">
        <Token Text="[" UId="2125" />
        <Access Scope="LocalVariable" UId="2126">
          <Symbol UId="2127">
            <Component Name="b" UId="2128" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2129" />
      </Component>
      <Token Text="." UId="2130" />
      <Component Name="MotorStatus" UId="2131">
        <Token Text="[" UId="2132" />
        <Access Scope="LocalVariable" UId="2133">
          <Symbol UId="2134">
            <Component Name="m" UId="2135" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2136" />
      </Component>
      <Token Text="." UId="2137" />
      <Component Name="InZero" UId="2138" />
    </Symbol>
  </Access>
  <Token Text=";" UId="2139" />
  <NewLine Num="1" UId="2140" />
  <Blank Num="4" UId="2141" />
  <Access Scope="GlobalVariable" UId="2142">
    <Symbol UId="2143">
      <Component Name="DB HMI_1" UId="2144" />
      <Token Text="." UId="2145" />
      <Component Name="xMotStatRunningSlowly" UId="2146" />
    </Symbol>
  </Access>
  <Blank Num="2" UId="2147" />
  <Token Text=":=" UId="2148" />
  <Blank Num="1" UId="2149" />
  <Access Scope="GlobalVariable" UId="2150">
    <Symbol UId="2151">
      <Component Name="DB Gateway" UId="2152" />
      <Token Text="." UId="2153" />
      <Component Name="N" UId="2154">
        <Token Text="[" UId="2155" />
        <Access Scope="LocalVariable" UId="2156">
          <Symbol UId="2157">
            <Component Name="g" UId="2158" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2159" />
      </Component>
      <Token Text="." UId="2160" />
      <Component Name="read" UId="2161" />
      <Token Text="." UId="2162" />
      <Component Name="P" UId="2163">
        <Token Text="[" UId="2164" />
        <Access Scope="LocalVariable" UId="2165">
          <Symbol UId="2166">
            <Component Name="p" UId="2167" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2168" />
      </Component>
      <Token Text="." UId="2169" />
      <Component Name="MotorsBoxStatus" UId="2170">
        <Token Text="[" UId="2171" />
        <Access Scope="LocalVariable" UId="2172">
          <Symbol UId="2173">
            <Component Name="b" UId="2174" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2175" />
      </Component>
      <Token Text="." UId="2176" />
      <Component Name="MotorStatus" UId="2177">
        <Token Text="[" UId="2178" />
        <Access Scope="LocalVariable" UId="2179">
          <Symbol UId="2180">
            <Component Name="m" UId="2181" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2182" />
      </Component>
      <Token Text="." UId="2183" />
      <Component Name="MovingSlowly" UId="2184" />
    </Symbol>
  </Access>
  <Token Text=";" UId="2185" />
  <NewLine Num="1" UId="2186" />
  <Blank Num="4" UId="2187" />
  <Access Scope="GlobalVariable" UId="2188">
    <Symbol UId="2189">
      <Component Name="DB HMI_1" UId="2190" />
      <Token Text="." UId="2191" />
      <Component Name="xBoxFuseBurned" UId="2192" />
    </Symbol>
  </Access>
  <Blank Num="9" UId="2193" />
  <Token Text=":=" UId="2194" />
  <Blank Num="1" UId="2195" />
  <Access Scope="GlobalVariable" UId="2196">
    <Symbol UId="2197">
      <Component Name="DB Gateway" UId="2198" />
      <Token Text="." UId="2199" />
      <Component Name="N" UId="2200">
        <Token Text="[" UId="2201" />
        <Access Scope="LocalVariable" UId="2202">
          <Symbol UId="2203">
            <Component Name="g" UId="2204" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2205" />
      </Component>
      <Token Text="." UId="2206" />
      <Component Name="read" UId="2207" />
      <Token Text="." UId="2208" />
      <Component Name="P" UId="2209">
        <Token Text="[" UId="2210" />
        <Access Scope="LocalVariable" UId="2211">
          <Symbol UId="2212">
            <Component Name="p" UId="2213" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2214" />
      </Component>
      <Token Text="." UId="2215" />
      <Component Name="MotorsBoxStatus" UId="2216">
        <Token Text="[" UId="2217" />
        <Access Scope="LocalVariable" UId="2218">
          <Symbol UId="2219">
            <Component Name="b" UId="2220" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2221" />
      </Component>
      <Token Text="." UId="2222" />
      <Component Name="BoxStatus" UId="2223" />
      <Token Text="." UId="2224" />
      <Component Name="BurnedFuse" UId="2225" />
    </Symbol>
  </Access>
  <Token Text=";" UId="2226" />
  <NewLine Num="1" UId="2227" />
  <Blank Num="4" UId="2228" />
  <Access Scope="GlobalVariable" UId="2229">
    <Symbol UId="2230">
      <Component Name="DB HMI_1" UId="2231" />
      <Token Text="." UId="2232" />
      <Component Name="xBoxUndervoltage" UId="2233" />
    </Symbol>
  </Access>
  <Blank Num="7" UId="2234" />
  <Token Text=":=" UId="2235" />
  <Blank Num="1" UId="2236" />
  <Access Scope="GlobalVariable" UId="2237">
    <Symbol UId="2238">
      <Component Name="DB Gateway" UId="2239" />
      <Token Text="." UId="2240" />
      <Component Name="N" UId="2241">
        <Token Text="[" UId="2242" />
        <Access Scope="LocalVariable" UId="2243">
          <Symbol UId="2244">
            <Component Name="g" UId="2245" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2246" />
      </Component>
      <Token Text="." UId="2247" />
      <Component Name="read" UId="2248" />
      <Token Text="." UId="2249" />
      <Component Name="P" UId="2250">
        <Token Text="[" UId="2251" />
        <Access Scope="LocalVariable" UId="2252">
          <Symbol UId="2253">
            <Component Name="p" UId="2254" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2255" />
      </Component>
      <Token Text="." UId="2256" />
      <Component Name="MotorsBoxStatus" UId="2257">
        <Token Text="[" UId="2258" />
        <Access Scope="LocalVariable" UId="2259">
          <Symbol UId="2260">
            <Component Name="b" UId="2261" />
          </Symbol>
        </Access>
        <Token Text="]" UId="2262" />
      </Component>
      <Token Text="." UId="2263" />
      <Component Name="BoxStatus" UId="2264" />
      <Token Text="." UId="2265" />
      <Component Name="Undervoltage" UId="2266" />
    </Symbol>
  </Access>
  <Token Text=";" UId="2267" />
  <NewLine Num="1" UId="2268" />
  <Blank Num="4" UId="2269" />
  <Token Text="IF" UId="2270" />
  <Blank Num="1" UId="2271" />
  <Token Text="(" UId="2272" />
  <Access Scope="GlobalVariable" UId="2273">
    <Symbol UId="2274">
      <Component Name="DB HMI_1" UId="2275" />
      <Token Text="." UId="2276" />
      <Component Name="xMotStatRunningFw" UId="2277" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="2278" />
  <Token Text="OR" UId="2279" />
  <Blank Num="1" UId="2280" />
  <Access Scope="GlobalVariable" UId="2281">
    <Symbol UId="2282">
      <Component Name="DB HMI_1" UId="2283" />
      <Token Text="." UId="2284" />
      <Component Name="xMotStatRunningBw" UId="2285" />
    </Symbol>
  </Access>
  <Token Text=")" UId="2286" />
  <Blank Num="1" UId="2287" />
  <Token Text="AND" UId="2288" />
  <Blank Num="1" UId="2289" />
  <Access Scope="GlobalVariable" UId="2290">
    <Symbol UId="2291">
      <Component Name="DB Cycle" UId="2292" />
      <Token Text="." UId="2293" />
      <Component Name="Man" UId="2294" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="2295" />
  <Token Text="THEN" UId="2296" />
  <NewLine Num="1" UId="2297" />
  <Blank Num="8" UId="2298" />
  <Access Scope="GlobalVariable" UId="2299">
    <Symbol UId="2300">
      <Component Name="DB HMI_1" UId="2301" />
      <Token Text="." UId="2302" />
      <Component Name="xMotStatRunning" UId="2303" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="2304" />
  <Token Text=":=" UId="2305" />
  <Blank Num="1" UId="2306" />
  <Access Scope="LiteralConstant" UId="2307">
    <Constant UId="2308">
      <ConstantValue UId="2310">1</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="2311" />
  <NewLine Num="1" UId="2312" />
  <Blank Num="4" UId="2313" />
  <Token Text="ELSE" UId="2314" />
  <NewLine Num="1" UId="2315" />
  <Blank Num="8" UId="2316" />
  <Access Scope="GlobalVariable" UId="2317">
    <Symbol UId="2318">
      <Component Name="DB HMI_1" UId="2319" />
      <Token Text="." UId="2320" />
      <Component Name="xMotStatRunning" UId="2321" />
    </Symbol>
  </Access>
  <Blank Num="1" UId="2322" />
  <Token Text=":=" UId="2323" />
  <Blank Num="1" UId="2324" />
  <Access Scope="LiteralConstant" UId="2325">
    <Constant UId="2326">
      <ConstantValue UId="2328">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="2329" />
  <NewLine Num="1" UId="2330" />
  <Blank Num="4" UId="2331" />
  <Token Text="END_IF" UId="2332" />
  <Token Text=";" UId="2333" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="5" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="6" CompositionName="Items">
                <AttributeList>
                  <Culture>it-IT</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="7" CompositionName="Items">
                <AttributeList>
                  <Culture>en-GB</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="8" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="9" CompositionName="Items">
                <AttributeList>
                  <Culture>it-IT</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
              <MultilingualTextItem ID="A" CompositionName="Items">
                <AttributeList>
                  <Culture>en-GB</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <MultilingualText ID="B" CompositionName="Title">
        <ObjectList>
          <MultilingualTextItem ID="C" CompositionName="Items">
            <AttributeList>
              <Culture>it-IT</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="D" CompositionName="Items">
            <AttributeList>
              <Culture>en-GB</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.FC>
</Document>