Files
ZC_ESTANDAR_ALIMENTACION/PLC/Bloques de programa/2000_Dispositivos/DB2015_M.s7dcl
T

66 lines
2.3 KiB
Plaintext

{
S7_Author := "ABH";
S7_BlockComment := "MLC_4Hk";
S7_BlockNumber := "2015";
S7_BlockTitle := "MLC_3c5";
S7_Family := "ZeusControl";
S7_Optimized := "TRUE";
S7_StandardRetain := "TRUE";
S7_Version := "1.0"
}
DATA_BLOCK DB2015_M
VAR RETAIN
{
S7_MLC := "MLC_pZ";
S7_Setpoint := "False"
}
"M" : Array[0.._.N_MAX_DISP_M] of _.UDT_ZC_DISP_M;
END_VAR
VAR
{ S7_Setpoint := "False" }
Agrup : Array[0.._.N_MAX_DISP_AGRUP] of _.UDT_ZC_DISP_AGRUP;
NumDispositivos : Int;
END_VAR
"M"[0].Estado_AutoMan := FALSE;
"M"[0].Estado_Activado := FALSE;
"M"[0].Estado_Enclavado := FALSE;
"M"[0].Estado_SeguridadOk := TRUE;
"M"[0].Estado_EntradaTermico := FALSE;
"M"[0].Estado_EntradaConfMarcha := FALSE;
"M"[0].Alarmas_Termico := FALSE;
"M"[0].Alarmas_ConfirmacionMarcha := FALSE;
"M"[0].Alarmas_Mantenimiento := FALSE;
"M"[0].Alarmas_General := FALSE;
"M"[0].Orden_ActivarManual := FALSE;
"M"[0].Orden_ActivarAuto := FALSE;
"M"[0].Orden_ResetHoras := FALSE;
"M"[0].Config_Habilitar := FALSE;
"M"[0].Config_HabilitarRetornoTermico := TRUE;
"M"[0].Config_HabilitarInvertirTermico := FALSE;
"M"[0].Config_HabilitarRetornoConfMarcha := TRUE;
"M"[0].Config_HabilitarInvertirConfMarcha := FALSE;
"M"[0].Config_HabilitarMantenimiento := FALSE;
"M"[0].Aux_oldActivado := FALSE;
"M"[0].Aux_oldAlarma := FALSE;
"M"[0].Aux_oldAutoMan := FALSE;
"M"[0].Config_GrupoAlarma := 0;
"M"[0].Config_DireccionSalidaByte := 0;
"M"[0].Config_DireccionSalidaBit := 0;
"M"[0].Config_DireccionRetTermicoByte := 0;
"M"[0].Config_DireccionRetTermicoBit := 0;
"M"[0].Config_DireccionRetConfMarchaByte := 0;
"M"[0].Config_DireccionRetConfMarchaBit := 0;
"M"[0].Tiempos_SetPointTiempoAlarma := 10;
"M"[0].Tiempos_Alarma := 0;
"M"[0].Tiempos_SetPointMantenimiento := 2000.0;
"M"[0].Tiempos_Mantenimiento := 0.0;
{ S7_MLC := "MLC_4mp" }
M[0] := ();
Agrup[0].AlgunaEnManual := FALSE;
Agrup[0].AlgunaAlarma := FALSE;
Agrup[0].NuevaAlarma := FALSE;
END_DATA_BLOCK