<?xml version="1.0" encoding="utf-8"?>
<Document>
  <Engineering version="V18" />
  <SW.Blocks.FB ID="0">
    <AttributeList>
      <AutoNumber>false</AutoNumber>
      <HeaderAuthor>ABH</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 un segundo</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="EstadoEnMarcha" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Estado proceso principal en marcha</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="ResetNumeroDosificaciones" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Reset numero de dosificaciones</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="EtapaDosificaciones" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Etapa dosificaciones proceso principal</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="SP_TiempoDosLarga" Datatype="Int">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo de dosificación larga</MultiLanguageText>
      </Comment>
      <StartValue>180</StartValue>
    </Member>
    <Member Name="SP_TiempoDosCorta" Datatype="Int">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo de dosificación corta</MultiLanguageText>
      </Comment>
      <StartValue>60</StartValue>
    </Member>
    <Member Name="SP_Empuje" Datatype="Int">
      <Comment>
        <MultiLanguageText Lang="es-ES">Empuje con agua</MultiLanguageText>
      </Comment>
      <StartValue>10</StartValue>
    </Member>
    <Member Name="SP_Conductividad" Datatype="Real">
      <Comment>
        <MultiLanguageText Lang="es-ES">Consigna de conductividad</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="ConductividadActual" Datatype="Real">
      <Comment>
        <MultiLanguageText Lang="es-ES">Lectura de Conductividad</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Output">
    <Member Name="Dosificación" Datatype="Bool" />
    <Member Name="Empuje" Datatype="Bool" />
    <Member Name="FinDosificacion" Datatype="Bool" />
    <Member Name="NumeroDosificacionesActuales" Datatype="Int" />
  </Section>
  <Section Name="InOut">
    <Member Name="OrdenDosificarLarga" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden dosificacion larga</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="OrdenDosificarCorta" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden dosificacion corta</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Static">
    <Member Name="s_EtapaActual" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Etapa de dosificación</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="s_Pulsos" Datatype="Array[0..50] of Bool">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="s_TiempoEtapa" Datatype="Struct" Remanence="Retain">
      <Member Name="Activar" Datatype="Bool" />
      <Member Name="Reset" Datatype="Bool" />
      <Member Name="Actual" Datatype="Int" />
      <Member Name="SP" Datatype="Int" />
      <Member Name="Restante" Datatype="Int" />
    </Member>
  </Section>
  <Section Name="Temp" />
  <Section Name="Constant" />
</Sections></Interface>
      <MemoryLayout>Optimized</MemoryLayout>
      <MemoryReserve>100</MemoryReserve>
      <Name>FB15159_ZC_CIP_DOSIF_PREP</Name>
      <Namespace />
      <Number>15159</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 />
            </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 (2024) All Rights Reserved
-----------------------------------------------------------------------------

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


Nombre:         FB15159_ZC_CIP_DOSIF_PREP
Descripcion:    Bloque de gestión de dosificacion preparacion CIP

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

Change log:

    Version     Fecha       Tecnico a cargo     Descripción
    
    01.00.00    01.03.2023  (ABH)               Primera versión
    
 ============================================================================
 </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 />
          <ProgrammingLanguage>LAD</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>=============== Estado secuencia</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="D" 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="EtapaDosificaciones" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="23">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>10</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="25">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>100</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LiteralConstant" UId="26">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>10</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="31">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>35</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LiteralConstant" UId="32">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>45</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="34">
      <Negated Name="operand" />
    </Part>
    <Part Name="Lt" UId="35">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Ge" UId="36">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="O" UId="37">
      <TemplateValue Name="Card" Type="Cardinality">2</TemplateValue>
    </Part>
    <Part Name="Move" UId="38" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Ge" UId="39">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Le" UId="40">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="41" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="42">
      <Powerrail />
      <NameCon UId="34" Name="in" />
    </Wire>
    <Wire UId="43">
      <IdentCon UId="21" />
      <NameCon UId="34" Name="operand" />
    </Wire>
    <Wire UId="44">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="pre" />
      <NameCon UId="36" Name="pre" />
      <NameCon UId="39" Name="pre" />
    </Wire>
    <Wire UId="45">
      <IdentCon UId="22" />
      <NameCon UId="35" Name="in1" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="23" />
      <NameCon UId="35" Name="in2" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out" />
      <NameCon UId="37" Name="in1" />
    </Wire>
    <Wire UId="48">
      <IdentCon UId="24" />
      <NameCon UId="36" Name="in1" />
    </Wire>
    <Wire UId="49">
      <IdentCon UId="25" />
      <NameCon UId="36" Name="in2" />
    </Wire>
    <Wire UId="50">
      <NameCon UId="36" Name="out" />
      <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="26" />
      <NameCon UId="38" Name="in" />
    </Wire>
    <Wire UId="53">
      <NameCon UId="38" Name="out1" />
      <IdentCon UId="27" />
    </Wire>
    <Wire UId="54">
      <IdentCon UId="28" />
      <NameCon UId="39" Name="in1" />
    </Wire>
    <Wire UId="55">
      <IdentCon UId="29" />
      <NameCon UId="39" Name="in2" />
    </Wire>
    <Wire UId="56">
      <NameCon UId="39" Name="out" />
      <NameCon UId="40" Name="pre" />
    </Wire>
    <Wire UId="57">
      <IdentCon UId="30" />
      <NameCon UId="40" Name="in1" />
    </Wire>
    <Wire UId="58">
      <IdentCon UId="31" />
      <NameCon UId="40" Name="in2" />
    </Wire>
    <Wire UId="59">
      <NameCon UId="40" Name="out" />
      <NameCon UId="41" Name="en" />
    </Wire>
    <Wire UId="60">
      <IdentCon UId="32" />
      <NameCon UId="41" Name="in" />
    </Wire>
    <Wire UId="61">
      <NameCon UId="41" Name="out1" />
      <IdentCon UId="33" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</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>Paro de secuencia</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="12" CompositionName="CompileUnits">
        <AttributeList>
          <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>=============== Secuencia</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="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="OrdenDosificarLarga" />
      </Symbol>
    </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="LiteralConstant" UId="26">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>5</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </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="OrdenDosificarLarga" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="ConductividadActual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="SP_Conductividad" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="33">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>100</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="34">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="35">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="36">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="37">
      <Symbol>
        <Component Name="OrdenDosificarLarga" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="38">
      <Symbol>
        <Component Name="OrdenDosificarCorta" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="39">
      <Symbol>
        <Component Name="ConductividadActual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="40">
      <Symbol>
        <Component Name="SP_Conductividad" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="41">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>35</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="42">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="43">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="44">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="45">
      <Symbol>
        <Component Name="NumeroDosificacionesActuales" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="46">
      <Symbol>
        <Component Name="OrdenDosificarCorta" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="47">
      <Symbol>
        <Component Name="ConductividadActual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="48">
      <Symbol>
        <Component Name="SP_Conductividad" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="49">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>100</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="50">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="51">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="52">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="53">
      <Symbol>
        <Component Name="OrdenDosificarCorta" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="54">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="55" />
    <Part Name="Lt" UId="56">
      <TemplateValue Name="SrcType" Type="Type">Real</TemplateValue>
    </Part>
    <Part Name="Move" UId="57" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="58" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="RCoil" UId="59" />
    <Part Name="Ge" UId="60">
      <TemplateValue Name="SrcType" Type="Type">Real</TemplateValue>
    </Part>
    <Part Name="Move" UId="61" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="62" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="RCoil" UId="63" />
    <Part Name="Contact" UId="64" />
    <Part Name="Lt" UId="65">
      <TemplateValue Name="SrcType" Type="Type">Real</TemplateValue>
    </Part>
    <Part Name="Move" UId="66" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="67" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Inc" UId="68" DisabledENO="true">
      <TemplateValue Name="DestType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="RCoil" UId="69" />
    <Part Name="Ge" UId="70">
      <TemplateValue Name="SrcType" Type="Type">Real</TemplateValue>
    </Part>
    <Part Name="Move" UId="71" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="72" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="RCoil" UId="73" />
  </Parts>
  <Wires>
    <Wire UId="74">
      <Powerrail />
      <NameCon UId="54" Name="pre" />
    </Wire>
    <Wire UId="75">
      <IdentCon UId="21" />
      <NameCon UId="54" Name="in1" />
    </Wire>
    <Wire UId="76">
      <IdentCon UId="22" />
      <NameCon UId="54" Name="in2" />
    </Wire>
    <Wire UId="77">
      <NameCon UId="54" Name="out" />
      <NameCon UId="55" Name="in" />
      <NameCon UId="64" Name="in" />
    </Wire>
    <Wire UId="78">
      <IdentCon UId="23" />
      <NameCon UId="55" Name="operand" />
    </Wire>
    <Wire UId="79">
      <NameCon UId="55" Name="out" />
      <NameCon UId="56" Name="pre" />
      <NameCon UId="60" Name="pre" />
    </Wire>
    <Wire UId="80">
      <IdentCon UId="24" />
      <NameCon UId="56" Name="in1" />
    </Wire>
    <Wire UId="81">
      <IdentCon UId="25" />
      <NameCon UId="56" Name="in2" />
    </Wire>
    <Wire UId="82">
      <NameCon UId="56" Name="out" />
      <NameCon UId="57" Name="en" />
    </Wire>
    <Wire UId="83">
      <IdentCon UId="26" />
      <NameCon UId="57" Name="in" />
    </Wire>
    <Wire UId="84">
      <NameCon UId="57" Name="eno" />
      <NameCon UId="58" Name="en" />
    </Wire>
    <Wire UId="85">
      <NameCon UId="57" Name="out1" />
      <IdentCon UId="27" />
    </Wire>
    <Wire UId="86">
      <IdentCon UId="28" />
      <NameCon UId="58" Name="in" />
    </Wire>
    <Wire UId="87">
      <NameCon UId="58" Name="eno" />
      <NameCon UId="59" Name="in" />
    </Wire>
    <Wire UId="88">
      <NameCon UId="58" Name="out1" />
      <IdentCon UId="29" />
    </Wire>
    <Wire UId="89">
      <IdentCon UId="30" />
      <NameCon UId="59" Name="operand" />
    </Wire>
    <Wire UId="90">
      <IdentCon UId="31" />
      <NameCon UId="60" Name="in1" />
    </Wire>
    <Wire UId="91">
      <IdentCon UId="32" />
      <NameCon UId="60" Name="in2" />
    </Wire>
    <Wire UId="92">
      <NameCon UId="60" Name="out" />
      <NameCon UId="61" Name="en" />
    </Wire>
    <Wire UId="93">
      <IdentCon UId="33" />
      <NameCon UId="61" Name="in" />
    </Wire>
    <Wire UId="94">
      <NameCon UId="61" Name="eno" />
      <NameCon UId="62" Name="en" />
    </Wire>
    <Wire UId="95">
      <NameCon UId="61" Name="out1" />
      <IdentCon UId="34" />
    </Wire>
    <Wire UId="96">
      <IdentCon UId="35" />
      <NameCon UId="62" Name="in" />
    </Wire>
    <Wire UId="97">
      <NameCon UId="62" Name="eno" />
      <NameCon UId="63" Name="in" />
    </Wire>
    <Wire UId="98">
      <NameCon UId="62" Name="out1" />
      <IdentCon UId="36" />
    </Wire>
    <Wire UId="99">
      <IdentCon UId="37" />
      <NameCon UId="63" Name="operand" />
    </Wire>
    <Wire UId="100">
      <IdentCon UId="38" />
      <NameCon UId="64" Name="operand" />
    </Wire>
    <Wire UId="101">
      <NameCon UId="64" Name="out" />
      <NameCon UId="65" Name="pre" />
      <NameCon UId="70" Name="pre" />
    </Wire>
    <Wire UId="102">
      <IdentCon UId="39" />
      <NameCon UId="65" Name="in1" />
    </Wire>
    <Wire UId="103">
      <IdentCon UId="40" />
      <NameCon UId="65" Name="in2" />
    </Wire>
    <Wire UId="104">
      <NameCon UId="65" Name="out" />
      <NameCon UId="66" Name="en" />
    </Wire>
    <Wire UId="105">
      <IdentCon UId="41" />
      <NameCon UId="66" Name="in" />
    </Wire>
    <Wire UId="106">
      <NameCon UId="66" Name="eno" />
      <NameCon UId="67" Name="en" />
    </Wire>
    <Wire UId="107">
      <NameCon UId="66" Name="out1" />
      <IdentCon UId="42" />
    </Wire>
    <Wire UId="108">
      <IdentCon UId="43" />
      <NameCon UId="67" Name="in" />
    </Wire>
    <Wire UId="109">
      <NameCon UId="67" Name="eno" />
      <NameCon UId="68" Name="en" />
    </Wire>
    <Wire UId="110">
      <NameCon UId="67" Name="out1" />
      <IdentCon UId="44" />
    </Wire>
    <Wire UId="111">
      <IdentCon UId="45" />
      <NameCon UId="68" Name="operand" />
    </Wire>
    <Wire UId="112">
      <NameCon UId="68" Name="eno" />
      <NameCon UId="69" Name="in" />
    </Wire>
    <Wire UId="113">
      <IdentCon UId="46" />
      <NameCon UId="69" Name="operand" />
    </Wire>
    <Wire UId="114">
      <IdentCon UId="47" />
      <NameCon UId="70" Name="in1" />
    </Wire>
    <Wire UId="115">
      <IdentCon UId="48" />
      <NameCon UId="70" Name="in2" />
    </Wire>
    <Wire UId="116">
      <NameCon UId="70" Name="out" />
      <NameCon UId="71" Name="en" />
    </Wire>
    <Wire UId="117">
      <IdentCon UId="49" />
      <NameCon UId="71" Name="in" />
    </Wire>
    <Wire UId="118">
      <NameCon UId="71" Name="eno" />
      <NameCon UId="72" Name="en" />
    </Wire>
    <Wire UId="119">
      <NameCon UId="71" Name="out1" />
      <IdentCon UId="50" />
    </Wire>
    <Wire UId="120">
      <IdentCon UId="51" />
      <NameCon UId="72" Name="in" />
    </Wire>
    <Wire UId="121">
      <NameCon UId="72" Name="eno" />
      <NameCon UId="73" Name="in" />
    </Wire>
    <Wire UId="122">
      <NameCon UId="72" Name="out1" />
      <IdentCon UId="52" />
    </Wire>
    <Wire UId="123">
      <IdentCon UId="53" />
      <NameCon UId="73" Name="operand" />
    </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>Etapa 000 - Espera orden de marcha</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="1C" 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_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>5</ConstantValue>
      </Constant>
    </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="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>2</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </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="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>10</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </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="PBox" UId="34" />
    <Part Name="Move" UId="35" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <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="in" />
      <NameCon UId="36" Name="in" />
      <NameCon UId="37" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="23" />
      <NameCon UId="34" Name="bit" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="en" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="24" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out1" />
      <IdentCon UId="25" />
    </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="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>Etapa 005 - Dosificacion Larga - Apertura camino</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="21" 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_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>10</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>1</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="SP_TiempoDosLarga" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </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="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>15</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </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="PBox" UId="34" />
    <Part Name="Move" UId="35" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <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="in" />
      <NameCon UId="36" Name="in" />
      <NameCon UId="37" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="23" />
      <NameCon UId="34" Name="bit" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="en" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="24" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out1" />
      <IdentCon UId="25" />
    </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="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>Etapa 010 - Dosificacion Larga - Dosificacion</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="26" 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_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>15</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>2</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="SP_Empuje" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </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="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>20</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </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="PBox" UId="34" />
    <Part Name="Move" UId="35" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <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="in" />
      <NameCon UId="36" Name="in" />
      <NameCon UId="37" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="23" />
      <NameCon UId="34" Name="bit" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="en" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="24" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out1" />
      <IdentCon UId="25" />
    </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="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 015 - Dosificacion Larga - Empuje</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="2B" 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_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>20</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>3</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </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="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>100</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </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="PBox" UId="34" />
    <Part Name="Move" UId="35" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <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="in" />
      <NameCon UId="36" Name="in" />
      <NameCon UId="37" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="23" />
      <NameCon UId="34" Name="bit" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="en" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="24" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out1" />
      <IdentCon UId="25" />
    </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="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 020 - Dosificacion Larga - Aclarado</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="30" 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_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>30</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>5</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>2</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </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="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>35</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </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="PBox" UId="34" />
    <Part Name="Move" UId="35" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <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="in" />
      <NameCon UId="36" Name="in" />
      <NameCon UId="37" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="23" />
      <NameCon UId="34" Name="bit" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="en" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="24" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out1" />
      <IdentCon UId="25" />
    </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="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 030 - Dosificacion Corta - Apertura camino</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_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>35</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>6</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="SP_TiempoDosCorta" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </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="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>40</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </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="PBox" UId="34" />
    <Part Name="Move" UId="35" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <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="in" />
      <NameCon UId="36" Name="in" />
      <NameCon UId="37" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="23" />
      <NameCon UId="34" Name="bit" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="en" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="24" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out1" />
      <IdentCon UId="25" />
    </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="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 035 - Dosificacion Corta - Dosificacion</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_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>40</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>7</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="SP_Empuje" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </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="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>45</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </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="PBox" UId="34" />
    <Part Name="Move" UId="35" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <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="in" />
      <NameCon UId="36" Name="in" />
      <NameCon UId="37" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="23" />
      <NameCon UId="34" Name="bit" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="en" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="24" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out1" />
      <IdentCon UId="25" />
    </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 040 - Dosificacion Corta - Empuje</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_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>45</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>8</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </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="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>100</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </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="PBox" UId="34" />
    <Part Name="Move" UId="35" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <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="in" />
      <NameCon UId="36" Name="in" />
      <NameCon UId="37" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="23" />
      <NameCon UId="34" Name="bit" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="en" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="24" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out1" />
      <IdentCon UId="25" />
    </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="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 045 - Dosificacion Corta - Aclarado</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_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>100</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>9</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>1</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="EtapaDosificaciones" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </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_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="32">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="34">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="PBox" UId="35" />
    <Part Name="Move" UId="36" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Contact" UId="37">
      <Negated Name="operand" />
    </Part>
    <Part Name="SCoil" UId="38" />
    <Part Name="Ge" UId="39">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="40" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="41" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="42">
      <Powerrail />
      <NameCon UId="34" Name="pre" />
    </Wire>
    <Wire UId="43">
      <IdentCon UId="21" />
      <NameCon UId="34" Name="in1" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="22" />
      <NameCon UId="34" Name="in2" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="in" />
      <NameCon UId="37" Name="in" />
      <NameCon UId="39" Name="pre" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="23" />
      <NameCon UId="35" Name="bit" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out" />
      <NameCon UId="36" Name="en" />
    </Wire>
    <Wire UId="48">
      <IdentCon UId="24" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="49">
      <NameCon UId="36" Name="out1" />
      <IdentCon UId="25" />
    </Wire>
    <Wire UId="50">
      <IdentCon UId="26" />
      <NameCon UId="37" Name="operand" />
    </Wire>
    <Wire UId="51">
      <NameCon UId="37" Name="out" />
      <NameCon UId="38" Name="in" />
    </Wire>
    <Wire UId="52">
      <IdentCon UId="27" />
      <NameCon UId="38" Name="operand" />
    </Wire>
    <Wire UId="53">
      <IdentCon UId="28" />
      <NameCon UId="39" Name="in1" />
    </Wire>
    <Wire UId="54">
      <IdentCon UId="29" />
      <NameCon UId="39" Name="in2" />
    </Wire>
    <Wire UId="55">
      <NameCon UId="39" Name="out" />
      <NameCon UId="40" Name="en" />
    </Wire>
    <Wire UId="56">
      <IdentCon UId="30" />
      <NameCon UId="40" Name="in" />
    </Wire>
    <Wire UId="57">
      <NameCon UId="40" Name="eno" />
      <NameCon UId="41" Name="en" />
    </Wire>
    <Wire UId="58">
      <NameCon UId="40" Name="out1" />
      <IdentCon UId="31" />
    </Wire>
    <Wire UId="59">
      <IdentCon UId="32" />
      <NameCon UId="41" Name="in" />
    </Wire>
    <Wire UId="60">
      <NameCon UId="41" Name="out1" />
      <IdentCon UId="33" />
    </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 100 - Fin dosificacion</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="49" CompositionName="CompileUnits">
        <AttributeList>
          <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>=============== Gestion tiempo de etapa y temporizadores</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_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="EstadoEnMarcha" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="Pulso1Seg" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </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="Reset" />
      </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="s_TiempoEtapa" />
        <Component Name="Activar" />
      </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="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Restante" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="34">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Restante" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="35">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LiteralConstant" UId="36">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="37">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Restante" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="38" />
    <Part Name="Contact" UId="39" />
    <Part Name="Contact" UId="40" />
    <Part Name="Lt" UId="41">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Inc" UId="42" DisabledENO="true">
      <TemplateValue Name="DestType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="43" />
    <Part Name="Move" UId="44" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="RCoil" UId="45" />
    <Part Name="Sub" UId="46" DisabledENO="true">
      <AutomaticTyped Name="SrcType" />
    </Part>
    <Part Name="Le" UId="47">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="48" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="49">
      <Powerrail />
      <NameCon UId="38" Name="in" />
      <NameCon UId="46" Name="en" />
    </Wire>
    <Wire UId="50">
      <IdentCon UId="21" />
      <NameCon UId="38" Name="operand" />
    </Wire>
    <Wire UId="51">
      <NameCon UId="38" Name="out" />
      <NameCon UId="39" Name="in" />
      <NameCon UId="43" Name="in" />
      <NameCon UId="45" Name="in" />
    </Wire>
    <Wire UId="52">
      <IdentCon UId="22" />
      <NameCon UId="39" Name="operand" />
    </Wire>
    <Wire UId="53">
      <NameCon UId="39" Name="out" />
      <NameCon UId="40" Name="in" />
    </Wire>
    <Wire UId="54">
      <IdentCon UId="23" />
      <NameCon UId="40" Name="operand" />
    </Wire>
    <Wire UId="55">
      <NameCon UId="40" Name="out" />
      <NameCon UId="41" Name="pre" />
    </Wire>
    <Wire UId="56">
      <IdentCon UId="24" />
      <NameCon UId="41" Name="in1" />
    </Wire>
    <Wire UId="57">
      <IdentCon UId="25" />
      <NameCon UId="41" Name="in2" />
    </Wire>
    <Wire UId="58">
      <NameCon UId="41" Name="out" />
      <NameCon UId="42" Name="en" />
    </Wire>
    <Wire UId="59">
      <IdentCon UId="26" />
      <NameCon UId="42" Name="operand" />
    </Wire>
    <Wire UId="60">
      <IdentCon UId="27" />
      <NameCon UId="43" Name="operand" />
    </Wire>
    <Wire UId="61">
      <NameCon UId="43" Name="out" />
      <NameCon UId="44" Name="en" />
    </Wire>
    <Wire UId="62">
      <IdentCon UId="28" />
      <NameCon UId="44" Name="in" />
    </Wire>
    <Wire UId="63">
      <NameCon UId="44" Name="out1" />
      <IdentCon UId="29" />
    </Wire>
    <Wire UId="64">
      <IdentCon UId="30" />
      <NameCon UId="45" Name="operand" />
    </Wire>
    <Wire UId="65">
      <IdentCon UId="31" />
      <NameCon UId="46" Name="in1" />
    </Wire>
    <Wire UId="66">
      <IdentCon UId="32" />
      <NameCon UId="46" Name="in2" />
    </Wire>
    <Wire UId="67">
      <NameCon UId="46" Name="eno" />
      <NameCon UId="47" Name="pre" />
    </Wire>
    <Wire UId="68">
      <NameCon UId="46" Name="out" />
      <IdentCon UId="33" />
    </Wire>
    <Wire UId="69">
      <IdentCon UId="34" />
      <NameCon UId="47" Name="in1" />
    </Wire>
    <Wire UId="70">
      <IdentCon UId="35" />
      <NameCon UId="47" Name="in2" />
    </Wire>
    <Wire UId="71">
      <NameCon UId="47" Name="out" />
      <NameCon UId="48" Name="en" />
    </Wire>
    <Wire UId="72">
      <IdentCon UId="36" />
      <NameCon UId="48" Name="in" />
    </Wire>
    <Wire UId="73">
      <NameCon UId="48" Name="out1" />
      <IdentCon UId="37" />
    </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>Contador tiempo</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="53" CompositionName="CompileUnits">
        <AttributeList>
          <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>=============== Auxiliares</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="58" 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="ResetNumeroDosificaciones" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="NumeroDosificacionesActuales" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="24" />
    <Part Name="Move" UId="25" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="26">
      <Powerrail />
      <NameCon UId="24" Name="in" />
    </Wire>
    <Wire UId="27">
      <IdentCon UId="21" />
      <NameCon UId="24" Name="operand" />
    </Wire>
    <Wire UId="28">
      <NameCon UId="24" Name="out" />
      <NameCon UId="25" Name="en" />
    </Wire>
    <Wire UId="29">
      <IdentCon UId="22" />
      <NameCon UId="25" Name="in" />
    </Wire>
    <Wire UId="30">
      <NameCon UId="25" Name="out1" />
      <IdentCon UId="23" />
    </Wire>
  </Wires>
</FlgNet></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>Reset numero de dosificaciones</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="5D" CompositionName="CompileUnits">
        <AttributeList>
          <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>=============== Salidas</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="62" 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_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>5</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>10</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="26">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>30</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="28">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>35</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="Dosificación" />
      </Symbol>
    </Access>
    <Part Name="Ge" UId="30">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Le" UId="31">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Ge" UId="32">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Le" UId="33">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="O" UId="34">
      <TemplateValue Name="Card" Type="Cardinality">2</TemplateValue>
    </Part>
    <Part Name="Coil" UId="35" />
  </Parts>
  <Wires>
    <Wire UId="36">
      <Powerrail />
      <NameCon UId="30" Name="pre" />
      <NameCon UId="32" Name="pre" />
    </Wire>
    <Wire UId="37">
      <IdentCon UId="21" />
      <NameCon UId="30" Name="in1" />
    </Wire>
    <Wire UId="38">
      <IdentCon UId="22" />
      <NameCon UId="30" Name="in2" />
    </Wire>
    <Wire UId="39">
      <NameCon UId="30" Name="out" />
      <NameCon UId="31" Name="pre" />
    </Wire>
    <Wire UId="40">
      <IdentCon UId="23" />
      <NameCon UId="31" Name="in1" />
    </Wire>
    <Wire UId="41">
      <IdentCon UId="24" />
      <NameCon UId="31" Name="in2" />
    </Wire>
    <Wire UId="42">
      <NameCon UId="31" Name="out" />
      <NameCon UId="34" Name="in1" />
    </Wire>
    <Wire UId="43">
      <IdentCon UId="25" />
      <NameCon UId="32" Name="in1" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="26" />
      <NameCon UId="32" Name="in2" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="32" Name="out" />
      <NameCon UId="33" Name="pre" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="27" />
      <NameCon UId="33" Name="in1" />
    </Wire>
    <Wire UId="47">
      <IdentCon UId="28" />
      <NameCon UId="33" Name="in2" />
    </Wire>
    <Wire UId="48">
      <NameCon UId="33" Name="out" />
      <NameCon UId="34" Name="in2" />
    </Wire>
    <Wire UId="49">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="50">
      <IdentCon UId="29" />
      <NameCon UId="35" Name="operand" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</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>Dosificación</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="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>15</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>40</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="Empuje" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="26">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Eq" UId="27">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="O" UId="28">
      <TemplateValue Name="Card" Type="Cardinality">2</TemplateValue>
    </Part>
    <Part Name="Coil" UId="29" />
  </Parts>
  <Wires>
    <Wire UId="30">
      <Powerrail />
      <NameCon UId="26" Name="pre" />
      <NameCon UId="27" Name="pre" />
    </Wire>
    <Wire UId="31">
      <IdentCon UId="21" />
      <NameCon UId="26" Name="in1" />
    </Wire>
    <Wire UId="32">
      <IdentCon UId="22" />
      <NameCon UId="26" Name="in2" />
    </Wire>
    <Wire UId="33">
      <NameCon UId="26" Name="out" />
      <NameCon UId="28" Name="in1" />
    </Wire>
    <Wire UId="34">
      <IdentCon UId="23" />
      <NameCon UId="27" Name="in1" />
    </Wire>
    <Wire UId="35">
      <IdentCon UId="24" />
      <NameCon UId="27" Name="in2" />
    </Wire>
    <Wire UId="36">
      <NameCon UId="27" Name="out" />
      <NameCon UId="28" Name="in2" />
    </Wire>
    <Wire UId="37">
      <NameCon UId="28" Name="out" />
      <NameCon UId="29" Name="in" />
    </Wire>
    <Wire UId="38">
      <IdentCon UId="25" />
      <NameCon UId="29" 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>Empuje</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="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>100</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="FinDosificacion" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="24">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Coil" UId="25" />
  </Parts>
  <Wires>
    <Wire UId="26">
      <Powerrail />
      <NameCon UId="24" Name="pre" />
    </Wire>
    <Wire UId="27">
      <IdentCon UId="21" />
      <NameCon UId="24" Name="in1" />
    </Wire>
    <Wire UId="28">
      <IdentCon UId="22" />
      <NameCon UId="24" Name="in2" />
    </Wire>
    <Wire UId="29">
      <NameCon UId="24" Name="out" />
      <NameCon UId="25" Name="in" />
    </Wire>
    <Wire UId="30">
      <IdentCon UId="23" />
      <NameCon UId="25" 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>Fin dosificacion</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>FB15159_ZC_DOSIF_PREP</Text>
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.FB>
</Document>