318 lines
14 KiB
Plaintext
318 lines
14 KiB
Plaintext
{
|
|
S7_Author := "ABH";
|
|
S7_BlockComment := "MLC_Sa";
|
|
S7_BlockNumber := "2016";
|
|
S7_BlockTitle := "MLC_e9";
|
|
S7_Family := "ZeusControl";
|
|
S7_Optimized := "TRUE";
|
|
S7_StandardRetain := "TRUE";
|
|
S7_Version := "1.0"
|
|
}
|
|
DATA_BLOCK DB2016_M_VF
|
|
VAR RETAIN
|
|
{
|
|
S7_MLC := "MLC_4LD";
|
|
S7_Setpoint := "False"
|
|
}
|
|
M_VF : Array[0.._.N_MAX_DISP_M_VF] of _.UDT_ZC_DISP_M_VF;
|
|
END_VAR
|
|
|
|
VAR
|
|
{ S7_Setpoint := "False" }
|
|
Agrup : Array[0.._.N_MAX_DISP_AGRUP] of _.UDT_ZC_DISP_AGRUP;
|
|
NumDispositivos : Int;
|
|
END_VAR
|
|
|
|
M_VF[0].Hmi_Estado := 0;
|
|
M_VF[0].Estado_ValorActual := 0.0;
|
|
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].Estado_Salida := 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].Config_TipoAcceso := 0;
|
|
M_VF[0].Estado_Escritura := 16#0000;
|
|
M_VF[0].Estado_ValorTarjeta := 0;
|
|
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;
|
|
{ S7_MLC := "MLC_4u6" }
|
|
M_VF[0] := ();
|
|
M_VF[1].Hmi_Estado := 3;
|
|
M_VF[1].Estado_ValorActual := 0.0;
|
|
M_VF[1].Estado_AutoMan := TRUE;
|
|
M_VF[1].Estado_Activado := FALSE;
|
|
M_VF[1].Estado_Enclavado := FALSE;
|
|
M_VF[1].Estado_SeguridadOk := TRUE;
|
|
M_VF[1].Estado_EntradaTermico := FALSE;
|
|
M_VF[1].Estado_EntradaConfMarcha := FALSE;
|
|
M_VF[1].Estado_Salida := FALSE;
|
|
M_VF[1].Alarmas_Termico := FALSE;
|
|
M_VF[1].Alarmas_ConfirmacionMarcha := FALSE;
|
|
M_VF[1].Alarmas_Mantenimiento := FALSE;
|
|
M_VF[1].Alarmas_Escritura := FALSE;
|
|
M_VF[1].Alarmas_Parametros := FALSE;
|
|
M_VF[1].Alarmas_General := FALSE;
|
|
M_VF[1].Orden_ActivarManual := FALSE;
|
|
M_VF[1].Orden_ActivarAuto := FALSE;
|
|
M_VF[1].Orden_ResetHoras := FALSE;
|
|
M_VF[1].Config_Habilitar := TRUE;
|
|
M_VF[1].Config_HabilitarRetornoTermico := TRUE;
|
|
M_VF[1].Config_HabilitarInvertirTermico := TRUE;
|
|
M_VF[1].Config_HabilitarRetornoConfMarcha := TRUE;
|
|
M_VF[1].Config_HabilitarInvertirConfMarcha := FALSE;
|
|
M_VF[1].Config_HabilitarMantenimiento := FALSE;
|
|
M_VF[1].Config_HabilitarAlarmaEscrituraSalida := FALSE;
|
|
M_VF[1].Aux_oldActivado := FALSE;
|
|
M_VF[1].Aux_oldAlarma := FALSE;
|
|
M_VF[1].Aux_oldAutoMan := TRUE;
|
|
M_VF[1].Config_TipoAcceso := 0;
|
|
M_VF[1].Estado_Escritura := 16#0000;
|
|
M_VF[1].Estado_ValorTarjeta := 0;
|
|
M_VF[1].Config_GrupoAlarma := 0;
|
|
M_VF[1].Orden_ConsignaManual := 75.0;
|
|
M_VF[1].Orden_ConsignaAuto := 0.0;
|
|
M_VF[1].Config_DireccionSalidaByte := 200;
|
|
M_VF[1].Config_DireccionSalidaBit := 0;
|
|
M_VF[1].Config_DireccionRetTermicoByte := 200;
|
|
M_VF[1].Config_DireccionRetTermicoBit := 1;
|
|
M_VF[1].Config_DireccionRetConfMarchaByte := 200;
|
|
M_VF[1].Config_DireccionRetConfMarchaBit := 0;
|
|
M_VF[1].Config_DireccionSalidaAnalogicaByte := 2000;
|
|
M_VF[1].Config_EscaladoMinIngenieria := 0.0;
|
|
M_VF[1].Config_EscaladoMaxIngenieria := 100.0;
|
|
M_VF[1].Tiempos_SetPointAlarma := 10;
|
|
M_VF[1].Tiempos_Alarma := 0;
|
|
M_VF[1].Tiempos_SetPointMantenimiento := 2000.0;
|
|
M_VF[1].Tiempos_Mantenimiento := 0.4722353;
|
|
{ S7_MLC := "MLC_vi" }
|
|
M_VF[1] := ();
|
|
M_VF[2].Hmi_Estado := 0;
|
|
M_VF[2].Estado_ValorActual := 0.0;
|
|
M_VF[2].Estado_AutoMan := FALSE;
|
|
M_VF[2].Estado_Activado := FALSE;
|
|
M_VF[2].Estado_Enclavado := FALSE;
|
|
M_VF[2].Estado_SeguridadOk := TRUE;
|
|
M_VF[2].Estado_EntradaTermico := FALSE;
|
|
M_VF[2].Estado_EntradaConfMarcha := FALSE;
|
|
M_VF[2].Estado_Salida := FALSE;
|
|
M_VF[2].Alarmas_Termico := FALSE;
|
|
M_VF[2].Alarmas_ConfirmacionMarcha := FALSE;
|
|
M_VF[2].Alarmas_Mantenimiento := FALSE;
|
|
M_VF[2].Alarmas_Escritura := FALSE;
|
|
M_VF[2].Alarmas_Parametros := FALSE;
|
|
M_VF[2].Alarmas_General := FALSE;
|
|
M_VF[2].Orden_ActivarManual := FALSE;
|
|
M_VF[2].Orden_ActivarAuto := FALSE;
|
|
M_VF[2].Orden_ResetHoras := FALSE;
|
|
M_VF[2].Config_Habilitar := FALSE;
|
|
M_VF[2].Config_HabilitarRetornoTermico := FALSE;
|
|
M_VF[2].Config_HabilitarInvertirTermico := FALSE;
|
|
M_VF[2].Config_HabilitarRetornoConfMarcha := FALSE;
|
|
M_VF[2].Config_HabilitarInvertirConfMarcha := FALSE;
|
|
M_VF[2].Config_HabilitarMantenimiento := FALSE;
|
|
M_VF[2].Config_HabilitarAlarmaEscrituraSalida := FALSE;
|
|
M_VF[2].Aux_oldActivado := FALSE;
|
|
M_VF[2].Aux_oldAlarma := FALSE;
|
|
M_VF[2].Aux_oldAutoMan := FALSE;
|
|
M_VF[2].Config_TipoAcceso := 0;
|
|
M_VF[2].Estado_Escritura := 16#0000;
|
|
M_VF[2].Estado_ValorTarjeta := 0;
|
|
M_VF[2].Config_GrupoAlarma := 0;
|
|
M_VF[2].Orden_ConsignaManual := 0.0;
|
|
M_VF[2].Orden_ConsignaAuto := 0.0;
|
|
M_VF[2].Config_DireccionSalidaByte := 0;
|
|
M_VF[2].Config_DireccionSalidaBit := 0;
|
|
M_VF[2].Config_DireccionRetTermicoByte := 0;
|
|
M_VF[2].Config_DireccionRetTermicoBit := 0;
|
|
M_VF[2].Config_DireccionRetConfMarchaByte := 0;
|
|
M_VF[2].Config_DireccionRetConfMarchaBit := 0;
|
|
M_VF[2].Config_DireccionSalidaAnalogicaByte := 0;
|
|
M_VF[2].Config_EscaladoMinIngenieria := 0.0;
|
|
M_VF[2].Config_EscaladoMaxIngenieria := 100.0;
|
|
M_VF[2].Tiempos_SetPointAlarma := 10;
|
|
M_VF[2].Tiempos_Alarma := 0;
|
|
M_VF[2].Tiempos_SetPointMantenimiento := 2000.0;
|
|
M_VF[2].Tiempos_Mantenimiento := 0.0;
|
|
M_VF[3].Hmi_Estado := 0;
|
|
M_VF[3].Estado_ValorActual := 0.0;
|
|
M_VF[3].Estado_AutoMan := FALSE;
|
|
M_VF[3].Estado_Activado := FALSE;
|
|
M_VF[3].Estado_Enclavado := FALSE;
|
|
M_VF[3].Estado_SeguridadOk := TRUE;
|
|
M_VF[3].Estado_EntradaTermico := FALSE;
|
|
M_VF[3].Estado_EntradaConfMarcha := FALSE;
|
|
M_VF[3].Estado_Salida := FALSE;
|
|
M_VF[3].Alarmas_Termico := FALSE;
|
|
M_VF[3].Alarmas_ConfirmacionMarcha := FALSE;
|
|
M_VF[3].Alarmas_Mantenimiento := FALSE;
|
|
M_VF[3].Alarmas_Escritura := FALSE;
|
|
M_VF[3].Alarmas_Parametros := FALSE;
|
|
M_VF[3].Alarmas_General := FALSE;
|
|
M_VF[3].Orden_ActivarManual := FALSE;
|
|
M_VF[3].Orden_ActivarAuto := FALSE;
|
|
M_VF[3].Orden_ResetHoras := FALSE;
|
|
M_VF[3].Config_Habilitar := FALSE;
|
|
M_VF[3].Config_HabilitarRetornoTermico := FALSE;
|
|
M_VF[3].Config_HabilitarInvertirTermico := FALSE;
|
|
M_VF[3].Config_HabilitarRetornoConfMarcha := FALSE;
|
|
M_VF[3].Config_HabilitarInvertirConfMarcha := FALSE;
|
|
M_VF[3].Config_HabilitarMantenimiento := FALSE;
|
|
M_VF[3].Config_HabilitarAlarmaEscrituraSalida := FALSE;
|
|
M_VF[3].Aux_oldActivado := FALSE;
|
|
M_VF[3].Aux_oldAlarma := FALSE;
|
|
M_VF[3].Aux_oldAutoMan := FALSE;
|
|
M_VF[3].Config_TipoAcceso := 0;
|
|
M_VF[3].Estado_Escritura := 16#0000;
|
|
M_VF[3].Estado_ValorTarjeta := 0;
|
|
M_VF[3].Config_GrupoAlarma := 0;
|
|
M_VF[3].Orden_ConsignaManual := 0.0;
|
|
M_VF[3].Orden_ConsignaAuto := 0.0;
|
|
M_VF[3].Config_DireccionSalidaByte := 0;
|
|
M_VF[3].Config_DireccionSalidaBit := 0;
|
|
M_VF[3].Config_DireccionRetTermicoByte := 0;
|
|
M_VF[3].Config_DireccionRetTermicoBit := 0;
|
|
M_VF[3].Config_DireccionRetConfMarchaByte := 0;
|
|
M_VF[3].Config_DireccionRetConfMarchaBit := 0;
|
|
M_VF[3].Config_DireccionSalidaAnalogicaByte := 0;
|
|
M_VF[3].Config_EscaladoMinIngenieria := 0.0;
|
|
M_VF[3].Config_EscaladoMaxIngenieria := 100.0;
|
|
M_VF[3].Tiempos_SetPointAlarma := 10;
|
|
M_VF[3].Tiempos_Alarma := 0;
|
|
M_VF[3].Tiempos_SetPointMantenimiento := 2000.0;
|
|
M_VF[3].Tiempos_Mantenimiento := 0.0;
|
|
M_VF[4].Hmi_Estado := 0;
|
|
M_VF[4].Estado_ValorActual := 0.0;
|
|
M_VF[4].Estado_AutoMan := FALSE;
|
|
M_VF[4].Estado_Activado := FALSE;
|
|
M_VF[4].Estado_Enclavado := FALSE;
|
|
M_VF[4].Estado_SeguridadOk := TRUE;
|
|
M_VF[4].Estado_EntradaTermico := FALSE;
|
|
M_VF[4].Estado_EntradaConfMarcha := FALSE;
|
|
M_VF[4].Estado_Salida := FALSE;
|
|
M_VF[4].Alarmas_Termico := FALSE;
|
|
M_VF[4].Alarmas_ConfirmacionMarcha := FALSE;
|
|
M_VF[4].Alarmas_Mantenimiento := FALSE;
|
|
M_VF[4].Alarmas_Escritura := FALSE;
|
|
M_VF[4].Alarmas_Parametros := FALSE;
|
|
M_VF[4].Alarmas_General := FALSE;
|
|
M_VF[4].Orden_ActivarManual := FALSE;
|
|
M_VF[4].Orden_ActivarAuto := FALSE;
|
|
M_VF[4].Orden_ResetHoras := FALSE;
|
|
M_VF[4].Config_Habilitar := FALSE;
|
|
M_VF[4].Config_HabilitarRetornoTermico := TRUE;
|
|
M_VF[4].Config_HabilitarInvertirTermico := FALSE;
|
|
M_VF[4].Config_HabilitarRetornoConfMarcha := TRUE;
|
|
M_VF[4].Config_HabilitarInvertirConfMarcha := FALSE;
|
|
M_VF[4].Config_HabilitarMantenimiento := FALSE;
|
|
M_VF[4].Config_HabilitarAlarmaEscrituraSalida := FALSE;
|
|
M_VF[4].Aux_oldActivado := FALSE;
|
|
M_VF[4].Aux_oldAlarma := FALSE;
|
|
M_VF[4].Aux_oldAutoMan := FALSE;
|
|
M_VF[4].Config_TipoAcceso := 0;
|
|
M_VF[4].Estado_Escritura := 16#0000;
|
|
M_VF[4].Estado_ValorTarjeta := 0;
|
|
M_VF[4].Config_GrupoAlarma := 0;
|
|
M_VF[4].Orden_ConsignaManual := 0.0;
|
|
M_VF[4].Orden_ConsignaAuto := 0.0;
|
|
M_VF[4].Config_DireccionSalidaByte := 0;
|
|
M_VF[4].Config_DireccionSalidaBit := 0;
|
|
M_VF[4].Config_DireccionRetTermicoByte := 0;
|
|
M_VF[4].Config_DireccionRetTermicoBit := 0;
|
|
M_VF[4].Config_DireccionRetConfMarchaByte := 0;
|
|
M_VF[4].Config_DireccionRetConfMarchaBit := 0;
|
|
M_VF[4].Config_DireccionSalidaAnalogicaByte := 0;
|
|
M_VF[4].Config_EscaladoMinIngenieria := 0.0;
|
|
M_VF[4].Config_EscaladoMaxIngenieria := 100.0;
|
|
M_VF[4].Tiempos_SetPointAlarma := 10;
|
|
M_VF[4].Tiempos_Alarma := 0;
|
|
M_VF[4].Tiempos_SetPointMantenimiento := 2000.0;
|
|
M_VF[4].Tiempos_Mantenimiento := 0.0;
|
|
M_VF[5].Hmi_Estado := 0;
|
|
M_VF[5].Estado_ValorActual := 0.0;
|
|
M_VF[5].Estado_AutoMan := FALSE;
|
|
M_VF[5].Estado_Activado := FALSE;
|
|
M_VF[5].Estado_Enclavado := FALSE;
|
|
M_VF[5].Estado_SeguridadOk := TRUE;
|
|
M_VF[5].Estado_EntradaTermico := FALSE;
|
|
M_VF[5].Estado_EntradaConfMarcha := FALSE;
|
|
M_VF[5].Estado_Salida := FALSE;
|
|
M_VF[5].Alarmas_Termico := FALSE;
|
|
M_VF[5].Alarmas_ConfirmacionMarcha := FALSE;
|
|
M_VF[5].Alarmas_Mantenimiento := FALSE;
|
|
M_VF[5].Alarmas_Escritura := FALSE;
|
|
M_VF[5].Alarmas_Parametros := FALSE;
|
|
M_VF[5].Alarmas_General := FALSE;
|
|
M_VF[5].Orden_ActivarManual := FALSE;
|
|
M_VF[5].Orden_ActivarAuto := FALSE;
|
|
M_VF[5].Orden_ResetHoras := FALSE;
|
|
M_VF[5].Config_Habilitar := FALSE;
|
|
M_VF[5].Config_HabilitarRetornoTermico := TRUE;
|
|
M_VF[5].Config_HabilitarInvertirTermico := FALSE;
|
|
M_VF[5].Config_HabilitarRetornoConfMarcha := TRUE;
|
|
M_VF[5].Config_HabilitarInvertirConfMarcha := FALSE;
|
|
M_VF[5].Config_HabilitarMantenimiento := FALSE;
|
|
M_VF[5].Config_HabilitarAlarmaEscrituraSalida := FALSE;
|
|
M_VF[5].Aux_oldActivado := FALSE;
|
|
M_VF[5].Aux_oldAlarma := FALSE;
|
|
M_VF[5].Aux_oldAutoMan := FALSE;
|
|
M_VF[5].Config_TipoAcceso := 0;
|
|
M_VF[5].Estado_Escritura := 16#0000;
|
|
M_VF[5].Estado_ValorTarjeta := 0;
|
|
M_VF[5].Config_GrupoAlarma := 0;
|
|
M_VF[5].Orden_ConsignaManual := 0.0;
|
|
M_VF[5].Orden_ConsignaAuto := 0.0;
|
|
M_VF[5].Config_DireccionSalidaByte := 0;
|
|
M_VF[5].Config_DireccionSalidaBit := 0;
|
|
M_VF[5].Config_DireccionRetTermicoByte := 0;
|
|
M_VF[5].Config_DireccionRetTermicoBit := 0;
|
|
M_VF[5].Config_DireccionRetConfMarchaByte := 0;
|
|
M_VF[5].Config_DireccionRetConfMarchaBit := 0;
|
|
M_VF[5].Config_DireccionSalidaAnalogicaByte := 0;
|
|
M_VF[5].Config_EscaladoMinIngenieria := 0.0;
|
|
M_VF[5].Config_EscaladoMaxIngenieria := 100.0;
|
|
M_VF[5].Tiempos_SetPointAlarma := 10;
|
|
M_VF[5].Tiempos_Alarma := 0;
|
|
M_VF[5].Tiempos_SetPointMantenimiento := 2000.0;
|
|
M_VF[5].Tiempos_Mantenimiento := 0.0;
|
|
Agrup[0].AlgunaEnManual := TRUE;
|
|
Agrup[0].AlgunaAlarma := FALSE;
|
|
Agrup[0].NuevaAlarma := FALSE;
|
|
NumDispositivos := 10;
|
|
|
|
END_DATA_BLOCK
|