{
    S7_Author := "ABH";
    S7_BlockComment := "MLC_3g6";
    S7_BlockNumber := "2005";
    S7_BlockTitle := "MLC_4Yn";
    S7_Family := "ZeusControl";
    S7_Optimized := "TRUE";
    S7_StandardRetain := "TRUE";
    S7_Version := "1.0"
}
DATA_BLOCK DB2005_SD
    VAR RETAIN
        {
            S7_MLC := "MLC_4BB";
            S7_Setpoint := "False"
        }
        SD : Array[0.._.N_MAX_DISP_SD] of _.UDT_ZC_DISP_SD;
    END_VAR

    VAR
        { S7_Setpoint := "False" }
        Agrup : Array[0.._.N_MAX_DISP_AGRUP] of _.UDT_ZC_DISP_AGRUP;
        NumDispositivos : Int;
    END_VAR

        SD[0].Estado_AutoMan := FALSE;
        SD[0].Estado_Activado := FALSE;
        SD[0].Estado_Enclavado := FALSE;
        SD[0].Orden_ActivarManual := FALSE;
        SD[0].Orden_ActivarAuto := FALSE;
        SD[0].Config_Habilitar := FALSE;
        SD[0].Config_HabilitarRetardoAct := FALSE;
        SD[0].Config_HabilitarRetardoDes := FALSE;
        SD[0].Config_HabilitarInvertir := FALSE;
        SD[0].Aux_oldActivado := FALSE;
        SD[0].Aux_oldAutoMan := FALSE;
        SD[0].Estado_SeguridadOk := TRUE;
        SD[0].Config_GrupoAlarma := 0;
        SD[0].Config_DireccionSalidaByte := 0;
        SD[0].Config_DireccionSalidaBit := 0;
        SD[0].Tiempos_SetPointTiempoAct := 3;
        SD[0].Tiempos_SetPointTiempoDes := 3;
        SD[0].Tiempos_TiempoAct := 0;
        SD[0].Tiempos_TiempoDes := 0;
        { S7_MLC := "MLC_5C3" }
        SD[0] := ();
        Agrup[0].AlgunaEnManual := FALSE;
        Agrup[0].AlgunaAlarma := FALSE;
        Agrup[0].NuevaAlarma := FALSE;

END_DATA_BLOCK
