65 lines
2.1 KiB
Plaintext
65 lines
2.1 KiB
Plaintext
{
|
|
S7_Author := "AketzaBarragues";
|
|
S7_BlockComment := "MLC_48n";
|
|
S7_BlockNumber := "2035";
|
|
S7_BlockTitle := "MLC_3xA";
|
|
S7_Family := "ZeusControl";
|
|
S7_Optimized := "TRUE";
|
|
S7_StandardRetain := "TRUE";
|
|
S7_Version := "1.0"
|
|
}
|
|
DATA_BLOCK DB2035_PID
|
|
VAR RETAIN
|
|
{
|
|
S7_MLC := "MLC_32t";
|
|
S7_Setpoint := "False"
|
|
}
|
|
"PID" : Array[0.._.N_MAX_DISP_PID] of _.UDT_ZC_DISP_PID;
|
|
Agrup : Array[0.._.N_MAX_DISP_AGRUP] of _.UDT_ZC_DISP_AGRUP;
|
|
END_VAR
|
|
|
|
VAR
|
|
NumDispositivos : Int;
|
|
END_VAR
|
|
|
|
"PID"[0].Estado_AutoMan := TRUE;
|
|
"PID"[0].Estado_ModeActivate := FALSE;
|
|
"PID"[0].Orden_Forzar := FALSE;
|
|
"PID"[0].Orden_ActivarAuto := FALSE;
|
|
"PID"[0].Orden_Ack := FALSE;
|
|
"PID"[0].Orden_Reset := FALSE;
|
|
"PID"[0].Alarmas_Error := FALSE;
|
|
"PID"[0].Config_InvertirControl := FALSE;
|
|
"PID"[0].Config_TipoEntrada := FALSE;
|
|
"PID"[0].Aux_oldForzar := FALSE;
|
|
"PID"[0].Estado_PV := 0.0;
|
|
"PID"[0].Estado_ValorSalida := 0.0;
|
|
"PID"[0].Estado_PV_0_100 := 0.0;
|
|
"PID"[0].Estado_SP_0_100 := 0.0;
|
|
"PID"[0].Estado_Error_SP_PV_0_100 := 0.0;
|
|
"PID"[0].Estado_Mode := 3;
|
|
"PID"[0].Estado_EstadoPID := 3;
|
|
"PID"[0].Orden_ConsignaAuto := 0.0;
|
|
"PID"[0].Orden_ConsignaForzado := 0.0;
|
|
"PID"[0].Alarmas_ErrorBits := 16#0000_0000;
|
|
"PID"[0].Config_Gain := 0.15;
|
|
"PID"[0].Config_Ti := 3.0;
|
|
"PID"[0].Config_Td := 0.0;
|
|
"PID"[0].Config_LimiteSuperiorSalida := 100.0;
|
|
"PID"[0].Config_LimiteInferiorSalida := 0.0;
|
|
"PID"[0].Config_LimiteSuperiorEntrada := 15000.0;
|
|
"PID"[0].Config_LimiteInferiorEntrada := 0.0;
|
|
"PID"[0].Aux_oldMode := 3;
|
|
"PID"[0].Aux_SP_Manual := 0.0;
|
|
"PID"[0].Aux_SP_Auto := 0.0;
|
|
"PID"[0].Aux_oldGain := 0.15;
|
|
"PID"[0].Aux_oldTi := 3.0;
|
|
"PID"[0].Aux_oldTd := 0.0;
|
|
{ S7_MLC := "MLC_5CL" }
|
|
PID[0] := ();
|
|
Agrup[0].AlgunaEnManual := TRUE;
|
|
Agrup[0].AlgunaAlarma := FALSE;
|
|
Agrup[0].NuevaAlarma := FALSE;
|
|
|
|
END_DATA_BLOCK
|