67 lines
2.2 KiB
Plaintext
67 lines
2.2 KiB
Plaintext
{
|
|
S7_Author := "ABH";
|
|
S7_BlockComment := "MLC_54w";
|
|
S7_BlockNumber := "2010";
|
|
S7_BlockTitle := "MLC_Ux";
|
|
S7_Family := "ZeusControl";
|
|
S7_Optimized := "TRUE";
|
|
S7_StandardRetain := "TRUE";
|
|
S7_Version := "1.0"
|
|
}
|
|
DATA_BLOCK DB2010_V
|
|
VAR RETAIN
|
|
{
|
|
S7_MLC := "MLC_36T";
|
|
S7_Setpoint := "False"
|
|
}
|
|
V : Array[0.._.N_MAX_DISP_V] of _.UDT_ZC_DISP_V;
|
|
END_VAR
|
|
|
|
VAR
|
|
{ S7_Setpoint := "False" }
|
|
Agrup : Array[0.._.N_MAX_DISP_AGRUP] of _.UDT_ZC_DISP_AGRUP;
|
|
NumDispositivos : Int;
|
|
END_VAR
|
|
|
|
V[0].Estado_AutoMan := FALSE;
|
|
V[0].Estado_Activado := FALSE;
|
|
V[0].Estado_Enclavado := FALSE;
|
|
V[0].Estado_SeguridadOk := TRUE;
|
|
V[0].Estado_EntradaRetornoReposo := FALSE;
|
|
V[0].Estado_EntradaRetornoTrabajo := FALSE;
|
|
V[0].Alarmas_Reposo := FALSE;
|
|
V[0].Alarmas_Trabajo := FALSE;
|
|
V[0].Alarmas_Mantenimiento := FALSE;
|
|
V[0].Alarmas_Doble := FALSE;
|
|
V[0].Alarmas_General := FALSE;
|
|
V[0].Orden_ActivarManual := FALSE;
|
|
V[0].Orden_ActivarAuto := TRUE;
|
|
V[0].Orden_ResetCiclos := FALSE;
|
|
V[0].Config_Habilitar := FALSE;
|
|
V[0].Config_HabilitarRetornoReposo := TRUE;
|
|
V[0].Config_HabilitarInvertirReposo := FALSE;
|
|
V[0].Config_HabilitarRetornoTrabajo := TRUE;
|
|
V[0].Config_HabilitarInvertirTrabajo := FALSE;
|
|
V[0].Config_HabilitarMantenimiento := FALSE;
|
|
V[0].Aux_oldActivado := FALSE;
|
|
V[0].Aux_oldAlarma := FALSE;
|
|
V[0].Aux_oldAutoMan := FALSE;
|
|
V[0].Config_GrupoAlarma := 0;
|
|
V[0].Config_DireccionSalidaByte := 0;
|
|
V[0].Config_DireccionSalidaBit := 0;
|
|
V[0].Config_DireccionRetReposoByte := 0;
|
|
V[0].Config_DireccionRetReposoBit := 0;
|
|
V[0].Config_DireccionRetTrabajoByte := 0;
|
|
V[0].Config_DireccionRetTrabajoBit := 0;
|
|
V[0].Tiempos_SetPointTiempoAlarma := 10;
|
|
V[0].Tiempos_Alarma := 0;
|
|
V[0].Tiempos_SetPointCiclos := 1000;
|
|
V[0].Tiempos_Ciclos := 0;
|
|
{ S7_MLC := "MLC_k3" }
|
|
V[0] := ();
|
|
Agrup[0].AlgunaEnManual := FALSE;
|
|
Agrup[0].AlgunaAlarma := FALSE;
|
|
Agrup[0].NuevaAlarma := FALSE;
|
|
|
|
END_DATA_BLOCK
|