Obsidean_VM/04-SIDEL/00 - MASTER/Source/source/HMI_Blender_Parameters.md

2.5 KiB

// Block Type: GlobalDB
// Block Number: 1001

DATA_BLOCK "HMI_Blender_Parameters"
{ S7_Optimized_Access := 'TRUE' }
VERSION : 0.1

VAR
  Processor_Options : "Struct";
  Spare1 : Array[1..8] of Int := [0, 0, 0, 0, 0, 0, 0, 0];
  Spare4 : Real := 0.09967054;
  _RVM301_Kp : Real := 200.0;
  Actual_Recipe_Parameters : STRUCT
    _Name : String[32];
    _EnProdTemp : Bool := FALSE;
    _EnDeaireation : Bool := FALSE;
    _GAS2_Injection : Bool := FALSE;
    _AirSteril : Bool := FALSE;
    _EnBlowOffProdPipeCo2Fil : Bool := FALSE;
    _Deareation_Vacum : Bool := FALSE;
    _Deareation_Co2 : Bool := FALSE;
    _Pasteur : Bool := FALSE;
    _WaterSelection : Byte;
    _FillerNextRecipeNum : Byte;
    _BottleShape : Byte;
    _Type : Int := 0;
    _ProdMeterRecipeNum : Int := 1;
    _SyrupBrix : Real;
    _SyrupDensity : Real;
    _SyrupFactor : Real := -0.1389141;
    _ProductBrix : Real;
    _ProductionRate : Real := 4.173888e-08;
    _Ratio : Real;
    _ProdBrixOffset : Real := 0.0;
    _CO2Vols : Real := 0.0;
    _CO2Fact : Real;
    _ProdTankPress : Real;
    _SP_ProdTemp : Real;
    _PrdTankMinLevel : Real;
    _WaterValveSave : Real := 0.0;
    _SyrupValveSave : Real := 0.0;
    _CarboCO2ValveSave : Real := 0.0;
    _ProdMeterHighBrix : Real := 0.0;
    _ProdMeterLowBrix : Real := 0.0;
    _ProdMeterHighCO2 : Real := 0.0;
    _ProdMeterLowCO2 : Real := 0.0;
    _ProdMeter_ZeroCO2 : Real := 0.0;
    _ProdMeter_ZeroBrix : Real := 0.0;
    _ProdHighCond : Real := 0.0;
    _ProdLowCond : Real := 0.0;
    _BottleSize : Real := 0.0;
    _FillingValveHead_SP : Real := 0.0;
    _SyrMeter_ZeroBrix : Real := 0.0;
    _FirstProdExtraCO2Fact : Real;
    _Gas2Vols : Real := 0.0;
    _Gas2Fact : Real := 0.0;
    _SyrupPumpFreq : Real := 0.0;
    _WaterPumpFreq : Real := 0.0;
    _CO2_Air_N2_PressSelect : Int := 0;
    _KFactRVM304BlowOff : Real := 0.0;
    _ProdRecircPumpFreq : Real := 0.0;
    _DeareationFactor : Real := 0.0;
    _CarboCO2Pressure : Real := 0.0;
    _InjCO2Press_Offset : Real := 0.0;
    _ProdPump1_Hz : Real := 0.0;
    _ProdPump2_Hz : Real := 0.0;
    _Prod_Temp_Heating_Cooling : Int := 0;
  END_STRUCT;

  Spare2 : Array[1..13] of Int := [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
  Next_Recipe_Name : String[32];
  Next_Recipe_Number : Int := 0;
  Spare3 : Array[1..18] of Int := [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
  ProcessSetup : "Struct";
  _SwitchOff_DensityOK : Bool := FALSE;
END_VAR

BEGIN
  // Data Blocks have no executable code
END_DATA_BLOCK