230 lines
8.9 KiB
Plaintext
230 lines
8.9 KiB
Plaintext
{
|
|
S7_Author := "ABH";
|
|
S7_BlockComment := "MLC_4Wn";
|
|
S7_BlockNumber := "2001";
|
|
S7_BlockTitle := "MLC_jx";
|
|
S7_Family := "ZeusControl";
|
|
S7_Optimized := "TRUE";
|
|
S7_StandardRetain := "TRUE";
|
|
S7_Version := "1.0"
|
|
}
|
|
DATA_BLOCK DB2001_EA
|
|
VAR RETAIN
|
|
{
|
|
S7_MLC := "MLC_4xD";
|
|
S7_Setpoint := "False"
|
|
}
|
|
EA : Array[0.._.N_MAX_DISP_EA] of _.UDT_ZC_DISP_EA;
|
|
END_VAR
|
|
|
|
VAR
|
|
{ S7_Setpoint := "False" }
|
|
Agrup : Array[0.._.N_MAX_DISP_AGRUP] of _.UDT_ZC_DISP_AGRUP;
|
|
NumDispositivos : Int;
|
|
END_VAR
|
|
|
|
EA[0].Hmi_Estado := 0;
|
|
EA[0].Estado_ValorIngenieria := 0.0;
|
|
EA[0].Estado_AutoMan := FALSE;
|
|
EA[0].Alarmas_Min := FALSE;
|
|
EA[0].Alarmas_Max := FALSE;
|
|
EA[0].Alarmas_HiloRoto := FALSE;
|
|
EA[0].Alarmas_Lectura := FALSE;
|
|
EA[0].Alarmas_Parametros := FALSE;
|
|
EA[0].Alarmas_General := FALSE;
|
|
EA[0].Config_Habilitar := FALSE;
|
|
EA[0].Config_HabilitarAlarmaMin := FALSE;
|
|
EA[0].Config_HabilitarAlarmaMax := FALSE;
|
|
EA[0].Config_HisteresisTipo := FALSE;
|
|
EA[0].Aux_oldAlarma := FALSE;
|
|
EA[0].Aux_oldAutoMan := FALSE;
|
|
EA[0].Config_TipoAcceso := 0;
|
|
EA[0].Config_GrupoAlarma := 0;
|
|
EA[0].Estado_ValorTarjeta := 0;
|
|
EA[0].Estado_Lectura := 16#0000;
|
|
EA[0].Orden_ConsignaManual := 0.0;
|
|
EA[0].Config_DireccionEntradaByte := 0;
|
|
EA[0].Config_EscaladoMinTarjeta := 0;
|
|
EA[0].Config_EscaladoMaxTarjeta := 27648;
|
|
EA[0].Config_EscaladoMinIngenieria := 0.0;
|
|
EA[0].Config_EscaladoMaxIngenieria := 100.0;
|
|
EA[0].Config_EscaladoOffset := 0.0;
|
|
EA[0].Config_ErrorMinIngenieria := 0.0;
|
|
EA[0].Config_ErrorMaxIngenieria := 100.0;
|
|
EA[0].Config_ErrorMinHisteresis := 0.0;
|
|
EA[0].Config_ErrorMaxHisteresis := 0.0;
|
|
EA[0].Aux_Estado := 0;
|
|
{ S7_MLC := "MLC_3VM" }
|
|
EA[0] := ();
|
|
EA[1].Hmi_Estado := 1;
|
|
EA[1].Estado_ValorIngenieria := 276.4214;
|
|
EA[1].Estado_AutoMan := FALSE;
|
|
EA[1].Alarmas_Min := FALSE;
|
|
EA[1].Alarmas_Max := FALSE;
|
|
EA[1].Alarmas_HiloRoto := FALSE;
|
|
EA[1].Alarmas_Lectura := FALSE;
|
|
EA[1].Alarmas_Parametros := FALSE;
|
|
EA[1].Alarmas_General := FALSE;
|
|
EA[1].Config_Habilitar := TRUE;
|
|
EA[1].Config_HabilitarAlarmaMin := FALSE;
|
|
EA[1].Config_HabilitarAlarmaMax := FALSE;
|
|
EA[1].Config_HisteresisTipo := FALSE;
|
|
EA[1].Aux_oldAlarma := FALSE;
|
|
EA[1].Aux_oldAutoMan := FALSE;
|
|
EA[1].Config_TipoAcceso := 0;
|
|
EA[1].Config_GrupoAlarma := 0;
|
|
EA[1].Estado_ValorTarjeta := 6114;
|
|
EA[1].Estado_Lectura := 16#0000;
|
|
EA[1].Orden_ConsignaManual := 276.4214;
|
|
EA[1].Config_DireccionEntradaByte := 2000;
|
|
EA[1].Config_EscaladoMinTarjeta := 0;
|
|
EA[1].Config_EscaladoMaxTarjeta := 27648;
|
|
EA[1].Config_EscaladoMinIngenieria := 0.0;
|
|
EA[1].Config_EscaladoMaxIngenieria := 1250.0;
|
|
EA[1].Config_EscaladoOffset := 0.0;
|
|
EA[1].Config_ErrorMinIngenieria := 0.0;
|
|
EA[1].Config_ErrorMaxIngenieria := 100.0;
|
|
EA[1].Config_ErrorMinHisteresis := 0.0;
|
|
EA[1].Config_ErrorMaxHisteresis := 0.0;
|
|
EA[1].Aux_Estado := 1;
|
|
{ S7_MLC := "MLC_3T7" }
|
|
EA[1] := ();
|
|
EA[2].Hmi_Estado := 1;
|
|
EA[2].Estado_ValorIngenieria := 1.0489;
|
|
EA[2].Estado_AutoMan := FALSE;
|
|
EA[2].Alarmas_Min := FALSE;
|
|
EA[2].Alarmas_Max := FALSE;
|
|
EA[2].Alarmas_HiloRoto := FALSE;
|
|
EA[2].Alarmas_Lectura := FALSE;
|
|
EA[2].Alarmas_Parametros := FALSE;
|
|
EA[2].Alarmas_General := FALSE;
|
|
EA[2].Config_Habilitar := TRUE;
|
|
EA[2].Config_HabilitarAlarmaMin := FALSE;
|
|
EA[2].Config_HabilitarAlarmaMax := FALSE;
|
|
EA[2].Config_HisteresisTipo := FALSE;
|
|
EA[2].Aux_oldAlarma := FALSE;
|
|
EA[2].Aux_oldAutoMan := FALSE;
|
|
EA[2].Config_TipoAcceso := 0;
|
|
EA[2].Config_GrupoAlarma := 0;
|
|
EA[2].Estado_ValorTarjeta := 29;
|
|
EA[2].Estado_Lectura := 16#0000;
|
|
EA[2].Orden_ConsignaManual := 1.0489;
|
|
EA[2].Config_DireccionEntradaByte := 2002;
|
|
EA[2].Config_EscaladoMinTarjeta := 0;
|
|
EA[2].Config_EscaladoMaxTarjeta := 27648;
|
|
EA[2].Config_EscaladoMinIngenieria := 0.0;
|
|
EA[2].Config_EscaladoMaxIngenieria := 1000.0;
|
|
EA[2].Config_EscaladoOffset := 0.0;
|
|
EA[2].Config_ErrorMinIngenieria := 0.0;
|
|
EA[2].Config_ErrorMaxIngenieria := 100.0;
|
|
EA[2].Config_ErrorMinHisteresis := 0.0;
|
|
EA[2].Config_ErrorMaxHisteresis := 0.0;
|
|
EA[2].Aux_Estado := 1;
|
|
{ S7_MLC := "MLC_4zB" }
|
|
EA[2] := ();
|
|
EA[3].Hmi_Estado := 1;
|
|
EA[3].Estado_ValorIngenieria := 10.41667;
|
|
EA[3].Estado_AutoMan := FALSE;
|
|
EA[3].Alarmas_Min := FALSE;
|
|
EA[3].Alarmas_Max := FALSE;
|
|
EA[3].Alarmas_HiloRoto := FALSE;
|
|
EA[3].Alarmas_Lectura := FALSE;
|
|
EA[3].Alarmas_Parametros := FALSE;
|
|
EA[3].Alarmas_General := FALSE;
|
|
EA[3].Config_Habilitar := TRUE;
|
|
EA[3].Config_HabilitarAlarmaMin := FALSE;
|
|
EA[3].Config_HabilitarAlarmaMax := FALSE;
|
|
EA[3].Config_HisteresisTipo := FALSE;
|
|
EA[3].Aux_oldAlarma := FALSE;
|
|
EA[3].Aux_oldAutoMan := FALSE;
|
|
EA[3].Config_TipoAcceso := 0;
|
|
EA[3].Config_GrupoAlarma := 0;
|
|
EA[3].Estado_ValorTarjeta := 4;
|
|
EA[3].Estado_Lectura := 16#0000;
|
|
EA[3].Orden_ConsignaManual := 10.41667;
|
|
EA[3].Config_DireccionEntradaByte := 2004;
|
|
EA[3].Config_EscaladoMinTarjeta := 0;
|
|
EA[3].Config_EscaladoMaxTarjeta := 27648;
|
|
EA[3].Config_EscaladoMinIngenieria := 0.0;
|
|
EA[3].Config_EscaladoMaxIngenieria := 72000.0;
|
|
EA[3].Config_EscaladoOffset := 0.0;
|
|
EA[3].Config_ErrorMinIngenieria := 0.0;
|
|
EA[3].Config_ErrorMaxIngenieria := 100.0;
|
|
EA[3].Config_ErrorMinHisteresis := 0.0;
|
|
EA[3].Config_ErrorMaxHisteresis := 0.0;
|
|
EA[3].Aux_Estado := 1;
|
|
{ S7_MLC := "MLC_4ni" }
|
|
EA[3] := ();
|
|
EA[4].Hmi_Estado := 1;
|
|
EA[4].Estado_ValorIngenieria := 25.16204;
|
|
EA[4].Estado_AutoMan := FALSE;
|
|
EA[4].Alarmas_Min := FALSE;
|
|
EA[4].Alarmas_Max := FALSE;
|
|
EA[4].Alarmas_HiloRoto := FALSE;
|
|
EA[4].Alarmas_Lectura := FALSE;
|
|
EA[4].Alarmas_Parametros := FALSE;
|
|
EA[4].Alarmas_General := FALSE;
|
|
EA[4].Config_Habilitar := TRUE;
|
|
EA[4].Config_HabilitarAlarmaMin := FALSE;
|
|
EA[4].Config_HabilitarAlarmaMax := FALSE;
|
|
EA[4].Config_HisteresisTipo := FALSE;
|
|
EA[4].Aux_oldAlarma := FALSE;
|
|
EA[4].Aux_oldAutoMan := FALSE;
|
|
EA[4].Config_TipoAcceso := 0;
|
|
EA[4].Config_GrupoAlarma := 0;
|
|
EA[4].Estado_ValorTarjeta := 6076;
|
|
EA[4].Estado_Lectura := 16#0000;
|
|
EA[4].Orden_ConsignaManual := 25.16204;
|
|
EA[4].Config_DireccionEntradaByte := 2008;
|
|
EA[4].Config_EscaladoMinTarjeta := 0;
|
|
EA[4].Config_EscaladoMaxTarjeta := 27648;
|
|
EA[4].Config_EscaladoMinIngenieria := -10.0;
|
|
EA[4].Config_EscaladoMaxIngenieria := 150.0;
|
|
EA[4].Config_EscaladoOffset := 0.0;
|
|
EA[4].Config_ErrorMinIngenieria := 0.0;
|
|
EA[4].Config_ErrorMaxIngenieria := 100.0;
|
|
EA[4].Config_ErrorMinHisteresis := 0.0;
|
|
EA[4].Config_ErrorMaxHisteresis := 0.0;
|
|
EA[4].Aux_Estado := 1;
|
|
{ S7_MLC := "MLC_jP" }
|
|
EA[4] := ();
|
|
EA[5].Hmi_Estado := 1;
|
|
EA[5].Estado_ValorIngenieria := 25.19676;
|
|
EA[5].Estado_AutoMan := FALSE;
|
|
EA[5].Alarmas_Min := FALSE;
|
|
EA[5].Alarmas_Max := FALSE;
|
|
EA[5].Alarmas_HiloRoto := FALSE;
|
|
EA[5].Alarmas_Lectura := FALSE;
|
|
EA[5].Alarmas_Parametros := FALSE;
|
|
EA[5].Alarmas_General := FALSE;
|
|
EA[5].Config_Habilitar := TRUE;
|
|
EA[5].Config_HabilitarAlarmaMin := FALSE;
|
|
EA[5].Config_HabilitarAlarmaMax := FALSE;
|
|
EA[5].Config_HisteresisTipo := FALSE;
|
|
EA[5].Aux_oldAlarma := FALSE;
|
|
EA[5].Aux_oldAutoMan := FALSE;
|
|
EA[5].Config_TipoAcceso := 0;
|
|
EA[5].Config_GrupoAlarma := 0;
|
|
EA[5].Estado_ValorTarjeta := 6082;
|
|
EA[5].Estado_Lectura := 16#0000;
|
|
EA[5].Orden_ConsignaManual := 25.19676;
|
|
EA[5].Config_DireccionEntradaByte := 2010;
|
|
EA[5].Config_EscaladoMinTarjeta := 0;
|
|
EA[5].Config_EscaladoMaxTarjeta := 27648;
|
|
EA[5].Config_EscaladoMinIngenieria := -10.0;
|
|
EA[5].Config_EscaladoMaxIngenieria := 150.0;
|
|
EA[5].Config_EscaladoOffset := 0.0;
|
|
EA[5].Config_ErrorMinIngenieria := 0.0;
|
|
EA[5].Config_ErrorMaxIngenieria := 100.0;
|
|
EA[5].Config_ErrorMinHisteresis := 0.0;
|
|
EA[5].Config_ErrorMaxHisteresis := 0.0;
|
|
EA[5].Aux_Estado := 1;
|
|
{ S7_MLC := "MLC_3ah" }
|
|
EA[5] := ();
|
|
Agrup[0].AlgunaEnManual := FALSE;
|
|
Agrup[0].AlgunaAlarma := TRUE;
|
|
Agrup[0].NuevaAlarma := FALSE;
|
|
NumDispositivos := 30;
|
|
|
|
END_DATA_BLOCK
|