TYPE
    {
        S7_BlockComment := "MLC_3Wf";
        S7_BlockTitle := "MLC_32h"
    }
    UDT_ZC_PRO_PROCESO : STRUCT
        { S7_MLC := "MLC_553" }
        "ID" : Int := 0;
        { S7_MLC := "MLC_55N" }
        EtapaActual : Int := 0;
        { S7_MLC := "MLC_3Hu" }
        EtapaSiguiente : Int := 0;
        { S7_MLC := "MLC_3sy" }
        TipoProceso : Int := 1;
        { S7_MLC := "MLC_4tu" }
        Estado : STRUCT
            { S7_MLC := "MLC_cA" }
            Arrancando : Bool;
            { S7_MLC := "MLC_eX" }
            EnMarcha : Bool;
            { S7_MLC := "MLC_4bK" }
            MarchaPausa : Bool;
            { S7_MLC := "MLC_Ra" }
            Pausando : Bool;
            { S7_MLC := "MLC_4tp" }
            Pausado : Bool;
            { S7_MLC := "MLC_3BA" }
            Reanudando : Bool;
            { S7_MLC := "MLC_3qc" }
            Finalizando : Bool;
            { S7_MLC := "MLC_4d5" }
            Finalizado : Bool;
            { S7_MLC := "MLC_42k" }
            EnError : Bool;
            { S7_MLC := "MLC_4pf" }
            Enclavado : Bool;
            { S7_MLC := "MLC_3Sg" }
            AlgunError : Bool;
            { S7_MLC := "MLC_4ic" }
            AlgunErrorSistema : Bool;
            { S7_MLC := "MLC_3tF" }
            AlgunAviso : Bool;
            { S7_MLC := "MLC_53t" }
            EntidadesCapturadas : Bool;
            { S7_MLC := "MLC_42r" }
            CodEstado : UInt;
        END_STRUCT;
        {
            S7_MLC := "MLC_eG";
            S7_Setpoint := "False"
        }
        BitMarcha : _.UDT_ZC_MARCHA_PARO_SEC;
        { S7_MLC := "MLC_4Vm" }
        Entidad : Array[1.._.N_MAX_ENTIDAD_PROCESO] of STRUCT
            "ID" : Int;
            Producto : Int;
            Tipo : Bool;
            EstadoDisponible : Bool;
            EstadoCapturada : Bool;
            OrdenLiberar : Bool;
            OrdenCapturar : Bool;
            OrdenConProducto : Bool;
            OrdenConAgua : Bool;
            OrdenVacia : Bool;
        END_STRUCT := [
            { S7_MLC := "MLC_3mw" }
            (
                { S7_MLC := "MLC_57s" }
                "ID" := (),
                { S7_MLC := "MLC_4pM" }
                Producto := (),
                { S7_MLC := "MLC_4kS" }
                Tipo := (),
                { S7_MLC := "MLC_3Bp" }
                EstadoDisponible := (),
                { S7_MLC := "MLC_yz" }
                EstadoCapturada := (),
                { S7_MLC := "MLC_3zB" }
                OrdenLiberar := (),
                { S7_MLC := "MLC_4hc" }
                OrdenCapturar := (),
                { S7_MLC := "MLC_4mY" }
                OrdenConProducto := (),
                { S7_MLC := "MLC_3KS" }
                OrdenConAgua := (),
                { S7_MLC := "MLC_3Y7" }
                OrdenVacia := ()
            )
        ];
        { S7_MLC := "MLC_54B" }
        Ordenes : STRUCT
            { S7_MLC := "MLC_3g5" }
            Marcha : Bool;
            { S7_MLC := "MLC_3JH" }
            Paro : Bool;
            { S7_MLC := "MLC_3ee" }
            Pausa : Bool;
            { S7_MLC := "MLC_4nC" }
            Reanudar : Bool;
            { S7_MLC := "MLC_bu" }
            ResetErrores : Bool;
            { S7_MLC := "MLC_qa" }
            SaltarEtapa : Bool;
        END_STRUCT;
        Pulsadores : STRUCT
            {
                S7_MLC := "MLC_4Mb";
                S7_Setpoint := "False"
            }
            Marcha : _.UDT_ZC_PULSADOR;
            {
                S7_MLC := "MLC_3zb";
                S7_Setpoint := "False"
            }
            Paro : _.UDT_ZC_PULSADOR;
            {
                S7_MLC := "MLC_458";
                S7_Setpoint := "False"
            }
            Pausa : _.UDT_ZC_PULSADOR;
            {
                S7_MLC := "MLC_4Lg";
                S7_Setpoint := "False"
            }
            Reanudar : _.UDT_ZC_PULSADOR;
            {
                S7_MLC := "MLC_4Sw";
                S7_Setpoint := "False"
            }
            ResetErrores : _.UDT_ZC_PULSADOR;
            {
                S7_MLC := "MLC_3uR";
                S7_Setpoint := "False"
            }
            SaltoEtapa : _.UDT_ZC_PULSADOR;
        END_STRUCT;
        SaltoEtapa : STRUCT
            { S7_MLC := "MLC_Mf" }
            NuevaEtapa : Int;
            { S7_MLC := "MLC_3bz" }
            CambioPosible : Bool;
        END_STRUCT;
        { S7_MLC := "MLC_34N" }
        Enclavamiento : STRUCT
            { S7_MLC := "MLC_Vr" }
            Codigo : Int;
            { S7_MLC := "MLC_4Gk" }
            Sistema : Array[1..8] of Bool := [
                { S7_MLC := "MLC_3Yy" }
                (),
                { S7_MLC := "MLC_42U" }
                (),
                { S7_MLC := "MLC_wG" }
                (),
                { S7_MLC := "MLC_3V6" }
                (),
                { S7_MLC := "MLC_T8" }
                (),
                { S7_MLC := "MLC_UE" }
                (),
                { S7_MLC := "MLC_59Y" }
                (),
                { S7_MLC := "MLC_3Hz" }
                ()
            ];
            { S7_MLC := "MLC_RR" }
            Usuario : Array[1..8] of Bool := [
                { S7_MLC := "MLC_4gG" }
                (),
                { S7_MLC := "MLC_U7" }
                (),
                { S7_MLC := "MLC_3Je" }
                (),
                { S7_MLC := "MLC_3eK" }
                (),
                { S7_MLC := "MLC_4tc" }
                (),
                { S7_MLC := "MLC_485" }
                (),
                { S7_MLC := "MLC_3Lx" }
                (),
                { S7_MLC := "MLC_3bu" }
                ()
            ];
        END_STRUCT;
        Aviso : STRUCT
            { S7_MLC := "MLC_Qx" }
            Codigo : Int;
            { S7_MLC := "MLC_4fN" }
            Sistema : Array[1..8] of Bool := [
                { S7_MLC := "MLC_uA" }
                (),
                { S7_MLC := "MLC_4d7" }
                (),
                { S7_MLC := "MLC_qc" }
                (),
                { S7_MLC := "MLC_4zG" }
                (),
                { S7_MLC := "MLC_4Dg" }
                (),
                { S7_MLC := "MLC_3Zy" }
                (),
                { S7_MLC := "MLC_4gn" }
                (),
                { S7_MLC := "MLC_4UR" }
                ()
            ];
            { S7_MLC := "MLC_4jD" }
            Usuario : Array[1..8] of Bool := [
                { S7_MLC := "MLC_4vn" }
                (),
                { S7_MLC := "MLC_4pL" }
                (),
                { S7_MLC := "MLC_4pF" }
                (),
                { S7_MLC := "MLC_3hV" }
                (),
                { S7_MLC := "MLC_4vH" }
                (),
                { S7_MLC := "MLC_59h" }
                (),
                { S7_MLC := "MLC_Zs" }
                (),
                { S7_MLC := "MLC_3i3" }
                ()
            ];
        END_STRUCT;
        Error : STRUCT
            { S7_MLC := "MLC_4B3" }
            Codigo : Int;
            { S7_MLC := "MLC_36b" }
            CodigoAux1 : Int;
            { S7_MLC := "MLC_4wn" }
            CodigoAux2 : Int;
            { S7_MLC := "MLC_333" }
            Sistema : Array[1..8] of Bool := [
                { S7_MLC := "MLC_4Ek" }
                (),
                { S7_MLC := "MLC_3pX" }
                (),
                { S7_MLC := "MLC_39U" }
                (),
                { S7_MLC := "MLC_52K" }
                (),
                { S7_MLC := "MLC_4Jh" }
                (),
                { S7_MLC := "MLC_3fa" }
                (),
                { S7_MLC := "MLC_3KX" }
                (),
                { S7_MLC := "MLC_UR" }
                ()
            ];
            { S7_MLC := "MLC_fy" }
            Usuario : Array[1..8] of Bool := [
                { S7_MLC := "MLC_ML" }
                (),
                { S7_MLC := "MLC_3Ae" }
                (),
                { S7_MLC := "MLC_3NX" }
                (),
                { S7_MLC := "MLC_525" }
                (),
                { S7_MLC := "MLC_ii" }
                (),
                { S7_MLC := "MLC_52y" }
                (),
                { S7_MLC := "MLC_3De" }
                (),
                { S7_MLC := "MLC_nc" }
                ()
            ];
        END_STRUCT;
        VentanaAviso : STRUCT
            { S7_MLC := "MLC_4Jb" }
            Mostrar : Bool;
            { S7_Setpoint := "False" }
            Aceptar : _.UDT_ZC_PULSADOR;
            { S7_Setpoint := "False" }
            Cancelar : _.UDT_ZC_PULSADOR;
            { S7_MLC := "MLC_4xi" }
            Tipo : Int;
            { S7_MLC := "MLC_4Ag" }
            CodigoTexto1 : Int;
            { S7_MLC := "MLC_4ba" }
            CodigoTexto2 : Int;
            { S7_MLC := "MLC_4Uw" }
            CodigoTextoAceptar : Int;
            { S7_MLC := "MLC_Z4" }
            CodigoTextoCancelar : Int;
        END_STRUCT;
        { S7_Setpoint := "False" }
        TiempoEtapa : _.UDT_ZC_PRO_TIEMPO_ETAPA;
        { S7_Setpoint := "False" }
        LitrosEtapa : _.UDT_ZC_PRO_LITROS_ETAPA;
        {
            S7_MLC := "MLC_zh";
            S7_Setpoint := "False"
        }
        TON : Array[1..2] of _.UDT_ZC_DISP_TON := [
            { S7_MLC := "MLC_3t9" }
            (),
            { S7_MLC := "MLC_4zp" }
            ()
        ];
        {
            S7_MLC := "MLC_4QP";
            S7_Setpoint := "False"
        }
        TONR : _.UDT_ZC_DISP_TONR;
        Aux : STRUCT
            { S7_MLC := "MLC_4XA" }
            oldPrimerArranque : Bool;
            { S7_MLC := "MLC_uJ" }
            ParoOperador : Bool;
            { S7_MLC := "MLC_4xz" }
            ErroresComprobados : Bool;
            { S7_MLC := "MLC_NC" }
            EntidadesDisponibles : Bool;
            { S7_MLC := "MLC_3aC" }
            EntidadesCargadas : Bool;
            { S7_MLC := "MLC_3wr" }
            ProArrancadoOK : Bool;
            { S7_MLC := "MLC_44u" }
            ProParadoOK : Bool;
            { S7_MLC := "MLC_4pj" }
            ProFinalizadoOK : Bool;
            { S7_MLC := "MLC_3Tq" }
            TiempoResetParoOp : USInt;
            { S7_MLC := "MLC_4ew" }
            oldEtapa : Int;
            { S7_MLC := "MLC_3t6" }
            oldCodigoEstado : UInt;
            { S7_MLC := "MLC_43V" }
            SecuenciaArranque : UInt;
        END_STRUCT;
        {
            S7_Access := "ReadOnly := External";
            S7_Visibility := "Hidden := External"
        }
        Flanco : STRUCT
            {
                S7_Access := "ReadOnly := External";
                S7_MLC := "MLC_3vL";
                S7_Visibility := "Hidden := External"
            }
            F_Arrancando : Bool;
            {
                S7_Access := "ReadOnly := External";
                S7_MLC := "MLC_Yn";
                S7_Visibility := "Hidden := External"
            }
            F_EnMarcha : Bool;
            {
                S7_Access := "ReadOnly := External";
                S7_MLC := "MLC_5B8";
                S7_Visibility := "Hidden := External"
            }
            F_Pausando : Bool;
            {
                S7_Access := "ReadOnly := External";
                S7_MLC := "MLC_3ZY";
                S7_Visibility := "Hidden := External"
            }
            F_Pausado : Bool;
            {
                S7_Access := "ReadOnly := External";
                S7_MLC := "MLC_4YB";
                S7_Visibility := "Hidden := External"
            }
            F_Reanudando : Bool;
            {
                S7_Access := "ReadOnly := External";
                S7_MLC := "MLC_46S";
                S7_Visibility := "Hidden := External"
            }
            F_Finalizando : Bool;
            {
                S7_Access := "ReadOnly := External";
                S7_MLC := "MLC_527";
                S7_Visibility := "Hidden := External"
            }
            F_Finalizado : Bool;
            {
                S7_Access := "ReadOnly := External";
                S7_MLC := "MLC_3KT";
                S7_Visibility := "Hidden := External"
            }
            F_EnError : Bool;
            {
                S7_Access := "ReadOnly := External";
                S7_MLC := "MLC_4z2";
                S7_Visibility := "Hidden := External"
            }
            F_InformeInicio : Bool;
            {
                S7_Access := "ReadOnly := External";
                S7_MLC := "MLC_3rj";
                S7_Visibility := "Hidden := External"
            }
            F_InformeFin : Bool;
            {
                S7_Access := "ReadOnly := External";
                S7_MLC := "MLC_36P";
                S7_Visibility := "Hidden := External"
            }
            F_CambioEtapa : Bool;
        END_STRUCT;
    END_STRUCT;
END_TYPE
