57 lines
1.8 KiB
Plaintext
57 lines
1.8 KiB
Plaintext
DATA_BLOCK "DB2015_M"
|
|
TITLE = DB2015_M
|
|
{ S7_Optimized_Access := 'TRUE' }
|
|
AUTHOR : ABH
|
|
FAMILY : ZeusControl
|
|
VERSION : 1.0
|
|
//Bloque de datos motor.
|
|
VAR RETAIN
|
|
M { S7_SetPoint := 'False'} : Array[0.."N_MAX_DISP_M"] of "UDT_ZC_DISP_M"; // .
|
|
END_VAR
|
|
VAR
|
|
Agrup { S7_SetPoint := 'False'} : Array[0.."N_MAX_DISP_AGRUP"] of "UDT_ZC_DISP_AGRUP";
|
|
NumDispositivos : Int;
|
|
END_VAR
|
|
|
|
|
|
BEGIN
|
|
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;
|
|
Agrup[0].AlgunaEnManual := FALSE;
|
|
Agrup[0].AlgunaAlarma := FALSE;
|
|
Agrup[0].NuevaAlarma := FALSE;
|
|
|
|
END_DATA_BLOCK
|
|
|