{
    S7_Author := "AketzaBarragues";
    S7_BlockComment := "MLC_4C3";
    S7_BlockNumber := "2835";
    S7_BlockTitle := "MLC_5AY";
    S7_Family := "ZeusControl";
    S7_Optimized := "FALSE";
    S7_StandardRetain := "FALSE";
    S7_Version := "1.0"
}
DATA_BLOCK DB2835_PID_MUX
    VAR
        "Mux" : STRUCT
            NumDispositivos : Int;
            {
                S7_MLC := "MLC_4gD";
                S7_Setpoint := "False"
            }
            Scada : Array[0.._.N_MAX_SCADA] of _.UDT_ZC_DISP_MUX_PID;
        END_STRUCT;
    END_VAR

        "Mux".Scada[0].Habilitar := TRUE;
        "Mux".Scada[0].Index := 0;
        "Mux".Scada[0].oldIndex := 0;
        "Mux".Scada[0]."PID".Estado_AutoMan := TRUE;
        "Mux".Scada[0]."PID".Estado_ModeActivate := FALSE;
        "Mux".Scada[0]."PID".Orden_Forzar := FALSE;
        "Mux".Scada[0]."PID".Orden_ActivarAuto := FALSE;
        "Mux".Scada[0]."PID".Orden_Ack := FALSE;
        "Mux".Scada[0]."PID".Orden_Reset := FALSE;
        "Mux".Scada[0]."PID".Alarmas_Error := FALSE;
        "Mux".Scada[0]."PID".Config_InvertirControl := FALSE;
        "Mux".Scada[0]."PID".Config_TipoEntrada := FALSE;
        "Mux".Scada[0]."PID".Aux_oldForzar := FALSE;
        "Mux".Scada[0]."PID".Estado_PV := 0.0;
        "Mux".Scada[0]."PID".Estado_ValorSalida := 0.0;
        "Mux".Scada[0]."PID".Estado_PV_0_100 := 0.0;
        "Mux".Scada[0]."PID".Estado_SP_0_100 := 0.0;
        "Mux".Scada[0]."PID".Estado_Error_SP_PV_0_100 := 0.0;
        "Mux".Scada[0]."PID".Estado_Mode := 3;
        "Mux".Scada[0]."PID".Estado_EstadoPID := 3;
        "Mux".Scada[0]."PID".Orden_ConsignaAuto := 0.0;
        "Mux".Scada[0]."PID".Orden_ConsignaForzado := 0.0;
        "Mux".Scada[0]."PID".Alarmas_ErrorBits := 16#0000_0000;
        "Mux".Scada[0]."PID".Config_Gain := 0.15;
        "Mux".Scada[0]."PID".Config_Ti := 3.0;
        "Mux".Scada[0]."PID".Config_Td := 0.0;
        "Mux".Scada[0]."PID".Config_LimiteSuperiorSalida := 100.0;
        "Mux".Scada[0]."PID".Config_LimiteInferiorSalida := 0.0;
        "Mux".Scada[0]."PID".Config_LimiteSuperiorEntrada := 15000.0;
        "Mux".Scada[0]."PID".Config_LimiteInferiorEntrada := 0.0;
        "Mux".Scada[0]."PID".Aux_oldMode := 3;
        "Mux".Scada[0]."PID".Aux_SP_Manual := 0.0;
        "Mux".Scada[0]."PID".Aux_SP_Auto := 0.0;
        "Mux".Scada[0]."PID".Aux_oldGain := 0.15;
        "Mux".Scada[0]."PID".Aux_oldTi := 3.0;
        "Mux".Scada[0]."PID".Aux_oldTd := 0.0;
        { S7_MLC := "MLC_wz" }
        "Mux".Scada[0] := ();

END_DATA_BLOCK
