<?xml version="1.0" encoding="utf-8"?>
<Document>
  <Engineering version="V18" />
  <SW.Blocks.FB ID="0">
    <AttributeList>
      <AutoNumber>false</AutoNumber>
      <HeaderAuthor>ABH</HeaderAuthor>
      <HeaderFamily>ZeusControl</HeaderFamily>
      <HeaderVersion>1.0</HeaderVersion>
      <Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
  <Section Name="Input">
    <Member Name="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="OrdenSaltarEtapa" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Pulsador saltar etapa</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="ConfirmacionPulsador" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Confirmacion pulsador iniciar dosificacion</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">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_7" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">Reserva</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_8" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">kgProd1</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_9" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">kgProd2</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_10" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">kgProd3</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_11" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">kgProd4</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_12" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">kgProd5</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_13" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">kgProd6</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_14" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">kgProd7</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_15" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">kgProd8</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_16" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">kgProd9</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_Real_17" Datatype="Real">
            <Comment>
              <MultiLanguageText Lang="es-ES">kgProd10</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">NombreProd1</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_2" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">NombreProd2</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_3" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">NombreProd3</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_4" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">NombreProd4</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_5" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">NombreProd5</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_6" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">NombreProd6</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_7" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">NombreProd7</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_8" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">NombreProd8</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_9" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">NombreProd9</MultiLanguageText>
            </Comment>
          </Member>
          <Member Name="P_String_10" Datatype="String[25]">
            <Comment>
              <MultiLanguageText Lang="es-ES">NombreProd10</MultiLanguageText>
            </Comment>
          </Member>
        </Section>
      </Sections>
    </Member>
    <Member Name="AdicionProductoConfirmacion" Datatype="Array[0..9] of Bool" />
    <Member Name="AdicionProductoDosificado" Datatype="Array[0..9] of Real" />
  </Section>
  <Section Name="Output">
    <Member Name="PermisoPulsador" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Permiso pulsador iniciar dosificacion</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="MarchaAgitador" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Marcha agitador</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="VelocidadAgitador" Datatype="Real">
      <Comment>
        <MultiLanguageText Lang="es-ES">Velocidad agitador</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="ProductoActual" Datatype="Int">
      <Comment>
        <MultiLanguageText Lang="es-ES">Producto actual</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="AdicionProductoPermiso" Datatype="Array[0..9] of Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Permiso adicion de producto</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="AdicionProductoCalculado" Datatype="Array[0..9] of Real">
      <Comment>
        <MultiLanguageText Lang="es-ES">Permiso adicion de producto</MultiLanguageText>
      </Comment>
    </Member>
    <Member Name="Despresurizar" Datatype="Bool" />
    <Member Name="PermisoSaltarEtapa" Datatype="Bool">
      <Comment>
        <MultiLanguageText Lang="es-ES">Permiso salto etapa</MultiLanguageText>
      </Comment>
    </Member>
    <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_KilosInicialTanque" Datatype="Real">
      <Comment>
        <MultiLanguageText Lang="es-ES">Peso inicial del tanque para calculo de dosificaciones</MultiLanguageText>
      </Comment>
      <StartValue>0.0</StartValue>
    </Member>
    <Member Name="s_ProductoActual" Datatype="Int" Remanence="Retain">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
      <Comment>
        <MultiLanguageText Lang="es-ES">Producto actual</MultiLanguageText>
      </Comment>
      <StartValue>0</StartValue>
    </Member>
    <Member Name="s_NumeroCiclosAgitador" Datatype="Int">
      <Comment>
        <MultiLanguageText Lang="es-ES">Numero de ciclos de agitador</MultiLanguageText>
      </Comment>
    </Member>
  </Section>
  <Section Name="Temp">
    <Member Name="for_i" Datatype="Int" />
    <Member Name="t_ProductoActual_Kg" Datatype="Real" />
    <Member Name="t_CalcularDosificacion" Datatype="Bool" />
    <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>FB15180_ZC_FERM_AD_PROD</Name>
      <Namespace />
      <Number>15180</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:         FB15180_ZC_FERM_AD_PROD
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">120</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">' - ESPERA INICIO'</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">130</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">' - ADICION DE PRODUCTO '</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text="," UId="149" />
      <Blank UId="150" />
      <Parameter Name="IN3" UId="151">
        <Blank UId="152" />
        <Token Text=":=" UId="153" />
        <Blank UId="154" />
        <Access Scope="Call" UId="155">
          <CallInfo UId="156" BlockType="FC">
            <Instance Scope="GlobalVariable" UId="158">
              <Component Name="FC15001_ZC_INT_TO_STRING" UId="157" />
            </Instance>
            <Token Text="(" UId="159" />
            <NamelessParameter UId="160">
              <Access Scope="LocalVariable" UId="161">
                <Symbol UId="162">
                  <Component Name="s_ProductoActual" UId="163" />
                </Symbol>
              </Access>
              <Token Text="+" UId="164" />
              <Access Scope="LiteralConstant" UId="165">
                <Constant UId="166">
                  <ConstantValue UId="168">1</ConstantValue>
                </Constant>
              </Access>
            </NamelessParameter>
            <Token Text=")" UId="170" />
          </CallInfo>
        </Access>
      </Parameter>
      <Token Text=")" UId="172" />
    </Instruction>
  </Access>
  <Token Text=";" UId="173" />
  <NewLine UId="174" />
  <Blank Num="8" UId="175" />
  <NewLine UId="176" />
  <Blank Num="4" UId="177" />
  <Access Scope="LiteralConstant" UId="178">
    <Constant UId="179">
      <ConstantValue UId="181">140</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="182" />
  <NewLine UId="183" />
  <Blank Num="8" UId="184" />
  <Access Scope="LocalVariable" UId="185">
    <Symbol UId="186">
      <Component Name="s_TextoEtapa" UId="187" />
    </Symbol>
  </Access>
  <Blank UId="188" />
  <Token Text=":=" UId="189" />
  <Blank UId="190" />
  <Access Scope="Call" UId="191">
    <Instruction Name="CONCAT" UId="192">
      <TemplateValue Name="str_type" Type="Type" UId="193">String</TemplateValue>
      <Token Text="(" UId="194" />
      <Parameter Name="IN1" UId="195">
        <Blank UId="196" />
        <Token Text=":=" UId="197" />
        <Blank UId="198" />
        <Access Scope="LocalVariable" UId="199">
          <Symbol UId="200">
            <Component Name="NombreSecuencia" UId="201" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="202" />
      <Blank UId="203" />
      <Parameter Name="IN2" UId="204">
        <Blank UId="205" />
        <Token Text=":=" UId="206" />
        <Blank UId="207" />
        <Access Scope="LiteralConstant" UId="208">
          <Constant UId="209">
            <ConstantValue UId="211">' - COMPROBACION INGREDIENTES'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="213" />
    </Instruction>
  </Access>
  <Token Text=";" UId="214" />
  <NewLine UId="215" />
  <Blank Num="8" UId="216" />
  <NewLine UId="217" />
  <Blank Num="4" UId="218" />
  <Access Scope="LiteralConstant" UId="219">
    <Constant UId="220">
      <ConstantValue UId="222">150</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="223" />
  <NewLine UId="224" />
  <Blank Num="8" UId="225" />
  <Access Scope="LocalVariable" UId="226">
    <Symbol UId="227">
      <Component Name="s_TextoEtapa" UId="228" />
    </Symbol>
  </Access>
  <Blank UId="229" />
  <Token Text=":=" UId="230" />
  <Blank UId="231" />
  <Access Scope="Call" UId="232">
    <Instruction Name="CONCAT" UId="233">
      <TemplateValue Name="str_type" Type="Type" UId="234">String</TemplateValue>
      <Token Text="(" UId="235" />
      <Parameter Name="IN1" UId="236">
        <Blank UId="237" />
        <Token Text=":=" UId="238" />
        <Blank UId="239" />
        <Access Scope="LocalVariable" UId="240">
          <Symbol UId="241">
            <Component Name="NombreSecuencia" UId="242" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="243" />
      <Blank UId="244" />
      <Parameter Name="IN2" UId="245">
        <Blank UId="246" />
        <Token Text=":=" UId="247" />
        <Blank UId="248" />
        <Access Scope="LiteralConstant" UId="249">
          <Constant UId="250">
            <ConstantValue UId="252">' - HOMOGENIZACION'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="254" />
    </Instruction>
  </Access>
  <Token Text=";" UId="255" />
  <NewLine UId="256" />
  <Blank Num="8" UId="257" />
  <NewLine UId="258" />
  <Blank Num="4" UId="259" />
  <Access Scope="LiteralConstant" UId="260">
    <Constant UId="261">
      <ConstantValue UId="263">999</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="264" />
  <NewLine UId="265" />
  <Blank Num="8" UId="266" />
  <Access Scope="LocalVariable" UId="267">
    <Symbol UId="268">
      <Component Name="s_TextoEtapa" UId="269" />
    </Symbol>
  </Access>
  <Blank UId="270" />
  <Token Text=":=" UId="271" />
  <Blank UId="272" />
  <Access Scope="Call" UId="273">
    <Instruction Name="CONCAT" UId="274">
      <TemplateValue Name="str_type" Type="Type" UId="275">String</TemplateValue>
      <Token Text="(" UId="276" />
      <Parameter Name="IN1" UId="277">
        <Blank UId="278" />
        <Token Text=":=" UId="279" />
        <Blank UId="280" />
        <Access Scope="LocalVariable" UId="281">
          <Symbol UId="282">
            <Component Name="NombreSecuencia" UId="283" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="284" />
      <Blank UId="285" />
      <Parameter Name="IN2" UId="286">
        <Blank UId="287" />
        <Token Text=":=" UId="288" />
        <Blank UId="289" />
        <Access Scope="LiteralConstant" UId="290">
          <Constant UId="291">
            <ConstantValue UId="293">' - FIN DE SECUENCIA'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="295" />
    </Instruction>
  </Access>
  <Token Text=";" UId="296" />
  <NewLine UId="297" />
  <Blank Num="8" UId="298" />
  <NewLine UId="299" />
  <Blank Num="4" UId="300" />
  <Token Text="ELSE" UId="301" />
  <NewLine UId="302" />
  <Blank Num="8" UId="303" />
  <Access Scope="LocalVariable" UId="304">
    <Symbol UId="305">
      <Component Name="s_TextoEtapa" UId="306" />
    </Symbol>
  </Access>
  <Blank UId="307" />
  <Token Text=":=" UId="308" />
  <Blank UId="309" />
  <Access Scope="Call" UId="310">
    <Instruction Name="CONCAT" UId="311">
      <TemplateValue Name="str_type" Type="Type" UId="312">String</TemplateValue>
      <Token Text="(" UId="313" />
      <Parameter Name="IN1" UId="314">
        <Blank UId="315" />
        <Token Text=":=" UId="316" />
        <Blank UId="317" />
        <Access Scope="LocalVariable" UId="318">
          <Symbol UId="319">
            <Component Name="NombreSecuencia" UId="320" />
          </Symbol>
        </Access>
      </Parameter>
      <Token Text="," UId="321" />
      <Blank UId="322" />
      <Parameter Name="IN2" UId="323">
        <Blank UId="324" />
        <Token Text=":=" UId="325" />
        <Blank UId="326" />
        <Access Scope="LiteralConstant" UId="327">
          <Constant UId="328">
            <ConstantValue UId="330">' - FUERA DE ETAPA'</ConstantValue>
          </Constant>
        </Access>
      </Parameter>
      <Token Text=")" UId="332" />
    </Instruction>
  </Access>
  <Token Text=";" UId="333" />
  <NewLine UId="334" />
  <Token Text="END_CASE" UId="335" />
  <Token Text=";" UId="336" />
  <NewLine UId="337" />
</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><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">  Limite producto actual</Text>
  </LineComment>
  <NewLine UId="27" />
  <Token Text="IF" UId="28" />
  <Blank UId="29" />
  <Access Scope="LocalVariable" UId="30">
    <Symbol UId="31">
      <Component Name="s_ProductoActual" UId="32" />
    </Symbol>
  </Access>
  <Blank UId="33" />
  <Token Text="&lt;" UId="34" />
  <Blank UId="35" />
  <Access Scope="LiteralConstant" UId="36">
    <Constant UId="37">
      <ConstantValue UId="39">0</ConstantValue>
    </Constant>
  </Access>
  <Blank UId="40" />
  <Token Text="THEN" UId="41" />
  <NewLine UId="42" />
  <Blank Num="4" UId="43" />
  <Access Scope="LocalVariable" UId="44">
    <Symbol UId="45">
      <Component Name="s_ProductoActual" UId="46" />
    </Symbol>
  </Access>
  <Blank UId="47" />
  <Token Text=":=" UId="48" />
  <Blank UId="49" />
  <Access Scope="LiteralConstant" UId="50">
    <Constant UId="51">
      <ConstantValue UId="53">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="54" />
  <NewLine UId="55" />
  <Token Text="END_IF" UId="56" />
  <Token Text=";" UId="57" />
  <NewLine UId="58" />
  <Token Text="IF" UId="59" />
  <Blank UId="60" />
  <Access Scope="LocalVariable" UId="61">
    <Symbol UId="62">
      <Component Name="s_ProductoActual" UId="63" />
    </Symbol>
  </Access>
  <Blank UId="64" />
  <Token Text="&gt;" UId="65" />
  <Blank UId="66" />
  <Access Scope="LiteralConstant" UId="67">
    <Constant UId="68">
      <ConstantValue UId="70">9</ConstantValue>
    </Constant>
  </Access>
  <Blank UId="71" />
  <Token Text="THEN" UId="72" />
  <NewLine UId="73" />
  <Blank Num="4" UId="74" />
  <Access Scope="LocalVariable" UId="75">
    <Symbol UId="76">
      <Component Name="s_ProductoActual" UId="77" />
    </Symbol>
  </Access>
  <Blank UId="78" />
  <Token Text=":=" UId="79" />
  <Blank UId="80" />
  <Access Scope="LiteralConstant" UId="81">
    <Constant UId="82">
      <ConstantValue UId="84">9</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="85" />
  <NewLine UId="86" />
  <Token Text="END_IF" UId="87" />
  <Token Text=";" UId="88" />
  <NewLine UId="89" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</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>Limite producto actual</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="21" CompositionName="CompileUnits">
        <AttributeList>
          <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>=============== Auxiliares</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="26" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <Token Text="CASE" UId="21" />
  <Blank UId="22" />
  <Access Scope="LocalVariable" UId="23">
    <Symbol UId="24">
      <Component Name="s_ProductoActual" UId="25" />
    </Symbol>
  </Access>
  <Blank UId="26" />
  <Token Text="OF" UId="27" />
  <NewLine UId="28" />
  <Blank Num="8" UId="29" />
  <NewLine UId="30" />
  <Blank Num="4" UId="31" />
  <Access Scope="LiteralConstant" UId="32">
    <Constant UId="33">
      <ConstantValue UId="35">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="36" />
  <NewLine UId="37" />
  <Blank Num="8" UId="38" />
  <Access Scope="LocalVariable" UId="39">
    <Symbol UId="40">
      <Component Name="t_ProductoActual_Kg" UId="41" />
    </Symbol>
  </Access>
  <Blank UId="42" />
  <Token Text=":=" UId="43" />
  <Blank UId="44" />
  <Access Scope="LocalVariable" UId="45">
    <Symbol UId="46">
      <Component Name="Parametros" UId="47" />
      <Token Text="." UId="48" />
      <Component Name="P_Real_8" UId="49" />
    </Symbol>
  </Access>
  <Token Text=";" UId="50" />
  <NewLine UId="51" />
  <Blank Num="4" UId="52" />
  <Access Scope="LiteralConstant" UId="53">
    <Constant UId="54">
      <ConstantValue UId="56">1</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="57" />
  <NewLine UId="58" />
  <Blank Num="8" UId="59" />
  <Access Scope="LocalVariable" UId="60">
    <Symbol UId="61">
      <Component Name="t_ProductoActual_Kg" UId="62" />
    </Symbol>
  </Access>
  <Blank UId="63" />
  <Token Text=":=" UId="64" />
  <Blank UId="65" />
  <Access Scope="LocalVariable" UId="66">
    <Symbol UId="67">
      <Component Name="Parametros" UId="68" />
      <Token Text="." UId="69" />
      <Component Name="P_Real_9" UId="70" />
    </Symbol>
  </Access>
  <Token Text=";" UId="71" />
  <NewLine UId="72" />
  <Blank Num="4" UId="73" />
  <Access Scope="LiteralConstant" UId="74">
    <Constant UId="75">
      <ConstantValue UId="77">2</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="t_ProductoActual_Kg" UId="83" />
    </Symbol>
  </Access>
  <Blank UId="84" />
  <Token Text=":=" UId="85" />
  <Blank UId="86" />
  <Access Scope="LocalVariable" UId="87">
    <Symbol UId="88">
      <Component Name="Parametros" UId="89" />
      <Token Text="." UId="90" />
      <Component Name="P_Real_10" UId="91" />
    </Symbol>
  </Access>
  <Token Text=";" UId="92" />
  <NewLine UId="93" />
  <Blank Num="4" UId="94" />
  <Access Scope="LiteralConstant" UId="95">
    <Constant UId="96">
      <ConstantValue UId="98">3</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="99" />
  <NewLine UId="100" />
  <Blank Num="8" UId="101" />
  <Access Scope="LocalVariable" UId="102">
    <Symbol UId="103">
      <Component Name="t_ProductoActual_Kg" UId="104" />
    </Symbol>
  </Access>
  <Blank UId="105" />
  <Token Text=":=" UId="106" />
  <Blank UId="107" />
  <Access Scope="LocalVariable" UId="108">
    <Symbol UId="109">
      <Component Name="Parametros" UId="110" />
      <Token Text="." UId="111" />
      <Component Name="P_Real_11" UId="112" />
    </Symbol>
  </Access>
  <Token Text=";" UId="113" />
  <NewLine UId="114" />
  <Blank Num="4" UId="115" />
  <Access Scope="LiteralConstant" UId="116">
    <Constant UId="117">
      <ConstantValue UId="119">4</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="120" />
  <NewLine UId="121" />
  <Blank Num="8" UId="122" />
  <Access Scope="LocalVariable" UId="123">
    <Symbol UId="124">
      <Component Name="t_ProductoActual_Kg" UId="125" />
    </Symbol>
  </Access>
  <Blank UId="126" />
  <Token Text=":=" UId="127" />
  <Blank UId="128" />
  <Access Scope="LocalVariable" UId="129">
    <Symbol UId="130">
      <Component Name="Parametros" UId="131" />
      <Token Text="." UId="132" />
      <Component Name="P_Real_12" UId="133" />
    </Symbol>
  </Access>
  <Token Text=";" UId="134" />
  <NewLine UId="135" />
  <Blank Num="4" UId="136" />
  <Access Scope="LiteralConstant" UId="137">
    <Constant UId="138">
      <ConstantValue UId="140">5</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="141" />
  <NewLine UId="142" />
  <Blank Num="8" UId="143" />
  <Access Scope="LocalVariable" UId="144">
    <Symbol UId="145">
      <Component Name="t_ProductoActual_Kg" UId="146" />
    </Symbol>
  </Access>
  <Blank UId="147" />
  <Token Text=":=" UId="148" />
  <Blank UId="149" />
  <Access Scope="LocalVariable" UId="150">
    <Symbol UId="151">
      <Component Name="Parametros" UId="152" />
      <Token Text="." UId="153" />
      <Component Name="P_Real_13" UId="154" />
    </Symbol>
  </Access>
  <Token Text=";" UId="155" />
  <NewLine UId="156" />
  <Blank Num="4" UId="157" />
  <Access Scope="LiteralConstant" UId="158">
    <Constant UId="159">
      <ConstantValue UId="161">6</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="162" />
  <NewLine UId="163" />
  <Blank Num="8" UId="164" />
  <Access Scope="LocalVariable" UId="165">
    <Symbol UId="166">
      <Component Name="t_ProductoActual_Kg" UId="167" />
    </Symbol>
  </Access>
  <Blank UId="168" />
  <Token Text=":=" UId="169" />
  <Blank UId="170" />
  <Access Scope="LocalVariable" UId="171">
    <Symbol UId="172">
      <Component Name="Parametros" UId="173" />
      <Token Text="." UId="174" />
      <Component Name="P_Real_14" UId="175" />
    </Symbol>
  </Access>
  <Token Text=";" UId="176" />
  <NewLine UId="177" />
  <Blank Num="4" UId="178" />
  <Access Scope="LiteralConstant" UId="179">
    <Constant UId="180">
      <ConstantValue UId="182">7</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="183" />
  <NewLine UId="184" />
  <Blank Num="8" UId="185" />
  <Access Scope="LocalVariable" UId="186">
    <Symbol UId="187">
      <Component Name="t_ProductoActual_Kg" UId="188" />
    </Symbol>
  </Access>
  <Blank UId="189" />
  <Token Text=":=" UId="190" />
  <Blank UId="191" />
  <Access Scope="LocalVariable" UId="192">
    <Symbol UId="193">
      <Component Name="Parametros" UId="194" />
      <Token Text="." UId="195" />
      <Component Name="P_Real_15" UId="196" />
    </Symbol>
  </Access>
  <Token Text=";" UId="197" />
  <NewLine UId="198" />
  <Blank Num="4" UId="199" />
  <Access Scope="LiteralConstant" UId="200">
    <Constant UId="201">
      <ConstantValue UId="203">8</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="204" />
  <NewLine UId="205" />
  <Blank Num="8" UId="206" />
  <Access Scope="LocalVariable" UId="207">
    <Symbol UId="208">
      <Component Name="t_ProductoActual_Kg" UId="209" />
    </Symbol>
  </Access>
  <Blank UId="210" />
  <Token Text=":=" UId="211" />
  <Blank UId="212" />
  <Access Scope="LocalVariable" UId="213">
    <Symbol UId="214">
      <Component Name="Parametros" UId="215" />
      <Token Text="." UId="216" />
      <Component Name="P_Real_16" UId="217" />
    </Symbol>
  </Access>
  <Token Text=";" UId="218" />
  <NewLine UId="219" />
  <Blank Num="4" UId="220" />
  <Access Scope="LiteralConstant" UId="221">
    <Constant UId="222">
      <ConstantValue UId="224">9</ConstantValue>
    </Constant>
  </Access>
  <Token Text=":" UId="225" />
  <NewLine UId="226" />
  <Blank Num="8" UId="227" />
  <Access Scope="LocalVariable" UId="228">
    <Symbol UId="229">
      <Component Name="t_ProductoActual_Kg" UId="230" />
    </Symbol>
  </Access>
  <Blank UId="231" />
  <Token Text=":=" UId="232" />
  <Blank UId="233" />
  <Access Scope="LocalVariable" UId="234">
    <Symbol UId="235">
      <Component Name="Parametros" UId="236" />
      <Token Text="." UId="237" />
      <Component Name="P_Real_17" UId="238" />
    </Symbol>
  </Access>
  <Token Text=";" UId="239" />
  <NewLine UId="240" />
  <Blank Num="8" UId="241" />
  <NewLine UId="242" />
  <Token Text="END_CASE" UId="243" />
  <Token Text=";" UId="244" />
  <NewLine UId="245" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="27" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="28" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="29" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="2A" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Datos ingrediente actual</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="2B" CompositionName="CompileUnits">
        <AttributeList>
          <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>=============== Secuencia</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>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>120</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_ProductoActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="31">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="s_NumeroCiclosAgitador" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="t_CalcularDosificacion" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="34">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="35" />
    <Part Name="Contact" UId="36" />
    <Part Name="Move" UId="37" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="38" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="39" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="40" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Coil" UId="41" />
  </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" />
    </Wire>
    <Wire UId="46">
      <IdentCon UId="23" />
      <NameCon UId="35" Name="operand" />
    </Wire>
    <Wire UId="47">
      <NameCon UId="35" Name="out" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="48">
      <IdentCon UId="24" />
      <NameCon UId="36" Name="operand" />
    </Wire>
    <Wire UId="49">
      <NameCon UId="36" Name="out" />
      <NameCon UId="37" Name="en" />
    </Wire>
    <Wire UId="50">
      <IdentCon UId="25" />
      <NameCon UId="37" Name="in" />
    </Wire>
    <Wire UId="51">
      <NameCon UId="37" Name="eno" />
      <NameCon UId="38" Name="en" />
      <NameCon UId="39" Name="en" />
      <NameCon UId="40" Name="en" />
      <NameCon UId="41" Name="in" />
    </Wire>
    <Wire UId="52">
      <NameCon UId="37" Name="out1" />
      <IdentCon UId="26" />
    </Wire>
    <Wire UId="53">
      <IdentCon UId="27" />
      <NameCon UId="38" Name="in" />
    </Wire>
    <Wire UId="54">
      <NameCon UId="38" Name="out1" />
      <IdentCon UId="28" />
    </Wire>
    <Wire UId="55">
      <IdentCon UId="29" />
      <NameCon UId="39" Name="in" />
    </Wire>
    <Wire UId="56">
      <NameCon UId="39" Name="out1" />
      <IdentCon UId="30" />
    </Wire>
    <Wire UId="57">
      <IdentCon UId="31" />
      <NameCon UId="40" Name="in" />
    </Wire>
    <Wire UId="58">
      <NameCon UId="40" Name="out1" />
      <IdentCon UId="32" />
    </Wire>
    <Wire UId="59">
      <IdentCon UId="33" />
      <NameCon UId="41" Name="operand" />
    </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 000 - Espera orden de marcha</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>120</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>2</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>5</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="ConfirmacionPulsador" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="28">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>130</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="SCoil" UId="35" />
    <Part Name="Contact" UId="36" />
    <Part Name="Move" UId="37" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="38" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="39">
      <Powerrail />
      <NameCon UId="32" Name="pre" />
    </Wire>
    <Wire UId="40">
      <IdentCon UId="21" />
      <NameCon UId="32" Name="in1" />
    </Wire>
    <Wire UId="41">
      <IdentCon UId="22" />
      <NameCon UId="32" Name="in2" />
    </Wire>
    <Wire UId="42">
      <NameCon UId="32" Name="out" />
      <NameCon UId="33" Name="in" />
      <NameCon UId="35" Name="in" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="43">
      <IdentCon UId="23" />
      <NameCon UId="33" Name="bit" />
    </Wire>
    <Wire UId="44">
      <NameCon UId="33" Name="out" />
      <NameCon UId="34" Name="en" />
    </Wire>
    <Wire UId="45">
      <IdentCon UId="24" />
      <NameCon UId="34" Name="in" />
    </Wire>
    <Wire UId="46">
      <NameCon UId="34" Name="out1" />
      <IdentCon UId="25" />
    </Wire>
    <Wire UId="47">
      <IdentCon UId="26" />
      <NameCon UId="35" Name="operand" />
    </Wire>
    <Wire UId="48">
      <IdentCon UId="27" />
      <NameCon UId="36" Name="operand" />
    </Wire>
    <Wire UId="49">
      <NameCon UId="36" Name="out" />
      <NameCon UId="37" Name="en" />
    </Wire>
    <Wire UId="50">
      <IdentCon UId="28" />
      <NameCon UId="37" Name="in" />
    </Wire>
    <Wire UId="51">
      <NameCon UId="37" Name="eno" />
      <NameCon UId="38" Name="en" />
    </Wire>
    <Wire UId="52">
      <NameCon UId="37" Name="out1" />
      <IdentCon UId="29" />
    </Wire>
    <Wire UId="53">
      <IdentCon UId="30" />
      <NameCon UId="38" Name="in" />
    </Wire>
    <Wire UId="54">
      <NameCon UId="38" Name="out1" />
      <IdentCon UId="31" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="36" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="37" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="38" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="39" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 120 - Espera inicio dosificacion</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="3A" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>130</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>3</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>2</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="26">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="t_ProductoActual_Kg" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="28">
      <Constant>
        <ConstantType>Real</ConstantType>
        <ConstantValue>0.0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="s_ProductoActual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_ProductoActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="31">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>9</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LiteralConstant" UId="32">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>140</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="34">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="35">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="36">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="37">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="38">
      <Symbol>
        <Component Name="AdicionProductoConfirmacion" AccessModifier="Array">
          <Access Scope="LocalVariable">
            <Symbol>
              <Component Name="s_ProductoActual" />
            </Symbol>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="39">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>140</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="40">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="41">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="42">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="43">
      <Symbol>
        <Component Name="OrdenSaltarEtapa" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="44">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>160</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="45">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="46">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="47">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="48">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="PBox" UId="49" />
    <Part Name="Move" UId="50" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="SCoil" UId="51" />
    <Part Name="Eq" UId="52">
      <TemplateValue Name="SrcType" Type="Type">Real</TemplateValue>
    </Part>
    <Part Name="Inc" UId="53" DisabledENO="true">
      <TemplateValue Name="DestType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Ge" UId="54">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="55" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="56" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Ge" UId="57">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="58" />
    <Part Name="Move" UId="59" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="60" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Contact" UId="61" />
    <Part Name="Move" UId="62" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="63" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="64">
      <Powerrail />
      <NameCon UId="48" Name="pre" />
    </Wire>
    <Wire UId="65">
      <IdentCon UId="21" />
      <NameCon UId="48" Name="in1" />
    </Wire>
    <Wire UId="66">
      <IdentCon UId="22" />
      <NameCon UId="48" Name="in2" />
    </Wire>
    <Wire UId="67">
      <NameCon UId="48" Name="out" />
      <NameCon UId="49" Name="in" />
      <NameCon UId="51" Name="in" />
      <NameCon UId="52" Name="pre" />
      <NameCon UId="57" Name="pre" />
      <NameCon UId="61" Name="in" />
    </Wire>
    <Wire UId="68">
      <IdentCon UId="23" />
      <NameCon UId="49" Name="bit" />
    </Wire>
    <Wire UId="69">
      <NameCon UId="49" Name="out" />
      <NameCon UId="50" Name="en" />
    </Wire>
    <Wire UId="70">
      <IdentCon UId="24" />
      <NameCon UId="50" Name="in" />
    </Wire>
    <Wire UId="71">
      <NameCon UId="50" Name="out1" />
      <IdentCon UId="25" />
    </Wire>
    <Wire UId="72">
      <IdentCon UId="26" />
      <NameCon UId="51" Name="operand" />
    </Wire>
    <Wire UId="73">
      <IdentCon UId="27" />
      <NameCon UId="52" Name="in1" />
    </Wire>
    <Wire UId="74">
      <IdentCon UId="28" />
      <NameCon UId="52" Name="in2" />
    </Wire>
    <Wire UId="75">
      <NameCon UId="52" Name="out" />
      <NameCon UId="53" Name="en" />
    </Wire>
    <Wire UId="76">
      <IdentCon UId="29" />
      <NameCon UId="53" Name="operand" />
    </Wire>
    <Wire UId="77">
      <NameCon UId="53" Name="eno" />
      <NameCon UId="54" Name="pre" />
    </Wire>
    <Wire UId="78">
      <IdentCon UId="30" />
      <NameCon UId="54" Name="in1" />
    </Wire>
    <Wire UId="79">
      <IdentCon UId="31" />
      <NameCon UId="54" Name="in2" />
    </Wire>
    <Wire UId="80">
      <NameCon UId="54" Name="out" />
      <NameCon UId="55" Name="en" />
    </Wire>
    <Wire UId="81">
      <IdentCon UId="32" />
      <NameCon UId="55" Name="in" />
    </Wire>
    <Wire UId="82">
      <NameCon UId="55" Name="eno" />
      <NameCon UId="56" Name="en" />
    </Wire>
    <Wire UId="83">
      <NameCon UId="55" Name="out1" />
      <IdentCon UId="33" />
    </Wire>
    <Wire UId="84">
      <IdentCon UId="34" />
      <NameCon UId="56" Name="in" />
    </Wire>
    <Wire UId="85">
      <NameCon UId="56" Name="out1" />
      <IdentCon UId="35" />
    </Wire>
    <Wire UId="86">
      <IdentCon UId="36" />
      <NameCon UId="57" Name="in1" />
    </Wire>
    <Wire UId="87">
      <IdentCon UId="37" />
      <NameCon UId="57" Name="in2" />
    </Wire>
    <Wire UId="88">
      <NameCon UId="57" Name="out" />
      <NameCon UId="58" Name="in" />
    </Wire>
    <Wire UId="89">
      <IdentCon UId="38" />
      <NameCon UId="58" Name="operand" />
    </Wire>
    <Wire UId="90">
      <NameCon UId="58" Name="out" />
      <NameCon UId="59" Name="en" />
    </Wire>
    <Wire UId="91">
      <IdentCon UId="39" />
      <NameCon UId="59" Name="in" />
    </Wire>
    <Wire UId="92">
      <NameCon UId="59" Name="eno" />
      <NameCon UId="60" Name="en" />
    </Wire>
    <Wire UId="93">
      <NameCon UId="59" Name="out1" />
      <IdentCon UId="40" />
    </Wire>
    <Wire UId="94">
      <IdentCon UId="41" />
      <NameCon UId="60" Name="in" />
    </Wire>
    <Wire UId="95">
      <NameCon UId="60" Name="out1" />
      <IdentCon UId="42" />
    </Wire>
    <Wire UId="96">
      <IdentCon UId="43" />
      <NameCon UId="61" Name="operand" />
    </Wire>
    <Wire UId="97">
      <NameCon UId="61" Name="out" />
      <NameCon UId="62" Name="en" />
    </Wire>
    <Wire UId="98">
      <IdentCon UId="44" />
      <NameCon UId="62" Name="in" />
    </Wire>
    <Wire UId="99">
      <NameCon UId="62" Name="eno" />
      <NameCon UId="63" Name="en" />
    </Wire>
    <Wire UId="100">
      <NameCon UId="62" Name="out1" />
      <IdentCon UId="45" />
    </Wire>
    <Wire UId="101">
      <IdentCon UId="46" />
      <NameCon UId="63" Name="in" />
    </Wire>
    <Wire UId="102">
      <NameCon UId="63" Name="out1" />
      <IdentCon UId="47" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="3B" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="3C" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="3D" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="3E" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 130 - Adicion de producto</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="3F" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>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_ProductoActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="27">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>9</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="s_ProductoActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="29">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>130</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="30">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="31">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="32">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="33">
      <Symbol>
        <Component Name="s_ProductoActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="34">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>9</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LiteralConstant" UId="35">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>150</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="36">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </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="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="39">
      <Symbol>
        <Component Name="OrdenSaltarEtapa" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="40">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>999</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="41">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="42">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>0</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="43">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="44">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="PBox" UId="45" />
    <Part Name="Move" UId="46" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Le" UId="47">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Inc" UId="48" DisabledENO="true">
      <TemplateValue Name="DestType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="49" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="50" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Gt" UId="51">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Move" UId="52" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="53" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Contact" UId="54" />
    <Part Name="Move" UId="55" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="56" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="57">
      <Powerrail />
      <NameCon UId="44" Name="pre" />
    </Wire>
    <Wire UId="58">
      <IdentCon UId="21" />
      <NameCon UId="44" Name="in1" />
    </Wire>
    <Wire UId="59">
      <IdentCon UId="22" />
      <NameCon UId="44" Name="in2" />
    </Wire>
    <Wire UId="60">
      <NameCon UId="44" Name="out" />
      <NameCon UId="45" Name="in" />
      <NameCon UId="47" Name="pre" />
      <NameCon UId="51" Name="pre" />
      <NameCon UId="54" Name="in" />
    </Wire>
    <Wire UId="61">
      <IdentCon UId="23" />
      <NameCon UId="45" Name="bit" />
    </Wire>
    <Wire UId="62">
      <NameCon UId="45" Name="out" />
      <NameCon UId="46" Name="en" />
    </Wire>
    <Wire UId="63">
      <IdentCon UId="24" />
      <NameCon UId="46" Name="in" />
    </Wire>
    <Wire UId="64">
      <NameCon UId="46" Name="out1" />
      <IdentCon UId="25" />
    </Wire>
    <Wire UId="65">
      <IdentCon UId="26" />
      <NameCon UId="47" Name="in1" />
    </Wire>
    <Wire UId="66">
      <IdentCon UId="27" />
      <NameCon UId="47" Name="in2" />
    </Wire>
    <Wire UId="67">
      <NameCon UId="47" Name="out" />
      <NameCon UId="48" Name="en" />
    </Wire>
    <Wire UId="68">
      <IdentCon UId="28" />
      <NameCon UId="48" Name="operand" />
    </Wire>
    <Wire UId="69">
      <NameCon UId="48" Name="eno" />
      <NameCon UId="49" Name="en" />
    </Wire>
    <Wire UId="70">
      <IdentCon UId="29" />
      <NameCon UId="49" Name="in" />
    </Wire>
    <Wire UId="71">
      <NameCon UId="49" Name="eno" />
      <NameCon UId="50" Name="en" />
    </Wire>
    <Wire UId="72">
      <NameCon UId="49" Name="out1" />
      <IdentCon UId="30" />
    </Wire>
    <Wire UId="73">
      <IdentCon UId="31" />
      <NameCon UId="50" Name="in" />
    </Wire>
    <Wire UId="74">
      <NameCon UId="50" Name="out1" />
      <IdentCon UId="32" />
    </Wire>
    <Wire UId="75">
      <IdentCon UId="33" />
      <NameCon UId="51" Name="in1" />
    </Wire>
    <Wire UId="76">
      <IdentCon UId="34" />
      <NameCon UId="51" Name="in2" />
    </Wire>
    <Wire UId="77">
      <NameCon UId="51" Name="out" />
      <NameCon UId="52" Name="en" />
    </Wire>
    <Wire UId="78">
      <IdentCon UId="35" />
      <NameCon UId="52" Name="in" />
    </Wire>
    <Wire UId="79">
      <NameCon UId="52" Name="eno" />
      <NameCon UId="53" Name="en" />
    </Wire>
    <Wire UId="80">
      <NameCon UId="52" Name="out1" />
      <IdentCon UId="36" />
    </Wire>
    <Wire UId="81">
      <IdentCon UId="37" />
      <NameCon UId="53" Name="in" />
    </Wire>
    <Wire UId="82">
      <NameCon UId="53" Name="out1" />
      <IdentCon UId="38" />
    </Wire>
    <Wire UId="83">
      <IdentCon UId="39" />
      <NameCon UId="54" Name="operand" />
    </Wire>
    <Wire UId="84">
      <NameCon UId="54" Name="out" />
      <NameCon UId="55" Name="en" />
    </Wire>
    <Wire UId="85">
      <IdentCon UId="40" />
      <NameCon UId="55" Name="in" />
    </Wire>
    <Wire UId="86">
      <NameCon UId="55" Name="eno" />
      <NameCon UId="56" Name="en" />
    </Wire>
    <Wire UId="87">
      <NameCon UId="55" Name="out1" />
      <IdentCon UId="41" />
    </Wire>
    <Wire UId="88">
      <IdentCon UId="42" />
      <NameCon UId="56" Name="in" />
    </Wire>
    <Wire UId="89">
      <NameCon UId="56" Name="out1" />
      <IdentCon UId="43" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="40" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="41" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="42" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="43" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 140 - Comprobacion ingredientes</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="44" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_EtapaActual" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="22">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>150</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_Pulsos" AccessModifier="Array">
          <Access Scope="LiteralConstant">
            <Constant>
              <ConstantType>DInt</ConstantType>
              <ConstantValue>5</ConstantValue>
            </Constant>
          </Access>
        </Component>
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="24">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>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_TiempoEtapa" />
        <Component Name="Activar" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="27">
      <Symbol>
        <Component Name="s_NumeroCiclosAgitador" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="28">
      <Symbol>
        <Component Name="Parametros" />
        <Component Name="P_Int_1" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="29">
      <Symbol>
        <Component Name="OrdenSaltarEtapa" />
      </Symbol>
    </Access>
    <Access Scope="LiteralConstant" UId="30">
      <Constant>
        <ConstantType>Int</ConstantType>
        <ConstantValue>999</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="SCoil" UId="37" />
    <Part Name="Ge" UId="38">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Contact" UId="39" />
    <Part Name="O" UId="40">
      <TemplateValue Name="Card" Type="Cardinality">2</TemplateValue>
    </Part>
    <Part Name="Move" UId="41" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
    <Part Name="Move" UId="42" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="43">
      <Powerrail />
      <NameCon UId="34" Name="pre" />
    </Wire>
    <Wire UId="44">
      <IdentCon UId="21" />
      <NameCon UId="34" Name="in1" />
    </Wire>
    <Wire UId="45">
      <IdentCon UId="22" />
      <NameCon UId="34" Name="in2" />
    </Wire>
    <Wire UId="46">
      <NameCon UId="34" Name="out" />
      <NameCon UId="35" Name="in" />
      <NameCon UId="37" Name="in" />
      <NameCon UId="38" Name="pre" />
      <NameCon UId="39" Name="in" />
    </Wire>
    <Wire UId="47">
      <IdentCon UId="23" />
      <NameCon UId="35" Name="bit" />
    </Wire>
    <Wire UId="48">
      <NameCon UId="35" Name="out" />
      <NameCon UId="36" Name="en" />
    </Wire>
    <Wire UId="49">
      <IdentCon UId="24" />
      <NameCon UId="36" Name="in" />
    </Wire>
    <Wire UId="50">
      <NameCon UId="36" Name="out1" />
      <IdentCon UId="25" />
    </Wire>
    <Wire UId="51">
      <IdentCon UId="26" />
      <NameCon UId="37" Name="operand" />
    </Wire>
    <Wire UId="52">
      <IdentCon UId="27" />
      <NameCon UId="38" Name="in1" />
    </Wire>
    <Wire UId="53">
      <IdentCon UId="28" />
      <NameCon UId="38" Name="in2" />
    </Wire>
    <Wire UId="54">
      <NameCon UId="38" Name="out" />
      <NameCon UId="40" Name="in1" />
    </Wire>
    <Wire UId="55">
      <IdentCon UId="29" />
      <NameCon UId="39" Name="operand" />
    </Wire>
    <Wire UId="56">
      <NameCon UId="39" Name="out" />
      <NameCon UId="40" Name="in2" />
    </Wire>
    <Wire UId="57">
      <NameCon UId="40" Name="out" />
      <NameCon UId="41" Name="en" />
    </Wire>
    <Wire UId="58">
      <IdentCon UId="30" />
      <NameCon UId="41" Name="in" />
    </Wire>
    <Wire UId="59">
      <NameCon UId="41" Name="eno" />
      <NameCon UId="42" Name="en" />
    </Wire>
    <Wire UId="60">
      <NameCon UId="41" Name="out1" />
      <IdentCon UId="31" />
    </Wire>
    <Wire UId="61">
      <IdentCon UId="32" />
      <NameCon UId="42" Name="in" />
    </Wire>
    <Wire UId="62">
      <NameCon UId="42" Name="out1" />
      <IdentCon UId="33" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="45" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="46" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="47" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="48" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 150 - Homogenizacion</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="49" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_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="4A" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="4B" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="4C" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="4D" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Etapa 999 - Fin de secuencia</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="4E" CompositionName="CompileUnits">
        <AttributeList>
          <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 tiempo de etapa y temporizadores</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="53" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="LocalVariable" UId="21">
      <Symbol>
        <Component Name="s_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="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>Contador tiempo</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="58" 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="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>Temporizadores</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="5D" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource />
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="5E" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="5F" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="60" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="61" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>=============== Auxiliares</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="62" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v3">
  <NewLine UId="21" />
  <Token Text="IF" UId="22" />
  <Blank UId="23" />
  <Access Scope="LocalVariable" UId="24">
    <Symbol UId="25">
      <Component Name="t_CalcularDosificacion" UId="26" />
    </Symbol>
  </Access>
  <Blank UId="27" />
  <Token Text="THEN" UId="28" />
  <NewLine UId="29" />
  <Blank Num="4" UId="30" />
  <Access Scope="LocalVariable" UId="31">
    <Symbol UId="32">
      <Component Name="s_KilosInicialTanque" UId="33" />
    </Symbol>
  </Access>
  <Blank UId="34" />
  <Token Text=":=" UId="35" />
  <Blank UId="36" />
  <Access Scope="LocalVariable" UId="37">
    <Symbol UId="38">
      <Component Name="LT_Tanque" UId="39" />
    </Symbol>
  </Access>
  <Token Text=";" UId="40" />
  <NewLine UId="41" />
  <Blank Num="4" UId="42" />
  <Access Scope="LocalVariable" UId="43">
    <Symbol UId="44">
      <Component Name="AdicionProductoCalculado" UId="45">
        <Token Text="[" UId="46" />
        <Access Scope="LiteralConstant" UId="47">
          <Constant UId="48">
            <ConstantValue UId="50">0</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="51" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="52" />
  <Token Text=":=" UId="53" />
  <Blank UId="54" />
  <Token Text="(" UId="55" />
  <Access Scope="LocalVariable" UId="56">
    <Symbol UId="57">
      <Component Name="s_KilosInicialTanque" UId="58" />
    </Symbol>
  </Access>
  <Blank UId="59" />
  <Token Text="*" UId="60" />
  <Blank UId="61" />
  <Access Scope="LocalVariable" UId="62">
    <Symbol UId="63">
      <Component Name="Parametros" UId="64" />
      <Token Text="." UId="65" />
      <Component Name="P_Real_8" UId="66" />
    </Symbol>
  </Access>
  <Token Text=")" UId="67" />
  <Blank UId="68" />
  <Token Text="/" UId="69" />
  <Blank UId="70" />
  <Access Scope="LiteralConstant" UId="71">
    <Constant UId="72">
      <ConstantValue UId="74">1000.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="75" />
  <NewLine UId="76" />
  <Blank Num="4" UId="77" />
  <Access Scope="LocalVariable" UId="78">
    <Symbol UId="79">
      <Component Name="AdicionProductoCalculado" UId="80">
        <Token Text="[" UId="81" />
        <Access Scope="LiteralConstant" UId="82">
          <Constant UId="83">
            <ConstantValue UId="85">1</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="86" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="87" />
  <Token Text=":=" UId="88" />
  <Blank UId="89" />
  <Token Text="(" UId="90" />
  <Access Scope="LocalVariable" UId="91">
    <Symbol UId="92">
      <Component Name="s_KilosInicialTanque" UId="93" />
    </Symbol>
  </Access>
  <Blank UId="94" />
  <Token Text="*" UId="95" />
  <Blank UId="96" />
  <Access Scope="LocalVariable" UId="97">
    <Symbol UId="98">
      <Component Name="Parametros" UId="99" />
      <Token Text="." UId="100" />
      <Component Name="P_Real_9" UId="101" />
    </Symbol>
  </Access>
  <Token Text=")" UId="102" />
  <Blank UId="103" />
  <Token Text="/" UId="104" />
  <Blank UId="105" />
  <Access Scope="LiteralConstant" UId="106">
    <Constant UId="107">
      <ConstantValue UId="109">1000.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="110" />
  <NewLine UId="111" />
  <Blank Num="4" UId="112" />
  <Access Scope="LocalVariable" UId="113">
    <Symbol UId="114">
      <Component Name="AdicionProductoCalculado" UId="115">
        <Token Text="[" UId="116" />
        <Access Scope="LiteralConstant" UId="117">
          <Constant UId="118">
            <ConstantValue UId="120">2</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="121" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="122" />
  <Token Text=":=" UId="123" />
  <Blank UId="124" />
  <Token Text="(" UId="125" />
  <Access Scope="LocalVariable" UId="126">
    <Symbol UId="127">
      <Component Name="s_KilosInicialTanque" 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_10" UId="136" />
    </Symbol>
  </Access>
  <Token Text=")" UId="137" />
  <Blank UId="138" />
  <Token Text="/" UId="139" />
  <Blank UId="140" />
  <Access Scope="LiteralConstant" UId="141">
    <Constant UId="142">
      <ConstantValue UId="144">1000.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="145" />
  <NewLine UId="146" />
  <Blank Num="4" UId="147" />
  <Access Scope="LocalVariable" UId="148">
    <Symbol UId="149">
      <Component Name="AdicionProductoCalculado" UId="150">
        <Token Text="[" UId="151" />
        <Access Scope="LiteralConstant" UId="152">
          <Constant UId="153">
            <ConstantValue UId="155">3</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="156" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="157" />
  <Token Text=":=" UId="158" />
  <Blank UId="159" />
  <Token Text="(" UId="160" />
  <Access Scope="LocalVariable" UId="161">
    <Symbol UId="162">
      <Component Name="s_KilosInicialTanque" UId="163" />
    </Symbol>
  </Access>
  <Blank UId="164" />
  <Token Text="*" UId="165" />
  <Blank UId="166" />
  <Access Scope="LocalVariable" UId="167">
    <Symbol UId="168">
      <Component Name="Parametros" UId="169" />
      <Token Text="." UId="170" />
      <Component Name="P_Real_11" UId="171" />
    </Symbol>
  </Access>
  <Token Text=")" UId="172" />
  <Blank UId="173" />
  <Token Text="/" UId="174" />
  <Blank UId="175" />
  <Access Scope="LiteralConstant" UId="176">
    <Constant UId="177">
      <ConstantValue UId="179">1000.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="180" />
  <NewLine UId="181" />
  <Blank Num="4" UId="182" />
  <Access Scope="LocalVariable" UId="183">
    <Symbol UId="184">
      <Component Name="AdicionProductoCalculado" UId="185">
        <Token Text="[" UId="186" />
        <Access Scope="LiteralConstant" UId="187">
          <Constant UId="188">
            <ConstantValue UId="190">4</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="191" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="192" />
  <Token Text=":=" UId="193" />
  <Blank UId="194" />
  <Token Text="(" UId="195" />
  <Access Scope="LocalVariable" UId="196">
    <Symbol UId="197">
      <Component Name="s_KilosInicialTanque" UId="198" />
    </Symbol>
  </Access>
  <Blank UId="199" />
  <Token Text="*" UId="200" />
  <Blank UId="201" />
  <Access Scope="LocalVariable" UId="202">
    <Symbol UId="203">
      <Component Name="Parametros" UId="204" />
      <Token Text="." UId="205" />
      <Component Name="P_Real_12" UId="206" />
    </Symbol>
  </Access>
  <Token Text=")" UId="207" />
  <Blank UId="208" />
  <Token Text="/" UId="209" />
  <Blank UId="210" />
  <Access Scope="LiteralConstant" UId="211">
    <Constant UId="212">
      <ConstantValue UId="214">1000.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="215" />
  <NewLine UId="216" />
  <Blank Num="4" UId="217" />
  <Access Scope="LocalVariable" UId="218">
    <Symbol UId="219">
      <Component Name="AdicionProductoCalculado" UId="220">
        <Token Text="[" UId="221" />
        <Access Scope="LiteralConstant" UId="222">
          <Constant UId="223">
            <ConstantValue UId="225">5</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="226" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="227" />
  <Token Text=":=" UId="228" />
  <Blank UId="229" />
  <Token Text="(" UId="230" />
  <Access Scope="LocalVariable" UId="231">
    <Symbol UId="232">
      <Component Name="s_KilosInicialTanque" UId="233" />
    </Symbol>
  </Access>
  <Blank UId="234" />
  <Token Text="*" UId="235" />
  <Blank UId="236" />
  <Access Scope="LocalVariable" UId="237">
    <Symbol UId="238">
      <Component Name="Parametros" UId="239" />
      <Token Text="." UId="240" />
      <Component Name="P_Real_13" UId="241" />
    </Symbol>
  </Access>
  <Token Text=")" UId="242" />
  <Blank UId="243" />
  <Token Text="/" UId="244" />
  <Blank UId="245" />
  <Access Scope="LiteralConstant" UId="246">
    <Constant UId="247">
      <ConstantValue UId="249">1000.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="250" />
  <NewLine UId="251" />
  <Blank Num="4" UId="252" />
  <Access Scope="LocalVariable" UId="253">
    <Symbol UId="254">
      <Component Name="AdicionProductoCalculado" UId="255">
        <Token Text="[" UId="256" />
        <Access Scope="LiteralConstant" UId="257">
          <Constant UId="258">
            <ConstantValue UId="260">6</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="261" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="262" />
  <Token Text=":=" UId="263" />
  <Blank UId="264" />
  <Token Text="(" UId="265" />
  <Access Scope="LocalVariable" UId="266">
    <Symbol UId="267">
      <Component Name="s_KilosInicialTanque" UId="268" />
    </Symbol>
  </Access>
  <Blank UId="269" />
  <Token Text="*" UId="270" />
  <Blank UId="271" />
  <Access Scope="LocalVariable" UId="272">
    <Symbol UId="273">
      <Component Name="Parametros" UId="274" />
      <Token Text="." UId="275" />
      <Component Name="P_Real_14" UId="276" />
    </Symbol>
  </Access>
  <Token Text=")" UId="277" />
  <Blank UId="278" />
  <Token Text="/" UId="279" />
  <Blank UId="280" />
  <Access Scope="LiteralConstant" UId="281">
    <Constant UId="282">
      <ConstantValue UId="284">1000.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="285" />
  <NewLine UId="286" />
  <Blank Num="4" UId="287" />
  <Access Scope="LocalVariable" UId="288">
    <Symbol UId="289">
      <Component Name="AdicionProductoCalculado" UId="290">
        <Token Text="[" UId="291" />
        <Access Scope="LiteralConstant" UId="292">
          <Constant UId="293">
            <ConstantValue UId="295">7</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="296" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="297" />
  <Token Text=":=" UId="298" />
  <Blank UId="299" />
  <Token Text="(" UId="300" />
  <Access Scope="LocalVariable" UId="301">
    <Symbol UId="302">
      <Component Name="s_KilosInicialTanque" UId="303" />
    </Symbol>
  </Access>
  <Blank UId="304" />
  <Token Text="*" UId="305" />
  <Blank UId="306" />
  <Access Scope="LocalVariable" UId="307">
    <Symbol UId="308">
      <Component Name="Parametros" UId="309" />
      <Token Text="." UId="310" />
      <Component Name="P_Real_15" UId="311" />
    </Symbol>
  </Access>
  <Token Text=")" UId="312" />
  <Blank UId="313" />
  <Token Text="/" UId="314" />
  <Blank UId="315" />
  <Access Scope="LiteralConstant" UId="316">
    <Constant UId="317">
      <ConstantValue UId="319">1000.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="320" />
  <NewLine UId="321" />
  <Blank Num="4" UId="322" />
  <Access Scope="LocalVariable" UId="323">
    <Symbol UId="324">
      <Component Name="AdicionProductoCalculado" UId="325">
        <Token Text="[" UId="326" />
        <Access Scope="LiteralConstant" UId="327">
          <Constant UId="328">
            <ConstantValue UId="330">8</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="331" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="332" />
  <Token Text=":=" UId="333" />
  <Blank UId="334" />
  <Token Text="(" UId="335" />
  <Access Scope="LocalVariable" UId="336">
    <Symbol UId="337">
      <Component Name="s_KilosInicialTanque" UId="338" />
    </Symbol>
  </Access>
  <Blank UId="339" />
  <Token Text="*" UId="340" />
  <Blank UId="341" />
  <Access Scope="LocalVariable" UId="342">
    <Symbol UId="343">
      <Component Name="Parametros" UId="344" />
      <Token Text="." UId="345" />
      <Component Name="P_Real_16" UId="346" />
    </Symbol>
  </Access>
  <Token Text=")" UId="347" />
  <Blank UId="348" />
  <Token Text="/" UId="349" />
  <Blank UId="350" />
  <Access Scope="LiteralConstant" UId="351">
    <Constant UId="352">
      <ConstantValue UId="354">1000.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="355" />
  <NewLine UId="356" />
  <Blank Num="4" UId="357" />
  <Access Scope="LocalVariable" UId="358">
    <Symbol UId="359">
      <Component Name="AdicionProductoCalculado" UId="360">
        <Token Text="[" UId="361" />
        <Access Scope="LiteralConstant" UId="362">
          <Constant UId="363">
            <ConstantValue UId="365">9</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="366" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="367" />
  <Token Text=":=" UId="368" />
  <Blank UId="369" />
  <Token Text="(" UId="370" />
  <Access Scope="LocalVariable" UId="371">
    <Symbol UId="372">
      <Component Name="s_KilosInicialTanque" UId="373" />
    </Symbol>
  </Access>
  <Blank UId="374" />
  <Token Text="*" UId="375" />
  <Blank UId="376" />
  <Access Scope="LocalVariable" UId="377">
    <Symbol UId="378">
      <Component Name="Parametros" UId="379" />
      <Token Text="." UId="380" />
      <Component Name="P_Real_17" UId="381" />
    </Symbol>
  </Access>
  <Token Text=")" UId="382" />
  <Blank UId="383" />
  <Token Text="/" UId="384" />
  <Blank UId="385" />
  <Access Scope="LiteralConstant" UId="386">
    <Constant UId="387">
      <ConstantValue UId="389">1000.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=";" UId="390" />
  <NewLine UId="391" />
  <Blank Num="4" UId="392" />
  <NewLine UId="393" />
  <Token Text="END_IF" UId="394" />
  <Token Text=";" UId="395" />
  <NewLine UId="396" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="63" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="64" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="65" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="66" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Calculo cantidad a dosificar</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="67" CompositionName="CompileUnits">
        <AttributeList>
          <NetworkSource><FlgNet xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/FlgNet/v4">
  <Parts>
    <Access Scope="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>150</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="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>Gestion Flip Flop agitador</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="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="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>Gestion Numero de cliclos</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="71" CompositionName="CompileUnits">
        <AttributeList>
          <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>=============== Salidas</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="76" 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>120</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="Actual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="24">
      <Symbol>
        <Component Name="s_TiempoEtapa" />
        <Component Name="SP" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="PermisoPulsador" />
      </Symbol>
    </Access>
    <Part Name="Eq" UId="26">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Ge" UId="27">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Coil" UId="28" />
  </Parts>
  <Wires>
    <Wire UId="29">
      <Powerrail />
      <NameCon UId="26" Name="pre" />
    </Wire>
    <Wire UId="30">
      <IdentCon UId="21" />
      <NameCon UId="26" Name="in1" />
    </Wire>
    <Wire UId="31">
      <IdentCon UId="22" />
      <NameCon UId="26" Name="in2" />
    </Wire>
    <Wire UId="32">
      <NameCon UId="26" Name="out" />
      <NameCon UId="27" Name="pre" />
    </Wire>
    <Wire UId="33">
      <IdentCon UId="23" />
      <NameCon UId="27" Name="in1" />
    </Wire>
    <Wire UId="34">
      <IdentCon UId="24" />
      <NameCon UId="27" Name="in2" />
    </Wire>
    <Wire UId="35">
      <NameCon UId="27" Name="out" />
      <NameCon UId="28" Name="in" />
    </Wire>
    <Wire UId="36">
      <IdentCon UId="25" />
      <NameCon UId="28" Name="operand" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="77" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="78" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="79" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="7A" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Permiso pulsador iniciar dosificacion</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="7B" 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>130</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="23">
      <Symbol>
        <Component Name="Despresurizar" />
      </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="7C" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="7D" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="7E" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="7F" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Despresurizar</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="80" 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>150</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="81" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="82" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="83" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="84" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Orden agitador</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="85" 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_5" 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="86" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="87" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="88" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="89" 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="8A" 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_ProductoActual" />
      </Symbol>
    </Access>
    <Access Scope="LocalVariable" UId="22">
      <Symbol>
        <Component Name="ProductoActual" />
      </Symbol>
    </Access>
    <Part Name="Move" UId="23" DisabledENO="true">
      <TemplateValue Name="Card" Type="Cardinality">1</TemplateValue>
    </Part>
  </Parts>
  <Wires>
    <Wire UId="24">
      <Powerrail />
      <NameCon UId="23" Name="en" />
    </Wire>
    <Wire UId="25">
      <IdentCon UId="21" />
      <NameCon UId="23" Name="in" />
    </Wire>
    <Wire UId="26">
      <NameCon UId="23" Name="out1" />
      <IdentCon UId="22" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="8B" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="8C" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="8D" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="8E" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Ingrediente actual</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="8F" 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">  Permiso confirmar productos</Text>
  </LineComment>
  <NewLine UId="27" />
  <Access Scope="LocalVariable" UId="28">
    <Symbol UId="29">
      <Component Name="AdicionProductoPermiso" UId="30">
        <Token Text="[" UId="31" />
        <Access Scope="LiteralConstant" UId="32">
          <Constant UId="33">
            <ConstantValue UId="35">0</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="36" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="37" />
  <Token Text=":=" UId="38" />
  <Blank UId="39" />
  <Token Text="(" UId="40" />
  <Access Scope="LocalVariable" UId="41">
    <Symbol UId="42">
      <Component Name="s_ProductoActual" UId="43" />
    </Symbol>
  </Access>
  <Blank UId="44" />
  <Token Text="=" UId="45" />
  <Blank UId="46" />
  <Access Scope="LiteralConstant" UId="47">
    <Constant UId="48">
      <ConstantValue UId="50">0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="51" />
  <Blank UId="52" />
  <Token Text="AND" UId="53" />
  <Blank UId="54" />
  <Token Text="(" UId="55" />
  <Access Scope="LocalVariable" UId="56">
    <Symbol UId="57">
      <Component Name="AdicionProductoDosificado" UId="58">
        <Token Text="[" UId="59" />
        <Access Scope="LiteralConstant" UId="60">
          <Constant UId="61">
            <ConstantValue UId="63">0</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="64" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="65" />
  <Token Text="&gt;" UId="66" />
  <Blank UId="67" />
  <Access Scope="LiteralConstant" UId="68">
    <Constant UId="69">
      <ConstantValue UId="71">0.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="72" />
  <Blank UId="73" />
  <Token Text="AND" UId="74" />
  <Blank UId="75" />
  <Token Text="(" UId="76" />
  <Access Scope="LocalVariable" UId="77">
    <Symbol UId="78">
      <Component Name="s_EtapaActual" UId="79" />
    </Symbol>
  </Access>
  <Blank UId="80" />
  <Token Text="&gt;=" UId="81" />
  <Blank UId="82" />
  <Access Scope="LiteralConstant" UId="83">
    <Constant UId="84">
      <ConstantValue UId="86">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="87" />
  <Blank UId="88" />
  <Token Text="AND" UId="89" />
  <Blank UId="90" />
  <Token Text="(" UId="91" />
  <Access Scope="LocalVariable" UId="92">
    <Symbol UId="93">
      <Component Name="s_EtapaActual" UId="94" />
    </Symbol>
  </Access>
  <Blank UId="95" />
  <Token Text="&lt;=" UId="96" />
  <Blank UId="97" />
  <Access Scope="LiteralConstant" UId="98">
    <Constant UId="99">
      <ConstantValue UId="101">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="102" />
  <Token Text=";" UId="103" />
  <NewLine UId="104" />
  <Access Scope="LocalVariable" UId="105">
    <Symbol UId="106">
      <Component Name="AdicionProductoPermiso" UId="107">
        <Token Text="[" UId="108" />
        <Access Scope="LiteralConstant" UId="109">
          <Constant UId="110">
            <ConstantValue UId="112">1</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="113" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="114" />
  <Token Text=":=" UId="115" />
  <Blank UId="116" />
  <Token Text="(" UId="117" />
  <Access Scope="LocalVariable" UId="118">
    <Symbol UId="119">
      <Component Name="s_ProductoActual" UId="120" />
    </Symbol>
  </Access>
  <Blank UId="121" />
  <Token Text="=" UId="122" />
  <Blank UId="123" />
  <Access Scope="LiteralConstant" UId="124">
    <Constant UId="125">
      <ConstantValue UId="127">1</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="128" />
  <Blank UId="129" />
  <Token Text="AND" UId="130" />
  <Blank UId="131" />
  <Token Text="(" UId="132" />
  <Access Scope="LocalVariable" UId="133">
    <Symbol UId="134">
      <Component Name="AdicionProductoDosificado" UId="135">
        <Token Text="[" UId="136" />
        <Access Scope="LiteralConstant" UId="137">
          <Constant UId="138">
            <ConstantValue UId="140">1</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="141" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="142" />
  <Token Text="&gt;" UId="143" />
  <Blank UId="144" />
  <Access Scope="LiteralConstant" UId="145">
    <Constant UId="146">
      <ConstantValue UId="148">0.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="149" />
  <Blank UId="150" />
  <Token Text="AND" UId="151" />
  <Blank UId="152" />
  <Token Text="(" UId="153" />
  <Access Scope="LocalVariable" UId="154">
    <Symbol UId="155">
      <Component Name="s_EtapaActual" UId="156" />
    </Symbol>
  </Access>
  <Blank UId="157" />
  <Token Text="&gt;=" UId="158" />
  <Blank UId="159" />
  <Access Scope="LiteralConstant" UId="160">
    <Constant UId="161">
      <ConstantValue UId="163">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="164" />
  <Blank UId="165" />
  <Token Text="AND" UId="166" />
  <Blank UId="167" />
  <Token Text="(" UId="168" />
  <Access Scope="LocalVariable" UId="169">
    <Symbol UId="170">
      <Component Name="s_EtapaActual" UId="171" />
    </Symbol>
  </Access>
  <Blank UId="172" />
  <Token Text="&lt;=" UId="173" />
  <Blank UId="174" />
  <Access Scope="LiteralConstant" UId="175">
    <Constant UId="176">
      <ConstantValue UId="178">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="179" />
  <Token Text=";" UId="180" />
  <NewLine UId="181" />
  <Access Scope="LocalVariable" UId="182">
    <Symbol UId="183">
      <Component Name="AdicionProductoPermiso" UId="184">
        <Token Text="[" UId="185" />
        <Access Scope="LiteralConstant" UId="186">
          <Constant UId="187">
            <ConstantValue UId="189">2</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="190" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="191" />
  <Token Text=":=" UId="192" />
  <Blank UId="193" />
  <Token Text="(" UId="194" />
  <Access Scope="LocalVariable" UId="195">
    <Symbol UId="196">
      <Component Name="s_ProductoActual" UId="197" />
    </Symbol>
  </Access>
  <Blank UId="198" />
  <Token Text="=" UId="199" />
  <Blank UId="200" />
  <Access Scope="LiteralConstant" UId="201">
    <Constant UId="202">
      <ConstantValue UId="204">2</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="205" />
  <Blank UId="206" />
  <Token Text="AND" UId="207" />
  <Blank UId="208" />
  <Token Text="(" UId="209" />
  <Access Scope="LocalVariable" UId="210">
    <Symbol UId="211">
      <Component Name="AdicionProductoDosificado" UId="212">
        <Token Text="[" UId="213" />
        <Access Scope="LiteralConstant" UId="214">
          <Constant UId="215">
            <ConstantValue UId="217">2</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="218" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="219" />
  <Token Text="&gt;" UId="220" />
  <Blank UId="221" />
  <Access Scope="LiteralConstant" UId="222">
    <Constant UId="223">
      <ConstantValue UId="225">0.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="226" />
  <Blank UId="227" />
  <Token Text="AND" UId="228" />
  <Blank UId="229" />
  <Token Text="(" UId="230" />
  <Access Scope="LocalVariable" UId="231">
    <Symbol UId="232">
      <Component Name="s_EtapaActual" UId="233" />
    </Symbol>
  </Access>
  <Blank UId="234" />
  <Token Text="&gt;=" UId="235" />
  <Blank UId="236" />
  <Access Scope="LiteralConstant" UId="237">
    <Constant UId="238">
      <ConstantValue UId="240">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="241" />
  <Blank UId="242" />
  <Token Text="AND" UId="243" />
  <Blank UId="244" />
  <Token Text="(" UId="245" />
  <Access Scope="LocalVariable" UId="246">
    <Symbol UId="247">
      <Component Name="s_EtapaActual" UId="248" />
    </Symbol>
  </Access>
  <Blank UId="249" />
  <Token Text="&lt;=" UId="250" />
  <Blank UId="251" />
  <Access Scope="LiteralConstant" UId="252">
    <Constant UId="253">
      <ConstantValue UId="255">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="256" />
  <Token Text=";" UId="257" />
  <NewLine UId="258" />
  <Access Scope="LocalVariable" UId="259">
    <Symbol UId="260">
      <Component Name="AdicionProductoPermiso" UId="261">
        <Token Text="[" UId="262" />
        <Access Scope="LiteralConstant" UId="263">
          <Constant UId="264">
            <ConstantValue UId="266">3</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="267" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="268" />
  <Token Text=":=" UId="269" />
  <Blank UId="270" />
  <Token Text="(" UId="271" />
  <Access Scope="LocalVariable" UId="272">
    <Symbol UId="273">
      <Component Name="s_ProductoActual" UId="274" />
    </Symbol>
  </Access>
  <Blank UId="275" />
  <Token Text="=" UId="276" />
  <Blank UId="277" />
  <Access Scope="LiteralConstant" UId="278">
    <Constant UId="279">
      <ConstantValue UId="281">3</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="282" />
  <Blank UId="283" />
  <Token Text="AND" UId="284" />
  <Blank UId="285" />
  <Token Text="(" UId="286" />
  <Access Scope="LocalVariable" UId="287">
    <Symbol UId="288">
      <Component Name="AdicionProductoDosificado" UId="289">
        <Token Text="[" UId="290" />
        <Access Scope="LiteralConstant" UId="291">
          <Constant UId="292">
            <ConstantValue UId="294">3</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="295" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="296" />
  <Token Text="&gt;" UId="297" />
  <Blank UId="298" />
  <Access Scope="LiteralConstant" UId="299">
    <Constant UId="300">
      <ConstantValue UId="302">0.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="303" />
  <Blank UId="304" />
  <Token Text="AND" UId="305" />
  <Blank UId="306" />
  <Token Text="(" UId="307" />
  <Access Scope="LocalVariable" UId="308">
    <Symbol UId="309">
      <Component Name="s_EtapaActual" UId="310" />
    </Symbol>
  </Access>
  <Blank UId="311" />
  <Token Text="&gt;=" UId="312" />
  <Blank UId="313" />
  <Access Scope="LiteralConstant" UId="314">
    <Constant UId="315">
      <ConstantValue UId="317">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="318" />
  <Blank UId="319" />
  <Token Text="AND" UId="320" />
  <Blank UId="321" />
  <Token Text="(" UId="322" />
  <Access Scope="LocalVariable" UId="323">
    <Symbol UId="324">
      <Component Name="s_EtapaActual" UId="325" />
    </Symbol>
  </Access>
  <Blank UId="326" />
  <Token Text="&lt;=" UId="327" />
  <Blank UId="328" />
  <Access Scope="LiteralConstant" UId="329">
    <Constant UId="330">
      <ConstantValue UId="332">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="333" />
  <Token Text=";" UId="334" />
  <NewLine UId="335" />
  <Access Scope="LocalVariable" UId="336">
    <Symbol UId="337">
      <Component Name="AdicionProductoPermiso" UId="338">
        <Token Text="[" UId="339" />
        <Access Scope="LiteralConstant" UId="340">
          <Constant UId="341">
            <ConstantValue UId="343">4</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="344" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="345" />
  <Token Text=":=" UId="346" />
  <Blank UId="347" />
  <Token Text="(" UId="348" />
  <Access Scope="LocalVariable" UId="349">
    <Symbol UId="350">
      <Component Name="s_ProductoActual" UId="351" />
    </Symbol>
  </Access>
  <Blank UId="352" />
  <Token Text="=" UId="353" />
  <Blank UId="354" />
  <Access Scope="LiteralConstant" UId="355">
    <Constant UId="356">
      <ConstantValue UId="358">4</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="359" />
  <Blank UId="360" />
  <Token Text="AND" UId="361" />
  <Blank UId="362" />
  <Token Text="(" UId="363" />
  <Access Scope="LocalVariable" UId="364">
    <Symbol UId="365">
      <Component Name="AdicionProductoDosificado" UId="366">
        <Token Text="[" UId="367" />
        <Access Scope="LiteralConstant" UId="368">
          <Constant UId="369">
            <ConstantValue UId="371">4</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="372" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="373" />
  <Token Text="&gt;" UId="374" />
  <Blank UId="375" />
  <Access Scope="LiteralConstant" UId="376">
    <Constant UId="377">
      <ConstantValue UId="379">0.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="380" />
  <Blank UId="381" />
  <Token Text="AND" UId="382" />
  <Blank UId="383" />
  <Token Text="(" UId="384" />
  <Access Scope="LocalVariable" UId="385">
    <Symbol UId="386">
      <Component Name="s_EtapaActual" UId="387" />
    </Symbol>
  </Access>
  <Blank UId="388" />
  <Token Text="&gt;=" UId="389" />
  <Blank UId="390" />
  <Access Scope="LiteralConstant" UId="391">
    <Constant UId="392">
      <ConstantValue UId="394">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="395" />
  <Blank UId="396" />
  <Token Text="AND" UId="397" />
  <Blank UId="398" />
  <Token Text="(" UId="399" />
  <Access Scope="LocalVariable" UId="400">
    <Symbol UId="401">
      <Component Name="s_EtapaActual" UId="402" />
    </Symbol>
  </Access>
  <Blank UId="403" />
  <Token Text="&lt;=" UId="404" />
  <Blank UId="405" />
  <Access Scope="LiteralConstant" UId="406">
    <Constant UId="407">
      <ConstantValue UId="409">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="410" />
  <Token Text=";" UId="411" />
  <NewLine UId="412" />
  <Access Scope="LocalVariable" UId="413">
    <Symbol UId="414">
      <Component Name="AdicionProductoPermiso" UId="415">
        <Token Text="[" UId="416" />
        <Access Scope="LiteralConstant" UId="417">
          <Constant UId="418">
            <ConstantValue UId="420">5</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="421" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="422" />
  <Token Text=":=" UId="423" />
  <Blank UId="424" />
  <Token Text="(" UId="425" />
  <Access Scope="LocalVariable" UId="426">
    <Symbol UId="427">
      <Component Name="s_ProductoActual" UId="428" />
    </Symbol>
  </Access>
  <Blank UId="429" />
  <Token Text="=" UId="430" />
  <Blank UId="431" />
  <Access Scope="LiteralConstant" UId="432">
    <Constant UId="433">
      <ConstantValue UId="435">5</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="436" />
  <Blank UId="437" />
  <Token Text="AND" UId="438" />
  <Blank UId="439" />
  <Token Text="(" UId="440" />
  <Access Scope="LocalVariable" UId="441">
    <Symbol UId="442">
      <Component Name="AdicionProductoDosificado" UId="443">
        <Token Text="[" UId="444" />
        <Access Scope="LiteralConstant" UId="445">
          <Constant UId="446">
            <ConstantValue UId="448">5</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="449" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="450" />
  <Token Text="&gt;" UId="451" />
  <Blank UId="452" />
  <Access Scope="LiteralConstant" UId="453">
    <Constant UId="454">
      <ConstantValue UId="456">0.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="457" />
  <Blank UId="458" />
  <Token Text="AND" UId="459" />
  <Blank UId="460" />
  <Token Text="(" UId="461" />
  <Access Scope="LocalVariable" UId="462">
    <Symbol UId="463">
      <Component Name="s_EtapaActual" UId="464" />
    </Symbol>
  </Access>
  <Blank UId="465" />
  <Token Text="&gt;=" UId="466" />
  <Blank UId="467" />
  <Access Scope="LiteralConstant" UId="468">
    <Constant UId="469">
      <ConstantValue UId="471">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="472" />
  <Blank UId="473" />
  <Token Text="AND" UId="474" />
  <Blank UId="475" />
  <Token Text="(" UId="476" />
  <Access Scope="LocalVariable" UId="477">
    <Symbol UId="478">
      <Component Name="s_EtapaActual" UId="479" />
    </Symbol>
  </Access>
  <Blank UId="480" />
  <Token Text="&lt;=" UId="481" />
  <Blank UId="482" />
  <Access Scope="LiteralConstant" UId="483">
    <Constant UId="484">
      <ConstantValue UId="486">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="487" />
  <Token Text=";" UId="488" />
  <NewLine UId="489" />
  <Access Scope="LocalVariable" UId="490">
    <Symbol UId="491">
      <Component Name="AdicionProductoPermiso" UId="492">
        <Token Text="[" UId="493" />
        <Access Scope="LiteralConstant" UId="494">
          <Constant UId="495">
            <ConstantValue UId="497">6</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="498" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="499" />
  <Token Text=":=" UId="500" />
  <Blank UId="501" />
  <Token Text="(" UId="502" />
  <Access Scope="LocalVariable" UId="503">
    <Symbol UId="504">
      <Component Name="s_ProductoActual" UId="505" />
    </Symbol>
  </Access>
  <Blank UId="506" />
  <Token Text="=" UId="507" />
  <Blank UId="508" />
  <Access Scope="LiteralConstant" UId="509">
    <Constant UId="510">
      <ConstantValue UId="512">6</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="513" />
  <Blank UId="514" />
  <Token Text="AND" UId="515" />
  <Blank UId="516" />
  <Token Text="(" UId="517" />
  <Access Scope="LocalVariable" UId="518">
    <Symbol UId="519">
      <Component Name="AdicionProductoDosificado" UId="520">
        <Token Text="[" UId="521" />
        <Access Scope="LiteralConstant" UId="522">
          <Constant UId="523">
            <ConstantValue UId="525">6</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="526" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="527" />
  <Token Text="&gt;" UId="528" />
  <Blank UId="529" />
  <Access Scope="LiteralConstant" UId="530">
    <Constant UId="531">
      <ConstantValue UId="533">0.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="534" />
  <Blank UId="535" />
  <Token Text="AND" UId="536" />
  <Blank UId="537" />
  <Token Text="(" UId="538" />
  <Access Scope="LocalVariable" UId="539">
    <Symbol UId="540">
      <Component Name="s_EtapaActual" UId="541" />
    </Symbol>
  </Access>
  <Blank UId="542" />
  <Token Text="&gt;=" UId="543" />
  <Blank UId="544" />
  <Access Scope="LiteralConstant" UId="545">
    <Constant UId="546">
      <ConstantValue UId="548">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="549" />
  <Blank UId="550" />
  <Token Text="AND" UId="551" />
  <Blank UId="552" />
  <Token Text="(" UId="553" />
  <Access Scope="LocalVariable" UId="554">
    <Symbol UId="555">
      <Component Name="s_EtapaActual" UId="556" />
    </Symbol>
  </Access>
  <Blank UId="557" />
  <Token Text="&lt;=" UId="558" />
  <Blank UId="559" />
  <Access Scope="LiteralConstant" UId="560">
    <Constant UId="561">
      <ConstantValue UId="563">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="564" />
  <Token Text=";" UId="565" />
  <NewLine UId="566" />
  <Access Scope="LocalVariable" UId="567">
    <Symbol UId="568">
      <Component Name="AdicionProductoPermiso" UId="569">
        <Token Text="[" UId="570" />
        <Access Scope="LiteralConstant" UId="571">
          <Constant UId="572">
            <ConstantValue UId="574">7</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="575" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="576" />
  <Token Text=":=" UId="577" />
  <Blank UId="578" />
  <Token Text="(" UId="579" />
  <Access Scope="LocalVariable" UId="580">
    <Symbol UId="581">
      <Component Name="s_ProductoActual" UId="582" />
    </Symbol>
  </Access>
  <Blank UId="583" />
  <Token Text="=" UId="584" />
  <Blank UId="585" />
  <Access Scope="LiteralConstant" UId="586">
    <Constant UId="587">
      <ConstantValue UId="589">7</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="590" />
  <Blank UId="591" />
  <Token Text="AND" UId="592" />
  <Blank UId="593" />
  <Token Text="(" UId="594" />
  <Access Scope="LocalVariable" UId="595">
    <Symbol UId="596">
      <Component Name="AdicionProductoDosificado" UId="597">
        <Token Text="[" UId="598" />
        <Access Scope="LiteralConstant" UId="599">
          <Constant UId="600">
            <ConstantValue UId="602">7</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="603" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="604" />
  <Token Text="&gt;" UId="605" />
  <Blank UId="606" />
  <Access Scope="LiteralConstant" UId="607">
    <Constant UId="608">
      <ConstantValue UId="610">0.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="611" />
  <Blank UId="612" />
  <Token Text="AND" UId="613" />
  <Blank UId="614" />
  <Token Text="(" UId="615" />
  <Access Scope="LocalVariable" UId="616">
    <Symbol UId="617">
      <Component Name="s_EtapaActual" UId="618" />
    </Symbol>
  </Access>
  <Blank UId="619" />
  <Token Text="&gt;=" UId="620" />
  <Blank UId="621" />
  <Access Scope="LiteralConstant" UId="622">
    <Constant UId="623">
      <ConstantValue UId="625">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="626" />
  <Blank UId="627" />
  <Token Text="AND" UId="628" />
  <Blank UId="629" />
  <Token Text="(" UId="630" />
  <Access Scope="LocalVariable" UId="631">
    <Symbol UId="632">
      <Component Name="s_EtapaActual" UId="633" />
    </Symbol>
  </Access>
  <Blank UId="634" />
  <Token Text="&lt;=" UId="635" />
  <Blank UId="636" />
  <Access Scope="LiteralConstant" UId="637">
    <Constant UId="638">
      <ConstantValue UId="640">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="641" />
  <Token Text=";" UId="642" />
  <NewLine UId="643" />
  <Access Scope="LocalVariable" UId="644">
    <Symbol UId="645">
      <Component Name="AdicionProductoPermiso" UId="646">
        <Token Text="[" UId="647" />
        <Access Scope="LiteralConstant" UId="648">
          <Constant UId="649">
            <ConstantValue UId="651">8</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="652" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="653" />
  <Token Text=":=" UId="654" />
  <Blank UId="655" />
  <Token Text="(" UId="656" />
  <Access Scope="LocalVariable" UId="657">
    <Symbol UId="658">
      <Component Name="s_ProductoActual" UId="659" />
    </Symbol>
  </Access>
  <Blank UId="660" />
  <Token Text="=" UId="661" />
  <Blank UId="662" />
  <Access Scope="LiteralConstant" UId="663">
    <Constant UId="664">
      <ConstantValue UId="666">8</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="667" />
  <Blank UId="668" />
  <Token Text="AND" UId="669" />
  <Blank UId="670" />
  <Token Text="(" UId="671" />
  <Access Scope="LocalVariable" UId="672">
    <Symbol UId="673">
      <Component Name="AdicionProductoDosificado" UId="674">
        <Token Text="[" UId="675" />
        <Access Scope="LiteralConstant" UId="676">
          <Constant UId="677">
            <ConstantValue UId="679">8</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="680" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="681" />
  <Token Text="&gt;" UId="682" />
  <Blank UId="683" />
  <Access Scope="LiteralConstant" UId="684">
    <Constant UId="685">
      <ConstantValue UId="687">0.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="688" />
  <Blank UId="689" />
  <Token Text="AND" UId="690" />
  <Blank UId="691" />
  <Token Text="(" UId="692" />
  <Access Scope="LocalVariable" UId="693">
    <Symbol UId="694">
      <Component Name="s_EtapaActual" UId="695" />
    </Symbol>
  </Access>
  <Blank UId="696" />
  <Token Text="&gt;=" UId="697" />
  <Blank UId="698" />
  <Access Scope="LiteralConstant" UId="699">
    <Constant UId="700">
      <ConstantValue UId="702">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="703" />
  <Blank UId="704" />
  <Token Text="AND" UId="705" />
  <Blank UId="706" />
  <Token Text="(" UId="707" />
  <Access Scope="LocalVariable" UId="708">
    <Symbol UId="709">
      <Component Name="s_EtapaActual" UId="710" />
    </Symbol>
  </Access>
  <Blank UId="711" />
  <Token Text="&lt;=" UId="712" />
  <Blank UId="713" />
  <Access Scope="LiteralConstant" UId="714">
    <Constant UId="715">
      <ConstantValue UId="717">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="718" />
  <Token Text=";" UId="719" />
  <NewLine UId="720" />
  <Access Scope="LocalVariable" UId="721">
    <Symbol UId="722">
      <Component Name="AdicionProductoPermiso" UId="723">
        <Token Text="[" UId="724" />
        <Access Scope="LiteralConstant" UId="725">
          <Constant UId="726">
            <ConstantValue UId="728">9</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="729" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="730" />
  <Token Text=":=" UId="731" />
  <Blank UId="732" />
  <Token Text="(" UId="733" />
  <Access Scope="LocalVariable" UId="734">
    <Symbol UId="735">
      <Component Name="s_ProductoActual" UId="736" />
    </Symbol>
  </Access>
  <Blank UId="737" />
  <Token Text="=" UId="738" />
  <Blank UId="739" />
  <Access Scope="LiteralConstant" UId="740">
    <Constant UId="741">
      <ConstantValue UId="743">9</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="744" />
  <Blank UId="745" />
  <Token Text="AND" UId="746" />
  <Blank UId="747" />
  <Token Text="(" UId="748" />
  <Access Scope="LocalVariable" UId="749">
    <Symbol UId="750">
      <Component Name="AdicionProductoDosificado" UId="751">
        <Token Text="[" UId="752" />
        <Access Scope="LiteralConstant" UId="753">
          <Constant UId="754">
            <ConstantValue UId="756">9</ConstantValue>
          </Constant>
        </Access>
        <Token Text="]" UId="757" />
      </Component>
    </Symbol>
  </Access>
  <Blank UId="758" />
  <Token Text="&gt;" UId="759" />
  <Blank UId="760" />
  <Access Scope="LiteralConstant" UId="761">
    <Constant UId="762">
      <ConstantValue UId="764">0.0</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="765" />
  <Blank UId="766" />
  <Token Text="AND" UId="767" />
  <Blank UId="768" />
  <Token Text="(" UId="769" />
  <Access Scope="LocalVariable" UId="770">
    <Symbol UId="771">
      <Component Name="s_EtapaActual" UId="772" />
    </Symbol>
  </Access>
  <Blank UId="773" />
  <Token Text="&gt;=" UId="774" />
  <Blank UId="775" />
  <Access Scope="LiteralConstant" UId="776">
    <Constant UId="777">
      <ConstantValue UId="779">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="780" />
  <Blank UId="781" />
  <Token Text="AND" UId="782" />
  <Blank UId="783" />
  <Token Text="(" UId="784" />
  <Access Scope="LocalVariable" UId="785">
    <Symbol UId="786">
      <Component Name="s_EtapaActual" UId="787" />
    </Symbol>
  </Access>
  <Blank UId="788" />
  <Token Text="&lt;=" UId="789" />
  <Blank UId="790" />
  <Access Scope="LiteralConstant" UId="791">
    <Constant UId="792">
      <ConstantValue UId="794">130</ConstantValue>
    </Constant>
  </Access>
  <Token Text=")" UId="795" />
  <Token Text=";" UId="796" />
  <NewLine Num="2" UId="797" />
</StructuredText></NetworkSource>
          <ProgrammingLanguage>SCL</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="90" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="91" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="92" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="93" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Permiso confirmar productos</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="94" 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>130</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>150</ConstantValue>
      </Constant>
    </Access>
    <Access Scope="LocalVariable" UId="25">
      <Symbol>
        <Component Name="PermisoSaltarEtapa" />
      </Symbol>
    </Access>
    <Part Name="Ge" UId="26">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Le" UId="27">
      <TemplateValue Name="SrcType" Type="Type">Int</TemplateValue>
    </Part>
    <Part Name="Coil" UId="28" />
  </Parts>
  <Wires>
    <Wire UId="29">
      <Powerrail />
      <NameCon UId="26" Name="pre" />
    </Wire>
    <Wire UId="30">
      <IdentCon UId="21" />
      <NameCon UId="26" Name="in1" />
    </Wire>
    <Wire UId="31">
      <IdentCon UId="22" />
      <NameCon UId="26" Name="in2" />
    </Wire>
    <Wire UId="32">
      <NameCon UId="26" Name="out" />
      <NameCon UId="27" Name="pre" />
    </Wire>
    <Wire UId="33">
      <IdentCon UId="23" />
      <NameCon UId="27" Name="in1" />
    </Wire>
    <Wire UId="34">
      <IdentCon UId="24" />
      <NameCon UId="27" Name="in2" />
    </Wire>
    <Wire UId="35">
      <NameCon UId="27" Name="out" />
      <NameCon UId="28" Name="in" />
    </Wire>
    <Wire UId="36">
      <IdentCon UId="25" />
      <NameCon UId="28" Name="operand" />
    </Wire>
  </Wires>
</FlgNet></NetworkSource>
          <ProgrammingLanguage>LAD</ProgrammingLanguage>
        </AttributeList>
        <ObjectList>
          <MultilingualText ID="95" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="96" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="97" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="98" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Permiso salto etapa</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="99" 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="9A" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="9B" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="9C" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="9D" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Secuencia iniciada</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <SW.Blocks.CompileUnit ID="9E" 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="9F" CompositionName="Comment">
            <ObjectList>
              <MultilingualTextItem ID="A0" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text />
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
          <MultilingualText ID="A1" CompositionName="Title">
            <ObjectList>
              <MultilingualTextItem ID="A2" CompositionName="Items">
                <AttributeList>
                  <Culture>es-ES</Culture>
                  <Text>Fin secuencia</Text>
                </AttributeList>
              </MultilingualTextItem>
            </ObjectList>
          </MultilingualText>
        </ObjectList>
      </SW.Blocks.CompileUnit>
      <MultilingualText ID="A3" CompositionName="Title">
        <ObjectList>
          <MultilingualTextItem ID="A4" CompositionName="Items">
            <AttributeList>
              <Culture>es-ES</Culture>
              <Text>FB15175_ZC_COCINA_AD_PROD</Text>
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.FB>
</Document>