<?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>
      <HeaderName>FB15183_ZC_FERM_CORTE</HeaderName>
      <HeaderVersion>1.0</HeaderVersion>
      <Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
  <Section Name="Input">
    <Member Name="NombreSecuencia" Datatype="String">
      <Comment>
        <MultiLanguageText Lang="es-ES">Nombre de la secuencia</MultiLanguageText>
      </Comment>
      <StartValue>'ADICION PRODUCTO'</StartValue>
    </Member>
    <Member Name="Pulso1Seg" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Pulso 1 segundo</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Ack" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Acuse general</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="OrdenMarcha" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden marcha secuencia</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="EstadoEnMarcha" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Estado proceso principal en marcha</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="EnEtapa" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">En etapa</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="OrdenPausa" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden pausa adicional</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="TT_Tanque" Datatype="Real">
      <Comment>
        <MultiLanguageText Lang="es-ES">Temperatura tanque</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="LT_Tanque" Datatype="Real">
      <Comment>
        <MultiLanguageText Lang="es-ES">Nivel tanque</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Parametros" Datatype="&quot;UDT_ZC_RECETA_BATCH_ETAPA&quot;">
      <Sections>
        <Section Name="None">
          <Member Name="TipoEtapa" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">.</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_1" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">AgitadorVelocidadFija</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_2" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">AgitadorVolumenMinControl</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_3" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">AgitadorVolumenMaxControl</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_4" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">AgitadorVelocidadMin</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_5" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">AgitadorVelocidadMax</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_6" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">SPTemperatura</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_7" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">HisteresisTemp</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_8" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_9" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_10" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_11" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_12" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_13" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_14" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_15" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_16" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_17" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_1" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">AgitadorNumeroCiclos</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_2" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_3" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">AgitadorTiempoOFF</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_4" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">AgitadorTiempoON</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_5" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">TipoAgitacionVelocidad</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_6" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_7" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_8" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_9" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_10" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_11" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_12" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_13" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_14" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Int_15" Datatype="Int">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_1" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_2" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_3" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_4" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_5" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_6" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_7" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_8" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_9" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_10" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
        </Section>
      </Sections>
    </Member>
  </Section>
  <Section Name="Output">
    <Member Name="MarchaAgitador" Datatype="Bool" />
    <Member Name="VelocidadAgitador" Datatype="Real" />
    <Member Name="OrdenEnfriar" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Orden enfriar</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="SP_CalEnf" Datatype="Real">
      <Comment>
        <MultiLanguageText Lang="es-ES">Set point calentamiento/enfriamiento</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="VisibilidadCalEnf" Datatype="Bool" />
    <Member Name="SecuenciaIniciada" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Secuencia iniciada</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="FinSecuencia" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Secuencia finalizada</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="InOut" />
  <Section Name="Static">
    <Member Name="s_EtapaActual" Datatype="Int" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Etapa actual</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="s_TextoEtapa" Datatype="String[100]" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Texto etapa</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="s_Pausa_M" Datatype="Bool" Remanence="Retain" />
    <Member Name="s_Pausa_V" Datatype="Bool" Remanence="Retain" />
    <Member Name="s_Continuar" Datatype="Bool" Remanence="Retain" />
    <Member Name="s_Pulsos" Datatype="Array[0..15] 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>
      <Subelement Path="3">
        <Comment>
          <MultiLanguageText Lang="es-ES">Etapa 130</MultiLanguageText>
        </Comment>
      </Subelement>
      <Subelement Path="4">
        <Comment>
          <MultiLanguageText Lang="es-ES">Etapa 140</MultiLanguageText>
        </Comment>
      </Subelement>
      <Subelement Path="5">
        <Comment>
          <MultiLanguageText Lang="es-ES">Etapa 150</MultiLanguageText>
        </Comment>
      </Subelement>
      <Subelement Path="10">
        <Comment>
          <MultiLanguageText Lang="es-ES">Etapa 999</MultiLanguageText>
        </Comment>
      </Subelement>
      <Subelement Path="11">
        <Comment>
          <MultiLanguageText Lang="es-ES">Incrementar numero de ciclos</MultiLanguageText>
        </Comment>
      </Subelement>
    </Member>
    <Member Name="s_TiempoEtapa" Datatype="Struct" Remanence="Retain">
      <Comment>
        <MultiLanguageText Lang="es-ES">Tiempo de etapa</MultiLanguageText>
      </Comment>
      <Member Name="Activar" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="es-ES">Activar</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Reset" Datatype="Bool">
        <Comment>
          <MultiLanguageText Lang="es-ES">Reset</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Actual" Datatype="Int">
        <Comment>
          <MultiLanguageText Lang="es-ES">Actual</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="SP" Datatype="Int">
        <Comment>
          <MultiLanguageText Lang="es-ES">Set point</MultiLanguageText>
        </Comment>
      </Member>
      <Member Name="Restante" Datatype="Int">
        <Comment>
          <MultiLanguageText Lang="es-ES">Restante</MultiLanguageText>
        </Comment>
      </Member>
    </Member>
    <Member Name="s_TON" Datatype="Array[1..#NUM_MAX_TON] of &quot;UDT_ZC_DISP_TON&quot;">
      <AttributeList>
        <BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
        <BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
      </AttributeList>
      <Sections>
        <Section Name="None" />
      </Sections>
      <Subelement Path="1">
        <Comment>
          <MultiLanguageText Lang="es-ES">Pausa</MultiLanguageText>
        </Comment>
      </Subelement>
      <Subelement Path="2">
        <Comment>
          <MultiLanguageText Lang="es-ES">Continuar</MultiLanguageText>
        </Comment>
      </Subelement>
    </Member>
    <Member Name="s_FF" Datatype="Array[1..#NUM_MAX_FF] of &quot;UDT_ZC_DISP_FF&quot;">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="s_NumeroCiclosAgitador" Datatype="Int">
      <Comment>
        <MultiLanguageText Lang="es-ES">Numero de ciclos de agitador</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="s_OrdenEnfriar" Datatype="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>
  </Section>
  <Section Name="Temp">
    <Member Name="for_i" Datatype="Int" />
    <Member Name="t_TempHistSuperior" Datatype="Real" />
    <Member Name="t_TempHistInferior" Datatype="Real" />
    <Member Name="t_x0" Datatype="Real" />
    <Member Name="t_x1" Datatype="Real" />
    <Member Name="t_x" Datatype="Real" />
    <Member Name="t_y0" Datatype="Real" />
    <Member Name="t_y1" Datatype="Real" />
  </Section>
  <Section Name="Constant">
    <Member Name="SiempreON" Datatype="Bool">
      <StartValue>TRUE</StartValue>
    </Member>
    <Member Name="SiempreOFF" Datatype="Bool">
      <StartValue>FALSE</StartValue>
    </Member>
    <Member Name="NUM_MAX_TON" Datatype="Int">
      <StartValue>2</StartValue>
    </Member>
    <Member Name="NUM_MAX_FF" Datatype="Int">
      <StartValue>1</StartValue>
    </Member>
  </Section>
</Sections></Interface>
      <MemoryLayout>Optimized</MemoryLayout>
      <MemoryReserve>100</MemoryReserve>
      <Name>FB15183_ZC_FERM_CORTE</Name>
      <Namespace />
      <Number>15183</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:         FB15183_ZC_FERM_CORTE
Descripcion:    Bloque de gestión de fase adicion de producto

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

Change log:

    Version     Fecha       Tecnico a cargo     Descripción
    
    01.00.00    08.07.2025  (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="LocalConstant" UId="21">
      <Constant Name="SiempreON" />
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="OrdenPausa" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="EstadoEnMarcha" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_Pausa_M" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_Pausa_M" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="26">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_TON" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>1</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="s_TON" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>1</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="IN" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="s_TON" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>1</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="Q" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_Continuar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="s_Pausa_V" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="OrdenPausa" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="EstadoEnMarcha" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="34">
      <Symbol>
        <Component Name="s_Pausa_V" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="35">
      <Symbol>
        <Component Name="s_Continuar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="36">
      <Symbol>
        <Component Name="s_Continuar" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="37">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="38">
      <Symbol>
        <Component Name="s_TON" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>2</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="39">
      <Symbol>
        <Component Name="s_TON" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>2</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="IN" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="40">
      <Symbol>
        <Component Name="s_TON" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>2</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="Q" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="41">
      <Symbol>
        <Component Name="s_Pausa_M" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="42">
      <Symbol>
        <Component Name="s_Continuar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="43">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="44">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="45">
      <Symbol>
        <Component Name="s_Pausa_M" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="46">
      <Symbol>
        <Component Name="s_Pausa_V" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="47">
      <Symbol>
        <Component Name="s_Continuar" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="48" />
    <Part Name="Contact" UId="49" />
    <Part Name="Contact" UId="50">
      <Negated Name="operand" />
    </Part>
    <Part Name="O" UId="51">
      <TemplateValue Name="Card" Type="Cardinality">2</TemplateValue>
    </Part>
    <Part Name="SCoil" UId="52" />
    <Part Name="Contact" UId="53" />
    <Part Name="Move" UId="54" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Coil" UId="55" />
    <Part Name="Contact" UId="56" />
    <Part Name="Contact" UId="57">
      <Negated Name="operand" />
    </Part>
    <Part Name="SCoil" UId="58" />
    <Part Name="Contact" UId="59">
      <Negated Name="operand" />
    </Part>
    <Part Name="Contact" UId="60" />
    <Part Name="RCoil" UId="61" />
    <Part Name="SCoil" UId="62" />
    <Part Name="Contact" UId="63" />
    <Part Name="Move" UId="64" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Coil" UId="65" />
    <Part Name="Contact" UId="66" />
    <Part Name="RCoil" UId="67" />
    <Part Name="RCoil" UId="68" />
    <Part Name="Eq" UId="69">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="RCoil" UId="70" />
    <Part Name="RCoil" UId="71" />
    <Part Name="RCoil" UId="72" />
  </Parts>
  <Wires>
    <Wire UId="73">
      <Powerrail />
      <NameCon UId="48" Name="in" />
    </Wire>
    <Wire UId="74">
      <IdentCon UId="21" />
      <NameCon UId="48" Name="operand" />
    </Wire>
    <Wire UId="75">
      <NameCon UId="48" Name="out" />
      <NameCon UId="49" Name="in" />
      <NameCon UId="50" Name="in" />
      <NameCon UId="53" Name="in" />
      <NameCon UId="59" Name="in" />
      <NameCon UId="63" Name="in" />
      <NameCon UId="69" Name="pre" />
    </Wire>
    <Wire UId="76">
      <IdentCon UId="22" />
      <NameCon UId="49" Name="operand" />
    </Wire>
    <Wire UId="77">
      <NameCon UId="49" Name="out" />
      <NameCon UId="51" Name="in1" />
    </Wire>
    <Wire UId="78">
      <IdentCon UId="23" />
      <NameCon UId="50" Name="operand" />
    </Wire>
    <Wire UId="79">
      <NameCon UId="50" Name="out" />
      <NameCon UId="51" Name="in2" />
    </Wire>
    <Wire UId="80">
      <NameCon UId="51" Name="out" />
      <NameCon UId="52" Name="in" />
    </Wire>
    <Wire UId="81">
      <IdentCon UId="24" />
      <NameCon UId="52" Name="operand" />
    </Wire>
    <Wire UId="82">
      <IdentCon UId="25" />
      <NameCon UId="53" Name="operand" />
    </Wire>
    <Wire UId="83">
      <NameCon UId="53" Name="out" />
      <NameCon UId="54" Name="en" />
      <NameCon UId="56" Name="in" />
    </Wire>
    <Wire UId="84">
      <IdentCon UId="26" />
      <NameCon UId="54" Name="in" />
    </Wire>
    <Wire UId="85">
      <NameCon UId="54" Name="eno" />
      <NameCon UId="55" Name="in" />
    </Wire>
    <Wire UId="86">
      <NameCon UId="54" Name="out1" />
      <IdentCon UId="27" />
    </Wire>
    <Wire UId="87">
      <IdentCon UId="28" />
      <NameCon UId="55" Name="operand" />
    </Wire>
    <Wire UId="88">
      <IdentCon UId="29" />
      <NameCon UId="56" Name="operand" />
    </Wire>
    <Wire UId="89">
      <NameCon UId="56" Name="out" />
      <NameCon UId="57" Name="in" />
    </Wire>
    <Wire UId="90">
      <IdentCon UId="30" />
      <NameCon UId="57" Name="operand" />
    </Wire>
    <Wire UId="91">
      <NameCon UId="57" Name="out" />
      <NameCon UId="58" Name="in" />
    </Wire>
    <Wire UId="92">
      <IdentCon UId="31" />
      <NameCon UId="58" Name="operand" />
    </Wire>
    <Wire UId="93">
      <IdentCon UId="32" />
      <NameCon UId="59" Name="operand" />
    </Wire>
    <Wire UId="94">
      <NameCon UId="59" Name="out" />
      <NameCon UId="60" Name="in" />
    </Wire>
    <Wire UId="95">
      <IdentCon UId="33" />
      <NameCon UId="60" Name="operand" />
    </Wire>
    <Wire UId="96">
      <NameCon UId="60" Name="out" />
      <NameCon UId="61" Name="in" />
      <NameCon UId="62" Name="in" />
    </Wire>
    <Wire UId="97">
      <IdentCon UId="34" />
      <NameCon UId="61" Name="operand" />
    </Wire>
    <Wire UId="98">
      <IdentCon UId="35" />
      <NameCon UId="62" Name="operand" />
    </Wire>
    <Wire UId="99">
      <IdentCon UId="36" />
      <NameCon UId="63" Name="operand" />
    </Wire>
    <Wire UId="100">
      <NameCon UId="63" Name="out" />
      <NameCon UId="64" Name="en" />
      <NameCon UId="66" Name="in" />
    </Wire>
    <Wire UId="101">
      <IdentCon UId="37" />
      <NameCon UId="64" Name="in" />
    </Wire>
    <Wire UId="102">
      <NameCon UId="64" Name="eno" />
      <NameCon UId="65" Name="in" />
    </Wire>
    <Wire UId="103">
      <NameCon UId="64" Name="out1" />
      <IdentCon UId="38" />
    </Wire>
    <Wire UId="104">
      <IdentCon UId="39" />
      <NameCon UId="65" Name="operand" />
    </Wire>
    <Wire UId="105">
      <IdentCon UId="40" />
      <NameCon UId="66" Name="operand" />
    </Wire>
    <Wire UId="106">
      <NameCon UId="66" Name="out" />
      <NameCon UId="67" Name="in" />
      <NameCon UId="68" Name="in" />
    </Wire>
    <Wire UId="107">
      <IdentCon UId="41" />
      <NameCon UId="67" Name="operand" />
    </Wire>
    <Wire UId="108">
      <IdentCon UId="42" />
      <NameCon UId="68" Name="operand" />
    </Wire>
    <Wire UId="109">
      <IdentCon UId="43" />
      <NameCon UId="69" Name="in1" />
    </Wire>
    <Wire UId="110">
      <IdentCon UId="44" />
      <NameCon UId="69" Name="in2" />
    </Wire>
    <Wire UId="111">
      <NameCon UId="69" Name="out" />
      <NameCon UId="70" Name="in" />
      <NameCon UId="71" Name="in" />
      <NameCon UId="72" Name="in" />
    </Wire>
    <Wire UId="112">
      <IdentCon UId="45" />
      <NameCon UId="70" Name="operand" />
    </Wire>
    <Wire UId="113">
      <IdentCon UId="46" />
      <NameCon UId="71" Name="operand" />
    </Wire>
    <Wire UId="114">
      <IdentCon UId="47" />
      <NameCon UId="72" Name="operand" />
    </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>Pausa</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="12" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="EnEtapa" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="24">
      <Negated Name="operand" />
    </Part>
    <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="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>Paro de secuencia</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="17" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <LineComment UId="21">
    <Text UId="22">  ================================================================</Text>
  </LineComment>
  <NewLine UId="23" />
  <LineComment UId="24">
    <Text UId="25">  TEXTO ETAPA</Text>
  </LineComment>
  <NewLine UId="26" />
  <Token Text="CASE" UId="27" />
  <Blank UId="28" />
  <Access Scope="LocalVariable" UId="29">
    <Symbol UId="30">
      <Component Name="s_EtapaActual" UId="31" />
    </Symbol>
  </Access>
  <Blank UId="32" />
  <Token Text="OF" UId="33" />
  <NewLine UId="34" />
  <Blank Num="4" UId="35" />
  <Access Scope="LiteralConstant" UId="36">
    <Constant UId="37">
      <ConstantValue UId="39">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="40" />
  <NewLine UId="41" />
  <Blank Num="8" UId="42" />
  <Access Scope="LocalVariable" UId="43">
    <Symbol UId="44">
      <Component Name="s_TextoEtapa" UId="45" />
    </Symbol>
  </Access>
  <Blank UId="46" />
  <Token Text=":=" UId="47" />
  <Blank UId="48" />
  <Access Scope="Call" UId="49">
    <Instruction Name="CONCAT" UId="50">
      <TemplateValue Name="str_type" Type="Type" UId="51">String</TemplateValue>
      <Token Text="(" UId="52" />
      <Parameter Name="IN1" UId="53">
        <Token Text=":=" UId="54" />
        <Blank UId="55" />
        <Access Scope="LocalVariable" UId="56">
          <Symbol UId="57">
            <Component Name="NombreSecuencia" UId="58" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="59" />
      <Parameter Name="IN2" UId="60">
        <Token Text=":=" UId="61" />
        <Blank UId="62" />
        <Access Scope="LiteralConstant" UId="63">
          <Constant UId="64">
            <ConstantValue UId="66">' - REPOSO'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="68" />
    </Instruction>
  </Access>
  <Token Text=";" UId="69" />
  <NewLine UId="70" />
  <Blank Num="8" UId="71" />
  <NewLine UId="72" />
  <Blank Num="4" UId="73" />
  <Access Scope="LiteralConstant" UId="74">
    <Constant UId="75">
      <ConstantValue UId="77">140</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="78" />
  <NewLine UId="79" />
  <Blank Num="8" UId="80" />
  <Access Scope="LocalVariable" UId="81">
    <Symbol UId="82">
      <Component Name="s_TextoEtapa" UId="83" />
    </Symbol>
  </Access>
  <Blank UId="84" />
  <Token Text=":=" UId="85" />
  <Blank UId="86" />
  <Access Scope="Call" UId="87">
    <Instruction Name="CONCAT" UId="88">
      <TemplateValue Name="str_type" Type="Type" UId="89">String</TemplateValue>
      <Token Text="(" UId="90" />
      <Parameter Name="IN1" UId="91">
        <Blank UId="92" />
        <Token Text=":=" UId="93" />
        <Blank UId="94" />
        <Access Scope="LocalVariable" UId="95">
          <Symbol UId="96">
            <Component Name="NombreSecuencia" UId="97" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="98" />
      <Blank UId="99" />
      <Parameter Name="IN2" UId="100">
        <Blank UId="101" />
        <Token Text=":=" UId="102" />
        <Blank UId="103" />
        <Access Scope="LiteralConstant" UId="104">
          <Constant UId="105">
            <ConstantValue UId="107">' - CORTE'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="109" />
    </Instruction>
  </Access>
  <Token Text=";" UId="110" />
  <NewLine UId="111" />
  <Blank Num="8" UId="112" />
  <NewLine UId="113" />
  <Blank Num="4" UId="114" />
  <Access Scope="LiteralConstant" UId="115">
    <Constant UId="116">
      <ConstantValue UId="118">999</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="119" />
  <NewLine UId="120" />
  <Blank Num="8" UId="121" />
  <Access Scope="LocalVariable" UId="122">
    <Symbol UId="123">
      <Component Name="s_TextoEtapa" UId="124" />
    </Symbol>
  </Access>
  <Blank UId="125" />
  <Token Text=":=" UId="126" />
  <Blank UId="127" />
  <Access Scope="Call" UId="128">
    <Instruction Name="CONCAT" UId="129">
      <TemplateValue Name="str_type" Type="Type" UId="130">String</TemplateValue>
      <Token Text="(" UId="131" />
      <Parameter Name="IN1" UId="132">
        <Blank UId="133" />
        <Token Text=":=" UId="134" />
        <Blank UId="135" />
        <Access Scope="LocalVariable" UId="136">
          <Symbol UId="137">
            <Component Name="NombreSecuencia" UId="138" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="139" />
      <Blank UId="140" />
      <Parameter Name="IN2" UId="141">
        <Blank UId="142" />
        <Token Text=":=" UId="143" />
        <Blank UId="144" />
        <Access Scope="LiteralConstant" UId="145">
          <Constant UId="146">
            <ConstantValue UId="148">' - FIN DE SECUENCIA'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="150" />
    </Instruction>
  </Access>
  <Token Text=";" UId="151" />
  <NewLine UId="152" />
  <Blank Num="8" UId="153" />
  <NewLine UId="154" />
  <Blank Num="4" UId="155" />
  <Token Text="ELSE" UId="156" />
  <NewLine UId="157" />
  <Blank Num="8" UId="158" />
  <Access Scope="LocalVariable" UId="159">
    <Symbol UId="160">
      <Component Name="s_TextoEtapa" UId="161" />
    </Symbol>
  </Access>
  <Blank UId="162" />
  <Token Text=":=" UId="163" />
  <Blank UId="164" />
  <Access Scope="Call" UId="165">
    <Instruction Name="CONCAT" UId="166">
      <TemplateValue Name="str_type" Type="Type" UId="167">String</TemplateValue>
      <Token Text="(" UId="168" />
      <Parameter Name="IN1" UId="169">
        <Blank UId="170" />
        <Token Text=":=" UId="171" />
        <Blank UId="172" />
        <Access Scope="LocalVariable" UId="173">
          <Symbol UId="174">
            <Component Name="NombreSecuencia" UId="175" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="176" />
      <Blank UId="177" />
      <Parameter Name="IN2" UId="178">
        <Blank UId="179" />
        <Token Text=":=" UId="180" />
        <Blank UId="181" />
        <Access Scope="LiteralConstant" UId="182">
          <Constant UId="183">
            <ConstantValue UId="185">' - FUERA DE ETAPA'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="187" />
    </Instruction>
  </Access>
  <Token Text=";" UId="188" />
  <NewLine UId="189" />
  <Token Text="END_CASE" UId="190" />
  <Token Text=";" UId="191" />
  <NewLine UId="192" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</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>Texto Etapa</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="1C" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource />
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="1D" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="1E" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="1F" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="20" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>=============== Auxiliares</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="Parametros" />
        <Component Name="P_Real_6" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="Parametros" />
        <Component Name="P_Real_7" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="t_TempHistSuperior" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="Parametros" />
        <Component Name="P_Real_6" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="Parametros" />
        <Component Name="P_Real_7" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="t_TempHistInferior" />
      </Symbol>
    </Access>
    <Part Name="Add" UId="27" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">2</TemplateValue>
      <AutomaticTyped Name="SrcType" />
    </Part>
    <Part Name="Sub" UId="28" DisabledENO="true">
      <AutomaticTyped Name="SrcType" />
    </Part>
  </Parts>
  <Wires>
    <Wire UId="29">
      <Powerrail />
      <NameCon UId="27" Name="en" />
    </Wire>
    <Wire UId="30">
      <IdentCon UId="21" />
      <NameCon UId="27" Name="in1" />
    </Wire>
    <Wire UId="31">
      <IdentCon UId="22" />
      <NameCon UId="27" Name="in2" />
    </Wire>
    <Wire UId="32">
      <NameCon UId="27" Name="eno" />
      <NameCon UId="28" Name="en" />
    </Wire>
    <Wire UId="33">
      <NameCon UId="27" Name="out" />
      <IdentCon UId="23" />
    </Wire>
    <Wire UId="34">
      <IdentCon UId="24" />
      <NameCon UId="28" Name="in1" />
    </Wire>
    <Wire UId="35">
      <IdentCon UId="25" />
      <NameCon UId="28" Name="in2" />
    </Wire>
    <Wire UId="36">
      <NameCon UId="28" Name="out" />
      <IdentCon UId="26" />
    </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>Gestion calentamiento - Calculo histeresis</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="26" CompositionName="CompileUnits">
        <AttributeList>
          <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>=============== Secuencia</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>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="EnEtapa" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="OrdenMarcha" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="25">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>140</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="27">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_NumeroCiclosAgitador" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="31">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="32" />
    <Part Name="Contact" UId="33" />
    <Part Name="Move" UId="34" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="35" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="36" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="37">
      <Powerrail />
      <NameCon UId="31" Name="pre" />
    </Wire>
    <Wire UId="38">
      <IdentCon UId="21" />
      <NameCon UId="31" Name="in1" />
    </Wire>
    <Wire UId="39">
      <IdentCon UId="22" />
      <NameCon UId="31" Name="in2" />
    </Wire>
    <Wire UId="40">
      <NameCon UId="31" Name="out" />
      <NameCon UId="32" Name="in" />
    </Wire>
    <Wire UId="41">
      <IdentCon UId="23" />
      <NameCon UId="32" Name="operand" />
    </Wire>
    <Wire UId="42">
      <NameCon UId="32" Name="out" />
      <NameCon UId="33" Name="in" />
    </Wire>
    <Wire UId="43">
      <IdentCon UId="24" />
      <NameCon UId="33" Name="operand" />
    </Wire>
    <Wire UId="44">
      <NameCon UId="33" Name="out" />
      <NameCon UId="34" Name="en" />
    </Wire>
    <Wire UId="45">
      <IdentCon UId="25" />
      <NameCon UId="34" Name="in" />
    </Wire>
    <Wire UId="46">
      <NameCon UId="34" Name="eno" />
      <NameCon UId="35" Name="en" />
      <NameCon UId="36" Name="en" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="34" Name="out1" />
      <IdentCon UId="26" />
    </Wire>
    <Wire UId="48">
      <IdentCon UId="27" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="49">
      <NameCon UId="35" Name="out1" />
      <IdentCon UId="28" />
    </Wire>
    <Wire UId="50">
      <IdentCon UId="29" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="51">
      <NameCon UId="36" Name="out1" />
      <IdentCon UId="30" />
    </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 000 - Espera orden de marcha</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>140</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>4</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="s_NumeroCiclosAgitador" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="Parametros" />
        <Component Name="P_Int_1" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="28">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>999</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="30">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="32">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="PBox" UId="33" />
    <Part Name="Move" UId="34" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Ge" UId="35">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="36" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="37" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="38">
      <Powerrail />
      <NameCon UId="32" Name="pre" />
    </Wire>
    <Wire UId="39">
      <IdentCon UId="21" />
      <NameCon UId="32" Name="in1" />
    </Wire>
    <Wire UId="40">
      <IdentCon UId="22" />
      <NameCon UId="32" Name="in2" />
    </Wire>
    <Wire UId="41">
      <NameCon UId="32" Name="out" />
      <NameCon UId="33" Name="in" />
      <NameCon UId="35" Name="pre" />
    </Wire>
    <Wire UId="42">
      <IdentCon UId="23" />
      <NameCon UId="33" Name="bit" />
    </Wire>
    <Wire UId="43">
      <NameCon UId="33" Name="out" />
      <NameCon UId="34" Name="en" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="24" />
      <NameCon UId="34" Name="in" />
    </Wire>
    <Wire UId="45">
      <NameCon UId="34" Name="out1" />
      <IdentCon UId="25" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="26" />
      <NameCon UId="35" Name="in1" />
    </Wire>
    <Wire UId="47">
      <IdentCon UId="27" />
      <NameCon UId="35" Name="in2" />
    </Wire>
    <Wire UId="48">
      <NameCon UId="35" Name="out" />
      <NameCon UId="36" Name="en" />
    </Wire>
    <Wire UId="49">
      <IdentCon UId="28" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="50">
      <NameCon UId="36" Name="eno" />
      <NameCon UId="37" Name="en" />
    </Wire>
    <Wire UId="51">
      <NameCon UId="36" Name="out1" />
      <IdentCon UId="29" />
    </Wire>
    <Wire UId="52">
      <IdentCon UId="30" />
      <NameCon UId="37" Name="in" />
    </Wire>
    <Wire UId="53">
      <NameCon UId="37" Name="out1" />
      <IdentCon UId="31" />
    </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 140 - Corte</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>999</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>10</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>3</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="EnEtapa" />
      </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="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 999 - Fin de secuencia</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="3A" CompositionName="CompileUnits">
        <AttributeList>
          <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>=============== Gestion tiempo de etapa y temporizadores</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_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="s_Pausa_M" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="Pulso1Seg" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Reset" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="34">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Restante" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="35">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Restante" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="36">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LiteralConstant" UId="37">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="38">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Restante" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="39" />
    <Part Name="Contact" UId="40" />
    <Part Name="Contact" UId="41">
      <Negated Name="operand" />
    </Part>
    <Part Name="Contact" UId="42" />
    <Part Name="Lt" UId="43">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Inc" UId="44" DisabledENO="true">
      <TemplateValue Name="DestType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="45" />
    <Part Name="Move" UId="46" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="RCoil" UId="47" />
    <Part Name="Sub" UId="48" DisabledENO="true">
      <AutomaticTyped Name="SrcType" />
    </Part>
    <Part Name="Le" UId="49">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="50" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="51">
      <Powerrail />
      <NameCon UId="39" Name="in" />
      <NameCon UId="48" Name="en" />
    </Wire>
    <Wire UId="52">
      <IdentCon UId="21" />
      <NameCon UId="39" Name="operand" />
    </Wire>
    <Wire UId="53">
      <NameCon UId="39" Name="out" />
      <NameCon UId="40" Name="in" />
      <NameCon UId="45" Name="in" />
      <NameCon UId="47" Name="in" />
    </Wire>
    <Wire UId="54">
      <IdentCon UId="22" />
      <NameCon UId="40" Name="operand" />
    </Wire>
    <Wire UId="55">
      <NameCon UId="40" Name="out" />
      <NameCon UId="41" Name="in" />
    </Wire>
    <Wire UId="56">
      <IdentCon UId="23" />
      <NameCon UId="41" Name="operand" />
    </Wire>
    <Wire UId="57">
      <NameCon UId="41" Name="out" />
      <NameCon UId="42" Name="in" />
    </Wire>
    <Wire UId="58">
      <IdentCon UId="24" />
      <NameCon UId="42" Name="operand" />
    </Wire>
    <Wire UId="59">
      <NameCon UId="42" Name="out" />
      <NameCon UId="43" Name="pre" />
    </Wire>
    <Wire UId="60">
      <IdentCon UId="25" />
      <NameCon UId="43" Name="in1" />
    </Wire>
    <Wire UId="61">
      <IdentCon UId="26" />
      <NameCon UId="43" Name="in2" />
    </Wire>
    <Wire UId="62">
      <NameCon UId="43" Name="out" />
      <NameCon UId="44" Name="en" />
    </Wire>
    <Wire UId="63">
      <IdentCon UId="27" />
      <NameCon UId="44" Name="operand" />
    </Wire>
    <Wire UId="64">
      <IdentCon UId="28" />
      <NameCon UId="45" Name="operand" />
    </Wire>
    <Wire UId="65">
      <NameCon UId="45" Name="out" />
      <NameCon UId="46" Name="en" />
    </Wire>
    <Wire UId="66">
      <IdentCon UId="29" />
      <NameCon UId="46" Name="in" />
    </Wire>
    <Wire UId="67">
      <NameCon UId="46" Name="out1" />
      <IdentCon UId="30" />
    </Wire>
    <Wire UId="68">
      <IdentCon UId="31" />
      <NameCon UId="47" Name="operand" />
    </Wire>
    <Wire UId="69">
      <IdentCon UId="32" />
      <NameCon UId="48" Name="in1" />
    </Wire>
    <Wire UId="70">
      <IdentCon UId="33" />
      <NameCon UId="48" Name="in2" />
    </Wire>
    <Wire UId="71">
      <NameCon UId="48" Name="eno" />
      <NameCon UId="49" Name="pre" />
    </Wire>
    <Wire UId="72">
      <NameCon UId="48" Name="out" />
      <IdentCon UId="34" />
    </Wire>
    <Wire UId="73">
      <IdentCon UId="35" />
      <NameCon UId="49" Name="in1" />
    </Wire>
    <Wire UId="74">
      <IdentCon UId="36" />
      <NameCon UId="49" Name="in2" />
    </Wire>
    <Wire UId="75">
      <NameCon UId="49" Name="out" />
      <NameCon UId="50" Name="en" />
    </Wire>
    <Wire UId="76">
      <IdentCon UId="37" />
      <NameCon UId="50" Name="in" />
    </Wire>
    <Wire UId="77">
      <NameCon UId="50" Name="out1" />
      <IdentCon UId="38" />
    </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>Contador tiempo</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="44" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <NewLine UId="21" />
  <LineComment UId="22">
    <Text UId="23">  ============================================================================</Text>
  </LineComment>
  <NewLine UId="24" />
  <LineComment UId="25">
    <Text UId="26">  TON</Text>
  </LineComment>
  <NewLine UId="27" />
  <Token Text="FOR" UId="28" />
  <Blank UId="29" />
  <Access Scope="LocalVariable" UId="30">
    <Symbol UId="31">
      <Component Name="for_i" UId="32" />
    </Symbol>
  </Access>
  <Blank UId="33" />
  <Token Text=":=" UId="34" />
  <Blank UId="35" />
  <Access Scope="LiteralConstant" UId="36">
    <Constant UId="37">
      <ConstantValue UId="39">1</ConstantValue>
    </Constant>
  </Access>
  <Blank UId="40" />
  <Token Text="TO" UId="41" />
  <Blank UId="42" />
  <Access Scope="LocalConstant" UId="43">
    <Constant Name="NUM_MAX_TON" UId="44" />
  </Access>
  <Blank UId="47" />
  <Token Text="DO" UId="48" />
  <NewLine UId="49" />
  <Blank Num="4" UId="50" />
  <Access Scope="Call" UId="51">
    <CallInfo UId="52" BlockType="FC">
      <Instance Scope="GlobalVariable" UId="54">
        <Component Name="FC2928_ZC_TON_INDV" UId="53" />
      </Instance>
      <Token Text="(" UId="55" />
      <Parameter Name="Pulso1seg" UId="56">
        <Token Text=":=" UId="57" />
        <Access Scope="LocalVariable" UId="58">
          <Symbol UId="59">
            <Component Name="Pulso1Seg" UId="60" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="61" />
      <NewLine UId="62" />
      <Blank Num="25" UId="63" />
      <Parameter Name="TON" UId="64">
        <Token Text=":=" UId="65" />
        <Access Scope="LocalVariable" UId="66">
          <Symbol UId="67">
            <Component Name="s_TON" UId="68">
              <Token Text="[" UId="69" />
              <Access Scope="LocalVariable" UId="70">
                <Symbol UId="71">
                  <Component Name="for_i" UId="72" />
                </Symbol>
              </Access>
              <Token Text="]" UId="73" />
            </Component>
          </Symbol>
        </Access>
      </Parameter>
      <Token Text=")" UId="74" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="75" />
  <NewLine UId="76" />
  <Token Text="END_FOR" UId="77" />
  <Token Text=";" UId="78" />
  <NewLine Num="2" UId="79" />
  <LineComment UId="80">
    <Text UId="81">  ============================================================================</Text>
  </LineComment>
  <NewLine UId="82" />
  <LineComment UId="83">
    <Text UId="84">  FF</Text>
  </LineComment>
  <NewLine UId="85" />
  <Token Text="FOR" UId="86" />
  <Blank UId="87" />
  <Access Scope="LocalVariable" UId="88">
    <Symbol UId="89">
      <Component Name="for_i" UId="90" />
    </Symbol>
  </Access>
  <Blank UId="91" />
  <Token Text=":=" UId="92" />
  <Blank UId="93" />
  <Access Scope="LiteralConstant" UId="94">
    <Constant UId="95">
      <ConstantValue UId="97">1</ConstantValue>
    </Constant>
  </Access>
  <Blank UId="98" />
  <Token Text="TO" UId="99" />
  <Blank UId="100" />
  <Access Scope="LocalConstant" UId="101">
    <Constant Name="NUM_MAX_FF" UId="102" />
  </Access>
  <Blank UId="105" />
  <Token Text="DO" UId="106" />
  <NewLine UId="107" />
  <Blank Num="4" UId="108" />
  <Access Scope="Call" UId="109">
    <CallInfo UId="110" BlockType="FC">
      <Instance Scope="GlobalVariable" UId="112">
        <Component Name="FC2926_ZC_FF_INDV" UId="111" />
      </Instance>
      <Token Text="(" UId="113" />
      <Parameter Name="Pulso1Seg" UId="114">
        <Blank UId="115" />
        <Token Text=":=" UId="116" />
        <Blank UId="117" />
        <Access Scope="LocalVariable" UId="118">
          <Symbol UId="119">
            <Component Name="Pulso1Seg" UId="120" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="121" />
      <NewLine UId="122" />
      <Blank Num="24" UId="123" />
      <Parameter Name="FF" UId="124">
        <Token Text=":=" UId="125" />
        <Access Scope="LocalVariable" UId="126">
          <Symbol UId="127">
            <Component Name="s_FF" UId="128">
              <Token Text="[" UId="129" />
              <Access Scope="LocalVariable" UId="130">
                <Symbol UId="131">
                  <Component Name="for_i" UId="132" />
                </Symbol>
              </Access>
              <Token Text="]" UId="133" />
            </Component>
          </Symbol>
        </Access>
      </Parameter>
      <Token Text=")" UId="134" />
    </CallInfo>
  </Access>
  <Token Text=";" UId="135" />
  <NewLine UId="136" />
  <Token Text="END_FOR" UId="137" />
  <Token Text=";" UId="138" />
  <NewLine UId="139" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</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>Temporizadores</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>=============== Auxiliares</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="LocalConstant" UId="21">
      <Constant Name="SiempreON" />
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="Parametros" />
        <Component Name="P_Int_4" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_FF" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>1</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="Config_SetPointTiempoFlip" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="Parametros" />
        <Component Name="P_Int_3" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_FF" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>1</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="Config_SetPointTiempoFlop" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="27">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>140</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="s_Pausa_V" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="LT_Tanque" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="Parametros" />
        <Component Name="P_Real_2" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="LT_Tanque" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="Parametros" />
        <Component Name="P_Real_3" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="s_FF" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>1</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="Orden_Activar" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="34" />
    <Part Name="Move" UId="35" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="36" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Eq" UId="37">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="38">
      <Negated Name="operand" />
    </Part>
    <Part Name="Gt" UId="39">
      <TemplateValue Name="SrcType" Type="Type">Real</TemplateValue>
    </Part>
    <Part Name="Lt" UId="40">
      <TemplateValue Name="SrcType" Type="Type">Real</TemplateValue>
    </Part>
    <Part Name="Coil" UId="41" />
  </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="en" />
      <NameCon UId="37" Name="pre" />
    </Wire>
    <Wire UId="45">
      <IdentCon UId="22" />
      <NameCon UId="35" Name="in" />
    </Wire>
    <Wire UId="46">
      <NameCon UId="35" Name="eno" />
      <NameCon UId="36" Name="en" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out1" />
      <IdentCon UId="23" />
    </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="in1" />
    </Wire>
    <Wire UId="51">
      <IdentCon UId="27" />
      <NameCon UId="37" Name="in2" />
    </Wire>
    <Wire UId="52">
      <NameCon UId="37" Name="out" />
      <NameCon UId="38" Name="in" />
    </Wire>
    <Wire UId="53">
      <IdentCon UId="28" />
      <NameCon UId="38" Name="operand" />
    </Wire>
    <Wire UId="54">
      <NameCon UId="38" Name="out" />
      <NameCon UId="39" Name="pre" />
    </Wire>
    <Wire UId="55">
      <IdentCon UId="29" />
      <NameCon UId="39" Name="in1" />
    </Wire>
    <Wire UId="56">
      <IdentCon UId="30" />
      <NameCon UId="39" Name="in2" />
    </Wire>
    <Wire UId="57">
      <NameCon UId="39" Name="out" />
      <NameCon UId="40" Name="pre" />
    </Wire>
    <Wire UId="58">
      <IdentCon UId="31" />
      <NameCon UId="40" Name="in1" />
    </Wire>
    <Wire UId="59">
      <IdentCon UId="32" />
      <NameCon UId="40" Name="in2" />
    </Wire>
    <Wire UId="60">
      <NameCon UId="40" Name="out" />
      <NameCon UId="41" Name="in" />
    </Wire>
    <Wire UId="61">
      <IdentCon UId="33" />
      <NameCon UId="41" Name="operand" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="4F" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="50" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="51" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="52" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Gestion Flip Flop agitador</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="53" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalConstant" UId="21">
      <Constant Name="SiempreON" />
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="s_FF" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>1</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="Estado_Flip" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>11</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_FF" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>1</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="Orden_Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_NumeroCiclosAgitador" />
      </Symbol>
    </Access>
    <Part Name="Contact" UId="26" />
    <Part Name="Contact" UId="27">
      <Negated Name="operand" />
    </Part>
    <Part Name="PBox" UId="28" />
    <Part Name="Contact" UId="29" />
    <Part Name="Inc" UId="30" DisabledENO="true">
      <TemplateValue Name="DestType" Type="Type">Int</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="31">
      <Powerrail />
      <NameCon UId="26" Name="in" />
    </Wire>
    <Wire UId="32">
      <IdentCon UId="21" />
      <NameCon UId="26" Name="operand" />
    </Wire>
    <Wire UId="33">
      <NameCon UId="26" Name="out" />
      <NameCon UId="27" Name="in" />
    </Wire>
    <Wire UId="34">
      <IdentCon UId="22" />
      <NameCon UId="27" Name="operand" />
    </Wire>
    <Wire UId="35">
      <NameCon UId="27" Name="out" />
      <NameCon UId="28" Name="in" />
    </Wire>
    <Wire UId="36">
      <IdentCon UId="23" />
      <NameCon UId="28" Name="bit" />
    </Wire>
    <Wire UId="37">
      <NameCon UId="28" Name="out" />
      <NameCon UId="29" Name="in" />
    </Wire>
    <Wire UId="38">
      <IdentCon UId="24" />
      <NameCon UId="29" Name="operand" />
    </Wire>
    <Wire UId="39">
      <NameCon UId="29" Name="out" />
      <NameCon UId="30" Name="en" />
    </Wire>
    <Wire UId="40">
      <IdentCon UId="25" />
      <NameCon UId="30" Name="operand" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="54" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="55" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="56" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="57" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Gestion Numero de cliclos</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="58" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource />
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="59" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="5A" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="5B" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="5C" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>=============== Salidas</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="5D" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>140</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>140</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_Pausa_M" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="Parametros" />
        <Component Name="P_Real_6" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="SP_CalEnf" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="TT_Tanque" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="SP_CalEnf" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_OrdenEnfriar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="31">
      <Symbol>
        <Component Name="TT_Tanque" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="t_TempHistInferior" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="s_OrdenEnfriar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="34">
      <Symbol>
        <Component Name="VisibilidadCalEnf" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="35">
      <Symbol>
        <Component Name="s_OrdenEnfriar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="36">
      <Symbol>
        <Component Name="OrdenEnfriar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="37">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="38">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>140</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="39">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="40">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>150</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="41">
      <Symbol>
        <Component Name="s_OrdenEnfriar" />
      </Symbol>
    </Access>
    <Part Name="Ge" UId="42">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Le" UId="43">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="44">
      <Negated Name="operand" />
    </Part>
    <Part Name="Move" UId="45" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Ge" UId="46">
      <TemplateValue Name="SrcType" Type="Type">Real</TemplateValue>
    </Part>
    <Part Name="SCoil" UId="47" />
    <Part Name="Le" UId="48">
      <TemplateValue Name="SrcType" Type="Type">Real</TemplateValue>
    </Part>
    <Part Name="RCoil" UId="49" />
    <Part Name="Coil" UId="50" />
    <Part Name="Contact" UId="51" />
    <Part Name="Coil" UId="52" />
    <Part Name="Ne" UId="53">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Ne" UId="54">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="RCoil" UId="55" />
  </Parts>
  <Wires>
    <Wire UId="56">
      <Powerrail />
      <NameCon UId="42" Name="pre" />
      <NameCon UId="53" Name="pre" />
    </Wire>
    <Wire UId="57">
      <IdentCon UId="21" />
      <NameCon UId="42" Name="in1" />
    </Wire>
    <Wire UId="58">
      <IdentCon UId="22" />
      <NameCon UId="42" Name="in2" />
    </Wire>
    <Wire UId="59">
      <NameCon UId="42" Name="out" />
      <NameCon UId="43" Name="pre" />
    </Wire>
    <Wire UId="60">
      <IdentCon UId="23" />
      <NameCon UId="43" Name="in1" />
    </Wire>
    <Wire UId="61">
      <IdentCon UId="24" />
      <NameCon UId="43" Name="in2" />
    </Wire>
    <Wire UId="62">
      <NameCon UId="43" Name="out" />
      <NameCon UId="44" Name="in" />
    </Wire>
    <Wire UId="63">
      <IdentCon UId="25" />
      <NameCon UId="44" Name="operand" />
    </Wire>
    <Wire UId="64">
      <NameCon UId="44" Name="out" />
      <NameCon UId="45" Name="en" />
      <NameCon UId="50" Name="in" />
      <NameCon UId="51" Name="in" />
    </Wire>
    <Wire UId="65">
      <IdentCon UId="26" />
      <NameCon UId="45" Name="in" />
    </Wire>
    <Wire UId="66">
      <NameCon UId="45" Name="eno" />
      <NameCon UId="46" Name="pre" />
      <NameCon UId="48" Name="pre" />
    </Wire>
    <Wire UId="67">
      <NameCon UId="45" Name="out1" />
      <IdentCon UId="27" />
    </Wire>
    <Wire UId="68">
      <IdentCon UId="28" />
      <NameCon UId="46" Name="in1" />
    </Wire>
    <Wire UId="69">
      <IdentCon UId="29" />
      <NameCon UId="46" Name="in2" />
    </Wire>
    <Wire UId="70">
      <NameCon UId="46" Name="out" />
      <NameCon UId="47" Name="in" />
    </Wire>
    <Wire UId="71">
      <IdentCon UId="30" />
      <NameCon UId="47" Name="operand" />
    </Wire>
    <Wire UId="72">
      <IdentCon UId="31" />
      <NameCon UId="48" Name="in1" />
    </Wire>
    <Wire UId="73">
      <IdentCon UId="32" />
      <NameCon UId="48" Name="in2" />
    </Wire>
    <Wire UId="74">
      <NameCon UId="48" Name="out" />
      <NameCon UId="49" Name="in" />
    </Wire>
    <Wire UId="75">
      <IdentCon UId="33" />
      <NameCon UId="49" Name="operand" />
    </Wire>
    <Wire UId="76">
      <IdentCon UId="34" />
      <NameCon UId="50" Name="operand" />
    </Wire>
    <Wire UId="77">
      <IdentCon UId="35" />
      <NameCon UId="51" Name="operand" />
    </Wire>
    <Wire UId="78">
      <NameCon UId="51" Name="out" />
      <NameCon UId="52" Name="in" />
    </Wire>
    <Wire UId="79">
      <IdentCon UId="36" />
      <NameCon UId="52" Name="operand" />
    </Wire>
    <Wire UId="80">
      <IdentCon UId="37" />
      <NameCon UId="53" Name="in1" />
    </Wire>
    <Wire UId="81">
      <IdentCon UId="38" />
      <NameCon UId="53" Name="in2" />
    </Wire>
    <Wire UId="82">
      <NameCon UId="53" Name="out" />
      <NameCon UId="54" Name="pre" />
    </Wire>
    <Wire UId="83">
      <IdentCon UId="39" />
      <NameCon UId="54" Name="in1" />
    </Wire>
    <Wire UId="84">
      <IdentCon UId="40" />
      <NameCon UId="54" Name="in2" />
    </Wire>
    <Wire UId="85">
      <NameCon UId="54" Name="out" />
      <NameCon UId="55" Name="in" />
    </Wire>
    <Wire UId="86">
      <IdentCon UId="41" />
      <NameCon UId="55" Name="operand" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="5E" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="5F" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="60" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="61" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Orden calentar / enfriar</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>140</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pausa_M" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_FF" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>1</ConstantValue>
            </Constant>
          </Access>
        </Component>
        <Component Name="Estado_Flip" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="MarchaAgitador" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="26">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="27">
      <Negated Name="operand" />
    </Part>
    <Part Name="Contact" UId="28" />
    <Part Name="Coil" UId="29" />
  </Parts>
  <Wires>
    <Wire UId="30">
      <Powerrail />
      <NameCon UId="26" 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="27" Name="in" />
    </Wire>
    <Wire UId="34">
      <IdentCon UId="23" />
      <NameCon UId="27" Name="operand" />
    </Wire>
    <Wire UId="35">
      <NameCon UId="27" Name="out" />
      <NameCon UId="28" Name="in" />
    </Wire>
    <Wire UId="36">
      <IdentCon UId="24" />
      <NameCon UId="28" Name="operand" />
    </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="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>Orden agitador</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="67" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <NewLine UId="21" />
  <Token Text="IF" UId="22" />
  <Blank UId="23" />
  <Access Scope="LocalVariable" UId="24">
    <Symbol UId="25">
      <Component Name="Parametros" UId="26" />
      <Token Text="." UId="27" />
      <Component Name="P_Int_5" UId="28" />
    </Symbol>
  </Access>
  <Blank UId="29" />
  <Token Text="=" UId="30" />
  <Blank UId="31" />
  <Access Scope="LiteralConstant" UId="32">
    <Constant UId="33">
      <ConstantValue UId="35">1</ConstantValue>
    </Constant>
  </Access>
  <Blank UId="36" />
  <Token Text="THEN" UId="37" />
  <NewLine UId="38" />
  <Blank Num="4" UId="39" />
  <LineComment UId="40">
    <Text UId="41"> =============================================================================</Text>
  </LineComment>
  <NewLine UId="42" />
  <Blank Num="4" UId="43" />
  <LineComment UId="44">
    <Text UId="45">VELOCIDAD FIJA</Text>
  </LineComment>
  <NewLine UId="46" />
  <Blank Num="4" UId="47" />
  <Access Scope="LocalVariable" UId="48">
    <Symbol UId="49">
      <Component Name="VelocidadAgitador" UId="50" />
    </Symbol>
  </Access>
  <Blank UId="51" />
  <Token Text=":=" UId="52" />
  <Blank UId="53" />
  <Access Scope="LocalVariable" UId="54">
    <Symbol UId="55">
      <Component Name="Parametros" UId="56" />
      <Token Text="." UId="57" />
      <Component Name="P_Real_1" UId="58" />
    </Symbol>
  </Access>
  <Token Text=";" UId="59" />
  <NewLine UId="60" />
  <Token Text="ELSE" UId="61" />
  <NewLine UId="62" />
  <Blank Num="4" UId="63" />
  <LineComment UId="64">
    <Text UId="65"> =============================================================================</Text>
  </LineComment>
  <NewLine UId="66" />
  <Blank Num="4" UId="67" />
  <LineComment UId="68">
    <Text UId="69">VELOCIDAD POR NIVEL</Text>
  </LineComment>
  <NewLine UId="70" />
  <Blank Num="4" UId="71" />
  <Access Scope="LocalVariable" UId="72">
    <Symbol UId="73">
      <Component Name="t_x0" UId="74" />
    </Symbol>
  </Access>
  <Blank UId="75" />
  <Token Text=":=" UId="76" />
  <Blank UId="77" />
  <Access Scope="LocalVariable" UId="78">
    <Symbol UId="79">
      <Component Name="Parametros" UId="80" />
      <Token Text="." UId="81" />
      <Component Name="P_Real_2" UId="82" />
    </Symbol>
  </Access>
  <Token Text=";" UId="83" />
  <NewLine UId="84" />
  <Blank Num="4" UId="85" />
  <Access Scope="LocalVariable" UId="86">
    <Symbol UId="87">
      <Component Name="t_x1" UId="88" />
    </Symbol>
  </Access>
  <Blank UId="89" />
  <Token Text=":=" UId="90" />
  <Blank UId="91" />
  <Access Scope="LocalVariable" UId="92">
    <Symbol UId="93">
      <Component Name="Parametros" UId="94" />
      <Token Text="." UId="95" />
      <Component Name="P_Real_3" UId="96" />
    </Symbol>
  </Access>
  <Token Text=";" UId="97" />
  <NewLine UId="98" />
  <Blank Num="4" UId="99" />
  <Access Scope="LocalVariable" UId="100">
    <Symbol UId="101">
      <Component Name="t_x" UId="102" />
    </Symbol>
  </Access>
  <Blank UId="103" />
  <Token Text=":=" UId="104" />
  <Blank UId="105" />
  <Access Scope="LocalVariable" UId="106">
    <Symbol UId="107">
      <Component Name="LT_Tanque" UId="108" />
    </Symbol>
  </Access>
  <Token Text=";" UId="109" />
  <NewLine UId="110" />
  <Blank Num="4" UId="111" />
  <Access Scope="LocalVariable" UId="112">
    <Symbol UId="113">
      <Component Name="t_y0" UId="114" />
    </Symbol>
  </Access>
  <Blank UId="115" />
  <Token Text=":=" UId="116" />
  <Blank UId="117" />
  <Access Scope="LocalVariable" UId="118">
    <Symbol UId="119">
      <Component Name="Parametros" UId="120" />
      <Token Text="." UId="121" />
      <Component Name="P_Real_4" UId="122" />
    </Symbol>
  </Access>
  <Token Text=";" UId="123" />
  <NewLine UId="124" />
  <Blank Num="4" UId="125" />
  <Access Scope="LocalVariable" UId="126">
    <Symbol UId="127">
      <Component Name="t_y1" UId="128" />
    </Symbol>
  </Access>
  <Blank UId="129" />
  <Token Text=":=" UId="130" />
  <Blank UId="131" />
  <Access Scope="LocalVariable" UId="132">
    <Symbol UId="133">
      <Component Name="Parametros" UId="134" />
      <Token Text="." UId="135" />
      <Component Name="P_Real_11" UId="136" />
    </Symbol>
  </Access>
  <Token Text=";" UId="137" />
  <NewLine UId="138" />
  <Blank Num="4" UId="139" />
  <Access Scope="LocalVariable" UId="140">
    <Symbol UId="141">
      <Component Name="VelocidadAgitador" UId="142" />
    </Symbol>
  </Access>
  <Blank UId="143" />
  <Token Text=":=" UId="144" />
  <Blank UId="145" />
  <Access Scope="LocalVariable" UId="146">
    <Symbol UId="147">
      <Component Name="t_y0" UId="148" />
    </Symbol>
  </Access>
  <Blank UId="149" />
  <Token Text="+" UId="150" />
  <Blank UId="151" />
  <Token Text="(" UId="152" />
  <Access Scope="LocalVariable" UId="153">
    <Symbol UId="154">
      <Component Name="t_y1" UId="155" />
    </Symbol>
  </Access>
  <Blank UId="156" />
  <Token Text="-" UId="157" />
  <Blank UId="158" />
  <Access Scope="LocalVariable" UId="159">
    <Symbol UId="160">
      <Component Name="t_y0" UId="161" />
    </Symbol>
  </Access>
  <Token Text=")" UId="162" />
  <Blank UId="163" />
  <Token Text="*" UId="164" />
  <Blank UId="165" />
  <Token Text="(" UId="166" />
  <Token Text="(" UId="167" />
  <Access Scope="LocalVariable" UId="168">
    <Symbol UId="169">
      <Component Name="t_x" UId="170" />
    </Symbol>
  </Access>
  <Blank UId="171" />
  <Token Text="-" UId="172" />
  <Blank UId="173" />
  <Access Scope="LocalVariable" UId="174">
    <Symbol UId="175">
      <Component Name="t_x0" UId="176" />
    </Symbol>
  </Access>
  <Token Text=")" UId="177" />
  <Blank UId="178" />
  <Token Text="/" UId="179" />
  <Blank UId="180" />
  <Token Text="(" UId="181" />
  <Access Scope="LocalVariable" UId="182">
    <Symbol UId="183">
      <Component Name="t_x1" UId="184" />
    </Symbol>
  </Access>
  <Blank UId="185" />
  <Token Text="-" UId="186" />
  <Blank UId="187" />
  <Access Scope="LocalVariable" UId="188">
    <Symbol UId="189">
      <Component Name="t_x0" UId="190" />
    </Symbol>
  </Access>
  <Token Text=")" UId="191" />
  <Token Text=")" UId="192" />
  <Token Text=";" UId="193" />
  <NewLine UId="194" />
  <Blank Num="4" UId="195" />
  <Token Text="IF" UId="196" />
  <Blank UId="197" />
  <Access Scope="LocalVariable" UId="198">
    <Symbol UId="199">
      <Component Name="VelocidadAgitador" UId="200" />
    </Symbol>
  </Access>
  <Blank UId="201" />
  <Token Text="&gt;" UId="202" />
  <Blank UId="203" />
  <Access Scope="LocalVariable" UId="204">
    <Symbol UId="205">
      <Component Name="t_y1" UId="206" />
    </Symbol>
  </Access>
  <Blank UId="207" />
  <Token Text="THEN" UId="208" />
  <NewLine UId="209" />
  <Blank Num="8" UId="210" />
  <Access Scope="LocalVariable" UId="211">
    <Symbol UId="212">
      <Component Name="VelocidadAgitador" UId="213" />
    </Symbol>
  </Access>
  <Blank UId="214" />
  <Token Text=":=" UId="215" />
  <Blank UId="216" />
  <Access Scope="LocalVariable" UId="217">
    <Symbol UId="218">
      <Component Name="t_y1" UId="219" />
    </Symbol>
  </Access>
  <Token Text=";" UId="220" />
  <NewLine UId="221" />
  <Blank Num="4" UId="222" />
  <Token Text="END_IF" UId="223" />
  <Token Text=";" UId="224" />
  <NewLine UId="225" />
  <Blank Num="4" UId="226" />
  <Token Text="IF" UId="227" />
  <Blank UId="228" />
  <Access Scope="LocalVariable" UId="229">
    <Symbol UId="230">
      <Component Name="VelocidadAgitador" UId="231" />
    </Symbol>
  </Access>
  <Blank UId="232" />
  <Token Text="&lt;" UId="233" />
  <Blank UId="234" />
  <Access Scope="LocalVariable" UId="235">
    <Symbol UId="236">
      <Component Name="t_y0" UId="237" />
    </Symbol>
  </Access>
  <Blank UId="238" />
  <Token Text="THEN" UId="239" />
  <NewLine UId="240" />
  <Blank Num="8" UId="241" />
  <Access Scope="LocalVariable" UId="242">
    <Symbol UId="243">
      <Component Name="VelocidadAgitador" UId="244" />
    </Symbol>
  </Access>
  <Blank UId="245" />
  <Token Text=":=" UId="246" />
  <Blank UId="247" />
  <Access Scope="LocalVariable" UId="248">
    <Symbol UId="249">
      <Component Name="t_y0" UId="250" />
    </Symbol>
  </Access>
  <Token Text=";" UId="251" />
  <NewLine UId="252" />
  <Blank Num="4" UId="253" />
  <Token Text="END_IF" UId="254" />
  <Token Text=";" UId="255" />
  <NewLine UId="256" />
  <Token Text="END_IF" UId="257" />
  <Token Text=";" UId="258" />
  <NewLine UId="259" />
  <Blank Num="32" UId="260" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</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>Agitador tanque - Consigna velocidad</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>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="SecuenciaIniciada" />
      </Symbol>
    </Access>
    <Part Name="Gt" 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>Secuencia iniciada</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="71" 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>999</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="FinSecuencia" />
      </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="72" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="73" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="74" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="75" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Fin secuencia</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <MultilingualText ID="76" CompositionName="Title">
        <ObjectList>
          <MultilingualTextItem ID="77" CompositionName="Items">
            <AttributeList>
              <Culture>es-ES</Culture>
              <Text>FB15183_ZC_FERM_CORTE</Text>
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.FB>
</Document>