Files
ZC_ESTANDAR_ALIMENTACION/PLC/Bloques de programa/2000_Dispositivos/DB2016_M_VF.db
T
2026-07-20 08:15:06 +02:00

66 lines
2.3 KiB
Plaintext

DATA_BLOCK "DB2016_M_VF"
TITLE = DB2016_M_VF
{ S7_Optimized_Access := 'TRUE' }
AUTHOR : ABH
FAMILY : ZeusControl
VERSION : 1.0
//Bloque de datos motor variador.
VAR RETAIN
M_VF { S7_SetPoint := 'False'} : Array[0.."N_MAX_DISP_M_VF"] of "UDT_ZC_DISP_M_VF"; // .
END_VAR
VAR
Agrup { S7_SetPoint := 'False'} : Array[0.."N_MAX_DISP_AGRUP"] of "UDT_ZC_DISP_AGRUP";
NumDispositivos : Int;
END_VAR
BEGIN
M_VF[0].Estado_AutoMan := FALSE;
M_VF[0].Estado_Activado := FALSE;
M_VF[0].Estado_Enclavado := FALSE;
M_VF[0].Estado_SeguridadOk := TRUE;
M_VF[0].Estado_EntradaTermico := FALSE;
M_VF[0].Estado_EntradaConfMarcha := FALSE;
M_VF[0].Alarmas_Termico := FALSE;
M_VF[0].Alarmas_ConfirmacionMarcha := FALSE;
M_VF[0].Alarmas_Mantenimiento := FALSE;
M_VF[0].Alarmas_Escritura := FALSE;
M_VF[0].Alarmas_Parametros := FALSE;
M_VF[0].Alarmas_General := FALSE;
M_VF[0].Orden_ActivarManual := FALSE;
M_VF[0].Orden_ActivarAuto := FALSE;
M_VF[0].Orden_ResetHoras := FALSE;
M_VF[0].Config_Habilitar := FALSE;
M_VF[0].Config_HabilitarRetornoTermico := TRUE;
M_VF[0].Config_HabilitarInvertirTermico := FALSE;
M_VF[0].Config_HabilitarRetornoConfMarcha := TRUE;
M_VF[0].Config_HabilitarInvertirConfMarcha := FALSE;
M_VF[0].Config_HabilitarMantenimiento := FALSE;
M_VF[0].Config_HabilitarAlarmaEscrituraSalida := FALSE;
M_VF[0].Aux_oldActivado := FALSE;
M_VF[0].Aux_oldAlarma := FALSE;
M_VF[0].Aux_oldAutoMan := FALSE;
M_VF[0].Estado_Escritura := 16#0000;
M_VF[0].Config_GrupoAlarma := 0;
M_VF[0].Orden_ConsignaManual := 0.0;
M_VF[0].Orden_ConsignaAuto := 0.0;
M_VF[0].Config_DireccionSalidaByte := 0;
M_VF[0].Config_DireccionSalidaBit := 0;
M_VF[0].Config_DireccionRetTermicoByte := 0;
M_VF[0].Config_DireccionRetTermicoBit := 0;
M_VF[0].Config_DireccionRetConfMarchaByte := 0;
M_VF[0].Config_DireccionRetConfMarchaBit := 0;
M_VF[0].Config_DireccionSalidaAnalogicaByte := 0;
M_VF[0].Config_EscaladoMinIngenieria := 0.0;
M_VF[0].Config_EscaladoMaxIngenieria := 50.0;
M_VF[0].Tiempos_SetPointAlarma := 10;
M_VF[0].Tiempos_Alarma := 0;
M_VF[0].Tiempos_SetPointMantenimiento := 2000.0;
M_VF[0].Tiempos_Mantenimiento := 0.0;
Agrup[0].AlgunaEnManual := FALSE;
Agrup[0].AlgunaAlarma := FALSE;
Agrup[0].NuevaAlarma := FALSE;
END_DATA_BLOCK