57 lines
2.5 KiB
Plaintext
57 lines
2.5 KiB
Plaintext
(* @GLOBAL_VARIABLE_LIST := FillerHead *)
|
|
(* @PATH := '\/Filler_Head_PID_Data' *)
|
|
(* @SYMFILEFLAGS := '59392' *)
|
|
VAR_GLOBAL
|
|
gHead_PID_Cycle : REAL ;
|
|
gFillingValveHead_PV : REAL ; (* Filling Valve Head Set Point [mmH2O] *)
|
|
gSensor_Head_PV : REAL ; (* Differential Pressure Process Value [mmH2O] *)
|
|
gProd_Tank_Height : REAL ; (* Product Tank Liquid Height from Soil [mm] *)
|
|
gDiffSensor_Height : REAL ; (* Sensor Height from Soil [mm] *)
|
|
gPID_Head_Max_Value : REAL ; (* Max Head [mm] *)
|
|
gHead_PID_Max_Freq : REAL ; (* Max Filling Head PID Max Freq [Hz] *)
|
|
gHead_PID_Manual_Value : REAL ;
|
|
gFillerCentrifugalHead : REAL ; (* Centrifugal Head [mm] *)
|
|
gTotalPressLoss : REAL ; (* P3 Pump + Pipe + Filler Collector + Filling Pipes Pressure Loss [mm] *)
|
|
gHeadDinamicComp : REAL ;
|
|
gStartFillingExtraHead : REAL ; (* Head Pressure variation due to start filling *)
|
|
gStopFillingExtraHead : REAL ; (* Head Pressure variation due to stop filling *)
|
|
gFiller_Speed : REAL ; (* Filler Speed [Bott/h] *)
|
|
gFiller_Temperature : REAL ; (* Filler Temperature [°C] *)
|
|
gProd_Flow : REAL ; (* Product Flow in l/min*)
|
|
gProd_FlowEstimated : REAL ; (* Estimated Product Flow in l/min*)
|
|
gProd_FlowEstimatedSlw : REAL ; (* Estimated Product Flow in l/min*)
|
|
gFillingTime : REAL ;
|
|
|
|
g_MAN_Head : BOOL ; (* 1 = Manual 0 = Automatic *)
|
|
g_Head_PID_Enable : BOOL ; (* 1 = Enable Filling Valve Head PID *)
|
|
g_Head_CIP_Rinse : BOOL ; (* 1 = CIP or Rinse *)
|
|
g_Head_Drain : BOOL ; (* 1 = Drain *)
|
|
|
|
gOut_Freq_Head_PID : REAL ; (* uscita PID in frequenza ( 0 .. 100 Hz ) *)
|
|
g_Max_Head : BOOL ; (* 1 = massimo Battente superatoo *)
|
|
g_Min_Head : BOOL ; (* 1= Battente sotto il minimo *)
|
|
g_Head_OK : BOOL ; (* 1= Battente serbatoio OK *)
|
|
|
|
gP3_Frequency : REAL ;
|
|
|
|
gHeadFillStat_MeanValue : REAL ;
|
|
gHeadFillStat_Variance : REAL ;
|
|
gHeadFilStat_DevStd : REAL ;
|
|
gHeadPIDCtrlOk : BOOL ;
|
|
END_VAR
|
|
|
|
VAR_GLOBAL CONSTANT
|
|
gEstimatedFlowEnable : BOOL := TRUE ;
|
|
gProd_HeadPIDMax_Freq : REAL := 50.0 ; (* Head Filling PID Max Frequency during regulation in production *)
|
|
gMax_P3_Freq : REAL := 60.0 ; (* Head Filling PID Max Frequency in Manual *)
|
|
gMin_Head_Value : REAL := 0.0 ; (* Min Head [mm] *)
|
|
gDiffSensor_MaxValue : REAL := 5000.0 ;
|
|
END_VAR
|
|
(* @OBJECT_END := FillerHead *)
|
|
(* @CONNECTIONS := FillerHead
|
|
FILENAME : ''
|
|
FILETIME : 0
|
|
EXPORT : 0
|
|
NUMOFCONNECTIONS : 0
|
|
*)
|