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

2.4 KiB

// Block Type: GlobalDB
// Block Number: 601

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

VAR
  General : "Struct";
  Spare420 : Array[0..3] of Int := [0, 0, 0, 0];
  StartUp : "Struct";
  Spare130 : Array[0..9] of Int := [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
  Production : "Struct";
  Spare210 : Array[0..19] of Int := [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
  RunOut : "Struct";
  Spare314 : Array[0..17] of Int := [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
  Totalizer : "Struct";
  AnalogAVSupport : "Struct";
  Recipe : 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;
    _WaterSelection : Byte;
    _FillerNextRecipeNum : Byte;
    _BottleShape : Byte;
    _Type : Int := 1;
    _ProdMeterRecipeNum : Int := 0;
    _SyrupBrix : Real := 50.0;
    _SyrupDensity : Real := 1.2558;
    _SyrupFactor : Real := 1.0;
    _ProductBrix : Real := 10.45;
    _ProductionRate : Real := 900.0;
    _Ratio : Real := 20.0;
    _ProdBrixOffset : Real := 0.0;
    _CO2Vols : Real := 0.0;
    _CO2Fact : Real := 1.0;
    _ProdTankPress : Real := 1.0;
    _SP_ProdTemp : Real := 10.0;
    _PrdTankMinLevel : Real := 10.0;
    _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 := 0.97;
    _Gas2Vols : Real := 0.0;
    _Gas2Fact : Real := 1.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;
  END_STRUCT;

END_VAR

BEGIN
  // Data Blocks have no executable code
END_DATA_BLOCK