ParamManagerScripts/backend/script_groups/TwinCat/.example/SYSTEMRUNOUT_VARIABLES.EXP

151 lines
5.7 KiB
Plaintext

(* @GLOBAL_VARIABLE_LIST := SystemRunOut_Variables *)
(* @PATH := '\/Blending_Variables\/System Run Out Variables' *)
(* @SYMFILEFLAGS := '59392' *)
VAR_GLOBAL CONSTANT
gProdTankRunOutStep0Time : TIME := t#500ms ; (* Step 0 Product Tank Run Out Time *)
gProdPipeDrainStep0Time : TIME := t#40s ; (* Step 0 Product Pipe Drain Time *)
gFillerRinseStep0Time : TIME := t#2s ; (* Step 0 Filler Rinse Time *)
gFastRinseStep0Time : TIME := t#1m20s ; (* Step 0 Blender Fast Rinse Time *)
gProdPipeRunOutWaterCountEn : BOOL := TRUE ; (* Water Count Liters used to push Product *)
gSyrupTankVolume : REAL := 66.0 ; (* Syrup Tank Total Volume *)
gSyrupTankBottomVol : REAL := 7.8 ; (* Syrup Tank Bottom Volume Below Analog level Probe *)
gSyrupTankSyrupAmount : REAL := 30.0 ; (* Syrup tank syrup amount when analog level probe NOT present - Liters *)
gFillerProductAvailableAmount : REAL := 250.0 ; (* Filler Tank Product Amount - Liters - To be used if the filler doesn't have the analog level probe *)
gProdAvailBottle_ToFillerBottleBlock : REAL := 4500.0 ; (* Number of empty Container *)
END_VAR
VAR_GLOBAL
gProdPipeRunOutFillerBottleCountEn : BOOL ; (* Filler Bottle Count Used to push Product *)
gProdTankDrainStep0Time : TIME ; (* Step 0 Product Tank Drain Time t#6s *)
gProdTankDrainStep1Time : TIME ; (* Step 1 Product Tank Drain Time t#50s *)
gProdPipeRunOutStep0Time : TIME ; (* Step 0 Product Pipe Run Out Time t#0ms*)
gH2OOpenInProdPipeRunOut : REAL ; (*30.0Start up *)
gSyrupValveProdPipeRunOut : REAL ; (*90.0 Start up *)
gProdPipeRunOutProdAmount : REAL ; (* Water amount used to push product through product pipe + serpentine - in Liters 250 *)
gProdTankRunOutChillerAmount : REAL ; (* Water amount used to push product through product chiller - in Liters 30 *)
gChillerPushDone : BOOL ;
gLoadNextRecipe : BOOL ;
gSystemRunOutInit : BOOL ;
gFillerNextRecipeNum : SINT ; (* *)
gProdAvailToFillerRunOut : REAL ;
gTotalProductAvailable : REAL ;
gTotalProductAvailableBottle : REAL ;
gTankProductAvailable : REAL ;
gPrdPipeProductAvailable : REAL ;
gSyrupProductAvailable : REAL ;
gFillerProductAvailable : REAL ;
gContainerSize : REAL ;
gTotalEmptyContainer : REAL ; (* Number of Empty Container *)
gFillerRinseTankEmpty : BOOL ;
gFillerRinseTankDrain : BOOL ;
gFromFillerFastRinseCompleted : BOOL ;
gInConveyerFull : BOOL ;
gIn_Flr_WaterRinseRequest : BOOL ; (* *)
gIn_Flr_FastChangeLastContainerFilled : BOOL ; (* *)
gIn_Flr_FastRinseCompleted : BOOL ;
gIn_Flr_OpenEV69ProdPipeDrain : BOOL ;
gIn_FillerRinseTankMaxLevel : BOOL ;
gIn_FillerRinseTankMinLevel : BOOL ;
gOutFillerSlowSpeed : BOOL ;
gOut_OpenEV68InletWater : BOOL ;
gOut_OpenEV66FlrTankOut : BOOL ;
gOut_OpenEV71RinseTankSprayBall : BOOL ;
gOut_OpenEV71FillerProductPipeDrain : BOOL ;
gOut_OpenEV72RinseTankDrain : BOOL ;
gOut_OpenEV69ProdPipeDrain2 : BOOL ;
gOut_StartRinseTankPump : BOOL ;
gOut_Flr_FastRinseReq : BOOL ;
gOut_Flr_WaterRinseReady : BOOL ;
gOut_Flr_ProductCompleted : BOOL ; (* No more product available *)
gOut_Flr_FillerRunOutReq : BOOL ; (* Last 500 liters of product available *)
gToFillerStartPipeRunOut : BOOL ;
gFillerLevel : REAL ;
gFillerBottleCount : REAL ;
gCloseSyrupLineValves : BOOL ;
gSyrupLine1_EV64 : BOOL ;
gSyrupLine2_EV65 : BOOL ;
(************************************************************************************)
(* SYSTEM RUN OUT VARIABLES *)
(************************************************************************************)
gSystemRunOut_Qualifier : BOOL ; (* *)
gSystemRunOut_Request : BOOL ; (* *)
gSystemRunOut_Reset : BOOL ; (* *)
gSystemRunOut_Latch : BOOL ; (* *)
gSystemRunOut_Running : BOOL ; (* *)
gSystemRunOut_Wait : BOOL ; (* *)
gProdPipeRunOut_Qualifier : BOOL ; (* *)
gProdPipeRunOut_Request : BOOL ; (* *)
gProdPipeRunOut_Reset : BOOL ; (* *)
gProdPipeRunOut_Latch : BOOL ; (* *)
gProdPipeRunOut_Running : BOOL ; (* *)
gProdPipeRunOut_Wait : BOOL ; (* *)
gFillerRinse_Qualifier : BOOL ; (* *)
gFillerRinse_Request : BOOL ; (* *)
gFillerRinse_Reset : BOOL ; (* *)
gFillerRinse_Latch : BOOL ; (* *)
gFillerRinse_Running : BOOL ; (* *)
gFillerRinse_Wait : BOOL ; (* *)
gFastRinse_Qualifier : BOOL ; (* *)
gFastRinse_Request : BOOL ; (* *)
gFastRinse_Reset : BOOL ; (* *)
gFastRinse_Latch : BOOL ; (* *)
gFastRinse_Running : BOOL ; (* *)
gFastRinse_Wait : BOOL ; (* *)
gProdPipeDrain_Qualifier : BOOL ; (* *)
gProdPipeDrain_Request : BOOL ; (* *)
gProdPipeDrain_Reset : BOOL ; (* *)
gProdPipeDrain_Latch : BOOL ; (* *)
gProdPipeDrain_Running : BOOL ; (* *)
gProdPipeDrain_Wait : BOOL ; (* *)
END_VAR
VAR_GLOBAL PERSISTENT
gSystemRunOutStarted : BOOL ;
gFastChangeOverActivated : BOOL ;
gProdPipeRunOutProdTotalizer : REAL ;
gProdTankRunOutProdTotalizer : REAL ;
gSystemRunOut_Done : BOOL ; (* *)
gProdPipeRunOut_Done : BOOL ; (* *)
gFillerRinse_Done : BOOL ; (* *)
gFastRinse_Done : BOOL ; (* *)
gProdPipeDrain_Done : BOOL ; (* *)
gFillerRanOut : BOOL ; (* *)
gToFillerProdRunOut : BOOL ; (* *)
gToFillerProductCompleted : BOOL ; (* *)
gFillerTankRinseLoaded : BOOL ;
gProdTankRunOutPushCountInit : REAL ;
gProdTankRunOutPushCount : REAL ;
gProdPipeRunOutPushCountInit : REAL ;
gProdPipeRunOutPushCount : REAL ;
END_VAR
(* @OBJECT_END := SystemRunOut_Variables *)
(* @CONNECTIONS := SystemRunOut_Variables
FILENAME : ''
FILETIME : 0
EXPORT : 0
NUMOFCONNECTIONS : 0
*)