<?xml version="1.0" encoding="utf-8"?>
<Document>
  <Engineering version="V18" />
  <SW.Blocks.FB ID="0">
    <AttributeList>
      <AutoNumber>false</AutoNumber>
      <HeaderAuthor>HCR</HeaderAuthor>
      <HeaderFamily>ZeusControl</HeaderFamily>
      <HeaderVersion>1.0</HeaderVersion>
      <Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
  <Section Name="Input">
    <Member Name="Pulso1Seg" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Pulso 1 Segundo</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="OrdenMarcha" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden Marcha Secuencia</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="OrdenDosifManual" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden de dosificacion manual</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="EstadoMarcha" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Estado marcha proceso principal</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="EtapaSecAuto" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Etapa de dosificación auto</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="EtapaSecMan" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Etapa de dosificación Manual</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="SiempreDosificar" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Configuracion para dosificacion inicial</MultiLanguageText>
      </Comment>
      <StartValue>TRUE</StartValue>
    </Member>
    <Member Name="NumeroDosifLarga" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Numero de dosificaciones largas</MultiLanguageText>
      </Comment>
      <StartValue>0</StartValue>
    </Member>
    <Member Name="NumeroDosifCorta" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Numero de dosificaciones cortas</MultiLanguageText>
      </Comment>
      <StartValue>1</StartValue>
    </Member>
    <Member Name="SP_TiempoAperturaCamino" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo apertura de camino</MultiLanguageText>
      </Comment>
      <StartValue>2</StartValue>
    </Member>
    <Member Name="SP_TiempoDosifLarga" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo de Dosificacion Larga</MultiLanguageText>
      </Comment>
      <StartValue>10</StartValue>
    </Member>
    <Member Name="SP_TiempoDosifCorta" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo de Dosificacion Corta</MultiLanguageText>
      </Comment>
      <StartValue>7</StartValue>
    </Member>
    <Member Name="SP_TiempoEmpuje" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo Empuje con agua</MultiLanguageText>
      </Comment>
      <StartValue>5</StartValue>
    </Member>
    <Member Name="SP_TiempoAclarado" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo aclarado</MultiLanguageText>
      </Comment>
      <StartValue>3</StartValue>
    </Member>
    <Member Name="SP_TiempoEntreDosif" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo Entre Dosificaciones</MultiLanguageText>
      </Comment>
      <StartValue>10</StartValue>
    </Member>
    <Member Name="SP_TiempoDrenajeInicial" Datatype="Int">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo de drenaje dosificacion</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="SP_Conductividad" Datatype="Real" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Consigna de conductividad</MultiLanguageText>
      </Comment>
      <StartValue>5.0</StartValue>
    </Member>
    <Member Name="SP_TiempoRetardoDosifManual" Datatype="Time" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo de retardo Dosificacion Manual</MultiLanguageText>
      </Comment>
      <StartValue>T#90s</StartValue>
    </Member>
    <Member Name="ConductividadActual" Datatype="Real" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Lectura de Conductividad</MultiLanguageText>
      </Comment>
      <StartValue>0.0</StartValue>
    </Member>
    <Member Name="EstadoBombaDosif" Datatype="Bool" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Confirmacion de marcha BD</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
  </Section>
  <Section Name="Output">
    <Member Name="DosifAutoCompletada" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Dosificacion automatica completada</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="AperturaCamino" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden de apertura de camino</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="Drenaje" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden drenaje</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Dosificacion" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden de dosificacion</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="Empuje" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden de empuje</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="Aclarado" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden de aclarado</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="PermisoDosifManual" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Permiso de dosificacion manual</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="TextoEtapa" Datatype="String[80]">
      <Comment>
        <MultiLanguageText Lang="es-ES">Texto etapa actual</MultiLanguageText>
      </Comment>
      <StartValue>'REPOSO'</StartValue>
    </Member>
  </Section>
  <Section Name="InOut" />
  <Section Name="Static">
    <Member Name="s_EtapaDosificacion" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Etapa de Dosificación</MultiLanguageText>
      </Comment>
      <StartValue>0</StartValue>
    </Member>
    <Member Name="s_TipoDosificacionActual" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">1= Larga / 2= Corta</MultiLanguageText>
      </Comment>
      <StartValue>0</StartValue>
    </Member>
    <Member Name="s_DosifLargasRealizadas" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Numero de dosificaciones largas realizadas</MultiLanguageText>
      </Comment>
      <StartValue>0</StartValue>
    </Member>
    <Member Name="s_DosifCortasRealizadas" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Numero de dosificaciones cortas realizadas</MultiLanguageText>
      </Comment>
      <StartValue>0</StartValue>
    </Member>
    <Member Name="s_DosifLargaCompletada" Datatype="Bool" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Dosificacion Larga Completada</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="s_DosifCortaCompletada" Datatype="Bool" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Dosificacion Corta Completada</MultiLanguageText>
      </Comment>
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="s_Pulsos" Datatype="Array[0..7] of Bool" />
    <Member Name="s_TiempoEtapa" Datatype="&quot;UDT_ZC_PRO_TIEMPO_ETAPA&quot;" Remanence="Retain" />
    <Member Name="s_TON_FiltroCondBaja" Datatype="&quot;UDT_ZC_DISP_TON&quot;">
      <Comment>
        <MultiLanguageText Lang="es-ES">Temporizador para filtro de conductividad</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="s_TON_RetardoDosifManual" Datatype="&quot;UDT_ZC_DISP_TON&quot;">
      <Comment>
        <MultiLanguageText Lang="es-ES">Retardo para comprobacion de conductividad para dosificacion manual</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Temp">
    <Member Name="t_TiempoDosificacion" Datatype="Int">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo de dosificacion en base a Corta/Larga</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Constant">
    <Member Name="ETAPA_REPOSO" Datatype="Int">
      <StartValue>0</StartValue>
    </Member>
    <Member Name="ETAPA_COMPROBACION_LARGA" Datatype="Int">
      <StartValue>5</StartValue>
    </Member>
    <Member Name="ETAPA_COMPROBACION_CORTA" Datatype="Int">
      <StartValue>10</StartValue>
    </Member>
    <Member Name="ETAPA_APERTURA_CAMINO" Datatype="Int">
      <StartValue>105</StartValue>
    </Member>
    <Member Name="ETAPA_DOSIFICACION" Datatype="Int">
      <StartValue>110</StartValue>
    </Member>
    <Member Name="ETAPA_EMPUJE" Datatype="Int">
      <StartValue>115</StartValue>
    </Member>
    <Member Name="ETAPA_ACLARADO" Datatype="Int">
      <StartValue>120</StartValue>
    </Member>
    <Member Name="ETAPA_ESPERA_ENTRE_DOSIF" Datatype="Int">
      <StartValue>125</StartValue>
    </Member>
    <Member Name="ETAPA_ESPERA_RECIR" Datatype="Int">
      <StartValue>500</StartValue>
    </Member>
    <Member Name="ETAPA_ESPERA_DOSIF_MANUAL" Datatype="Int">
      <StartValue>510</StartValue>
    </Member>
  </Section>
</Sections></Interface>
      <MemoryLayout>Optimized</MemoryLayout>
      <MemoryReserve>100</MemoryReserve>
      <Name>FB15154_ZC_DOSIF</Name>
      <Namespace />
      <Number>15154</Number>
      <ProgrammingLanguage>LAD</ProgrammingLanguage>
      <SetENOAutomatically>false</SetENOAutomatically>
    </AttributeList>
    <ObjectList>
      <MultilingualText ID="1" CompositionName="Comment">
        <ObjectList>
          <MultilingualTextItem ID="2" CompositionName="Items">
            <AttributeList>
              <Culture>es-ES</Culture>
              <Text>Bloque de funcion para la dosificacion de detergentes.</Text>
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
      <SW.Blocks.CompileUnit ID="3" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <LineComment Inserted="true" UId="21">
    <Text UId="22">
============================================================================
ZEUS CONTROL, S.A.
(c)Copyright (2023) All Rights Reserved
-----------------------------------------------------------------------------

Software:       TIA Portal 16
Restricciones:  PLC serie 1200/1500


Nombre:         FB15154_ZC_DOSIF
Descripcion:    Bloque de gestion de dosificacion de detergentes

Dependencias:   
    FC:         FC15001_ZC_INT_TO_STRING
    FB:         -
    DB:         -
    UDT:        -
                                

Change log:

    Version         Fecha       Tecnico a cargo     Descripcion
    
     01.00.00       09.05.2023  (HCR)               Primera version
     01.01.01       22.05.2023  (ABH)               Cambio en nomenclatura de entradas/salidas del bloque.
                                                    Cambio en numero de etapas para estandarizacion.
                                                    Se eliminan temporizadores redundantes para optimizacion de bloque.
     01.00.02       28.05.2023  (ABH)               Se cambia logica de etapas de la dosificacion. Se pasa por Input el numero
                                                    de dosificaciones largas y cortas que se quieren realizar, de esta manera el
                                                    bloque es mucho mas versatil.
     01.00.03       15.12.2023  (ABH)               Se cambia tipo de dato s_TiempoEtapa de struct a ZC_TIEMPO_ETAPA
     01.00.04       16.10.2025  (ABH)               Se añade parametro drenaje inicial y su gestion.
     01.00.05       31.10.2025  (ABH)               Se cambia los temporizadores IEC por temporizadores ZC_TON.     
    
 ============================================================================
 </Text>
  </LineComment>
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="4" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="5" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="6" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="7" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>@Change log</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="8" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <NewLine UId="21" />
  <Access Scope="Call" UId="22">
    <CallInfo UId="23" BlockType="FC">
      <Instance Scope="GlobalVariable" UId="25">
        <Component Name="FC2928_ZC_TON_INDV" UId="24" />
      </Instance>
      <Token Text="(" UId="26" />
      <Parameter Name="Pulso1seg" UId="27">
        <Blank UId="28" />
        <Token Text=":=" UId="29" />
        <Blank UId="30" />
        <Access Scope="LocalVariable" UId="31">
          <Symbol UId="32">
            <Component Name="Pulso1Seg" UId="33" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="34" />
      <NewLine UId="35" />
      <Blank Num="21" UId="36" />
      <Parameter Name="TON" UId="37">
        <Blank UId="38" />
        <Token Text=":=" UId="39" />
        <Blank UId="40" />
        <Access Scope="LocalVariable" UId="41">
          <Symbol UId="42">
            <Component Name="s_TON_FiltroCondBaja" UId="43" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text=")" UId="44" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="45" />
  <NewLine UId="46" />
  <Access Scope="Call" UId="47">
    <CallInfo UId="48" BlockType="FC">
      <Instance Scope="GlobalVariable" UId="50">
        <Component Name="FC2928_ZC_TON_INDV" UId="49" />
      </Instance>
      <Token Text="(" UId="51" />
      <Parameter Name="Pulso1seg" UId="52">
        <Blank UId="53" />
        <Token Text=":=" UId="54" />
        <Blank UId="55" />
        <Access Scope="LocalVariable" UId="56">
          <Symbol UId="57">
            <Component Name="Pulso1Seg" UId="58" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="59" />
      <NewLine UId="60" />
      <Blank Num="21" UId="61" />
      <Parameter Name="TON" UId="62">
        <Blank UId="63" />
        <Token Text=":=" UId="64" />
        <Blank UId="65" />
        <Access Scope="LocalVariable" UId="66">
          <Symbol UId="67">
            <Component Name="s_TON_RetardoDosifManual" UId="68" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text=")" UId="69" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="70" />
  <NewLine UId="71" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="9" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="A" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="B" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="C" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>=============== Temporizadores</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="D" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <Token Text="CASE" UId="21" />
  <Blank UId="22" />
  <Access Scope="LocalVariable" UId="23">
    <Symbol UId="24">
      <Component Name="s_EtapaDosificacion" UId="25" />
    </Symbol>
  </Access>
  <Blank UId="26" />
  <Token Text="OF" UId="27" />
  <NewLine UId="28" />
  <Blank Num="4" UId="29" />
  <Access Scope="LocalConstant" UId="30">
    <Constant Name="ETAPA_REPOSO" UId="31" />
  </Access>
  <Token Text=":" UId="34" />
  <NewLine UId="35" />
  <Blank Num="8" UId="36" />
  <Access Scope="LocalVariable" UId="37">
    <Symbol UId="38">
      <Component Name="TextoEtapa" UId="39" />
    </Symbol>
  </Access>
  <Blank UId="40" />
  <Token Text=":=" UId="41" />
  <Blank UId="42" />
  <Access Scope="LiteralConstant" UId="43">
    <Constant UId="44">
      <ConstantValue UId="46">'REPOSO'</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="47" />
  <NewLine UId="48" />
  <Blank Num="4" UId="49" />
  <Access Scope="LocalConstant" UId="50">
    <Constant Name="ETAPA_APERTURA_CAMINO" UId="51" />
  </Access>
  <Token Text=":" UId="54" />
  <NewLine UId="55" />
  <Blank Num="8" UId="56" />
  <Access Scope="LocalVariable" UId="57">
    <Symbol UId="58">
      <Component Name="TextoEtapa" UId="59" />
    </Symbol>
  </Access>
  <Blank UId="60" />
  <Token Text=":=" UId="61" />
  <Blank UId="62" />
  <Access Scope="Call" UId="63">
    <Instruction Name="CONCAT" UId="64">
      <TemplateValue Name="str_type" Type="Type" UId="65">String</TemplateValue>
      <Token Text="(" UId="66" />
      <Parameter Name="IN1" UId="67">
        <Blank UId="68" />
        <Token Text=":=" UId="69" />
        <Blank UId="70" />
        <Access Scope="LiteralConstant" UId="71">
          <Constant UId="72">
            <ConstantValue UId="74">'APERTURA CAMINO - '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="75" />
      <NewLine UId="76" />
      <Blank Num="37" UId="77" />
      <Parameter Name="IN2" UId="78">
        <Blank UId="79" />
        <Token Text=":=" UId="80" />
        <Blank UId="81" />
        <Access Scope="Call" UId="82">
          <CallInfo UId="83" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="85">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="84" />
            </Instance>
            <Token Text="(" UId="86" />
            <NamelessParameter UId="87">
              <Access Scope="LocalVariable" UId="88">
                <Symbol UId="89">
                  <Component Name="s_TiempoEtapa" UId="90" />
                  <Token Text="." UId="91" />
                  <Component Name="Restante" UId="92" />
                </Symbol>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="94" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="95" />
      <NewLine UId="96" />
      <Blank Num="37" UId="97" />
      <Parameter Name="IN3" UId="98">
        <Blank UId="99" />
        <Token Text=":=" UId="100" />
        <Blank UId="101" />
        <Access Scope="LiteralConstant" UId="102">
          <Constant UId="103">
            <ConstantValue UId="105">' s'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="107" />
    </Instruction>
  </Access>
  <Token Text=";" UId="108" />
  <NewLine UId="109" />
  <Blank Num="8" UId="110" />
  <NewLine UId="111" />
  <Blank Num="4" UId="112" />
  <Access Scope="LocalConstant" UId="113">
    <Constant Name="ETAPA_DOSIFICACION" UId="114" />
  </Access>
  <Token Text=":" UId="117" />
  <NewLine UId="118" />
  <Blank Num="8" UId="119" />
  <Token Text="CASE" UId="120" />
  <Blank UId="121" />
  <Access Scope="LocalVariable" UId="122">
    <Symbol UId="123">
      <Component Name="s_TipoDosificacionActual" UId="124" />
    </Symbol>
  </Access>
  <Blank UId="125" />
  <Token Text="OF" UId="126" />
  <NewLine UId="127" />
  <Blank Num="12" UId="128" />
  <Access Scope="LiteralConstant" UId="129">
    <Constant UId="130">
      <ConstantValue UId="132">1</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="133" />
  <NewLine UId="134" />
  <Blank Num="16" UId="135" />
  <NewLine UId="136" />
  <Blank Num="16" UId="137" />
  <Token Text="IF" UId="138" />
  <Blank UId="139" />
  <Token Text="NOT" UId="140" />
  <Blank UId="141" />
  <Access Scope="LocalVariable" UId="142">
    <Symbol UId="143">
      <Component Name="EstadoBombaDosif" UId="144" />
    </Symbol>
  </Access>
  <Blank UId="145" />
  <Token Text="THEN" UId="146" />
  <NewLine UId="147" />
  <Blank Num="20" UId="148" />
  <Access Scope="LocalVariable" UId="149">
    <Symbol UId="150">
      <Component Name="TextoEtapa" UId="151" />
    </Symbol>
  </Access>
  <Blank UId="152" />
  <Token Text=":=" UId="153" />
  <Blank UId="154" />
  <Access Scope="LiteralConstant" UId="155">
    <Constant UId="156">
      <ConstantValue UId="158">'DOSIFICACION - ESPERA BD'</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="159" />
  <NewLine UId="160" />
  <Blank Num="16" UId="161" />
  <Token Text="ELSE" UId="162" />
  <NewLine UId="163" />
  <Blank Num="20" UId="164" />
  <Token Text="IF" UId="165" />
  <Blank UId="166" />
  <Access Scope="LocalVariable" UId="167">
    <Symbol UId="168">
      <Component Name="Dosificacion" UId="169" />
    </Symbol>
  </Access>
  <Blank UId="170" />
  <Token Text="THEN" UId="171" />
  <NewLine UId="172" />
  <Blank Num="24" UId="173" />
  <Access Scope="LocalVariable" UId="174">
    <Symbol UId="175">
      <Component Name="TextoEtapa" UId="176" />
    </Symbol>
  </Access>
  <Blank UId="177" />
  <Token Text=":=" UId="178" />
  <Blank UId="179" />
  <Access Scope="Call" UId="180">
    <Instruction Name="CONCAT" UId="181">
      <TemplateValue Name="str_type" Type="Type" UId="182">String</TemplateValue>
      <Token Text="(" UId="183" />
      <Parameter Name="IN1" UId="184">
        <Blank UId="185" />
        <Token Text=":=" UId="186" />
        <Blank UId="187" />
        <Access Scope="LiteralConstant" UId="188">
          <Constant UId="189">
            <ConstantValue UId="191">'DOSIFICACION LARGA '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="192" />
      <NewLine UId="193" />
      <Blank Num="53" UId="194" />
      <Parameter Name="IN2" UId="195">
        <Blank UId="196" />
        <Token Text=":=" UId="197" />
        <Blank UId="198" />
        <Access Scope="Call" UId="199">
          <CallInfo UId="200" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="202">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="201" />
            </Instance>
            <Token Text="(" UId="203" />
            <NamelessParameter UId="204">
              <Access Scope="LocalVariable" UId="205">
                <Symbol UId="206">
                  <Component Name="s_DosifLargasRealizadas" UId="207" />
                </Symbol>
              </Access>
              <Blank UId="208" />
              <Token Text="+" UId="209" />
              <Blank UId="210" />
              <Access Scope="LiteralConstant" UId="211">
                <Constant UId="212">
                  <ConstantValue UId="214">1</ConstantValue>
                </Constant>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="216" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="217" />
      <NewLine UId="218" />
      <Blank Num="53" UId="219" />
      <Parameter Name="IN3" UId="220">
        <Blank UId="221" />
        <Token Text=":=" UId="222" />
        <Blank UId="223" />
        <Access Scope="LiteralConstant" UId="224">
          <Constant UId="225">
            <ConstantValue UId="227">' - '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="228" />
      <NewLine UId="229" />
      <Blank Num="53" UId="230" />
      <Parameter Name="IN4" UId="231">
        <Blank UId="232" />
        <Token Text=":=" UId="233" />
        <Blank UId="234" />
        <Access Scope="Call" UId="235">
          <CallInfo UId="236" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="238">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="237" />
            </Instance>
            <Token Text="(" UId="239" />
            <NamelessParameter UId="240">
              <Access Scope="LocalVariable" UId="241">
                <Symbol UId="242">
                  <Component Name="s_TiempoEtapa" UId="243" />
                  <Token Text="." UId="244" />
                  <Component Name="Restante" UId="245" />
                </Symbol>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="247" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="248" />
      <NewLine UId="249" />
      <Blank Num="53" UId="250" />
      <Parameter Name="IN5" UId="251">
        <Blank UId="252" />
        <Token Text=":=" UId="253" />
        <Blank UId="254" />
        <Access Scope="LiteralConstant" UId="255">
          <Constant UId="256">
            <ConstantValue UId="258">' s'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="260" />
    </Instruction>
  </Access>
  <Token Text=";" UId="261" />
  <NewLine UId="262" />
  <Blank Num="20" UId="263" />
  <Token Text="ELSE" UId="264" />
  <NewLine UId="265" />
  <Blank Num="24" UId="266" />
  <Access Scope="LocalVariable" UId="267">
    <Symbol UId="268">
      <Component Name="TextoEtapa" UId="269" />
    </Symbol>
  </Access>
  <Blank UId="270" />
  <Token Text=":=" UId="271" />
  <Blank UId="272" />
  <Access Scope="Call" UId="273">
    <Instruction Name="CONCAT" UId="274">
      <TemplateValue Name="str_type" Type="Type" UId="275">String</TemplateValue>
      <Token Text="(" UId="276" />
      <Parameter Name="IN1" UId="277">
        <Blank UId="278" />
        <Token Text=":=" UId="279" />
        <Blank UId="280" />
        <Access Scope="LiteralConstant" UId="281">
          <Constant UId="282">
            <ConstantValue UId="284">'DRENAJE (DOSIFICACION LARGA) '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="285" />
      <NewLine UId="286" />
      <Blank Num="53" UId="287" />
      <Parameter Name="IN2" UId="288">
        <Blank UId="289" />
        <Token Text=":=" UId="290" />
        <Blank UId="291" />
        <Access Scope="Call" UId="292">
          <CallInfo UId="293" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="295">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="294" />
            </Instance>
            <Token Text="(" UId="296" />
            <NamelessParameter UId="297">
              <Access Scope="LocalVariable" UId="298">
                <Symbol UId="299">
                  <Component Name="s_DosifLargasRealizadas" UId="300" />
                </Symbol>
              </Access>
              <Blank UId="301" />
              <Token Text="+" UId="302" />
              <Blank UId="303" />
              <Access Scope="LiteralConstant" UId="304">
                <Constant UId="305">
                  <ConstantValue UId="307">1</ConstantValue>
                </Constant>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="309" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="310" />
      <NewLine UId="311" />
      <Blank Num="53" UId="312" />
      <Parameter Name="IN3" UId="313">
        <Blank UId="314" />
        <Token Text=":=" UId="315" />
        <Blank UId="316" />
        <Access Scope="LiteralConstant" UId="317">
          <Constant UId="318">
            <ConstantValue UId="320">' - '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="321" />
      <NewLine UId="322" />
      <Blank Num="53" UId="323" />
      <Parameter Name="IN4" UId="324">
        <Blank UId="325" />
        <Token Text=":=" UId="326" />
        <Blank UId="327" />
        <Access Scope="Call" UId="328">
          <CallInfo UId="329" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="331">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="330" />
            </Instance>
            <Token Text="(" UId="332" />
            <NamelessParameter UId="333">
              <Access Scope="LocalVariable" UId="334">
                <Symbol UId="335">
                  <Component Name="s_TiempoEtapa" UId="336" />
                  <Token Text="." UId="337" />
                  <Component Name="Restante" UId="338" />
                </Symbol>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="340" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="341" />
      <NewLine UId="342" />
      <Blank Num="53" UId="343" />
      <Parameter Name="IN5" UId="344">
        <Blank UId="345" />
        <Token Text=":=" UId="346" />
        <Blank UId="347" />
        <Access Scope="LiteralConstant" UId="348">
          <Constant UId="349">
            <ConstantValue UId="351">' s'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="353" />
    </Instruction>
  </Access>
  <Token Text=";" UId="354" />
  <NewLine UId="355" />
  <Blank Num="20" UId="356" />
  <Token Text="END_IF" UId="357" />
  <Token Text=";" UId="358" />
  <NewLine UId="359" />
  <Blank Num="16" UId="360" />
  <Token Text="END_IF" UId="361" />
  <Token Text=";" UId="362" />
  <NewLine UId="363" />
  <Blank Num="12" UId="364" />
  <Access Scope="LiteralConstant" UId="365">
    <Constant UId="366">
      <ConstantValue UId="368">2</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="369" />
  <NewLine UId="370" />
  <Blank Num="16" UId="371" />
  <Token Text="IF" UId="372" />
  <Blank UId="373" />
  <Access Scope="LocalVariable" UId="374">
    <Symbol UId="375">
      <Component Name="EtapaSecAuto" UId="376" />
    </Symbol>
  </Access>
  <Blank UId="377" />
  <Token Text="THEN" UId="378" />
  <NewLine UId="379" />
  <Blank Num="20" UId="380" />
  <Token Text="IF" UId="381" />
  <Blank UId="382" />
  <Token Text="NOT" UId="383" />
  <Blank UId="384" />
  <Access Scope="LocalVariable" UId="385">
    <Symbol UId="386">
      <Component Name="EstadoBombaDosif" UId="387" />
    </Symbol>
  </Access>
  <Blank UId="388" />
  <Token Text="THEN" UId="389" />
  <NewLine UId="390" />
  <Blank Num="24" UId="391" />
  <Access Scope="LocalVariable" UId="392">
    <Symbol UId="393">
      <Component Name="TextoEtapa" UId="394" />
    </Symbol>
  </Access>
  <Blank UId="395" />
  <Token Text=":=" UId="396" />
  <Blank UId="397" />
  <Access Scope="LiteralConstant" UId="398">
    <Constant UId="399">
      <ConstantValue UId="401">'DOSIFICACION - ESPERA BD'</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="402" />
  <NewLine UId="403" />
  <Blank Num="20" UId="404" />
  <Token Text="ELSE" UId="405" />
  <NewLine UId="406" />
  <Blank Num="24" UId="407" />
  <Token Text="IF" UId="408" />
  <Blank UId="409" />
  <Access Scope="LocalVariable" UId="410">
    <Symbol UId="411">
      <Component Name="Dosificacion" UId="412" />
    </Symbol>
  </Access>
  <Blank UId="413" />
  <Token Text="THEN" UId="414" />
  <NewLine UId="415" />
  <Blank Num="28" UId="416" />
  <Access Scope="LocalVariable" UId="417">
    <Symbol UId="418">
      <Component Name="TextoEtapa" UId="419" />
    </Symbol>
  </Access>
  <Blank UId="420" />
  <Token Text=":=" UId="421" />
  <Blank UId="422" />
  <Access Scope="Call" UId="423">
    <Instruction Name="CONCAT" UId="424">
      <TemplateValue Name="str_type" Type="Type" UId="425">String</TemplateValue>
      <Token Text="(" UId="426" />
      <Parameter Name="IN1" UId="427">
        <Blank UId="428" />
        <Token Text=":=" UId="429" />
        <Blank UId="430" />
        <Access Scope="LiteralConstant" UId="431">
          <Constant UId="432">
            <ConstantValue UId="434">'DOSIFICACION CORTA '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="435" />
      <NewLine UId="436" />
      <Blank Num="57" UId="437" />
      <Parameter Name="IN2" UId="438">
        <Blank UId="439" />
        <Token Text=":=" UId="440" />
        <Blank UId="441" />
        <Access Scope="Call" UId="442">
          <CallInfo UId="443" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="445">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="444" />
            </Instance>
            <Token Text="(" UId="446" />
            <NamelessParameter UId="447">
              <Access Scope="LocalVariable" UId="448">
                <Symbol UId="449">
                  <Component Name="s_DosifCortasRealizadas" UId="450" />
                </Symbol>
              </Access>
              <Blank UId="451" />
              <Token Text="+" UId="452" />
              <Blank UId="453" />
              <Access Scope="LiteralConstant" UId="454">
                <Constant UId="455">
                  <ConstantValue UId="457">1</ConstantValue>
                </Constant>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="459" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="460" />
      <NewLine UId="461" />
      <Blank Num="57" UId="462" />
      <Parameter Name="IN3" UId="463">
        <Blank UId="464" />
        <Token Text=":=" UId="465" />
        <Blank UId="466" />
        <Access Scope="LiteralConstant" UId="467">
          <Constant UId="468">
            <ConstantValue UId="470">' - '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="471" />
      <NewLine UId="472" />
      <Blank Num="57" UId="473" />
      <Parameter Name="IN4" UId="474">
        <Blank UId="475" />
        <Token Text=":=" UId="476" />
        <Blank UId="477" />
        <Access Scope="Call" UId="478">
          <CallInfo UId="479" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="481">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="480" />
            </Instance>
            <Token Text="(" UId="482" />
            <NamelessParameter UId="483">
              <Access Scope="LocalVariable" UId="484">
                <Symbol UId="485">
                  <Component Name="s_TiempoEtapa" UId="486" />
                  <Token Text="." UId="487" />
                  <Component Name="Restante" UId="488" />
                </Symbol>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="490" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="491" />
      <NewLine UId="492" />
      <Blank Num="57" UId="493" />
      <Parameter Name="IN5" UId="494">
        <Blank UId="495" />
        <Token Text=":=" UId="496" />
        <Blank UId="497" />
        <Access Scope="LiteralConstant" UId="498">
          <Constant UId="499">
            <ConstantValue UId="501">' s'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="503" />
    </Instruction>
  </Access>
  <Token Text=";" UId="504" />
  <NewLine UId="505" />
  <Blank Num="24" UId="506" />
  <Token Text="ELSE" UId="507" />
  <NewLine UId="508" />
  <Blank Num="28" UId="509" />
  <Access Scope="LocalVariable" UId="510">
    <Symbol UId="511">
      <Component Name="TextoEtapa" UId="512" />
    </Symbol>
  </Access>
  <Blank UId="513" />
  <Token Text=":=" UId="514" />
  <Blank UId="515" />
  <Access Scope="Call" UId="516">
    <Instruction Name="CONCAT" UId="517">
      <TemplateValue Name="str_type" Type="Type" UId="518">String</TemplateValue>
      <Token Text="(" UId="519" />
      <Parameter Name="IN1" UId="520">
        <Blank UId="521" />
        <Token Text=":=" UId="522" />
        <Blank UId="523" />
        <Access Scope="LiteralConstant" UId="524">
          <Constant UId="525">
            <ConstantValue UId="527">'DRENAJE (DOSIFICACION CORTA) '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="528" />
      <NewLine UId="529" />
      <Blank Num="57" UId="530" />
      <Parameter Name="IN2" UId="531">
        <Blank UId="532" />
        <Token Text=":=" UId="533" />
        <Blank UId="534" />
        <Access Scope="Call" UId="535">
          <CallInfo UId="536" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="538">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="537" />
            </Instance>
            <Token Text="(" UId="539" />
            <NamelessParameter UId="540">
              <Access Scope="LocalVariable" UId="541">
                <Symbol UId="542">
                  <Component Name="s_DosifLargasRealizadas" UId="543" />
                </Symbol>
              </Access>
              <Blank UId="544" />
              <Token Text="+" UId="545" />
              <Blank UId="546" />
              <Access Scope="LiteralConstant" UId="547">
                <Constant UId="548">
                  <ConstantValue UId="550">1</ConstantValue>
                </Constant>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="552" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="553" />
      <NewLine UId="554" />
      <Blank Num="57" UId="555" />
      <Parameter Name="IN3" UId="556">
        <Blank UId="557" />
        <Token Text=":=" UId="558" />
        <Blank UId="559" />
        <Access Scope="LiteralConstant" UId="560">
          <Constant UId="561">
            <ConstantValue UId="563">' - '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="564" />
      <NewLine UId="565" />
      <Blank Num="57" UId="566" />
      <Parameter Name="IN4" UId="567">
        <Blank UId="568" />
        <Token Text=":=" UId="569" />
        <Blank UId="570" />
        <Access Scope="Call" UId="571">
          <CallInfo UId="572" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="574">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="573" />
            </Instance>
            <Token Text="(" UId="575" />
            <NamelessParameter UId="576">
              <Access Scope="LocalVariable" UId="577">
                <Symbol UId="578">
                  <Component Name="s_TiempoEtapa" UId="579" />
                  <Token Text="." UId="580" />
                  <Component Name="Restante" UId="581" />
                </Symbol>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="583" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="584" />
      <NewLine UId="585" />
      <Blank Num="57" UId="586" />
      <Parameter Name="IN5" UId="587">
        <Blank UId="588" />
        <Token Text=":=" UId="589" />
        <Blank UId="590" />
        <Access Scope="LiteralConstant" UId="591">
          <Constant UId="592">
            <ConstantValue UId="594">' s'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="596" />
    </Instruction>
  </Access>
  <Token Text=";" UId="597" />
  <NewLine UId="598" />
  <Blank Num="24" UId="599" />
  <Token Text="END_IF" UId="600" />
  <Token Text=";" UId="601" />
  <NewLine UId="602" />
  <Blank Num="20" UId="603" />
  <Token Text="END_IF" UId="604" />
  <Token Text=";" UId="605" />
  <NewLine UId="606" />
  <Blank Num="16" UId="607" />
  <Token Text="ELSE" UId="608" />
  <NewLine UId="609" />
  <Blank Num="20" UId="610" />
  <Token Text="IF" UId="611" />
  <Blank UId="612" />
  <Token Text="NOT" UId="613" />
  <Blank UId="614" />
  <Access Scope="LocalVariable" UId="615">
    <Symbol UId="616">
      <Component Name="EstadoBombaDosif" UId="617" />
    </Symbol>
  </Access>
  <Blank UId="618" />
  <Token Text="THEN" UId="619" />
  <NewLine UId="620" />
  <Blank Num="24" UId="621" />
  <Access Scope="LocalVariable" UId="622">
    <Symbol UId="623">
      <Component Name="TextoEtapa" UId="624" />
    </Symbol>
  </Access>
  <Blank UId="625" />
  <Token Text=":=" UId="626" />
  <Blank UId="627" />
  <Access Scope="LiteralConstant" UId="628">
    <Constant UId="629">
      <ConstantValue UId="631">'DOSIFICACION - ESPERA BD'</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="632" />
  <NewLine UId="633" />
  <Blank Num="20" UId="634" />
  <Token Text="ELSE" UId="635" />
  <NewLine UId="636" />
  <Blank Num="24" UId="637" />
  <Access Scope="LocalVariable" UId="638">
    <Symbol UId="639">
      <Component Name="TextoEtapa" UId="640" />
    </Symbol>
  </Access>
  <Blank UId="641" />
  <Token Text=":=" UId="642" />
  <Blank UId="643" />
  <Access Scope="Call" UId="644">
    <Instruction Name="CONCAT" UId="645">
      <TemplateValue Name="str_type" Type="Type" UId="646">String</TemplateValue>
      <Token Text="(" UId="647" />
      <Parameter Name="IN1" UId="648">
        <Blank UId="649" />
        <Token Text=":=" UId="650" />
        <Blank UId="651" />
        <Access Scope="LiteralConstant" UId="652">
          <Constant UId="653">
            <ConstantValue UId="655">'DOSIFICACION MANUAL - '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="656" />
      <NewLine UId="657" />
      <Blank Num="53" UId="658" />
      <Parameter Name="IN2" UId="659">
        <Blank UId="660" />
        <Token Text=":=" UId="661" />
        <Blank UId="662" />
        <Access Scope="Call" UId="663">
          <CallInfo UId="664" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="666">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="665" />
            </Instance>
            <Token Text="(" UId="667" />
            <NamelessParameter UId="668">
              <Access Scope="LocalVariable" UId="669">
                <Symbol UId="670">
                  <Component Name="s_TiempoEtapa" UId="671" />
                  <Token Text="." UId="672" />
                  <Component Name="Restante" UId="673" />
                </Symbol>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="675" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="676" />
      <NewLine UId="677" />
      <Blank Num="53" UId="678" />
      <Parameter Name="IN3" UId="679">
        <Blank UId="680" />
        <Token Text=":=" UId="681" />
        <Blank UId="682" />
        <Access Scope="LiteralConstant" UId="683">
          <Constant UId="684">
            <ConstantValue UId="686">' s'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="688" />
    </Instruction>
  </Access>
  <Token Text=";" UId="689" />
  <NewLine UId="690" />
  <Blank Num="20" UId="691" />
  <Token Text="END_IF" UId="692" />
  <Token Text=";" UId="693" />
  <NewLine UId="694" />
  <Blank Num="20" UId="695" />
  <NewLine UId="696" />
  <Blank Num="16" UId="697" />
  <Token Text="END_IF" UId="698" />
  <Token Text=";" UId="699" />
  <NewLine UId="700" />
  <Blank Num="16" UId="701" />
  <NewLine UId="702" />
  <Blank Num="12" UId="703" />
  <Token Text="ELSE" UId="704" />
  <NewLine UId="705" />
  <Blank Num="16" UId="706" />
  <Token Text="IF" UId="707" />
  <Blank UId="708" />
  <Token Text="NOT" UId="709" />
  <Blank UId="710" />
  <Access Scope="LocalVariable" UId="711">
    <Symbol UId="712">
      <Component Name="EstadoBombaDosif" UId="713" />
    </Symbol>
  </Access>
  <Blank UId="714" />
  <Token Text="THEN" UId="715" />
  <NewLine UId="716" />
  <Blank Num="20" UId="717" />
  <Access Scope="LocalVariable" UId="718">
    <Symbol UId="719">
      <Component Name="TextoEtapa" UId="720" />
    </Symbol>
  </Access>
  <Blank UId="721" />
  <Token Text=":=" UId="722" />
  <Blank UId="723" />
  <Access Scope="LiteralConstant" UId="724">
    <Constant UId="725">
      <ConstantValue UId="727">'DOSIFICACION - ESPERA BD'</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="728" />
  <NewLine UId="729" />
  <Blank Num="16" UId="730" />
  <Token Text="ELSE" UId="731" />
  <NewLine UId="732" />
  <Blank Num="20" UId="733" />
  <Access Scope="LocalVariable" UId="734">
    <Symbol UId="735">
      <Component Name="TextoEtapa" UId="736" />
    </Symbol>
  </Access>
  <Blank UId="737" />
  <Token Text=":=" UId="738" />
  <Blank UId="739" />
  <Access Scope="LiteralConstant" UId="740">
    <Constant UId="741">
      <ConstantValue UId="743">'DOSIFICACION'</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="744" />
  <NewLine UId="745" />
  <Blank Num="16" UId="746" />
  <Token Text="END_IF" UId="747" />
  <Token Text=";" UId="748" />
  <NewLine UId="749" />
  <Blank Num="8" UId="750" />
  <Token Text="END_CASE" UId="751" />
  <Token Text=";" UId="752" />
  <NewLine UId="753" />
  <Blank Num="4" UId="754" />
  <Access Scope="LocalConstant" UId="755">
    <Constant Name="ETAPA_EMPUJE" UId="756" />
  </Access>
  <Token Text=":" UId="759" />
  <NewLine UId="760" />
  <Blank Num="8" UId="761" />
  <Access Scope="LocalVariable" UId="762">
    <Symbol UId="763">
      <Component Name="TextoEtapa" UId="764" />
    </Symbol>
  </Access>
  <Blank UId="765" />
  <Token Text=":=" UId="766" />
  <Blank UId="767" />
  <Access Scope="Call" UId="768">
    <Instruction Name="CONCAT" UId="769">
      <TemplateValue Name="str_type" Type="Type" UId="770">String</TemplateValue>
      <Token Text="(" UId="771" />
      <Parameter Name="IN1" UId="772">
        <Blank UId="773" />
        <Token Text=":=" UId="774" />
        <Blank UId="775" />
        <Access Scope="LiteralConstant" UId="776">
          <Constant UId="777">
            <ConstantValue UId="779">'EMPUJE - '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="780" />
      <NewLine UId="781" />
      <Blank Num="37" UId="782" />
      <Parameter Name="IN2" UId="783">
        <Blank UId="784" />
        <Token Text=":=" UId="785" />
        <Blank UId="786" />
        <Access Scope="Call" UId="787">
          <CallInfo UId="788" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="790">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="789" />
            </Instance>
            <Token Text="(" UId="791" />
            <NamelessParameter UId="792">
              <Access Scope="LocalVariable" UId="793">
                <Symbol UId="794">
                  <Component Name="s_TiempoEtapa" UId="795" />
                  <Token Text="." UId="796" />
                  <Component Name="Restante" UId="797" />
                </Symbol>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="799" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="800" />
      <NewLine UId="801" />
      <Blank Num="37" UId="802" />
      <Parameter Name="IN3" UId="803">
        <Blank UId="804" />
        <Token Text=":=" UId="805" />
        <Blank UId="806" />
        <Access Scope="LiteralConstant" UId="807">
          <Constant UId="808">
            <ConstantValue UId="810">' s'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="812" />
    </Instruction>
  </Access>
  <Token Text=";" UId="813" />
  <NewLine UId="814" />
  <Blank Num="4" UId="815" />
  <Access Scope="LocalConstant" UId="816">
    <Constant Name="ETAPA_ACLARADO" UId="817" />
  </Access>
  <Token Text=":" UId="820" />
  <NewLine UId="821" />
  <Blank Num="8" UId="822" />
  <Access Scope="LocalVariable" UId="823">
    <Symbol UId="824">
      <Component Name="TextoEtapa" UId="825" />
    </Symbol>
  </Access>
  <Blank UId="826" />
  <Token Text=":=" UId="827" />
  <Blank UId="828" />
  <Access Scope="Call" UId="829">
    <Instruction Name="CONCAT" UId="830">
      <TemplateValue Name="str_type" Type="Type" UId="831">String</TemplateValue>
      <Token Text="(" UId="832" />
      <Parameter Name="IN1" UId="833">
        <Blank UId="834" />
        <Token Text=":=" UId="835" />
        <Blank UId="836" />
        <Access Scope="LiteralConstant" UId="837">
          <Constant UId="838">
            <ConstantValue UId="840">'ACLARADO - '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="841" />
      <NewLine UId="842" />
      <Blank Num="37" UId="843" />
      <Parameter Name="IN2" UId="844">
        <Blank UId="845" />
        <Token Text=":=" UId="846" />
        <Blank UId="847" />
        <Access Scope="Call" UId="848">
          <CallInfo UId="849" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="851">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="850" />
            </Instance>
            <Token Text="(" UId="852" />
            <NamelessParameter UId="853">
              <Access Scope="LocalVariable" UId="854">
                <Symbol UId="855">
                  <Component Name="s_TiempoEtapa" UId="856" />
                  <Token Text="." UId="857" />
                  <Component Name="Restante" UId="858" />
                </Symbol>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="860" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="861" />
      <NewLine UId="862" />
      <Blank Num="37" UId="863" />
      <Parameter Name="IN3" UId="864">
        <Blank UId="865" />
        <Token Text=":=" UId="866" />
        <Blank UId="867" />
        <Access Scope="LiteralConstant" UId="868">
          <Constant UId="869">
            <ConstantValue UId="871">' s'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="873" />
    </Instruction>
  </Access>
  <Token Text=";" UId="874" />
  <NewLine UId="875" />
  <Blank Num="4" UId="876" />
  <Access Scope="LocalConstant" UId="877">
    <Constant Name="ETAPA_ESPERA_ENTRE_DOSIF" UId="878" />
  </Access>
  <Token Text=":" UId="881" />
  <NewLine UId="882" />
  <Blank Num="8" UId="883" />
  <Access Scope="LocalVariable" UId="884">
    <Symbol UId="885">
      <Component Name="TextoEtapa" UId="886" />
    </Symbol>
  </Access>
  <Blank UId="887" />
  <Token Text=":=" UId="888" />
  <Blank UId="889" />
  <Access Scope="Call" UId="890">
    <Instruction Name="CONCAT" UId="891">
      <TemplateValue Name="str_type" Type="Type" UId="892">String</TemplateValue>
      <Token Text="(" UId="893" />
      <Parameter Name="IN1" UId="894">
        <Blank UId="895" />
        <Token Text=":=" UId="896" />
        <Blank UId="897" />
        <Access Scope="LiteralConstant" UId="898">
          <Constant UId="899">
            <ConstantValue UId="901">'ESPERA ENTRE DOSIFICACIONES - '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="902" />
      <NewLine UId="903" />
      <Blank Num="37" UId="904" />
      <Parameter Name="IN2" UId="905">
        <Blank UId="906" />
        <Token Text=":=" UId="907" />
        <Blank UId="908" />
        <Access Scope="Call" UId="909">
          <CallInfo UId="910" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="912">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="911" />
            </Instance>
            <Token Text="(" UId="913" />
            <NamelessParameter UId="914">
              <Access Scope="LocalVariable" UId="915">
                <Symbol UId="916">
                  <Component Name="s_TiempoEtapa" UId="917" />
                  <Token Text="." UId="918" />
                  <Component Name="Restante" UId="919" />
                </Symbol>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="921" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text="," UId="922" />
      <NewLine UId="923" />
      <Blank Num="37" UId="924" />
      <Parameter Name="IN3" UId="925">
        <Blank UId="926" />
        <Token Text=":=" UId="927" />
        <Blank UId="928" />
        <Access Scope="LiteralConstant" UId="929">
          <Constant UId="930">
            <ConstantValue UId="932">' s'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="934" />
    </Instruction>
  </Access>
  <Token Text=";" UId="935" />
  <NewLine UId="936" />
  <Blank Num="4" UId="937" />
  <Access Scope="LocalConstant" UId="938">
    <Constant Name="ETAPA_ESPERA_RECIR" UId="939" />
  </Access>
  <Token Text=":" UId="942" />
  <NewLine UId="943" />
  <Blank Num="8" UId="944" />
  <Access Scope="LocalVariable" UId="945">
    <Symbol UId="946">
      <Component Name="TextoEtapa" UId="947" />
    </Symbol>
  </Access>
  <Blank UId="948" />
  <Token Text=":=" UId="949" />
  <Blank UId="950" />
  <Access Scope="LiteralConstant" UId="951">
    <Constant UId="952">
      <ConstantValue UId="954">'ESPERA PASO RECIRCULACION'</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="955" />
  <NewLine UId="956" />
  <Blank Num="4" UId="957" />
  <Access Scope="LocalConstant" UId="958">
    <Constant Name="ETAPA_ESPERA_DOSIF_MANUAL" UId="959" />
  </Access>
  <Token Text=":" UId="962" />
  <NewLine UId="963" />
  <Blank Num="8" UId="964" />
  <Token Text="IF" UId="965" />
  <Blank UId="966" />
  <Token Text="NOT" UId="967" />
  <Blank UId="968" />
  <Access Scope="LocalVariable" UId="969">
    <Symbol UId="970">
      <Component Name="s_TON_RetardoDosifManual" UId="971" />
      <Token Text="." UId="972" />
      <Component Name="Q" UId="973" />
    </Symbol>
  </Access>
  <Blank UId="974" />
  <Token Text="THEN" UId="975" />
  <NewLine UId="976" />
  <Blank Num="12" UId="977" />
  <Access Scope="LocalVariable" UId="978">
    <Symbol UId="979">
      <Component Name="TextoEtapa" UId="980" />
    </Symbol>
  </Access>
  <Blank UId="981" />
  <Token Text=":=" UId="982" />
  <Blank UId="983" />
  <Access Scope="LiteralConstant" UId="984">
    <Constant UId="985">
      <ConstantValue UId="987">'COMPROBACION DOSIFICACION MANUAL'</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="988" />
  <NewLine UId="989" />
  <Blank Num="8" UId="990" />
  <Token Text="ELSE" UId="991" />
  <NewLine UId="992" />
  <Blank Num="12" UId="993" />
  <Access Scope="LocalVariable" UId="994">
    <Symbol UId="995">
      <Component Name="TextoEtapa" UId="996" />
    </Symbol>
  </Access>
  <Blank UId="997" />
  <Token Text=":=" UId="998" />
  <Blank UId="999" />
  <Access Scope="LiteralConstant" UId="1000">
    <Constant UId="1001">
      <ConstantValue UId="1003">'ESPERA DOSIFICACION MANUAL'</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="1004" />
  <NewLine UId="1005" />
  <Blank Num="8" UId="1006" />
  <Token Text="END_IF" UId="1007" />
  <Token Text=";" UId="1008" />
  <NewLine UId="1009" />
  <Blank Num="4" UId="1010" />
  <Token Text="ELSE" UId="1011" />
  <NewLine UId="1012" />
  <Blank Num="8" UId="1013" />
  <Access Scope="LocalVariable" UId="1014">
    <Symbol UId="1015">
      <Component Name="TextoEtapa" UId="1016" />
    </Symbol>
  </Access>
  <Blank UId="1017" />
  <Token Text=":=" UId="1018" />
  <Blank UId="1019" />
  <Access Scope="LiteralConstant" UId="1020">
    <Constant UId="1021">
      <ConstantValue UId="1023">'FUERA DE PASO'</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="1024" />
  <NewLine UId="1025" />
  <Token Text="END_CASE" UId="1026" />
  <Token Text=";" UId="1027" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="E" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="F" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="10" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="11" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>=============== TEXTO ETAPA</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="12" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="ConductividadActual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="SP_Conductividad" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="23">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>2</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_TON_FiltroCondBaja" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TON_FiltroCondBaja" />
        <Component Name="IN" />
      </Symbol>
    </Access>
    <Part Name="Lt" UId="26">
      <TemplateValue Name="SrcType" Type="Type">Real</TemplateValue>
    </Part>
    <Part Name="Move" UId="27" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="SCoil" UId="28" />
  </Parts>
  <Wires>
    <Wire UId="29">
      <Powerrail />
      <NameCon UId="26" Name="pre" />
    </Wire>
    <Wire UId="30">
      <IdentCon UId="21" />
      <NameCon UId="26" Name="in1" />
    </Wire>
    <Wire UId="31">
      <IdentCon UId="22" />
      <NameCon UId="26" Name="in2" />
    </Wire>
    <Wire UId="32">
      <NameCon UId="26" Name="out" />
      <NameCon UId="27" Name="en" />
    </Wire>
    <Wire UId="33">
      <IdentCon UId="23" />
      <NameCon UId="27" Name="in" />
    </Wire>
    <Wire UId="34">
      <NameCon UId="27" Name="eno" />
      <NameCon UId="28" Name="in" />
    </Wire>
    <Wire UId="35">
      <NameCon UId="27" Name="out1" />
      <IdentCon UId="24" />
    </Wire>
    <Wire UId="36">
      <IdentCon UId="25" />
      <NameCon UId="28" Name="operand" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="13" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="14" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="15" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="16" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>=============== RETARDO CONDUCTIVIDAD</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="17" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="EtapaSecAuto" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="EtapaSecMan" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="24">
      <Constant Name="ETAPA_ESPERA_ENTRE_DOSIF" />
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="26">
      <Constant Name="ETAPA_ESPERA_RECIR" />
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="28">
      <Constant Name="ETAPA_ESPERA_DOSIF_MANUAL" />
    </Access>
    <Access Scope="LocalConstant" UId="29">
      <Constant Name="ETAPA_REPOSO" />
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="32">
      <Constant Name="ETAPA_DOSIFICACION" />
    </Access>
    <Access Scope="LocalConstant" UId="33">
      <Constant Name="ETAPA_EMPUJE" />
    </Access>
    <Access Scope="LocalVariable" UId="34">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="35">
      <Negated Name="operand" />
    </Part>
    <Part Name="Contact" UId="36">
      <Negated Name="operand" />
    </Part>
    <Part Name="Eq" UId="37">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Eq" UId="38">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Eq" UId="39">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="O" UId="40">
      <TemplateValue Name="Card" Type="Cardinality">3</TemplateValue>
    </Part>
    <Part Name="Move" UId="41" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Eq" UId="42">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="43" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="44">
      <Powerrail />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="45">
      <IdentCon UId="21" />
      <NameCon UId="35" Name="operand" />
    </Wire>
    <Wire UId="46">
      <NameCon UId="35" Name="out" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="47">
      <IdentCon UId="22" />
      <NameCon UId="36" Name="operand" />
    </Wire>
    <Wire UId="48">
      <NameCon UId="36" Name="out" />
      <NameCon UId="37" Name="pre" />
      <NameCon UId="38" Name="pre" />
      <NameCon UId="39" Name="pre" />
      <NameCon UId="42" Name="pre" />
    </Wire>
    <Wire UId="49">
      <IdentCon UId="23" />
      <NameCon UId="37" Name="in1" />
    </Wire>
    <Wire UId="50">
      <IdentCon UId="24" />
      <NameCon UId="37" Name="in2" />
    </Wire>
    <Wire UId="51">
      <NameCon UId="37" Name="out" />
      <NameCon UId="40" Name="in1" />
    </Wire>
    <Wire UId="52">
      <IdentCon UId="25" />
      <NameCon UId="38" Name="in1" />
    </Wire>
    <Wire UId="53">
      <IdentCon UId="26" />
      <NameCon UId="38" Name="in2" />
    </Wire>
    <Wire UId="54">
      <NameCon UId="38" Name="out" />
      <NameCon UId="40" Name="in2" />
    </Wire>
    <Wire UId="55">
      <IdentCon UId="27" />
      <NameCon UId="39" Name="in1" />
    </Wire>
    <Wire UId="56">
      <IdentCon UId="28" />
      <NameCon UId="39" Name="in2" />
    </Wire>
    <Wire UId="57">
      <NameCon UId="39" Name="out" />
      <NameCon UId="40" Name="in3" />
    </Wire>
    <Wire UId="58">
      <NameCon UId="40" Name="out" />
      <NameCon UId="41" Name="en" />
    </Wire>
    <Wire UId="59">
      <IdentCon UId="29" />
      <NameCon UId="41" Name="in" />
    </Wire>
    <Wire UId="60">
      <NameCon UId="41" Name="out1" />
      <IdentCon UId="30" />
    </Wire>
    <Wire UId="61">
      <IdentCon UId="31" />
      <NameCon UId="42" Name="in1" />
    </Wire>
    <Wire UId="62">
      <IdentCon UId="32" />
      <NameCon UId="42" Name="in2" />
    </Wire>
    <Wire UId="63">
      <NameCon UId="42" Name="out" />
      <NameCon UId="43" Name="en" />
    </Wire>
    <Wire UId="64">
      <IdentCon UId="33" />
      <NameCon UId="43" Name="in" />
    </Wire>
    <Wire UId="65">
      <NameCon UId="43" Name="out1" />
      <IdentCon UId="34" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="18" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="19" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="1A" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="1B" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>=============== PARO DE SECUENCIA</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="1C" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource />
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="1D" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="1E" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="1F" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="20" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>=============== SECUENCIA</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="21" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <Token Text="CASE" UId="21" />
  <Blank UId="22" />
  <Access Scope="LocalVariable" UId="23">
    <Symbol UId="24">
      <Component Name="s_TipoDosificacionActual" UId="25" />
    </Symbol>
  </Access>
  <Blank UId="26" />
  <Token Text="OF" UId="27" />
  <NewLine UId="28" />
  <Blank Num="4" UId="29" />
  <Access Scope="LiteralConstant" UId="30">
    <Constant UId="31">
      <ConstantValue UId="33">1</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="34" />
  <Blank Num="2" UId="35" />
  <LineComment UId="36">
    <Text UId="37">  Dosificacion Larga</Text>
  </LineComment>
  <NewLine UId="38" />
  <Blank Num="8" UId="39" />
  <Access Scope="LocalVariable" UId="40">
    <Symbol UId="41">
      <Component Name="t_TiempoDosificacion" UId="42" />
    </Symbol>
  </Access>
  <Blank UId="43" />
  <Token Text=":=" UId="44" />
  <Blank UId="45" />
  <Access Scope="LocalVariable" UId="46">
    <Symbol UId="47">
      <Component Name="SP_TiempoDosifLarga" UId="48" />
    </Symbol>
  </Access>
  <Token Text=";" UId="49" />
  <NewLine UId="50" />
  <Blank Num="4" UId="51" />
  <Access Scope="LiteralConstant" UId="52">
    <Constant UId="53">
      <ConstantValue UId="55">2</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="56" />
  <Blank Num="2" UId="57" />
  <LineComment UId="58">
    <Text UId="59">  Dosificacion corta</Text>
  </LineComment>
  <NewLine UId="60" />
  <Blank Num="8" UId="61" />
  <Access Scope="LocalVariable" UId="62">
    <Symbol UId="63">
      <Component Name="t_TiempoDosificacion" UId="64" />
    </Symbol>
  </Access>
  <Blank UId="65" />
  <Token Text=":=" UId="66" />
  <Blank UId="67" />
  <Access Scope="LocalVariable" UId="68">
    <Symbol UId="69">
      <Component Name="SP_TiempoDosifCorta" UId="70" />
    </Symbol>
  </Access>
  <Token Text=";" UId="71" />
  <NewLine UId="72" />
  <Blank Num="4" UId="73" />
  <Token Text="ELSE" UId="74" />
  <Blank Num="2" UId="75" />
  <NewLine UId="76" />
  <Blank Num="8" UId="77" />
  <Access Scope="LocalVariable" UId="78">
    <Symbol UId="79">
      <Component Name="t_TiempoDosificacion" UId="80" />
    </Symbol>
  </Access>
  <Blank UId="81" />
  <Token Text=":=" UId="82" />
  <Blank UId="83" />
  <Access Scope="LocalVariable" UId="84">
    <Symbol UId="85">
      <Component Name="SP_TiempoDosifCorta" UId="86" />
    </Symbol>
  </Access>
  <Token Text=";" UId="87" />
  <NewLine UId="88" />
  <Token Text="END_CASE" UId="89" />
  <Token Text=";" UId="90" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="22" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="23" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="24" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="25" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Carga datos de tipo de dosificacion</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="26" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <Token Text="IF" UId="21" />
  <Blank UId="22" />
  <Access Scope="LocalVariable" UId="23">
    <Symbol UId="24">
      <Component Name="s_EtapaDosificacion" UId="25" />
    </Symbol>
  </Access>
  <Blank UId="26" />
  <Token Text="=" UId="27" />
  <Blank UId="28" />
  <Access Scope="LocalConstant" UId="29">
    <Constant Name="ETAPA_REPOSO" UId="30" />
  </Access>
  <Blank UId="33" />
  <Token Text="THEN" UId="34" />
  <NewLine UId="35" />
  <Blank Num="4" UId="36" />
  <NewLine UId="37" />
  <Blank Num="4" UId="38" />
  <LineComment UId="39">
    <Text UId="40">  ========================================================================================</Text>
  </LineComment>
  <NewLine UId="41" />
  <Blank Num="4" UId="42" />
  <LineComment UId="43">
    <Text UId="44">  En etapa dosificar automatico</Text>
  </LineComment>
  <NewLine UId="45" />
  <Blank Num="4" UId="46" />
  <Token Text="IF" UId="47" />
  <Blank UId="48" />
  <Access Scope="LocalVariable" UId="49">
    <Symbol UId="50">
      <Component Name="EtapaSecAuto" UId="51" />
    </Symbol>
  </Access>
  <Blank UId="52" />
  <Token Text="AND" UId="53" />
  <Blank UId="54" />
  <Access Scope="LocalVariable" UId="55">
    <Symbol UId="56">
      <Component Name="OrdenMarcha" UId="57" />
    </Symbol>
  </Access>
  <Blank UId="58" />
  <Token Text="THEN" UId="59" />
  <NewLine UId="60" />
  <Blank Num="8" UId="61" />
  <NewLine UId="62" />
  <Blank Num="8" UId="63" />
  <LineComment UId="64">
    <Text UId="65">  Si esta configurado dosificar siempre independientemente de la conductividad</Text>
  </LineComment>
  <NewLine UId="66" />
  <Blank Num="8" UId="67" />
  <Token Text="IF" UId="68" />
  <Blank UId="69" />
  <Access Scope="LocalVariable" UId="70">
    <Symbol UId="71">
      <Component Name="SiempreDosificar" UId="72" />
    </Symbol>
  </Access>
  <Blank UId="73" />
  <Token Text="THEN" UId="74" />
  <NewLine UId="75" />
  <Blank Num="12" UId="76" />
  <Access Scope="LocalVariable" UId="77">
    <Symbol UId="78">
      <Component Name="s_EtapaDosificacion" UId="79" />
    </Symbol>
  </Access>
  <Blank UId="80" />
  <Token Text=":=" UId="81" />
  <Blank UId="82" />
  <Access Scope="LocalConstant" UId="83">
    <Constant Name="ETAPA_COMPROBACION_LARGA" UId="84" />
  </Access>
  <Token Text=";" UId="87" />
  <NewLine UId="88" />
  <Blank Num="8" UId="89" />
  <Token Text="ELSE" UId="90" />
  <NewLine UId="91" />
  <Blank Num="12" UId="92" />
  <LineComment UId="93">
    <Text UId="94">  Si no esta configurado dosificar siempre, miramos la conductividad</Text>
  </LineComment>
  <NewLine UId="95" />
  <Blank Num="12" UId="96" />
  <Token Text="IF" UId="97" />
  <Blank UId="98" />
  <Access Scope="LocalVariable" UId="99">
    <Symbol UId="100">
      <Component Name="s_TON_FiltroCondBaja" UId="101" />
      <Token Text="." UId="102" />
      <Component Name="Q" UId="103" />
    </Symbol>
  </Access>
  <Blank UId="104" />
  <Token Text="THEN" UId="105" />
  <NewLine UId="106" />
  <Blank Num="16" UId="107" />
  <Access Scope="LocalVariable" UId="108">
    <Symbol UId="109">
      <Component Name="s_EtapaDosificacion" UId="110" />
    </Symbol>
  </Access>
  <Blank UId="111" />
  <Token Text=":=" UId="112" />
  <Blank UId="113" />
  <Access Scope="LocalConstant" UId="114">
    <Constant Name="ETAPA_COMPROBACION_LARGA" UId="115" />
  </Access>
  <Token Text=";" UId="118" />
  <NewLine UId="119" />
  <Blank Num="12" UId="120" />
  <Token Text="ELSE" UId="121" />
  <NewLine UId="122" />
  <Blank Num="16" UId="123" />
  <Access Scope="LocalVariable" UId="124">
    <Symbol UId="125">
      <Component Name="s_EtapaDosificacion" UId="126" />
    </Symbol>
  </Access>
  <Blank UId="127" />
  <Token Text=":=" UId="128" />
  <Blank UId="129" />
  <Access Scope="LocalConstant" UId="130">
    <Constant Name="ETAPA_ESPERA_RECIR" UId="131" />
  </Access>
  <Token Text=";" UId="134" />
  <NewLine UId="135" />
  <Blank Num="12" UId="136" />
  <Token Text="END_IF" UId="137" />
  <Token Text=";" UId="138" />
  <NewLine UId="139" />
  <Blank Num="8" UId="140" />
  <Token Text="END_IF" UId="141" />
  <Token Text=";" UId="142" />
  <NewLine UId="143" />
  <Blank Num="8" UId="144" />
  <Access Scope="LocalVariable" UId="145">
    <Symbol UId="146">
      <Component Name="s_TiempoEtapa" UId="147" />
      <Token Text="." UId="148" />
      <Component Name="Actual" UId="149" />
    </Symbol>
  </Access>
  <Blank UId="150" />
  <Token Text=":=" UId="151" />
  <Blank UId="152" />
  <Access Scope="LiteralConstant" UId="153">
    <Constant UId="154">
      <ConstantValue UId="156">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="157" />
  <NewLine UId="158" />
  <Blank Num="4" UId="159" />
  <Token Text="END_IF" UId="160" />
  <Token Text=";" UId="161" />
  <NewLine UId="162" />
  <Blank Num="4" UId="163" />
  <NewLine UId="164" />
  <Blank Num="4" UId="165" />
  <LineComment UId="166">
    <Text UId="167">  ========================================================================================</Text>
  </LineComment>
  <NewLine UId="168" />
  <Blank Num="4" UId="169" />
  <LineComment UId="170">
    <Text UId="171">  En etapa dosificar manual</Text>
  </LineComment>
  <NewLine UId="172" />
  <Blank Num="4" UId="173" />
  <Token Text="IF" UId="174" />
  <Blank UId="175" />
  <Access Scope="LocalVariable" UId="176">
    <Symbol UId="177">
      <Component Name="EtapaSecMan" UId="178" />
    </Symbol>
  </Access>
  <Blank UId="179" />
  <Token Text="THEN" UId="180" />
  <NewLine UId="181" />
  <Blank Num="8" UId="182" />
  <Access Scope="LocalVariable" UId="183">
    <Symbol UId="184">
      <Component Name="s_EtapaDosificacion" UId="185" />
    </Symbol>
  </Access>
  <Blank UId="186" />
  <Token Text=":=" UId="187" />
  <Blank UId="188" />
  <Access Scope="LocalConstant" UId="189">
    <Constant Name="ETAPA_ESPERA_RECIR" UId="190" />
  </Access>
  <Token Text=";" UId="193" />
  <NewLine UId="194" />
  <Blank Num="8" UId="195" />
  <Access Scope="LocalVariable" UId="196">
    <Symbol UId="197">
      <Component Name="s_TiempoEtapa" UId="198" />
      <Token Text="." UId="199" />
      <Component Name="Actual" UId="200" />
    </Symbol>
  </Access>
  <Blank UId="201" />
  <Token Text=":=" UId="202" />
  <Blank UId="203" />
  <Access Scope="LiteralConstant" UId="204">
    <Constant UId="205">
      <ConstantValue UId="207">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="208" />
  <NewLine UId="209" />
  <Blank Num="4" UId="210" />
  <Token Text="END_IF" UId="211" />
  <Token Text=";" UId="212" />
  <NewLine UId="213" />
  <Blank Num="4" UId="214" />
  <NewLine UId="215" />
  <Blank Num="4" UId="216" />
  <LineComment UId="217">
    <Text UId="218">  Reset de marcas de estado de dosificacion</Text>
  </LineComment>
  <NewLine UId="219" />
  <Blank Num="4" UId="220" />
  <Access Scope="LocalVariable" UId="221">
    <Symbol UId="222">
      <Component Name="s_DosifLargasRealizadas" UId="223" />
    </Symbol>
  </Access>
  <Blank UId="224" />
  <Token Text=":=" UId="225" />
  <Blank UId="226" />
  <Access Scope="LocalVariable" UId="227">
    <Symbol UId="228">
      <Component Name="s_DosifCortasRealizadas" UId="229" />
    </Symbol>
  </Access>
  <Blank UId="230" />
  <Token Text=":=" UId="231" />
  <Blank UId="232" />
  <Access Scope="LocalVariable" UId="233">
    <Symbol UId="234">
      <Component Name="s_TipoDosificacionActual" UId="235" />
    </Symbol>
  </Access>
  <Blank UId="236" />
  <Token Text=":=" UId="237" />
  <Blank UId="238" />
  <Access Scope="LiteralConstant" UId="239">
    <Constant UId="240">
      <ConstantValue UId="242">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="243" />
  <NewLine UId="244" />
  <Blank Num="4" UId="245" />
  <Access Scope="LocalVariable" UId="246">
    <Symbol UId="247">
      <Component Name="s_DosifLargaCompletada" UId="248" />
    </Symbol>
  </Access>
  <Blank UId="249" />
  <Token Text=":=" UId="250" />
  <Blank UId="251" />
  <Access Scope="LocalVariable" UId="252">
    <Symbol UId="253">
      <Component Name="s_DosifCortaCompletada" UId="254" />
    </Symbol>
  </Access>
  <Blank UId="255" />
  <Token Text=":=" UId="256" />
  <Blank UId="257" />
  <Access Scope="LocalVariable" UId="258">
    <Symbol UId="259">
      <Component Name="DosifAutoCompletada" UId="260" />
    </Symbol>
  </Access>
  <Token Text=":=" UId="261" />
  <Blank UId="262" />
  <Access Scope="LiteralConstant" UId="263">
    <Constant UId="264">
      <ConstantValue UId="266">FALSE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="267" />
  <NewLine Num="2" UId="268" />
  <Token Text="END_IF" UId="269" />
  <Token Text=";" UId="270" />
  <NewLine UId="271" />
  <Blank Num="4" UId="272" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="27" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="28" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="29" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="2A" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 0: Espera orden de marcha</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="2B" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <Token Text="IF" UId="21" />
  <Blank UId="22" />
  <Access Scope="LocalVariable" UId="23">
    <Symbol UId="24">
      <Component Name="s_EtapaDosificacion" UId="25" />
    </Symbol>
  </Access>
  <Blank UId="26" />
  <Token Text="=" UId="27" />
  <Blank UId="28" />
  <Access Scope="LocalConstant" UId="29">
    <Constant Name="ETAPA_COMPROBACION_LARGA" UId="30" />
  </Access>
  <Blank UId="33" />
  <Token Text="THEN" UId="34" />
  <NewLine UId="35" />
  <Blank Num="4" UId="36" />
  <NewLine UId="37" />
  <Blank Num="4" UId="38" />
  <LineComment UId="39">
    <Text UId="40">  ========================================================================================</Text>
  </LineComment>
  <NewLine UId="41" />
  <Blank Num="4" UId="42" />
  <LineComment UId="43">
    <Text UId="44">  Comprobacion de dosificaciones largas, Ya ha dosificado todas.</Text>
  </LineComment>
  <NewLine UId="45" />
  <Blank Num="4" UId="46" />
  <Token Text="IF" UId="47" />
  <Blank UId="48" />
  <Access Scope="LocalVariable" UId="49">
    <Symbol UId="50">
      <Component Name="s_DosifLargasRealizadas" UId="51" />
    </Symbol>
  </Access>
  <Blank UId="52" />
  <Token Text="&gt;=" UId="53" />
  <Blank UId="54" />
  <Access Scope="LocalVariable" UId="55">
    <Symbol UId="56">
      <Component Name="NumeroDosifLarga" UId="57" />
    </Symbol>
  </Access>
  <Blank UId="58" />
  <Token Text="THEN" UId="59" />
  <NewLine UId="60" />
  <Blank Num="8" UId="61" />
  <Access Scope="LocalVariable" UId="62">
    <Symbol UId="63">
      <Component Name="s_EtapaDosificacion" UId="64" />
    </Symbol>
  </Access>
  <Blank UId="65" />
  <Token Text=":=" UId="66" />
  <Blank UId="67" />
  <Access Scope="LocalConstant" UId="68">
    <Constant Name="ETAPA_COMPROBACION_CORTA" UId="69" />
  </Access>
  <Token Text=";" UId="72" />
  <NewLine UId="73" />
  <Blank Num="8" UId="74" />
  <Access Scope="LocalVariable" UId="75">
    <Symbol UId="76">
      <Component Name="s_TiempoEtapa" UId="77" />
      <Token Text="." UId="78" />
      <Component Name="Actual" UId="79" />
    </Symbol>
  </Access>
  <Blank UId="80" />
  <Token Text=":=" UId="81" />
  <Blank UId="82" />
  <Access Scope="LiteralConstant" UId="83">
    <Constant UId="84">
      <ConstantValue UId="86">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="87" />
  <NewLine UId="88" />
  <Blank Num="8" UId="89" />
  <Access Scope="LocalVariable" UId="90">
    <Symbol UId="91">
      <Component Name="s_DosifLargaCompletada" UId="92" />
    </Symbol>
  </Access>
  <Blank UId="93" />
  <Token Text=":=" UId="94" />
  <Blank UId="95" />
  <Access Scope="LiteralConstant" UId="96">
    <Constant UId="97">
      <ConstantValue UId="99">TRUE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="100" />
  <NewLine UId="101" />
  <Blank Num="4" UId="102" />
  <Token Text="ELSE" UId="103" />
  <NewLine UId="104" />
  <Blank Num="8" UId="105" />
  <Access Scope="LocalVariable" UId="106">
    <Symbol UId="107">
      <Component Name="s_EtapaDosificacion" UId="108" />
    </Symbol>
  </Access>
  <Blank UId="109" />
  <Token Text=":=" UId="110" />
  <Blank UId="111" />
  <Access Scope="LocalConstant" UId="112">
    <Constant Name="ETAPA_APERTURA_CAMINO" UId="113" />
  </Access>
  <Token Text=";" UId="116" />
  <NewLine UId="117" />
  <Blank Num="8" UId="118" />
  <Access Scope="LocalVariable" UId="119">
    <Symbol UId="120">
      <Component Name="s_TiempoEtapa" UId="121" />
      <Token Text="." UId="122" />
      <Component Name="Actual" UId="123" />
    </Symbol>
  </Access>
  <Blank UId="124" />
  <Token Text=":=" UId="125" />
  <Blank UId="126" />
  <Access Scope="LiteralConstant" UId="127">
    <Constant UId="128">
      <ConstantValue UId="130">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="131" />
  <NewLine UId="132" />
  <Blank Num="8" UId="133" />
  <NewLine UId="134" />
  <Blank Num="4" UId="135" />
  <Token Text="END_IF" UId="136" />
  <Token Text=";" UId="137" />
  <NewLine UId="138" />
  <Blank Num="4" UId="139" />
  <Access Scope="LocalVariable" UId="140">
    <Symbol UId="141">
      <Component Name="s_TipoDosificacionActual" UId="142" />
    </Symbol>
  </Access>
  <Blank UId="143" />
  <Token Text=":=" UId="144" />
  <Blank UId="145" />
  <Access Scope="LiteralConstant" UId="146">
    <Constant UId="147">
      <ConstantValue UId="149">1</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="150" />
  <NewLine UId="151" />
  <Token Text="END_IF" UId="152" />
  <Token Text=";" UId="153" />
  <NewLine UId="154" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="2C" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="2D" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="2E" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="2F" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 5: Comprobar dosificacion larga</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="30" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <Token Text="IF" UId="21" />
  <Blank UId="22" />
  <Access Scope="LocalVariable" UId="23">
    <Symbol UId="24">
      <Component Name="s_EtapaDosificacion" UId="25" />
    </Symbol>
  </Access>
  <Blank UId="26" />
  <Token Text="=" UId="27" />
  <Blank UId="28" />
  <Access Scope="LocalConstant" UId="29">
    <Constant Name="ETAPA_COMPROBACION_CORTA" UId="30" />
  </Access>
  <Blank UId="33" />
  <Token Text="THEN" UId="34" />
  <NewLine UId="35" />
  <Blank Num="4" UId="36" />
  <NewLine UId="37" />
  <Blank Num="4" UId="38" />
  <LineComment UId="39">
    <Text UId="40">  ========================================================================================</Text>
  </LineComment>
  <NewLine UId="41" />
  <Blank Num="4" UId="42" />
  <LineComment UId="43">
    <Text UId="44">  Comprobacion de dosificaciones largas, Ya ha dosificado todas.</Text>
  </LineComment>
  <NewLine UId="45" />
  <Blank Num="4" UId="46" />
  <Token Text="IF" UId="47" />
  <Blank UId="48" />
  <Access Scope="LocalVariable" UId="49">
    <Symbol UId="50">
      <Component Name="s_DosifCortasRealizadas" UId="51" />
    </Symbol>
  </Access>
  <Blank UId="52" />
  <Token Text="&gt;=" UId="53" />
  <Blank UId="54" />
  <Access Scope="LocalVariable" UId="55">
    <Symbol UId="56">
      <Component Name="NumeroDosifCorta" UId="57" />
    </Symbol>
  </Access>
  <Blank UId="58" />
  <Token Text="THEN" UId="59" />
  <NewLine UId="60" />
  <Blank Num="8" UId="61" />
  <Access Scope="LocalVariable" UId="62">
    <Symbol UId="63">
      <Component Name="s_EtapaDosificacion" UId="64" />
    </Symbol>
  </Access>
  <Blank UId="65" />
  <Token Text=":=" UId="66" />
  <Blank UId="67" />
  <Access Scope="LocalConstant" UId="68">
    <Constant Name="ETAPA_ESPERA_RECIR" UId="69" />
  </Access>
  <Token Text=";" UId="72" />
  <NewLine UId="73" />
  <Blank Num="8" UId="74" />
  <Access Scope="LocalVariable" UId="75">
    <Symbol UId="76">
      <Component Name="s_TiempoEtapa" UId="77" />
      <Token Text="." UId="78" />
      <Component Name="Actual" UId="79" />
    </Symbol>
  </Access>
  <Blank UId="80" />
  <Token Text=":=" UId="81" />
  <Blank UId="82" />
  <Access Scope="LiteralConstant" UId="83">
    <Constant UId="84">
      <ConstantValue UId="86">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="87" />
  <NewLine UId="88" />
  <Blank Num="8" UId="89" />
  <Access Scope="LocalVariable" UId="90">
    <Symbol UId="91">
      <Component Name="s_DosifCortaCompletada" UId="92" />
    </Symbol>
  </Access>
  <Blank UId="93" />
  <Token Text=":=" UId="94" />
  <Blank UId="95" />
  <Access Scope="LiteralConstant" UId="96">
    <Constant UId="97">
      <ConstantValue UId="99">TRUE</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="100" />
  <NewLine UId="101" />
  <Blank Num="4" UId="102" />
  <Token Text="ELSE" UId="103" />
  <NewLine UId="104" />
  <Blank Num="8" UId="105" />
  <Access Scope="LocalVariable" UId="106">
    <Symbol UId="107">
      <Component Name="s_EtapaDosificacion" UId="108" />
    </Symbol>
  </Access>
  <Blank UId="109" />
  <Token Text=":=" UId="110" />
  <Blank UId="111" />
  <Access Scope="LocalConstant" UId="112">
    <Constant Name="ETAPA_APERTURA_CAMINO" UId="113" />
  </Access>
  <Token Text=";" UId="116" />
  <NewLine UId="117" />
  <Blank Num="8" UId="118" />
  <Access Scope="LocalVariable" UId="119">
    <Symbol UId="120">
      <Component Name="s_TiempoEtapa" UId="121" />
      <Token Text="." UId="122" />
      <Component Name="Actual" UId="123" />
    </Symbol>
  </Access>
  <Blank UId="124" />
  <Token Text=":=" UId="125" />
  <Blank UId="126" />
  <Access Scope="LiteralConstant" UId="127">
    <Constant UId="128">
      <ConstantValue UId="130">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="131" />
  <NewLine UId="132" />
  <Blank Num="8" UId="133" />
  <NewLine UId="134" />
  <Blank Num="4" UId="135" />
  <Token Text="END_IF" UId="136" />
  <Token Text=";" UId="137" />
  <NewLine UId="138" />
  <Blank Num="4" UId="139" />
  <Access Scope="LocalVariable" UId="140">
    <Symbol UId="141">
      <Component Name="s_TipoDosificacionActual" UId="142" />
    </Symbol>
  </Access>
  <Blank UId="143" />
  <Token Text=":=" UId="144" />
  <Blank UId="145" />
  <Access Scope="LiteralConstant" UId="146">
    <Constant UId="147">
      <ConstantValue UId="149">2</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="150" />
  <NewLine UId="151" />
  <Token Text="END_IF" UId="152" />
  <Token Text=";" UId="153" />
  <NewLine UId="154" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="31" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="32" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="33" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="34" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 10: Comprobar dosificacion corta</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="35" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="22">
      <Constant Name="ETAPA_APERTURA_CAMINO" />
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="SP_TiempoAperturaCamino" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="28">
      <Constant Name="ETAPA_DOSIFICACION" />
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="30">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="32">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="33" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="SCoil" UId="34" />
    <Part Name="Ge" UId="35">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="36" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="37" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="38">
      <Powerrail />
      <NameCon UId="32" Name="pre" />
    </Wire>
    <Wire UId="39">
      <IdentCon UId="21" />
      <NameCon UId="32" Name="in1" />
    </Wire>
    <Wire UId="40">
      <IdentCon UId="22" />
      <NameCon UId="32" Name="in2" />
    </Wire>
    <Wire UId="41">
      <NameCon UId="32" Name="out" />
      <NameCon UId="33" Name="en" />
      <NameCon UId="34" Name="in" />
      <NameCon UId="35" Name="pre" />
    </Wire>
    <Wire UId="42">
      <IdentCon UId="23" />
      <NameCon UId="33" Name="in" />
    </Wire>
    <Wire UId="43">
      <NameCon UId="33" Name="out1" />
      <IdentCon UId="24" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="25" />
      <NameCon UId="34" Name="operand" />
    </Wire>
    <Wire UId="45">
      <IdentCon UId="26" />
      <NameCon UId="35" Name="in1" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="27" />
      <NameCon UId="35" Name="in2" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out" />
      <NameCon UId="36" Name="en" />
    </Wire>
    <Wire UId="48">
      <IdentCon UId="28" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="49">
      <NameCon UId="36" Name="eno" />
      <NameCon UId="37" Name="en" />
    </Wire>
    <Wire UId="50">
      <NameCon UId="36" Name="out1" />
      <IdentCon UId="29" />
    </Wire>
    <Wire UId="51">
      <IdentCon UId="30" />
      <NameCon UId="37" Name="in" />
    </Wire>
    <Wire UId="52">
      <NameCon UId="37" Name="out1" />
      <IdentCon UId="31" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="36" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="37" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="38" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="39" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 105: Apertura camino</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="3A" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="22">
      <Constant Name="ETAPA_DOSIFICACION" />
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="t_TiempoDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="EstadoBombaDosif" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="29">
      <Constant Name="ETAPA_EMPUJE" />
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="31">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="33">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="34" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Contact" UId="35" />
    <Part Name="SCoil" UId="36" />
    <Part Name="Ge" UId="37">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="38" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="39" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="40">
      <Powerrail />
      <NameCon UId="33" Name="pre" />
    </Wire>
    <Wire UId="41">
      <IdentCon UId="21" />
      <NameCon UId="33" Name="in1" />
    </Wire>
    <Wire UId="42">
      <IdentCon UId="22" />
      <NameCon UId="33" Name="in2" />
    </Wire>
    <Wire UId="43">
      <NameCon UId="33" Name="out" />
      <NameCon UId="34" Name="en" />
      <NameCon UId="35" Name="in" />
      <NameCon UId="37" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="23" />
      <NameCon UId="34" Name="in" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="34" Name="out1" />
      <IdentCon UId="24" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="25" />
      <NameCon UId="35" Name="operand" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="48">
      <IdentCon UId="26" />
      <NameCon UId="36" Name="operand" />
    </Wire>
    <Wire UId="49">
      <IdentCon UId="27" />
      <NameCon UId="37" Name="in1" />
    </Wire>
    <Wire UId="50">
      <IdentCon UId="28" />
      <NameCon UId="37" Name="in2" />
    </Wire>
    <Wire UId="51">
      <NameCon UId="37" Name="out" />
      <NameCon UId="38" Name="en" />
    </Wire>
    <Wire UId="52">
      <IdentCon UId="29" />
      <NameCon UId="38" Name="in" />
    </Wire>
    <Wire UId="53">
      <NameCon UId="38" Name="eno" />
      <NameCon UId="39" Name="en" />
    </Wire>
    <Wire UId="54">
      <NameCon UId="38" Name="out1" />
      <IdentCon UId="30" />
    </Wire>
    <Wire UId="55">
      <IdentCon UId="31" />
      <NameCon UId="39" Name="in" />
    </Wire>
    <Wire UId="56">
      <NameCon UId="39" Name="out1" />
      <IdentCon UId="32" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="3B" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="3C" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="3D" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="3E" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 110: Dosificación</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="3F" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="22">
      <Constant Name="ETAPA_EMPUJE" />
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="SP_TiempoEmpuje" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="28">
      <Constant Name="ETAPA_ACLARADO" />
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="30">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="32">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="33" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="SCoil" UId="34" />
    <Part Name="Ge" UId="35">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="36" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="37" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="38">
      <Powerrail />
      <NameCon UId="32" Name="pre" />
    </Wire>
    <Wire UId="39">
      <IdentCon UId="21" />
      <NameCon UId="32" Name="in1" />
    </Wire>
    <Wire UId="40">
      <IdentCon UId="22" />
      <NameCon UId="32" Name="in2" />
    </Wire>
    <Wire UId="41">
      <NameCon UId="32" Name="out" />
      <NameCon UId="33" Name="en" />
      <NameCon UId="34" Name="in" />
      <NameCon UId="35" Name="pre" />
    </Wire>
    <Wire UId="42">
      <IdentCon UId="23" />
      <NameCon UId="33" Name="in" />
    </Wire>
    <Wire UId="43">
      <NameCon UId="33" Name="out1" />
      <IdentCon UId="24" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="25" />
      <NameCon UId="34" Name="operand" />
    </Wire>
    <Wire UId="45">
      <IdentCon UId="26" />
      <NameCon UId="35" Name="in1" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="27" />
      <NameCon UId="35" Name="in2" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out" />
      <NameCon UId="36" Name="en" />
    </Wire>
    <Wire UId="48">
      <IdentCon UId="28" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="49">
      <NameCon UId="36" Name="eno" />
      <NameCon UId="37" Name="en" />
    </Wire>
    <Wire UId="50">
      <NameCon UId="36" Name="out1" />
      <IdentCon UId="29" />
    </Wire>
    <Wire UId="51">
      <IdentCon UId="30" />
      <NameCon UId="37" Name="in" />
    </Wire>
    <Wire UId="52">
      <NameCon UId="37" Name="out1" />
      <IdentCon UId="31" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="40" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="41" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="42" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="43" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 115: Empuje</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="44" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="22">
      <Constant Name="ETAPA_ACLARADO" />
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="SP_TiempoAclarado" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="28">
      <Constant Name="ETAPA_ESPERA_ENTRE_DOSIF" />
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="30">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="32">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="33" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="SCoil" UId="34" />
    <Part Name="Ge" UId="35">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="36" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="37" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="38">
      <Powerrail />
      <NameCon UId="32" Name="pre" />
    </Wire>
    <Wire UId="39">
      <IdentCon UId="21" />
      <NameCon UId="32" Name="in1" />
    </Wire>
    <Wire UId="40">
      <IdentCon UId="22" />
      <NameCon UId="32" Name="in2" />
    </Wire>
    <Wire UId="41">
      <NameCon UId="32" Name="out" />
      <NameCon UId="33" Name="en" />
      <NameCon UId="34" Name="in" />
      <NameCon UId="35" Name="pre" />
    </Wire>
    <Wire UId="42">
      <IdentCon UId="23" />
      <NameCon UId="33" Name="in" />
    </Wire>
    <Wire UId="43">
      <NameCon UId="33" Name="out1" />
      <IdentCon UId="24" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="25" />
      <NameCon UId="34" Name="operand" />
    </Wire>
    <Wire UId="45">
      <IdentCon UId="26" />
      <NameCon UId="35" Name="in1" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="27" />
      <NameCon UId="35" Name="in2" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out" />
      <NameCon UId="36" Name="en" />
    </Wire>
    <Wire UId="48">
      <IdentCon UId="28" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="49">
      <NameCon UId="36" Name="eno" />
      <NameCon UId="37" Name="en" />
    </Wire>
    <Wire UId="50">
      <NameCon UId="36" Name="out1" />
      <IdentCon UId="29" />
    </Wire>
    <Wire UId="51">
      <IdentCon UId="30" />
      <NameCon UId="37" Name="in" />
    </Wire>
    <Wire UId="52">
      <NameCon UId="37" Name="out1" />
      <IdentCon UId="31" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="45" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="46" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="47" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="48" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 120: Aclarado</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="49" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="22">
      <Constant Name="ETAPA_ESPERA_ENTRE_DOSIF" />
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>0</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_TipoDosificacionActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="25">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>1</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_DosifLargasRealizadas" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_TipoDosificacionActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="28">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>2</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="s_DosifCortasRealizadas" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="SP_TiempoEntreDosif" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="34">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="35">
      <Symbol>
        <Component Name="s_TON_FiltroCondBaja" />
        <Component Name="Q" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="36">
      <Symbol>
        <Component Name="s_TipoDosificacionActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="37">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>1</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="38">
      <Symbol>
        <Component Name="s_DosifLargaCompletada" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="39">
      <Constant Name="ETAPA_COMPROBACION_LARGA" />
    </Access>
    <Access Scope="LocalVariable" UId="40">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="41">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="42">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="43">
      <Symbol>
        <Component Name="s_DosifLargaCompletada" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="44">
      <Constant Name="ETAPA_COMPROBACION_CORTA" />
    </Access>
    <Access Scope="LocalVariable" UId="45">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="46">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="47">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="48">
      <Symbol>
        <Component Name="s_TipoDosificacionActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="49">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>2</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="50">
      <Symbol>
        <Component Name="s_DosifCortaCompletada" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="51">
      <Constant Name="ETAPA_COMPROBACION_CORTA" />
    </Access>
    <Access Scope="LocalVariable" UId="52">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="53">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="54">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="55">
      <Symbol>
        <Component Name="s_DosifCortaCompletada" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="56">
      <Constant Name="ETAPA_ESPERA_RECIR" />
    </Access>
    <Access Scope="LocalVariable" UId="57">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="58">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="59">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="60">
      <Symbol>
        <Component Name="s_TON_FiltroCondBaja" />
        <Component Name="Q" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="61">
      <Constant Name="ETAPA_ESPERA_RECIR" />
    </Access>
    <Access Scope="LocalVariable" UId="62">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="63">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="64">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="65">
      <Symbol>
        <Component Name="EtapaSecMan" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="66">
      <Constant Name="ETAPA_ESPERA_RECIR" />
    </Access>
    <Access Scope="LocalVariable" UId="67">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="68">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="69">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="70">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="PBox" UId="71" />
    <Part Name="Eq" UId="72">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Inc" UId="73" DisabledENO="true">
      <TemplateValue Name="DestType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Eq" UId="74">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Inc" UId="75" DisabledENO="true">
      <TemplateValue Name="DestType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="76" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="SCoil" UId="77" />
    <Part Name="Ge" UId="78">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="79" />
    <Part Name="Eq" UId="80">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="81">
      <Negated Name="operand" />
    </Part>
    <Part Name="Move" UId="82" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="83" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Contact" UId="84" />
    <Part Name="Move" UId="85" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="86" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Eq" UId="87">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="88">
      <Negated Name="operand" />
    </Part>
    <Part Name="Move" UId="89" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="90" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Contact" UId="91" />
    <Part Name="Move" UId="92" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="93" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Contact" UId="94">
      <Negated Name="operand" />
    </Part>
    <Part Name="Move" UId="95" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="96" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Contact" UId="97" />
    <Part Name="Move" UId="98" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="99" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="100">
      <Powerrail />
      <NameCon UId="70" Name="pre" />
    </Wire>
    <Wire UId="101">
      <IdentCon UId="21" />
      <NameCon UId="70" Name="in1" />
    </Wire>
    <Wire UId="102">
      <IdentCon UId="22" />
      <NameCon UId="70" Name="in2" />
    </Wire>
    <Wire UId="103">
      <NameCon UId="70" Name="out" />
      <NameCon UId="71" Name="in" />
      <NameCon UId="76" Name="en" />
      <NameCon UId="77" Name="in" />
      <NameCon UId="78" Name="pre" />
      <NameCon UId="97" Name="in" />
    </Wire>
    <Wire UId="104">
      <IdentCon UId="23" />
      <NameCon UId="71" Name="bit" />
    </Wire>
    <Wire UId="105">
      <NameCon UId="71" Name="out" />
      <NameCon UId="72" Name="pre" />
      <NameCon UId="74" Name="pre" />
    </Wire>
    <Wire UId="106">
      <IdentCon UId="24" />
      <NameCon UId="72" Name="in1" />
    </Wire>
    <Wire UId="107">
      <IdentCon UId="25" />
      <NameCon UId="72" Name="in2" />
    </Wire>
    <Wire UId="108">
      <NameCon UId="72" Name="out" />
      <NameCon UId="73" Name="en" />
    </Wire>
    <Wire UId="109">
      <IdentCon UId="26" />
      <NameCon UId="73" Name="operand" />
    </Wire>
    <Wire UId="110">
      <IdentCon UId="27" />
      <NameCon UId="74" Name="in1" />
    </Wire>
    <Wire UId="111">
      <IdentCon UId="28" />
      <NameCon UId="74" Name="in2" />
    </Wire>
    <Wire UId="112">
      <NameCon UId="74" Name="out" />
      <NameCon UId="75" Name="en" />
    </Wire>
    <Wire UId="113">
      <IdentCon UId="29" />
      <NameCon UId="75" Name="operand" />
    </Wire>
    <Wire UId="114">
      <IdentCon UId="30" />
      <NameCon UId="76" Name="in" />
    </Wire>
    <Wire UId="115">
      <NameCon UId="76" Name="out1" />
      <IdentCon UId="31" />
    </Wire>
    <Wire UId="116">
      <IdentCon UId="32" />
      <NameCon UId="77" Name="operand" />
    </Wire>
    <Wire UId="117">
      <IdentCon UId="33" />
      <NameCon UId="78" Name="in1" />
    </Wire>
    <Wire UId="118">
      <IdentCon UId="34" />
      <NameCon UId="78" Name="in2" />
    </Wire>
    <Wire UId="119">
      <NameCon UId="78" Name="out" />
      <NameCon UId="79" Name="in" />
      <NameCon UId="94" Name="in" />
    </Wire>
    <Wire UId="120">
      <IdentCon UId="35" />
      <NameCon UId="79" Name="operand" />
    </Wire>
    <Wire UId="121">
      <NameCon UId="79" Name="out" />
      <NameCon UId="80" Name="pre" />
      <NameCon UId="87" Name="pre" />
    </Wire>
    <Wire UId="122">
      <IdentCon UId="36" />
      <NameCon UId="80" Name="in1" />
    </Wire>
    <Wire UId="123">
      <IdentCon UId="37" />
      <NameCon UId="80" Name="in2" />
    </Wire>
    <Wire UId="124">
      <NameCon UId="80" Name="out" />
      <NameCon UId="81" Name="in" />
      <NameCon UId="84" Name="in" />
    </Wire>
    <Wire UId="125">
      <IdentCon UId="38" />
      <NameCon UId="81" Name="operand" />
    </Wire>
    <Wire UId="126">
      <NameCon UId="81" Name="out" />
      <NameCon UId="82" Name="en" />
    </Wire>
    <Wire UId="127">
      <IdentCon UId="39" />
      <NameCon UId="82" Name="in" />
    </Wire>
    <Wire UId="128">
      <NameCon UId="82" Name="eno" />
      <NameCon UId="83" Name="en" />
    </Wire>
    <Wire UId="129">
      <NameCon UId="82" Name="out1" />
      <IdentCon UId="40" />
    </Wire>
    <Wire UId="130">
      <IdentCon UId="41" />
      <NameCon UId="83" Name="in" />
    </Wire>
    <Wire UId="131">
      <NameCon UId="83" Name="out1" />
      <IdentCon UId="42" />
    </Wire>
    <Wire UId="132">
      <IdentCon UId="43" />
      <NameCon UId="84" Name="operand" />
    </Wire>
    <Wire UId="133">
      <NameCon UId="84" Name="out" />
      <NameCon UId="85" Name="en" />
    </Wire>
    <Wire UId="134">
      <IdentCon UId="44" />
      <NameCon UId="85" Name="in" />
    </Wire>
    <Wire UId="135">
      <NameCon UId="85" Name="eno" />
      <NameCon UId="86" Name="en" />
    </Wire>
    <Wire UId="136">
      <NameCon UId="85" Name="out1" />
      <IdentCon UId="45" />
    </Wire>
    <Wire UId="137">
      <IdentCon UId="46" />
      <NameCon UId="86" Name="in" />
    </Wire>
    <Wire UId="138">
      <NameCon UId="86" Name="out1" />
      <IdentCon UId="47" />
    </Wire>
    <Wire UId="139">
      <IdentCon UId="48" />
      <NameCon UId="87" Name="in1" />
    </Wire>
    <Wire UId="140">
      <IdentCon UId="49" />
      <NameCon UId="87" Name="in2" />
    </Wire>
    <Wire UId="141">
      <NameCon UId="87" Name="out" />
      <NameCon UId="88" Name="in" />
      <NameCon UId="91" Name="in" />
    </Wire>
    <Wire UId="142">
      <IdentCon UId="50" />
      <NameCon UId="88" Name="operand" />
    </Wire>
    <Wire UId="143">
      <NameCon UId="88" Name="out" />
      <NameCon UId="89" Name="en" />
    </Wire>
    <Wire UId="144">
      <IdentCon UId="51" />
      <NameCon UId="89" Name="in" />
    </Wire>
    <Wire UId="145">
      <NameCon UId="89" Name="eno" />
      <NameCon UId="90" Name="en" />
    </Wire>
    <Wire UId="146">
      <NameCon UId="89" Name="out1" />
      <IdentCon UId="52" />
    </Wire>
    <Wire UId="147">
      <IdentCon UId="53" />
      <NameCon UId="90" Name="in" />
    </Wire>
    <Wire UId="148">
      <NameCon UId="90" Name="out1" />
      <IdentCon UId="54" />
    </Wire>
    <Wire UId="149">
      <IdentCon UId="55" />
      <NameCon UId="91" Name="operand" />
    </Wire>
    <Wire UId="150">
      <NameCon UId="91" Name="out" />
      <NameCon UId="92" Name="en" />
    </Wire>
    <Wire UId="151">
      <IdentCon UId="56" />
      <NameCon UId="92" Name="in" />
    </Wire>
    <Wire UId="152">
      <NameCon UId="92" Name="eno" />
      <NameCon UId="93" Name="en" />
    </Wire>
    <Wire UId="153">
      <NameCon UId="92" Name="out1" />
      <IdentCon UId="57" />
    </Wire>
    <Wire UId="154">
      <IdentCon UId="58" />
      <NameCon UId="93" Name="in" />
    </Wire>
    <Wire UId="155">
      <NameCon UId="93" Name="out1" />
      <IdentCon UId="59" />
    </Wire>
    <Wire UId="156">
      <IdentCon UId="60" />
      <NameCon UId="94" Name="operand" />
    </Wire>
    <Wire UId="157">
      <NameCon UId="94" Name="out" />
      <NameCon UId="95" Name="en" />
    </Wire>
    <Wire UId="158">
      <IdentCon UId="61" />
      <NameCon UId="95" Name="in" />
    </Wire>
    <Wire UId="159">
      <NameCon UId="95" Name="eno" />
      <NameCon UId="96" Name="en" />
    </Wire>
    <Wire UId="160">
      <NameCon UId="95" Name="out1" />
      <IdentCon UId="62" />
    </Wire>
    <Wire UId="161">
      <IdentCon UId="63" />
      <NameCon UId="96" Name="in" />
    </Wire>
    <Wire UId="162">
      <NameCon UId="96" Name="out1" />
      <IdentCon UId="64" />
    </Wire>
    <Wire UId="163">
      <IdentCon UId="65" />
      <NameCon UId="97" Name="operand" />
    </Wire>
    <Wire UId="164">
      <NameCon UId="97" Name="out" />
      <NameCon UId="98" Name="en" />
    </Wire>
    <Wire UId="165">
      <IdentCon UId="66" />
      <NameCon UId="98" Name="in" />
    </Wire>
    <Wire UId="166">
      <NameCon UId="98" Name="eno" />
      <NameCon UId="99" Name="en" />
    </Wire>
    <Wire UId="167">
      <NameCon UId="98" Name="out1" />
      <IdentCon UId="67" />
    </Wire>
    <Wire UId="168">
      <IdentCon UId="68" />
      <NameCon UId="99" Name="in" />
    </Wire>
    <Wire UId="169">
      <NameCon UId="99" Name="out1" />
      <IdentCon UId="69" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="4A" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="4B" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="4C" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="4D" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 125: Espera entre dosificaciones</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="4E" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="22">
      <Constant Name="ETAPA_ESPERA_RECIR" />
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="EtapaSecMan" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="24">
      <Constant Name="ETAPA_ESPERA_DOSIF_MANUAL" />
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="26">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="DosifAutoCompletada" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="29">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="30" />
    <Part Name="Move" UId="31" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="32" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="SCoil" UId="33" />
  </Parts>
  <Wires>
    <Wire UId="34">
      <Powerrail />
      <NameCon UId="29" Name="pre" />
    </Wire>
    <Wire UId="35">
      <IdentCon UId="21" />
      <NameCon UId="29" Name="in1" />
    </Wire>
    <Wire UId="36">
      <IdentCon UId="22" />
      <NameCon UId="29" Name="in2" />
    </Wire>
    <Wire UId="37">
      <NameCon UId="29" Name="out" />
      <NameCon UId="30" Name="in" />
    </Wire>
    <Wire UId="38">
      <IdentCon UId="23" />
      <NameCon UId="30" Name="operand" />
    </Wire>
    <Wire UId="39">
      <NameCon UId="30" Name="out" />
      <NameCon UId="31" Name="en" />
    </Wire>
    <Wire UId="40">
      <IdentCon UId="24" />
      <NameCon UId="31" Name="in" />
    </Wire>
    <Wire UId="41">
      <NameCon UId="31" Name="eno" />
      <NameCon UId="32" Name="en" />
    </Wire>
    <Wire UId="42">
      <NameCon UId="31" Name="out1" />
      <IdentCon UId="25" />
    </Wire>
    <Wire UId="43">
      <IdentCon UId="26" />
      <NameCon UId="32" Name="in" />
    </Wire>
    <Wire UId="44">
      <NameCon UId="32" Name="eno" />
      <NameCon UId="33" Name="in" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="32" Name="out1" />
      <IdentCon UId="27" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="28" />
      <NameCon UId="33" Name="operand" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="4F" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="50" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="51" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="52" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 500: Espera paso recirculación</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="53" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="22">
      <Constant Name="ETAPA_ESPERA_DOSIF_MANUAL" />
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="OrdenDosifManual" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="24">
      <Constant Name="ETAPA_APERTURA_CAMINO" />
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="26">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>2</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_TipoDosificacionActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="28">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="EtapaSecMan" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="31">
      <Constant Name="ETAPA_REPOSO" />
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="33">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="34">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="35">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="36" />
    <Part Name="Move" UId="37" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="38" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="39" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Contact" UId="40">
      <Negated Name="operand" />
    </Part>
    <Part Name="Move" UId="41" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="42" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="43">
      <Powerrail />
      <NameCon UId="35" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="21" />
      <NameCon UId="35" Name="in1" />
    </Wire>
    <Wire UId="45">
      <IdentCon UId="22" />
      <NameCon UId="35" Name="in2" />
    </Wire>
    <Wire UId="46">
      <NameCon UId="35" Name="out" />
      <NameCon UId="36" Name="in" />
      <NameCon UId="40" Name="in" />
    </Wire>
    <Wire UId="47">
      <IdentCon UId="23" />
      <NameCon UId="36" Name="operand" />
    </Wire>
    <Wire UId="48">
      <NameCon UId="36" Name="out" />
      <NameCon UId="37" Name="en" />
    </Wire>
    <Wire UId="49">
      <IdentCon UId="24" />
      <NameCon UId="37" Name="in" />
    </Wire>
    <Wire UId="50">
      <NameCon UId="37" Name="eno" />
      <NameCon UId="38" Name="en" />
    </Wire>
    <Wire UId="51">
      <NameCon UId="37" Name="out1" />
      <IdentCon UId="25" />
    </Wire>
    <Wire UId="52">
      <IdentCon UId="26" />
      <NameCon UId="38" Name="in" />
    </Wire>
    <Wire UId="53">
      <NameCon UId="38" Name="eno" />
      <NameCon UId="39" Name="en" />
    </Wire>
    <Wire UId="54">
      <NameCon UId="38" Name="out1" />
      <IdentCon UId="27" />
    </Wire>
    <Wire UId="55">
      <IdentCon UId="28" />
      <NameCon UId="39" Name="in" />
    </Wire>
    <Wire UId="56">
      <NameCon UId="39" Name="out1" />
      <IdentCon UId="29" />
    </Wire>
    <Wire UId="57">
      <IdentCon UId="30" />
      <NameCon UId="40" Name="operand" />
    </Wire>
    <Wire UId="58">
      <NameCon UId="40" Name="out" />
      <NameCon UId="41" Name="en" />
    </Wire>
    <Wire UId="59">
      <IdentCon UId="31" />
      <NameCon UId="41" Name="in" />
    </Wire>
    <Wire UId="60">
      <NameCon UId="41" Name="eno" />
      <NameCon UId="42" Name="en" />
    </Wire>
    <Wire UId="61">
      <NameCon UId="41" Name="out1" />
      <IdentCon UId="32" />
    </Wire>
    <Wire UId="62">
      <IdentCon UId="33" />
      <NameCon UId="42" Name="in" />
    </Wire>
    <Wire UId="63">
      <NameCon UId="42" Name="out1" />
      <IdentCon UId="34" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="54" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="55" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="56" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="57" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 510: Espera dosificación manual</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="58" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource />
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="59" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="5A" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="5B" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="5C" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>=============== TIEMPO DE ETAPA</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="5D" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="Pulso1Seg" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>32000</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="EtapaSecAuto" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="EtapaSecMan" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="EstadoMarcha" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="EtapaSecAuto" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="EtapaSecMan" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="34">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="35">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Cumplido" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="36">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="37">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="38">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="39">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Restante" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="40">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Restante" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="41">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LiteralConstant" UId="42">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="43">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Restante" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="44" />
    <Part Name="Contact" UId="45" />
    <Part Name="Le" UId="46">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Lt" UId="47">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="48" />
    <Part Name="Contact" UId="49" />
    <Part Name="O" UId="50">
      <TemplateValue Name="Card" Type="Cardinality">2</TemplateValue>
    </Part>
    <Part Name="Contact" UId="51" />
    <Part Name="Contact" UId="52">
      <Negated Name="operand" />
    </Part>
    <Part Name="Contact" UId="53">
      <Negated Name="operand" />
    </Part>
    <Part Name="O" UId="54">
      <TemplateValue Name="Card" Type="Cardinality">2</TemplateValue>
    </Part>
    <Part Name="Inc" UId="55" DisabledENO="true">
      <TemplateValue Name="DestType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Ge" UId="56">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Coil" UId="57" />
    <Part Name="RCoil" UId="58" />
    <Part Name="Sub" UId="59" DisabledENO="true">
      <AutomaticTyped Name="SrcType" />
    </Part>
    <Part Name="Lt" UId="60">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="61" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="62">
      <Powerrail />
      <NameCon UId="44" Name="in" />
      <NameCon UId="59" Name="en" />
    </Wire>
    <Wire UId="63">
      <IdentCon UId="21" />
      <NameCon UId="44" Name="operand" />
    </Wire>
    <Wire UId="64">
      <NameCon UId="44" Name="out" />
      <NameCon UId="45" Name="in" />
      <NameCon UId="56" Name="pre" />
      <NameCon UId="58" Name="in" />
    </Wire>
    <Wire UId="65">
      <IdentCon UId="22" />
      <NameCon UId="45" Name="operand" />
    </Wire>
    <Wire UId="66">
      <NameCon UId="45" Name="out" />
      <NameCon UId="46" Name="pre" />
    </Wire>
    <Wire UId="67">
      <IdentCon UId="23" />
      <NameCon UId="46" Name="in1" />
    </Wire>
    <Wire UId="68">
      <IdentCon UId="24" />
      <NameCon UId="46" Name="in2" />
    </Wire>
    <Wire UId="69">
      <NameCon UId="46" Name="out" />
      <NameCon UId="47" Name="pre" />
    </Wire>
    <Wire UId="70">
      <IdentCon UId="25" />
      <NameCon UId="47" Name="in1" />
    </Wire>
    <Wire UId="71">
      <IdentCon UId="26" />
      <NameCon UId="47" Name="in2" />
    </Wire>
    <Wire UId="72">
      <NameCon UId="47" Name="out" />
      <NameCon UId="48" Name="in" />
      <NameCon UId="49" Name="in" />
      <NameCon UId="52" Name="in" />
    </Wire>
    <Wire UId="73">
      <IdentCon UId="27" />
      <NameCon UId="48" Name="operand" />
    </Wire>
    <Wire UId="74">
      <NameCon UId="48" Name="out" />
      <NameCon UId="50" Name="in1" />
    </Wire>
    <Wire UId="75">
      <IdentCon UId="28" />
      <NameCon UId="49" Name="operand" />
    </Wire>
    <Wire UId="76">
      <NameCon UId="49" Name="out" />
      <NameCon UId="50" Name="in2" />
    </Wire>
    <Wire UId="77">
      <NameCon UId="50" Name="out" />
      <NameCon UId="51" Name="in" />
    </Wire>
    <Wire UId="78">
      <IdentCon UId="29" />
      <NameCon UId="51" Name="operand" />
    </Wire>
    <Wire UId="79">
      <NameCon UId="51" Name="out" />
      <NameCon UId="54" Name="in1" />
    </Wire>
    <Wire UId="80">
      <IdentCon UId="30" />
      <NameCon UId="52" Name="operand" />
    </Wire>
    <Wire UId="81">
      <NameCon UId="52" Name="out" />
      <NameCon UId="53" Name="in" />
    </Wire>
    <Wire UId="82">
      <IdentCon UId="31" />
      <NameCon UId="53" Name="operand" />
    </Wire>
    <Wire UId="83">
      <NameCon UId="53" Name="out" />
      <NameCon UId="54" Name="in2" />
    </Wire>
    <Wire UId="84">
      <NameCon UId="54" Name="out" />
      <NameCon UId="55" Name="en" />
    </Wire>
    <Wire UId="85">
      <IdentCon UId="32" />
      <NameCon UId="55" Name="operand" />
    </Wire>
    <Wire UId="86">
      <IdentCon UId="33" />
      <NameCon UId="56" Name="in1" />
    </Wire>
    <Wire UId="87">
      <IdentCon UId="34" />
      <NameCon UId="56" Name="in2" />
    </Wire>
    <Wire UId="88">
      <NameCon UId="56" Name="out" />
      <NameCon UId="57" Name="in" />
    </Wire>
    <Wire UId="89">
      <IdentCon UId="35" />
      <NameCon UId="57" Name="operand" />
    </Wire>
    <Wire UId="90">
      <IdentCon UId="36" />
      <NameCon UId="58" Name="operand" />
    </Wire>
    <Wire UId="91">
      <IdentCon UId="37" />
      <NameCon UId="59" Name="in1" />
    </Wire>
    <Wire UId="92">
      <IdentCon UId="38" />
      <NameCon UId="59" Name="in2" />
    </Wire>
    <Wire UId="93">
      <NameCon UId="59" Name="eno" />
      <NameCon UId="60" Name="pre" />
    </Wire>
    <Wire UId="94">
      <NameCon UId="59" Name="out" />
      <IdentCon UId="39" />
    </Wire>
    <Wire UId="95">
      <IdentCon UId="40" />
      <NameCon UId="60" Name="in1" />
    </Wire>
    <Wire UId="96">
      <IdentCon UId="41" />
      <NameCon UId="60" Name="in2" />
    </Wire>
    <Wire UId="97">
      <NameCon UId="60" Name="out" />
      <NameCon UId="61" Name="en" />
    </Wire>
    <Wire UId="98">
      <IdentCon UId="42" />
      <NameCon UId="61" Name="in" />
    </Wire>
    <Wire UId="99">
      <NameCon UId="61" Name="out1" />
      <IdentCon UId="43" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="5E" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="5F" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="60" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="61" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Contador tiempo</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="62" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3" /></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="63" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="64" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="65" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="66" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>=============== SALIDAS</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="67" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="EstadoMarcha" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="EtapaSecAuto" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="EtapaSecMan" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="EtapaSecAuto" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="EtapaSecMan" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="27">
      <Constant Name="ETAPA_APERTURA_CAMINO" />
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="AperturaCamino" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="30">
      <Constant Name="ETAPA_DOSIFICACION" />
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="SP_TiempoDrenajeInicial" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="Drenaje" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="34">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="35">
      <Symbol>
        <Component Name="SP_TiempoDrenajeInicial" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="36">
      <Symbol>
        <Component Name="Dosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="37">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="38">
      <Constant Name="ETAPA_EMPUJE" />
    </Access>
    <Access Scope="LocalVariable" UId="39">
      <Symbol>
        <Component Name="Empuje" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="40">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="41">
      <Constant Name="ETAPA_ACLARADO" />
    </Access>
    <Access Scope="LocalVariable" UId="42">
      <Symbol>
        <Component Name="Aclarado" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="43" />
    <Part Name="Contact" UId="44" />
    <Part Name="Contact" UId="45" />
    <Part Name="Contact" UId="46">
      <Negated Name="operand" />
    </Part>
    <Part Name="Contact" UId="47">
      <Negated Name="operand" />
    </Part>
    <Part Name="O" UId="48">
      <TemplateValue Name="Card" Type="Cardinality">3</TemplateValue>
    </Part>
    <Part Name="Eq" UId="49">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Coil" UId="50" />
    <Part Name="Eq" UId="51">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Lt" UId="52">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Coil" UId="53" />
    <Part Name="Ge" UId="54">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Coil" UId="55" />
    <Part Name="Eq" UId="56">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Coil" UId="57" />
    <Part Name="Eq" UId="58">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Coil" UId="59" />
  </Parts>
  <Wires>
    <Wire UId="60">
      <Powerrail />
      <NameCon UId="43" Name="in" />
      <NameCon UId="46" Name="in" />
    </Wire>
    <Wire UId="61">
      <IdentCon UId="21" />
      <NameCon UId="43" Name="operand" />
    </Wire>
    <Wire UId="62">
      <NameCon UId="43" Name="out" />
      <NameCon UId="44" Name="in" />
      <NameCon UId="45" Name="in" />
    </Wire>
    <Wire UId="63">
      <IdentCon UId="22" />
      <NameCon UId="44" Name="operand" />
    </Wire>
    <Wire UId="64">
      <NameCon UId="44" Name="out" />
      <NameCon UId="48" Name="in1" />
    </Wire>
    <Wire UId="65">
      <IdentCon UId="23" />
      <NameCon UId="45" Name="operand" />
    </Wire>
    <Wire UId="66">
      <NameCon UId="45" Name="out" />
      <NameCon UId="48" Name="in2" />
    </Wire>
    <Wire UId="67">
      <IdentCon UId="24" />
      <NameCon UId="46" Name="operand" />
    </Wire>
    <Wire UId="68">
      <NameCon UId="46" Name="out" />
      <NameCon UId="47" Name="in" />
    </Wire>
    <Wire UId="69">
      <IdentCon UId="25" />
      <NameCon UId="47" Name="operand" />
    </Wire>
    <Wire UId="70">
      <NameCon UId="47" Name="out" />
      <NameCon UId="48" Name="in3" />
    </Wire>
    <Wire UId="71">
      <NameCon UId="48" Name="out" />
      <NameCon UId="49" Name="pre" />
      <NameCon UId="51" Name="pre" />
      <NameCon UId="56" Name="pre" />
      <NameCon UId="58" Name="pre" />
    </Wire>
    <Wire UId="72">
      <IdentCon UId="26" />
      <NameCon UId="49" Name="in1" />
    </Wire>
    <Wire UId="73">
      <IdentCon UId="27" />
      <NameCon UId="49" Name="in2" />
    </Wire>
    <Wire UId="74">
      <NameCon UId="49" Name="out" />
      <NameCon UId="50" Name="in" />
    </Wire>
    <Wire UId="75">
      <IdentCon UId="28" />
      <NameCon UId="50" Name="operand" />
    </Wire>
    <Wire UId="76">
      <IdentCon UId="29" />
      <NameCon UId="51" Name="in1" />
    </Wire>
    <Wire UId="77">
      <IdentCon UId="30" />
      <NameCon UId="51" Name="in2" />
    </Wire>
    <Wire UId="78">
      <NameCon UId="51" Name="out" />
      <NameCon UId="52" Name="pre" />
      <NameCon UId="54" Name="pre" />
    </Wire>
    <Wire UId="79">
      <IdentCon UId="31" />
      <NameCon UId="52" Name="in1" />
    </Wire>
    <Wire UId="80">
      <IdentCon UId="32" />
      <NameCon UId="52" Name="in2" />
    </Wire>
    <Wire UId="81">
      <NameCon UId="52" Name="out" />
      <NameCon UId="53" Name="in" />
    </Wire>
    <Wire UId="82">
      <IdentCon UId="33" />
      <NameCon UId="53" Name="operand" />
    </Wire>
    <Wire UId="83">
      <IdentCon UId="34" />
      <NameCon UId="54" Name="in1" />
    </Wire>
    <Wire UId="84">
      <IdentCon UId="35" />
      <NameCon UId="54" Name="in2" />
    </Wire>
    <Wire UId="85">
      <NameCon UId="54" Name="out" />
      <NameCon UId="55" Name="in" />
    </Wire>
    <Wire UId="86">
      <IdentCon UId="36" />
      <NameCon UId="55" Name="operand" />
    </Wire>
    <Wire UId="87">
      <IdentCon UId="37" />
      <NameCon UId="56" Name="in1" />
    </Wire>
    <Wire UId="88">
      <IdentCon UId="38" />
      <NameCon UId="56" Name="in2" />
    </Wire>
    <Wire UId="89">
      <NameCon UId="56" Name="out" />
      <NameCon UId="57" Name="in" />
    </Wire>
    <Wire UId="90">
      <IdentCon UId="39" />
      <NameCon UId="57" Name="operand" />
    </Wire>
    <Wire UId="91">
      <IdentCon UId="40" />
      <NameCon UId="58" Name="in1" />
    </Wire>
    <Wire UId="92">
      <IdentCon UId="41" />
      <NameCon UId="58" Name="in2" />
    </Wire>
    <Wire UId="93">
      <NameCon UId="58" Name="out" />
      <NameCon UId="59" Name="in" />
    </Wire>
    <Wire UId="94">
      <IdentCon UId="42" />
      <NameCon UId="59" Name="operand" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="68" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="69" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="6A" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="6B" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Orden de activacion</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="6C" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="EtapaSecMan" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="s_EtapaDosificacion" />
      </Symbol>
    </Access>
    <Access Scope="LocalConstant" UId="23">
      <Constant Name="ETAPA_ESPERA_DOSIF_MANUAL" />
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="ConductividadActual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="SP_Conductividad" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="SP_TiempoRetardoDosifManual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_TON_RetardoDosifManual" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="s_TON_RetardoDosifManual" />
        <Component Name="IN" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="s_TON_RetardoDosifManual" />
        <Component Name="Q" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="PermisoDosifManual" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="31" />
    <Part Name="Eq" UId="32">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Lt" UId="33">
      <TemplateValue Name="SrcType" Type="Type">Real</TemplateValue>
    </Part>
    <Part Name="Move" UId="34" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="SCoil" UId="35" />
    <Part Name="Contact" UId="36" />
    <Part Name="Coil" UId="37" />
  </Parts>
  <Wires>
    <Wire UId="38">
      <Powerrail />
      <NameCon UId="31" Name="in" />
    </Wire>
    <Wire UId="39">
      <IdentCon UId="21" />
      <NameCon UId="31" Name="operand" />
    </Wire>
    <Wire UId="40">
      <NameCon UId="31" Name="out" />
      <NameCon UId="32" Name="pre" />
    </Wire>
    <Wire UId="41">
      <IdentCon UId="22" />
      <NameCon UId="32" Name="in1" />
    </Wire>
    <Wire UId="42">
      <IdentCon UId="23" />
      <NameCon UId="32" Name="in2" />
    </Wire>
    <Wire UId="43">
      <NameCon UId="32" Name="out" />
      <NameCon UId="33" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="24" />
      <NameCon UId="33" Name="in1" />
    </Wire>
    <Wire UId="45">
      <IdentCon UId="25" />
      <NameCon UId="33" Name="in2" />
    </Wire>
    <Wire UId="46">
      <NameCon UId="33" Name="out" />
      <NameCon UId="34" Name="en" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="47">
      <IdentCon UId="26" />
      <NameCon UId="34" Name="in" />
    </Wire>
    <Wire UId="48">
      <NameCon UId="34" Name="eno" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="49">
      <NameCon UId="34" Name="out1" />
      <IdentCon UId="27" />
    </Wire>
    <Wire UId="50">
      <IdentCon UId="28" />
      <NameCon UId="35" Name="operand" />
    </Wire>
    <Wire UId="51">
      <IdentCon UId="29" />
      <NameCon UId="36" Name="operand" />
    </Wire>
    <Wire UId="52">
      <NameCon UId="36" Name="out" />
      <NameCon UId="37" Name="in" />
    </Wire>
    <Wire UId="53">
      <IdentCon UId="30" />
      <NameCon UId="37" Name="operand" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="6D" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="6E" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="6F" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="70" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Permiso dosificacion manual</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <MultilingualText ID="71" CompositionName="Title">
        <ObjectList>
          <MultilingualTextItem ID="72" CompositionName="Items">
            <AttributeList>
              <Culture>es-ES</Culture>
              <Text>FB15154_ZC_DOSIF</Text>
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.FB>
</Document>