From 27442c88fd9345c904ff768e0f676e7f1bfd4075 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sat, 19 Apr 2025 12:56:26 +0200 Subject: [PATCH] Funcionando en General - con un parsing basico de XML-SCL a Texto-SCL --- BlenderCtrl__Main_simplified.json | 467 ++++++++++---- BlenderCtrl__Main_simplified_processed.json | 529 ++++++++++++---- BlenderCtrl__Main_simplified_processed.scl | 23 +- XSD Schema Definition/SW.Common_v3.xsd.xml | 284 +++++++++ .../SW.Interface.Snapshot.xsd.xml | 19 + .../SW.InterfaceSections_v5.xsd.xml | 162 +++++ .../SW.PlcBlocks.Access_v4.xsd.xml | 593 ++++++++++++++++++ .../SW.PlcBlocks.CompileUnitCommon_v4.xsd.xml | 31 + .../SW.PlcBlocks.Graph_v5.xsd.xml | 350 +++++++++++ ....PlcBlocks.InstanceSupervisions_v3.xsd.xml | 46 ++ .../SW.PlcBlocks.LADFBD_v4.xsd.xml | 150 +++++ .../SW.PlcBlocks.SCL_v3.xsd.xml | 19 + .../SW.PlcBlocks.STL_v4.xsd.xml | 482 ++++++++++++++ .../SW.PlcBlocks.TypeSupervisions_v3.xsd.xml | 154 +++++ ...gicalObjects_AdditionalDataAxis_v1.xsd.xml | 132 ++++ ...bjects_AdditionalDataKinematics_v1.xsd.xml | 97 +++ ...ts_AdditionalDataMeasuringInput_v1.xsd.xml | 45 ++ ...Objects_AdditionalDataOutputCam_v1.xsd.xml | 49 ++ ...TechnologicalObjects_Parameters_v1.xsd.xml | 38 ++ ...nologicalObjects_ProfileDataCam_v1.xsd.xml | 345 ++++++++++ 20 files changed, 3767 insertions(+), 248 deletions(-) create mode 100644 XSD Schema Definition/SW.Common_v3.xsd.xml create mode 100644 XSD Schema Definition/SW.Interface.Snapshot.xsd.xml create mode 100644 XSD Schema Definition/SW.InterfaceSections_v5.xsd.xml create mode 100644 XSD Schema Definition/SW.PlcBlocks.Access_v4.xsd.xml create mode 100644 XSD Schema Definition/SW.PlcBlocks.CompileUnitCommon_v4.xsd.xml create mode 100644 XSD Schema Definition/SW.PlcBlocks.Graph_v5.xsd.xml create mode 100644 XSD Schema Definition/SW.PlcBlocks.InstanceSupervisions_v3.xsd.xml create mode 100644 XSD Schema Definition/SW.PlcBlocks.LADFBD_v4.xsd.xml create mode 100644 XSD Schema Definition/SW.PlcBlocks.SCL_v3.xsd.xml create mode 100644 XSD Schema Definition/SW.PlcBlocks.STL_v4.xsd.xml create mode 100644 XSD Schema Definition/SW.PlcBlocks.TypeSupervisions_v3.xsd.xml create mode 100644 XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataAxis_v1.xsd.xml create mode 100644 XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataKinematics_v1.xsd.xml create mode 100644 XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataMeasuringInput_v1.xsd.xml create mode 100644 XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataOutputCam_v1.xsd.xml create mode 100644 XSD Schema Definition/SW.TechnologicalObjects_Parameters_v1.xsd.xml create mode 100644 XSD Schema Definition/SW.TechnologicalObjects_ProfileDataCam_v1.xsd.xml diff --git a/BlenderCtrl__Main_simplified.json b/BlenderCtrl__Main_simplified.json index b261235..7d1d7b7 100644 --- a/BlenderCtrl__Main_simplified.json +++ b/BlenderCtrl__Main_simplified.json @@ -106,7 +106,9 @@ "name": "\"AUX FALSE\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -131,14 +133,6 @@ } }, "outputs": { - "DSTBLK": [ - { - "uid": "24", - "scope": "GlobalVariable", - "type": "variable", - "name": "\"Filler_Head_Variables\".\"FillerHead\"" - } - ], "RET_VAL": [ { "uid": "23", @@ -146,6 +140,14 @@ "type": "variable", "name": "\"Block_Move_Err\"" } + ], + "DSTBLK": [ + { + "uid": "24", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"Filler_Head_Variables\".\"FillerHead\"" + } ] } } @@ -174,7 +176,9 @@ "name": "\"gIN_VoltageOk\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "25", @@ -196,7 +200,9 @@ "name": "\"M19000\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -245,7 +251,9 @@ "name": "\"gIN_LinePressCO2Ok\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "30", @@ -264,7 +272,9 @@ "name": "\"gWorkshopTest\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "31", @@ -288,7 +298,9 @@ "name": "\"gWorkshop_Co2_Presence\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "32", @@ -312,7 +324,9 @@ "name": "\"gWorkshop_CIP_Signals\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "33", @@ -336,7 +350,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "34", @@ -358,7 +374,9 @@ "name": "\"HMI_Digital\".\"_PAL_S11\".\"Filtered\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "35", @@ -382,7 +400,9 @@ "name": "\"Disable_Bit\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "36", @@ -406,7 +426,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "37", @@ -428,7 +450,9 @@ "name": "\"gIN_VoltageOk\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "38", @@ -516,7 +540,9 @@ "name": "\"FirstScan\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "25", @@ -531,6 +557,12 @@ "source_instruction_uid": "24", "source_pin": "out" }, + "timer": { + "uid": "22", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mDelayPowerOnTmr\"" + }, "tv": { "uid": "23", "scope": "TypedConstant", @@ -572,7 +604,9 @@ "name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "24", @@ -623,7 +657,9 @@ "name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -708,7 +744,9 @@ "name": "\"AUX FALSE\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "27", @@ -825,7 +863,9 @@ "name": "\"System_RunOut_Variables\".\"ProdPipeRunOutWaterCount\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "24", @@ -874,7 +914,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "28", @@ -893,7 +935,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "29", @@ -917,7 +961,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "30", @@ -941,7 +987,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "31", @@ -963,7 +1011,9 @@ "name": "\"Blender_Variables_Pers\".\"gWaterRecipe\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "32", @@ -987,7 +1037,9 @@ "name": "\"Blender_Variables_Pers\".\"gCarboStillRecipe\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "33", @@ -1036,7 +1088,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "27", @@ -1058,7 +1112,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "28", @@ -1080,7 +1136,9 @@ "name": "\"Blender_Variables_Pers\".\"gWaterRecipe\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "29", @@ -1104,7 +1162,9 @@ "name": "\"Blender_Variables_Pers\".\"gCarboStillRecipe\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "30", @@ -1153,7 +1213,9 @@ "name": "\"gSyrupRoomEn\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "31", @@ -1177,7 +1239,9 @@ "name": "\"gIN_HVP301_Aux\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "32", @@ -1201,7 +1265,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "33", @@ -1223,7 +1289,9 @@ "name": "\"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "34", @@ -1247,7 +1315,9 @@ "name": "\"Procedure_Variables\".\"Syr_RunOut\".\"Done\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "35", @@ -1269,7 +1339,9 @@ "name": "\"gBlenderCIPMode\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "36", @@ -1291,7 +1363,9 @@ "name": "\"gIN_CIP_CIPRunning\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "37", @@ -1313,7 +1387,9 @@ "name": "\"Procedure_Variables\".\"Blender_Run\".\"Running\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "38", @@ -1337,7 +1413,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "39", @@ -1386,7 +1464,9 @@ "name": "\"gIN_HVM302_Aux\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -1401,6 +1481,12 @@ "source_instruction_uid": "25", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mHVM302_Dly\"" + }, "tv": { "uid": "22", "scope": "TypedConstant", @@ -1415,7 +1501,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + } }, { "instruction_uid": "27", @@ -1464,7 +1552,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "25", @@ -1495,7 +1585,9 @@ "value": 6 } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -1538,7 +1630,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "25", @@ -1569,7 +1663,9 @@ "value": 5 } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -1612,7 +1708,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_SyrBrixMeter\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "23", @@ -1655,7 +1753,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "25", @@ -1686,7 +1786,9 @@ "value": 3 } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -1794,7 +1896,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_InverterRecirPumpPPM306\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "23", @@ -1858,7 +1962,9 @@ "name": "\"gBlenderProdMode\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -1880,7 +1986,9 @@ "name": "\"M19001\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "27", @@ -1904,7 +2012,9 @@ "name": "\"mDelayPowerOnTmr\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "28", @@ -1953,7 +2063,9 @@ "name": "\"gProductionONS\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "25", @@ -1972,7 +2084,9 @@ "name": "\"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -1996,7 +2110,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "27", @@ -2020,7 +2136,9 @@ "name": "\"Blender_Variables_Pers\".\"gBlenderStarted\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "28", @@ -2063,7 +2181,9 @@ "name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -2085,7 +2205,9 @@ "name": "\"M19002\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "27", @@ -2109,7 +2231,9 @@ "name": "\"mDelayPowerOnTmr\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "28", @@ -2158,7 +2282,9 @@ "name": "\"gBlenderCIPMode\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -2180,7 +2306,9 @@ "name": "\"M19003\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "27", @@ -2204,7 +2332,9 @@ "name": "\"mDelayPowerOnTmr\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "28", @@ -2253,7 +2383,9 @@ "name": "\"gCIPONS\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "23", @@ -2531,7 +2663,9 @@ "name": "\"mDelayPowerOnTmr\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "23", @@ -2618,7 +2752,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Report\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "23", @@ -2766,7 +2902,9 @@ "name": "\"gBlendResetTotalizer\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "25", @@ -2781,6 +2919,12 @@ "source_instruction_uid": "24", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mResetTotalizerTmr\"" + }, "tv": { "uid": "22", "scope": "TypedConstant", @@ -2822,7 +2966,9 @@ "name": "\"gFTN301_ResetTot\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "27", @@ -2841,7 +2987,9 @@ "name": "\"mResetTotalizerTmr\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "28", @@ -2865,7 +3013,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "29", @@ -2880,6 +3030,12 @@ "source_instruction_uid": "28", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mResetFTN301TotTmr\"" + }, "tv": { "uid": "24", "scope": "TypedConstant", @@ -2894,7 +3050,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + } }, { "instruction_uid": "30", @@ -2943,7 +3101,9 @@ "name": "\"gFTN301_ResetTot\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "24", @@ -2992,7 +3152,9 @@ "name": "\"gFTP302_ResetTot\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "28", @@ -3011,7 +3173,9 @@ "name": "\"mResetTotalizerTmr\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "29", @@ -3035,7 +3199,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "30", @@ -3050,6 +3216,12 @@ "source_instruction_uid": "29", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mResetFTP302TotTmr\"" + }, "tv": { "uid": "24", "scope": "TypedConstant", @@ -3064,7 +3236,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + } }, { "instruction_uid": "31", @@ -3086,7 +3260,9 @@ "name": "\"gSyrupRoomEn\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "32", @@ -3135,7 +3311,9 @@ "name": "\"gFTP302_ResetTot\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "24", @@ -3184,7 +3362,9 @@ "name": "\"gFTM303_ResetTot\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "27", @@ -3203,7 +3383,9 @@ "name": "\"mResetTotalizerTmr\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "28", @@ -3227,7 +3409,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "29", @@ -3242,6 +3426,12 @@ "source_instruction_uid": "28", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mResetFTM303TotTmr\"" + }, "tv": { "uid": "24", "scope": "TypedConstant", @@ -3256,7 +3446,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + } }, { "instruction_uid": "30", @@ -3305,7 +3497,9 @@ "name": "\"gFTM303_ResetTot\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "24", @@ -3354,7 +3548,9 @@ "name": "\"gProductMFMResetTot\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "27", @@ -3373,7 +3569,9 @@ "name": "\"mResetTotalizerTmr\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "28", @@ -3397,7 +3595,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "29", @@ -3412,6 +3612,12 @@ "source_instruction_uid": "28", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mResetProductTotTmr\"" + }, "tv": { "uid": "24", "scope": "TypedConstant", @@ -3426,7 +3632,9 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + } }, { "instruction_uid": "30", @@ -3475,7 +3683,9 @@ "name": "\"gProductMFMResetTot\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "24", @@ -3524,7 +3734,9 @@ "name": "\"gBlendResetTotalizer\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "24", @@ -3575,7 +3787,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Simulation\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "27", @@ -3681,7 +3895,9 @@ "name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "26", @@ -3703,7 +3919,9 @@ "name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "27", @@ -3725,7 +3943,9 @@ "name": "\"M19011\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "28", @@ -3811,7 +4031,9 @@ "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "34", @@ -3835,7 +4057,9 @@ "name": "\"mFP_Recip_Main_Page\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "35", @@ -3898,7 +4122,9 @@ "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "38", @@ -3920,29 +4146,46 @@ "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "39", "uid": "39", - "type": "SdCoil", + "type": "Se", "template_values": {}, "negated_pins": {}, "inputs": { - "in": { + "s": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "38", "source_pin": "out" }, - "operand": { + "timer": { "uid": "27", "scope": "GlobalVariable", "type": "variable", "name": "\"T_Pulse_Recipe_Edit\"" + }, + "tv": { + "uid": "28", + "scope": "TypedConstant", + "type": "constant", + "datatype": "TypedConstant", + "value": "S5T#500ms" + }, + "en": { + "type": "connection", + "source_instruction_uid": "38", + "source_instruction_type": "Contact", + "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + } }, { "instruction_uid": "40", @@ -3955,7 +4198,7 @@ "type": "connection", "source_instruction_type": "SdCoil", "source_instruction_uid": "39", - "source_pin": "out" + "source_pin": "q" }, "operand": { "uid": "29", @@ -3964,7 +4207,9 @@ "name": "\"T_Pulse_Recipe_Edit\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "41", @@ -4005,7 +4250,9 @@ "name": "\"mAux_FP_M700_1\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "43", @@ -4054,7 +4301,9 @@ "name": "\"AUX TRUE\"" } }, - "outputs": {} + "outputs": { + "out": [] + } }, { "instruction_uid": "43", diff --git a/BlenderCtrl__Main_simplified_processed.json b/BlenderCtrl__Main_simplified_processed.json index 247fb6d..c7805e6 100644 --- a/BlenderCtrl__Main_simplified_processed.json +++ b/BlenderCtrl__Main_simplified_processed.json @@ -108,7 +108,9 @@ "name": "\"AUX FALSE\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"AUX FALSE\"" }, { @@ -134,14 +136,6 @@ } }, "outputs": { - "DSTBLK": [ - { - "uid": "24", - "scope": "GlobalVariable", - "type": "variable", - "name": "\"Filler_Head_Variables\".\"FillerHead\"" - } - ], "RET_VAL": [ { "uid": "23", @@ -149,6 +143,14 @@ "type": "variable", "name": "\"Block_Move_Err\"" } + ], + "DSTBLK": [ + { + "uid": "24", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"Filler_Head_Variables\".\"FillerHead\"" + } ] }, "scl": "IF \"AUX FALSE\" THEN\n \"Block_Move_Err\" := BLKMOV(SRCBLK := \"HMI_PID\".\"PPM303\", DSTBLK => \"Filler_Head_Variables\".\"FillerHead\"); // ADVERTENCIA: BLKMOV usado directamente, probablemente no compile!\nEND_IF;" @@ -178,7 +180,9 @@ "name": "\"gIN_VoltageOk\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gIN_VoltageOk\"" }, { @@ -201,7 +205,9 @@ "name": "\"M19000\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "_edge_mem_update_scl": "\"M19000\" := \"gIN_VoltageOk\"; // N_TRIG(\"gIN_VoltageOk\")", "scl": "// Logic moved to Coil 26" }, @@ -253,7 +259,9 @@ "name": "\"gIN_LinePressCO2Ok\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gIN_LinePressCO2Ok\"" }, { @@ -273,7 +281,9 @@ "name": "\"gWorkshopTest\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gWorkshopTest\"" }, { @@ -298,7 +308,9 @@ "name": "\"gWorkshop_Co2_Presence\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")" }, { @@ -323,7 +335,9 @@ "name": "\"gWorkshop_CIP_Signals\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")" }, { @@ -348,7 +362,9 @@ "source_pin": "out" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Logic O 33: \"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")" }, { @@ -371,7 +387,9 @@ "name": "\"HMI_Digital\".\"_PAL_S11\".\"Filtered\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND \"HMI_Digital\".\"_PAL_S11\".\"Filtered\"" }, { @@ -396,7 +414,9 @@ "name": "\"Disable_Bit\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND (NOT \"Disable_Bit\")" }, { @@ -421,7 +441,9 @@ "source_pin": "out" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Logic O 36: ((\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND \"HMI_Digital\".\"_PAL_S11\".\"Filtered\") OR (\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND (NOT \"Disable_Bit\")" }, { @@ -444,7 +466,9 @@ "name": "\"gIN_VoltageOk\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: ((\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND \"HMI_Digital\".\"_PAL_S11\".\"Filtered\") OR (\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND (NOT \"Disable_Bit\") AND \"gIN_VoltageOk\"" }, { @@ -535,13 +559,15 @@ "name": "\"FirstScan\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"FirstScan\"" }, { "instruction_uid": "25", "uid": "25", - "type": "Se", + "type": "Se_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -551,6 +577,12 @@ "source_instruction_uid": "24", "source_pin": "out" }, + "timer": { + "uid": "22", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mDelayPowerOnTmr\"" + }, "tv": { "uid": "23", "scope": "TypedConstant", @@ -565,7 +597,8 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": {}, + "scl": "\"mDelayPowerOnTmr\"(IN := \"FirstScan\", PT := S5T#2S); // TODO: Declarar \"mDelayPowerOnTmr\" : TP; en VAR_STAT o VAR" } ], "language": "LAD" @@ -592,7 +625,9 @@ "name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" }, { @@ -645,7 +680,9 @@ "name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (NOT \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\")" }, { @@ -733,7 +770,9 @@ "name": "\"AUX FALSE\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (NOT \"AUX FALSE\")" }, { @@ -855,7 +894,9 @@ "name": "\"System_RunOut_Variables\".\"ProdPipeRunOutWaterCount\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (NOT \"System_RunOut_Variables\".\"ProdPipeRunOutWaterCount\")" }, { @@ -906,7 +947,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\"" }, { @@ -926,7 +969,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\"" }, { @@ -951,7 +996,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\" AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\")" }, { @@ -976,7 +1023,9 @@ "source_pin": "out" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Logic O 30: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\" OR (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\" AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\"))" }, { @@ -999,7 +1048,9 @@ "name": "\"Blender_Variables_Pers\".\"gWaterRecipe\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\" OR (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\" AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\"))) AND \"Blender_Variables_Pers\".\"gWaterRecipe\"" }, { @@ -1024,7 +1075,9 @@ "name": "\"Blender_Variables_Pers\".\"gCarboStillRecipe\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: ((\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\" OR (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\" AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\"))) AND \"Blender_Variables_Pers\".\"gWaterRecipe\") AND (NOT \"Blender_Variables_Pers\".\"gCarboStillRecipe\")" }, { @@ -1075,7 +1128,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\"" }, { @@ -1098,7 +1153,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\" AND \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\"" }, { @@ -1121,7 +1178,9 @@ "name": "\"Blender_Variables_Pers\".\"gWaterRecipe\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\" AND \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\") AND \"Blender_Variables_Pers\".\"gWaterRecipe\"" }, { @@ -1146,7 +1205,9 @@ "name": "\"Blender_Variables_Pers\".\"gCarboStillRecipe\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: ((\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\" AND \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\") AND \"Blender_Variables_Pers\".\"gWaterRecipe\") AND (NOT \"Blender_Variables_Pers\".\"gCarboStillRecipe\")" }, { @@ -1197,7 +1258,9 @@ "name": "\"gSyrupRoomEn\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gSyrupRoomEn\"" }, { @@ -1222,7 +1285,9 @@ "name": "\"gIN_HVP301_Aux\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")" }, { @@ -1247,7 +1312,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\")" }, { @@ -1270,7 +1337,9 @@ "name": "\"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\") AND \"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\"" }, { @@ -1295,7 +1364,9 @@ "name": "\"Procedure_Variables\".\"Syr_RunOut\".\"Done\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: ((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\") AND \"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\") AND (NOT \"Procedure_Variables\".\"Syr_RunOut\".\"Done\")" }, { @@ -1318,7 +1389,9 @@ "name": "\"gBlenderCIPMode\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\"" }, { @@ -1341,7 +1414,9 @@ "name": "\"gIN_CIP_CIPRunning\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: ((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\") AND \"gIN_CIP_CIPRunning\"" }, { @@ -1364,7 +1439,9 @@ "name": "\"Procedure_Variables\".\"Blender_Run\".\"Running\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\") AND \"gIN_CIP_CIPRunning\") AND \"Procedure_Variables\".\"Blender_Run\".\"Running\"" }, { @@ -1389,7 +1466,9 @@ "source_pin": "out" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Logic O 38: ((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\") AND \"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\") AND (NOT \"Procedure_Variables\".\"Syr_RunOut\".\"Done\") OR ((((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\") AND \"gIN_CIP_CIPRunning\") AND \"Procedure_Variables\".\"Blender_Run\".\"Running\")" }, { @@ -1440,13 +1519,15 @@ "name": "\"gIN_HVM302_Aux\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gIN_HVM302_Aux\"" }, { "instruction_uid": "26", "uid": "26", - "type": "Sd", + "type": "Sd_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -1456,6 +1537,12 @@ "source_instruction_uid": "25", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mHVM302_Dly\"" + }, "tv": { "uid": "22", "scope": "TypedConstant", @@ -1470,12 +1557,15 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + }, + "scl": "\"mHVM302_Dly\"(IN := \"gIN_HVM302_Aux\", PT := S5T#1S); // TODO: Declarar \"mHVM302_Dly\" : TON; en VAR_STAT o VAR" }, { "instruction_uid": "27", "uid": "27", - "type": "Coil", + "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -1492,7 +1582,8 @@ "name": "\"gHVM302_Open\"" } }, - "outputs": {} + "outputs": {}, + "scl": "\"gHVM302_Open\" := \"mHVM302_Dly\".Q;" } ], "language": "LAD" @@ -1519,7 +1610,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" }, { @@ -1551,7 +1644,9 @@ "value": 6 } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Comparison Eq 25: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 6" }, { @@ -1596,7 +1691,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" }, { @@ -1628,7 +1725,9 @@ "value": 5 } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Comparison Eq 25: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 5" }, { @@ -1673,7 +1772,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_SyrBrixMeter\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_SyrBrixMeter\"" }, { @@ -1718,7 +1819,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" }, { @@ -1750,7 +1853,9 @@ "value": 3 } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Comparison Eq 25: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 3" }, { @@ -1863,7 +1968,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_InverterRecirPumpPPM306\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_InverterRecirPumpPPM306\"" }, { @@ -1930,7 +2037,9 @@ "name": "\"gBlenderProdMode\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gBlenderProdMode\"" }, { @@ -1953,7 +2062,9 @@ "name": "\"M19001\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "_edge_mem_update_scl": "\"M19001\" := \"gBlenderProdMode\"; // P_TRIG(\"gBlenderProdMode\")", "scl": "// PBox Logic moved to consumer Coil" }, @@ -1979,7 +2090,9 @@ "name": "\"mDelayPowerOnTmr\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"gBlenderProdMode\" AND NOT \"M19001\") AND (NOT \"mDelayPowerOnTmr\")" }, { @@ -2030,7 +2143,9 @@ "name": "\"gProductionONS\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gProductionONS\"" }, { @@ -2050,7 +2165,9 @@ "name": "\"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\"" }, { @@ -2075,7 +2192,9 @@ "source_pin": "out" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Logic O 26: \"gProductionONS\" OR \"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\"" }, { @@ -2100,7 +2219,9 @@ "name": "\"Blender_Variables_Pers\".\"gBlenderStarted\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"gProductionONS\" OR \"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\") AND (NOT \"Blender_Variables_Pers\".\"gBlenderStarted\")" }, { @@ -2145,7 +2266,9 @@ "name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" }, { @@ -2168,7 +2291,9 @@ "name": "\"M19002\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "_edge_mem_update_scl": "\"M19002\" := \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"; // P_TRIG(\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\")", "scl": "// PBox Logic moved to consumer Coil" }, @@ -2194,7 +2319,9 @@ "name": "\"mDelayPowerOnTmr\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\" AND NOT \"M19002\") AND (NOT \"mDelayPowerOnTmr\")" }, { @@ -2245,7 +2372,9 @@ "name": "\"gBlenderCIPMode\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gBlenderCIPMode\"" }, { @@ -2268,7 +2397,9 @@ "name": "\"M19003\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "_edge_mem_update_scl": "\"M19003\" := \"gBlenderCIPMode\"; // P_TRIG(\"gBlenderCIPMode\")", "scl": "// PBox Logic moved to consumer Coil" }, @@ -2294,7 +2425,9 @@ "name": "\"mDelayPowerOnTmr\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (\"gBlenderCIPMode\" AND NOT \"M19003\") AND (NOT \"mDelayPowerOnTmr\")" }, { @@ -2345,7 +2478,9 @@ "name": "\"gCIPONS\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gCIPONS\"" }, { @@ -2636,7 +2771,9 @@ "name": "\"mDelayPowerOnTmr\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (NOT \"mDelayPowerOnTmr\")" }, { @@ -2727,7 +2864,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Report\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Report\"" }, { @@ -2882,13 +3021,15 @@ "name": "\"gBlendResetTotalizer\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gBlendResetTotalizer\"" }, { "instruction_uid": "25", "uid": "25", - "type": "Se", + "type": "Se_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -2898,6 +3039,12 @@ "source_instruction_uid": "24", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mResetTotalizerTmr\"" + }, "tv": { "uid": "22", "scope": "TypedConstant", @@ -2912,7 +3059,8 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": {}, + "scl": "\"mResetTotalizerTmr\"(IN := \"gBlendResetTotalizer\", PT := S5T#2S); // TODO: Declarar \"mResetTotalizerTmr\" : TP; en VAR_STAT o VAR" } ], "language": "LAD" @@ -2939,7 +3087,9 @@ "name": "\"gFTN301_ResetTot\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gFTN301_ResetTot\"" }, { @@ -2959,7 +3109,9 @@ "name": "\"mResetTotalizerTmr\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"mResetTotalizerTmr\"" }, { @@ -2984,13 +3136,15 @@ "source_pin": "out" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Logic O 28: \"gFTN301_ResetTot\" OR \"mResetTotalizerTmr\"" }, { "instruction_uid": "29", "uid": "29", - "type": "Se", + "type": "Se_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -3000,6 +3154,12 @@ "source_instruction_uid": "28", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mResetFTN301TotTmr\"" + }, "tv": { "uid": "24", "scope": "TypedConstant", @@ -3014,12 +3174,15 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + }, + "scl": "\"mResetFTN301TotTmr\"(IN := \"gFTN301_ResetTot\" OR \"mResetTotalizerTmr\", PT := S5T#2S); // TODO: Declarar \"mResetFTN301TotTmr\" : TP; en VAR_STAT o VAR" }, { "instruction_uid": "30", "uid": "30", - "type": "Coil", + "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -3036,7 +3199,8 @@ "name": "\"mResetWaterTot\"" } }, - "outputs": {} + "outputs": {}, + "scl": "\"mResetWaterTot\" := \"mResetFTN301TotTmr\".Q;" } ], "language": "LAD" @@ -3063,7 +3227,9 @@ "name": "\"gFTN301_ResetTot\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gFTN301_ResetTot\"" }, { @@ -3114,7 +3280,9 @@ "name": "\"gFTP302_ResetTot\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gFTP302_ResetTot\"" }, { @@ -3134,7 +3302,9 @@ "name": "\"mResetTotalizerTmr\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"mResetTotalizerTmr\"" }, { @@ -3159,13 +3329,15 @@ "source_pin": "out" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Logic O 29: \"gFTP302_ResetTot\" OR \"mResetTotalizerTmr\"" }, { "instruction_uid": "30", "uid": "30", - "type": "Se", + "type": "Se_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -3175,6 +3347,12 @@ "source_instruction_uid": "29", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mResetFTP302TotTmr\"" + }, "tv": { "uid": "24", "scope": "TypedConstant", @@ -3189,12 +3367,15 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + }, + "scl": "\"mResetFTP302TotTmr\"(IN := \"gFTP302_ResetTot\" OR \"mResetTotalizerTmr\", PT := S5T#2S); // TODO: Declarar \"mResetFTP302TotTmr\" : TP; en VAR_STAT o VAR" }, { "instruction_uid": "31", "uid": "31", - "type": "Contact", + "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -3211,12 +3392,15 @@ "name": "\"gSyrupRoomEn\"" } }, - "outputs": {} + "outputs": { + "out": [] + }, + "scl": "// RLO: \"mResetFTP302TotTmr\".Q AND \"gSyrupRoomEn\"" }, { "instruction_uid": "32", "uid": "32", - "type": "Coil", + "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -3233,7 +3417,8 @@ "name": "\"mResetSyrupTot\"" } }, - "outputs": {} + "outputs": {}, + "scl": "\"mResetSyrupTot\" := \"mResetFTP302TotTmr\".Q AND \"gSyrupRoomEn\";" } ], "language": "LAD" @@ -3260,7 +3445,9 @@ "name": "\"gFTP302_ResetTot\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gFTP302_ResetTot\"" }, { @@ -3311,7 +3498,9 @@ "name": "\"gFTM303_ResetTot\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gFTM303_ResetTot\"" }, { @@ -3331,7 +3520,9 @@ "name": "\"mResetTotalizerTmr\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"mResetTotalizerTmr\"" }, { @@ -3356,13 +3547,15 @@ "source_pin": "out" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Logic O 28: \"gFTM303_ResetTot\" OR \"mResetTotalizerTmr\"" }, { "instruction_uid": "29", "uid": "29", - "type": "Se", + "type": "Se_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -3372,6 +3565,12 @@ "source_instruction_uid": "28", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mResetFTM303TotTmr\"" + }, "tv": { "uid": "24", "scope": "TypedConstant", @@ -3386,12 +3585,15 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + }, + "scl": "\"mResetFTM303TotTmr\"(IN := \"gFTM303_ResetTot\" OR \"mResetTotalizerTmr\", PT := S5T#2S); // TODO: Declarar \"mResetFTM303TotTmr\" : TP; en VAR_STAT o VAR" }, { "instruction_uid": "30", "uid": "30", - "type": "Coil", + "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -3408,7 +3610,8 @@ "name": "\"mResetCO2Tot\"" } }, - "outputs": {} + "outputs": {}, + "scl": "\"mResetCO2Tot\" := \"mResetFTM303TotTmr\".Q;" } ], "language": "LAD" @@ -3435,7 +3638,9 @@ "name": "\"gFTM303_ResetTot\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gFTM303_ResetTot\"" }, { @@ -3486,7 +3691,9 @@ "name": "\"gProductMFMResetTot\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gProductMFMResetTot\"" }, { @@ -3506,7 +3713,9 @@ "name": "\"mResetTotalizerTmr\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"mResetTotalizerTmr\"" }, { @@ -3531,13 +3740,15 @@ "source_pin": "out" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// Logic O 28: \"gProductMFMResetTot\" OR \"mResetTotalizerTmr\"" }, { "instruction_uid": "29", "uid": "29", - "type": "Se", + "type": "Se_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -3547,6 +3758,12 @@ "source_instruction_uid": "28", "source_pin": "out" }, + "timer": { + "uid": "23", + "scope": "GlobalVariable", + "type": "variable", + "name": "\"mResetProductTotTmr\"" + }, "tv": { "uid": "24", "scope": "TypedConstant", @@ -3561,12 +3778,15 @@ "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + }, + "scl": "\"mResetProductTotTmr\"(IN := \"gProductMFMResetTot\" OR \"mResetTotalizerTmr\", PT := S5T#2S); // TODO: Declarar \"mResetProductTotTmr\" : TP; en VAR_STAT o VAR" }, { "instruction_uid": "30", "uid": "30", - "type": "Coil", + "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -3583,7 +3803,8 @@ "name": "\"mResetProductTot\"" } }, - "outputs": {} + "outputs": {}, + "scl": "\"mResetProductTot\" := \"mResetProductTotTmr\".Q;" } ], "language": "LAD" @@ -3610,7 +3831,9 @@ "name": "\"gProductMFMResetTot\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gProductMFMResetTot\"" }, { @@ -3661,7 +3884,9 @@ "name": "\"gBlendResetTotalizer\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"gBlendResetTotalizer\"" }, { @@ -3714,7 +3939,9 @@ "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Simulation\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Simulation\")" }, { @@ -3825,7 +4052,9 @@ "name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\"" }, { @@ -3848,7 +4077,9 @@ "name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\" AND \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\"" }, { @@ -3871,7 +4102,9 @@ "name": "\"M19011\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "_edge_mem_update_scl": "\"M19011\" := (\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\" AND \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\"); // N_TRIG((\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\" AND \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\"))", "scl": "// NBox Logic moved to consumer Coil" }, @@ -3962,7 +4195,9 @@ "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" }, { @@ -3987,7 +4222,9 @@ "name": "\"mFP_Recip_Main_Page\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\" AND (NOT \"mFP_Recip_Main_Page\")" }, { @@ -4053,7 +4290,9 @@ "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" }, { @@ -4076,35 +4315,53 @@ "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\" AND \"HMI_Variables_Cmd\".\"Recipe\".\"Edit\"" }, { "instruction_uid": "39", "uid": "39", - "type": "SdCoil", + "type": "Se_scl", "template_values": {}, "negated_pins": {}, "inputs": { - "in": { + "s": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "38", "source_pin": "out" }, - "operand": { + "timer": { "uid": "27", "scope": "GlobalVariable", "type": "variable", "name": "\"T_Pulse_Recipe_Edit\"" + }, + "tv": { + "uid": "28", + "scope": "TypedConstant", + "type": "constant", + "datatype": "TypedConstant", + "value": "S5T#500ms" + }, + "en": { + "type": "connection", + "source_instruction_uid": "38", + "source_instruction_type": "Contact", + "source_pin": "out" } }, - "outputs": {} + "outputs": { + "q": [] + }, + "scl": "\"T_Pulse_Recipe_Edit\"(IN := \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\" AND \"HMI_Variables_Cmd\".\"Recipe\".\"Edit\", PT := S5T#500ms); // TODO: Declarar \"T_Pulse_Recipe_Edit\" : TP; en VAR_STAT o VAR" }, { "instruction_uid": "40", "uid": "40", - "type": "Contact", + "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -4112,7 +4369,7 @@ "type": "connection", "source_instruction_type": "SdCoil", "source_instruction_uid": "39", - "source_pin": "out" + "source_pin": "q" }, "operand": { "uid": "29", @@ -4121,12 +4378,15 @@ "name": "\"T_Pulse_Recipe_Edit\"" } }, - "outputs": {} + "outputs": { + "out": [] + }, + "scl": "// RLO: \"T_Pulse_Recipe_Edit\".Q AND \"T_Pulse_Recipe_Edit\"" }, { "instruction_uid": "41", "uid": "41", - "type": "RCoil", + "type": "RCoil_scl", "template_values": {}, "negated_pins": {}, "inputs": { @@ -4143,7 +4403,8 @@ "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\"" } }, - "outputs": {} + "outputs": {}, + "scl": "IF \"T_Pulse_Recipe_Edit\".Q AND \"T_Pulse_Recipe_Edit\" THEN\n \"HMI_Variables_Cmd\".\"Recipe\".\"Edit\" := FALSE;\nEND_IF;" }, { "instruction_uid": "42", @@ -4162,7 +4423,9 @@ "name": "\"mAux_FP_M700_1\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"mAux_FP_M700_1\"" }, { @@ -4213,7 +4476,9 @@ "name": "\"AUX TRUE\"" } }, - "outputs": {}, + "outputs": { + "out": [] + }, "scl": "// RLO: \"AUX TRUE\"" }, { diff --git a/BlenderCtrl__Main_simplified_processed.scl b/BlenderCtrl__Main_simplified_processed.scl index 5276434..1cf79be 100644 --- a/BlenderCtrl__Main_simplified_processed.scl +++ b/BlenderCtrl__Main_simplified_processed.scl @@ -57,7 +57,7 @@ BEGIN // Network 7: Delay Power On (Original Language: LAD) - // Network did not produce printable SCL code. + "mDelayPowerOnTmr"(IN := "FirstScan", PT := S5T#2S); // TODO: Declarar "mDelayPowerOnTmr" : TP; en VAR_STAT o VAR // Network 8: Production Mode (Original Language: LAD) @@ -103,7 +103,8 @@ BEGIN // Network 15: Manual Syrup Drain Valve Open - Operator Alarm (Original Language: LAD) - // Network did not produce printable SCL code. + "mHVM302_Dly"(IN := "gIN_HVM302_Aux", PT := S5T#1S); // TODO: Declarar "mHVM302_Dly" : TON; en VAR_STAT o VAR + "gHVM302_Open" := "mHVM302_Dly".Q; // Network 16: Maselli Control (Original Language: LAD) @@ -267,11 +268,12 @@ BEGIN // Network 50: ResetTotalizer (Original Language: LAD) - // Network did not produce printable SCL code. + "mResetTotalizerTmr"(IN := "gBlendResetTotalizer", PT := S5T#2S); // TODO: Declarar "mResetTotalizerTmr" : TP; en VAR_STAT o VAR // Network 51: ResetWaterTot (Original Language: LAD) - // Network did not produce printable SCL code. + "mResetFTN301TotTmr"(IN := "gFTN301_ResetTot" OR "mResetTotalizerTmr", PT := S5T#2S); // TODO: Declarar "mResetFTN301TotTmr" : TP; en VAR_STAT o VAR + "mResetWaterTot" := "mResetFTN301TotTmr".Q; // Network 52: Water VFM Reset Totalizer (Original Language: LAD) @@ -281,7 +283,8 @@ BEGIN // Network 53: ResetCO2Tot (Original Language: LAD) - // Network did not produce printable SCL code. + "mResetFTP302TotTmr"(IN := "gFTP302_ResetTot" OR "mResetTotalizerTmr", PT := S5T#2S); // TODO: Declarar "mResetFTP302TotTmr" : TP; en VAR_STAT o VAR + "mResetSyrupTot" := "mResetFTP302TotTmr".Q AND "gSyrupRoomEn"; // Network 54: Syrup MFM Reset Totalizer (Original Language: LAD) @@ -291,7 +294,8 @@ BEGIN // Network 55: ResetProductTot (Original Language: LAD) - // Network did not produce printable SCL code. + "mResetFTM303TotTmr"(IN := "gFTM303_ResetTot" OR "mResetTotalizerTmr", PT := S5T#2S); // TODO: Declarar "mResetFTM303TotTmr" : TP; en VAR_STAT o VAR + "mResetCO2Tot" := "mResetFTM303TotTmr".Q; // Network 56: CO2 MFM Reset Tot (Original Language: LAD) @@ -301,7 +305,8 @@ BEGIN // Network 57: ResetCO2Tot (Original Language: LAD) - // Network did not produce printable SCL code. + "mResetProductTotTmr"(IN := "gProductMFMResetTot" OR "mResetTotalizerTmr", PT := S5T#2S); // TODO: Declarar "mResetProductTotTmr" : TP; en VAR_STAT o VAR + "mResetProductTot" := "mResetProductTotTmr".Q; // Network 58: Reset Totalizer (Original Language: LAD) @@ -349,6 +354,10 @@ BEGIN "mAux_FP_M700_1" := "HMI_Variables_Cmd"."Recipe"."Main_Page" AND (NOT "mFP_Recip_Main_Page"); "mFP_Recip_Main_Page" := "HMI_Variables_Cmd"."Recipe"."Main_Page"; + "T_Pulse_Recipe_Edit"(IN := "HMI_Variables_Cmd"."Recipe"."Main_Page" AND "HMI_Variables_Cmd"."Recipe"."Edit", PT := S5T#500ms); // TODO: Declarar "T_Pulse_Recipe_Edit" : TP; en VAR_STAT o VAR + IF "T_Pulse_Recipe_Edit".Q AND "T_Pulse_Recipe_Edit" THEN + "HMI_Variables_Cmd"."Recipe"."Edit" := FALSE; + END_IF; IF "mAux_FP_M700_1" THEN "HMI_Variables_Cmd"."Recipe"."Edit" := TRUE; END_IF; diff --git a/XSD Schema Definition/SW.Common_v3.xsd.xml b/XSD Schema Definition/SW.Common_v3.xsd.xml new file mode 100644 index 0000000..19255f0 --- /dev/null +++ b/XSD Schema Definition/SW.Common_v3.xsd.xml @@ -0,0 +1,284 @@ + + + + + + + + + + + + + + + + + + + + + + A member attribute with a type restriction of boolean. + + + + + + + + + Exported only with ReadOnly option, ignored during import. + + + + + An attribute of attribute, denotes if it is defined by a user or the system itself. In V14, if exists it is always true. + + + + + + + + + Not allowed in STL + + + + + LAD/FBD: Only for Parts + + + + + + + + + + + + + + + For NumBLs in STL. NumBLs is the count of the blank spaces before the actual text in the Comment. This is informative. + + + + + + + Denotes if the comment is at the end of the line (using /*/) or inside the line (using (/* */) ) + + + + + Exported only with ReadOnly option, ignored during import. + + + + + + + + + + + + Exported only with ReadOnly option, ignored during import. + + + + + An attribute of attribute, denotes if it is defined by a user or the system itself. In V14, if exists it is always true. + + + + + + + + + + + + + + A member attribute with a type restriction of integer. + + + + + Not for LAD/FBD. + + + + + + + Exported only with ReadOnly option, ignored during import. + + + + + An attribute of attribute, denotes if it is defined by a user or the system itself. In V14, if exists it is always true. + + + + + + + + + + + + + + Not for LAD/FBD + + + + + + + For NumBLs in STL. NumBLs is the count of the blank spaces before the actual text in the LineComment. This is informative. + + + + + + + + + + Denotes if the comment is at the end of the line (using //) or inside the line (using /* */) + + + + + + + + + + + + + + + + + + + + + + A member attribute with a type restriction of real. + + + + + + + + + Exported only with ReadOnly option, ignored during import. + + + + + An attribute of attribute, denotes if it is defined by a user or the system itself. In V14, if exists it is always true. + + + + + + + + + + + + + + + + + + + + + + + + + + + + A member attribute with a type restriction of string. + + + + + + + + + Exported only with ReadOnly option, ignored during import. + + + + + An attribute of attribute, denotes if it is defined by a user or the system itself. In V14, if exists it is always true. + + + + + + + + + + + + + + + + + + + + + + + + + + For NumBLs. NumBLs is the count of the blank spaces at the start.This is informative. + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XSD Schema Definition/SW.Interface.Snapshot.xsd.xml b/XSD Schema Definition/SW.Interface.Snapshot.xsd.xml new file mode 100644 index 0000000..cb59523 --- /dev/null +++ b/XSD Schema Definition/SW.Interface.Snapshot.xsd.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/XSD Schema Definition/SW.InterfaceSections_v5.xsd.xml b/XSD Schema Definition/SW.InterfaceSections_v5.xsd.xml new file mode 100644 index 0000000..7f0ba20 --- /dev/null +++ b/XSD Schema Definition/SW.InterfaceSections_v5.xsd.xml @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The version of the library type to use. Previous to this, the version was written inside the Datatype attribute itself, like "dtl:v1.0". Now, this is written in two separate attributes, to mitigate problems with weird names ("dtl:v1.0" could be a UDT name!). + + + + + + + + + + + Write acces only inside function + + + + + string: Member shares offset with another member in this structure + + + + + boolean: Member can be synchronized with work memory + + + + + boolean: Editor does not show the member + + + + + boolean: User cannot change member name + + + + + boolean: Editor does not allow to delete the member + + + + + boolean: No HMI access, no structure item + + + + + boolean: Filter to reduce the number of members shown in the first place + + + + + integer: + + + + + integer: + + + + + boolean: Hide assignement at call if matches with PredefinedAssignment + + + + + string: Input for the paramter used when call is placed + + + + + boolean: The user cannot change the predefined assignement at the call + + + + + + + + + + + + + + + + + Base Class + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XSD Schema Definition/SW.PlcBlocks.Access_v4.xsd.xml b/XSD Schema Definition/SW.PlcBlocks.Access_v4.xsd.xml new file mode 100644 index 0000000..86c4cef --- /dev/null +++ b/XSD Schema Definition/SW.PlcBlocks.Access_v4.xsd.xml @@ -0,0 +1,593 @@ + + + + + + + + + + Byte * 8 + Bit + + + + + + + + + + + + + + + + + + + for NumBLs. NumBLs is informative. Not for LAD/FBD. + + + + + + + + call of a user block. Not in Graph ActionList. + + + + + call of an instruction. Not for LAD/FBD, Graph ActionList. + + + + + STL specific + + + + + + Only in SCL + + + + + SCL specific + + + + + + for absolute addresses + + + + + + + + + + + + + + + Not allowed in STL + + + + + + + + + + + + + + + + + + + + + for DB access + + + + + In general it is Byte * 8 + Bit. But if it is used for addressing a DB we will find the number of the DB here (e.g. "DB12" ->12). + + + + + if true, the import unnoted it + + + + + + + + + + + + + + + + + partly qualified access with DB register + + + + + partly qualified access with DI register + + + + + + + Classic Local Stack + + + + + + + + + + + + + + + + + + + Not for LAD/FBD. + + + + + for BlockNumber. BlockNumber is informative. + + + + + for ParameterModifiedTS. ParameterModifiedTS is informative + + + + + + + + + + + + + + + + + SCL + + + + + SCL + + + + + For the indices of an array + + + + + + + + + + If component has child AccessModifier is Array else AccessModifier is None + + + + + + + + + + + + for Format and FormatFlags. They are informative.. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + the DOT; only if separated. Not in Graph ActionList, not in LAD/FBD. + + + + + + + + + Not allowed in STL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SCL only + + + + + + + + + + + + + + for InterfaceFlags. InterfaceFlags is informative + The type of the value should be InterfaceFlags_TP + The default value is "S7_Visible" + + + + + + + + + + + + + for NumBLs. NumBLs is informative + + + + + for InterfaceFlags. InterfaceFlags is informative + The type of the value should be InterfaceFlags_TP + The default value is "S7_Visible" + + + + + + + + + + + + + + + + + + + + + + + + + + + + SCL + + + + + + + + + SCL + + + + + + + + + + + + + + + + + Symbols we do not know what they are + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Only for S7-300/400/WinAC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SCL. + + + + + + + + Not allowed in STL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XSD Schema Definition/SW.PlcBlocks.CompileUnitCommon_v4.xsd.xml b/XSD Schema Definition/SW.PlcBlocks.CompileUnitCommon_v4.xsd.xml new file mode 100644 index 0000000..4212279 --- /dev/null +++ b/XSD Schema Definition/SW.PlcBlocks.CompileUnitCommon_v4.xsd.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + for NumBLs. NumBLs is informative + + + + + + + + the COLON; only if separated + + + + + + + + Not allowed in STL + + + + diff --git a/XSD Schema Definition/SW.PlcBlocks.Graph_v5.xsd.xml b/XSD Schema Definition/SW.PlcBlocks.Graph_v5.xsd.xml new file mode 100644 index 0000000..6f27866 --- /dev/null +++ b/XSD Schema Definition/SW.PlcBlocks.Graph_v5.xsd.xml @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Temporary change for enable of empty alarm text because of the graph alarm handling reconstruction. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Enabler token + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + For translated transiton names + + + + + + + + + For translated step names + + + + + + + + diff --git a/XSD Schema Definition/SW.PlcBlocks.InstanceSupervisions_v3.xsd.xml b/XSD Schema Definition/SW.PlcBlocks.InstanceSupervisions_v3.xsd.xml new file mode 100644 index 0000000..a8371ae --- /dev/null +++ b/XSD Schema Definition/SW.PlcBlocks.InstanceSupervisions_v3.xsd.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XSD Schema Definition/SW.PlcBlocks.LADFBD_v4.xsd.xml b/XSD Schema Definition/SW.PlcBlocks.LADFBD_v4.xsd.xml new file mode 100644 index 0000000..4cd4a14 --- /dev/null +++ b/XSD Schema Definition/SW.PlcBlocks.LADFBD_v4.xsd.xml @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The invisible pins of this part. + + + + + + The name of the invisible pin. + + + + + + + + + + + + + The name of the negated pin. + + + + + + The negated pins of this part. + + + + + + The name of the automatic chosen template parameter. Not for InstructionRef + + + + + + + + + + + + The equation of this part. This is only used for the Calculate box. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XSD Schema Definition/SW.PlcBlocks.SCL_v3.xsd.xml b/XSD Schema Definition/SW.PlcBlocks.SCL_v3.xsd.xml new file mode 100644 index 0000000..65b5aad --- /dev/null +++ b/XSD Schema Definition/SW.PlcBlocks.SCL_v3.xsd.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/XSD Schema Definition/SW.PlcBlocks.STL_v4.xsd.xml b/XSD Schema Definition/SW.PlcBlocks.STL_v4.xsd.xml new file mode 100644 index 0000000..be6b647 --- /dev/null +++ b/XSD Schema Definition/SW.PlcBlocks.STL_v4.xsd.xml @@ -0,0 +1,482 @@ + + + + + + + + + + + + + + missing for empty lines + + + + + + + + + Not allowed in STL + + + + + + + + + for NumBLs. NumBLs is informative + + + + + + + e.g 0 1 for NOP 0, NOP 1; STW for L STW or DILG for L DILG; only if separated by comment + + + + + + + Not allowed in STL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SE, SV + + + + + + + SF, SA + + + + + SS + + + + + SD, SE + + + + + SP, SI + + + + + + + + + + AUF + + + + + AUF DI + + + + + + + + + + + + + + + + + + + + + + + SPA + + + + + SPB + + + + + SPO + + + + + SPZ + + + + + SPP + + + + + SPM + + + + + SPN + + + + + SPBN + + + + + SPBB + + + + + SPBNB + + + + + SPBI + + + + + SPBNI + + + + + SPS + + + + + SPU + + + + + SPMZ + + + + + SPZ + + + + + + + + + + + + SSD, SVD + + + + + SSW, SVW + + + + + + + + + + + + + + + + + + + + + + + + KEW, INV_F + + + + + KZW, NEG_F + + + + + KED + + + + + KZD + + + + + NEG_G, ND + + + + + ABS_G + + + + + + + + + + + + + + + + + DEF + + + + + DUF + + + + + DED + + + + + DUD + + + + + FDG + + + + + GFDN + + + + + GFDM + + + + + GFDP + + + + + + FD + + + + + TAW + + + + + TAD + + + + + + + +F + + + + + -F + + + + + xF + + + + + :F + + + + + +D + + + + + -D + + + + + xD + + + + + :D + + + + + + + + + + +G + + + + + -G + + + + + xG + + + + + :G + + + + + TAK + + + + + + + + + + + BEB + + + + + ) + + + + + + + + MCR( + + + + + MCR) + + + + + + + + + + + + TAR + + + + + TDB + + + + + + + + + + BEA + + + + + + diff --git a/XSD Schema Definition/SW.PlcBlocks.TypeSupervisions_v3.xsd.xml b/XSD Schema Definition/SW.PlcBlocks.TypeSupervisions_v3.xsd.xml new file mode 100644 index 0000000..3f9745f --- /dev/null +++ b/XSD Schema Definition/SW.PlcBlocks.TypeSupervisions_v3.xsd.xml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataAxis_v1.xsd.xml b/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataAxis_v1.xsd.xml new file mode 100644 index 0000000..feffa1b --- /dev/null +++ b/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataAxis_v1.xsd.xml @@ -0,0 +1,132 @@ + + + + + + + + + + Describes additional data, such as Connections, for Axis and ExternalEncoder TOs. + + + + + + + + + + + Describes a connection of a TO interface. + + + + Specifies the Interface of the TO that is connected. + + + + + Input bit address. + + + + + Output bit address. + + + + + Connect option used when the connection has been created. + + + + + Index of sensor in actor telegram if connected to same telegram. + + + + + Path to a DB member. + + + + + Name of a connected tag for analog connection. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Contains a list of master values for TO_SynchronousAxis. + + + + + Describes a reference to a master value TO that is coupled via set points. + + + + + Describes a reference to a master value TO that is coupled via actual values. + + + + + Describes a reference to a master value TO that is coupled via delayed values. + + + + + Describes a reference to a master value TO of type LeadingAxisProxy. + + + + + + + + + Describes a reference to a Technological Object. + + + + Specifies the name of the referenced Technological Object. + + + + + Specifies the type of the referenced Technological Object. + + + + + diff --git a/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataKinematics_v1.xsd.xml b/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataKinematics_v1.xsd.xml new file mode 100644 index 0000000..568f342 --- /dev/null +++ b/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataKinematics_v1.xsd.xml @@ -0,0 +1,97 @@ + + + + + + + + + + Describes additional data, such as connected axes, for Kinematics TOs. + + + + + + + + + + + Describes a reference to a Technological Object. + + + + Specifies the name of the referenced Technological Object. + + + + + Specifies the name of the referenced Technological Object. + + + + + Specifies the type of the referenced Technological Object. + + + + + + + + + + + + + + + + Contains a list of leading values for conveyor tracking. + + + + + Describes a reference to a leading value TO that is coupled via set points. + + + + + Describes a reference to a leading value TO that is coupled via actual values. + + + + + Describes a reference to a leading value TO that is coupled via delayed values. + + + + + Describes a reference to a leading value TO of type LeadingAxisProxy. + + + + + + + + + Describes a reference to a Technological Object. + + + + Specifies the name of the referenced Technological Object. + + + + + Specifies the type of the referenced Technological Object. + + + + + diff --git a/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataMeasuringInput_v1.xsd.xml b/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataMeasuringInput_v1.xsd.xml new file mode 100644 index 0000000..8d2b293 --- /dev/null +++ b/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataMeasuringInput_v1.xsd.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + Describes additional data, such as Connections, for MeasuringInput TOs. + + + + + + + + + + Describes a connection of a TO interface. + + + + Specifies the Interface of the TO that is connected. + + + + + Input bit address. + + + + + + + + + + + + diff --git a/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataOutputCam_v1.xsd.xml b/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataOutputCam_v1.xsd.xml new file mode 100644 index 0000000..7629aa2 --- /dev/null +++ b/XSD Schema Definition/SW.TechnologicalObjects_AdditionalDataOutputCam_v1.xsd.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + Describes additional data, such as Connections, for OutputCam and CamTrack TOs. + + + + + + + + + + Describes a connection of a TO interface. + + + + Specifies the Interface of the TO that is connected. + + + + + Output bit address. + + + + + Name of a connected tag. + + + + + + + + + + + diff --git a/XSD Schema Definition/SW.TechnologicalObjects_Parameters_v1.xsd.xml b/XSD Schema Definition/SW.TechnologicalObjects_Parameters_v1.xsd.xml new file mode 100644 index 0000000..17a4f01 --- /dev/null +++ b/XSD Schema Definition/SW.TechnologicalObjects_Parameters_v1.xsd.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + Describes a list of parameters. + + + + + + + + + + + Describes a single parameter, having Name and Value. If the Value is missing, the default value of the Parameter is used. + + + + Name of the Parameter + + + + + Value of the Parameter + + + + diff --git a/XSD Schema Definition/SW.TechnologicalObjects_ProfileDataCam_v1.xsd.xml b/XSD Schema Definition/SW.TechnologicalObjects_ProfileDataCam_v1.xsd.xml new file mode 100644 index 0000000..20ee84f --- /dev/null +++ b/XSD Schema Definition/SW.TechnologicalObjects_ProfileDataCam_v1.xsd.xml @@ -0,0 +1,345 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file