DATA_BLOCK "DB2010_V" TITLE = DB2010_V { S7_Optimized_Access := 'TRUE' } AUTHOR : ABH FAMILY : ZeusControl VERSION : 1.0 //Bloique de datos valvula. VAR RETAIN V { S7_SetPoint := 'False'} : Array[0.."N_MAX_DISP_V"] of "UDT_ZC_DISP_V"; // . END_VAR VAR Agrup { S7_SetPoint := 'False'} : Array[0.."N_MAX_DISP_AGRUP"] of "UDT_ZC_DISP_AGRUP"; NumDispositivos : Int; END_VAR BEGIN V[0].Estado_AutoMan := FALSE; V[0].Estado_Activado := FALSE; V[0].Estado_Enclavado := FALSE; V[0].Estado_SeguridadOk := TRUE; V[0].Estado_EntradaRetornoReposo := FALSE; V[0].Estado_EntradaRetornoTrabajo := FALSE; V[0].Alarmas_Reposo := FALSE; V[0].Alarmas_Trabajo := FALSE; V[0].Alarmas_Mantenimiento := FALSE; V[0].Alarmas_Doble := FALSE; V[0].Alarmas_General := FALSE; V[0].Orden_ActivarManual := FALSE; V[0].Orden_ActivarAuto := TRUE; V[0].Orden_ResetCiclos := FALSE; V[0].Config_Habilitar := FALSE; V[0].Config_HabilitarRetornoReposo := TRUE; V[0].Config_HabilitarInvertirReposo := FALSE; V[0].Config_HabilitarRetornoTrabajo := TRUE; V[0].Config_HabilitarInvertirTrabajo := FALSE; V[0].Config_HabilitarMantenimiento := FALSE; V[0].Aux_oldActivado := FALSE; V[0].Aux_oldAlarma := FALSE; V[0].Aux_oldAutoMan := FALSE; V[0].Config_GrupoAlarma := 0; V[0].Config_DireccionSalidaByte := 0; V[0].Config_DireccionSalidaBit := 0; V[0].Config_DireccionRetReposoByte := 0; V[0].Config_DireccionRetReposoBit := 0; V[0].Config_DireccionRetTrabajoByte := 0; V[0].Config_DireccionRetTrabajoBit := 0; V[0].Tiempos_SetPointTiempoAlarma := 10; V[0].Tiempos_Alarma := 0; V[0].Tiempos_SetPointCiclos := 1000; V[0].Tiempos_Ciclos := 0; Agrup[0].AlgunaEnManual := FALSE; Agrup[0].AlgunaAlarma := FALSE; Agrup[0].NuevaAlarma := FALSE; END_DATA_BLOCK