{ "block_name": "BlenderCtrl__Main", "block_number": 2000, "language": "LAD", "block_comment": "", "interface": { "Temp": [ { "name": "All_Auto_RETVAL", "datatype": "Int" }, { "name": "Reset_SP_Word_RETVAL", "datatype": "Int" }, { "name": "mResetWaterTot", "datatype": "Bool" }, { "name": "mResetSyrupTot", "datatype": "Bool" }, { "name": "mResetCO2Tot", "datatype": "Bool" }, { "name": "mResetProductTot", "datatype": "Bool" }, { "name": "Block_Move_Err", "datatype": "Int" } ], "Return": [ { "name": "Ret_Val", "datatype": "Void" } ] }, "networks": [ { "id": "9", "title": "Clock Generation", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "Clock Signal", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "Clock_Signal();" } ], "language": "LAD" }, { "id": "1A", "title": "Machine Init", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "BlenderCtrl_MachineInit", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "BlenderCtrl_MachineInit();" } ], "language": "LAD" }, { "id": "2B", "title": "Filler Head", "comment": "", "logic": [ { "instruction_uid": "25", "uid": "25", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"AUX FALSE\"" } }, "outputs": {}, "scl": "// RLO: \"AUX FALSE\"" }, { "instruction_uid": "26", "uid": "26", "type": "BLKMOV_scl", "template_values": { "blk_type": "Type" }, "negated_pins": {}, "inputs": { "en": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "25", "source_pin": "out" }, "SRCBLK": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_PID\".\"PPM303\"" } }, "outputs": { "DSTBLK": [ { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"Filler_Head_Variables\".\"FillerHead\"" } ], "RET_VAL": [ { "uid": "23", "scope": "LocalVariable", "type": "variable", "name": "\"Block_Move_Err\"" } ] }, "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;" } ], "language": "LAD" }, { "id": "3C", "title": "Emergency Pressed", "comment": "", "logic": [ { "instruction_uid": "24", "uid": "24", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gIN_VoltageOk\"" } }, "outputs": {}, "scl": "// RLO: \"gIN_VoltageOk\"" }, { "instruction_uid": "25", "uid": "25", "type": "NBox_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "24", "source_pin": "out" }, "bit": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"M19000\"" } }, "outputs": {}, "_edge_mem_update_scl": "\"M19000\" := \"gIN_VoltageOk\"; // N_TRIG(\"gIN_VoltageOk\")", "scl": "// Logic moved to Coil 26" }, { "instruction_uid": "26", "uid": "26", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "NBox", "source_instruction_uid": "25", "source_pin": "out" }, "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"gEmergencyPressed\"" } }, "outputs": {}, "scl": "\"gEmergencyPressed\" := NOT \"gIN_VoltageOk\" AND \"M19000\";\n\"M19000\" := \"gIN_VoltageOk\"; // N_TRIG(\"gIN_VoltageOk\")" } ], "language": "LAD" }, { "id": "4D", "title": "Air and CO2 pressure ok and auxiliary ok", "comment": "", "logic": [ { "instruction_uid": "29", "uid": "29", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gIN_LinePressCO2Ok\"" } }, "outputs": {}, "scl": "// RLO: \"gIN_LinePressCO2Ok\"" }, { "instruction_uid": "30", "uid": "30", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"gWorkshopTest\"" } }, "outputs": {}, "scl": "// RLO: \"gWorkshopTest\"" }, { "instruction_uid": "31", "uid": "31", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "30", "source_pin": "out" }, "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"gWorkshop_Co2_Presence\"" } }, "outputs": {}, "scl": "// RLO: \"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")" }, { "instruction_uid": "32", "uid": "32", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "31", "source_pin": "out" }, "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"gWorkshop_CIP_Signals\"" } }, "outputs": {}, "scl": "// RLO: (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")" }, { "instruction_uid": "33", "uid": "33", "type": "O_scl", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "29", "source_pin": "out" }, "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "32", "source_pin": "out" } }, "outputs": {}, "scl": "// Logic O 33: \"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")" }, { "instruction_uid": "34", "uid": "34", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "O", "source_instruction_uid": "33", "source_pin": "out" }, "operand": { "uid": "25", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Digital\".\"_PAL_S11\".\"Filtered\"" } }, "outputs": {}, "scl": "// RLO: (\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND \"HMI_Digital\".\"_PAL_S11\".\"Filtered\"" }, { "instruction_uid": "35", "uid": "35", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "O", "source_instruction_uid": "33", "source_pin": "out" }, "operand": { "uid": "26", "scope": "GlobalVariable", "type": "variable", "name": "\"Disable_Bit\"" } }, "outputs": {}, "scl": "// RLO: (\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND (NOT \"Disable_Bit\")" }, { "instruction_uid": "36", "uid": "36", "type": "O_scl", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "34", "source_pin": "out" }, "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "35", "source_pin": "out" } }, "outputs": {}, "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\")" }, { "instruction_uid": "37", "uid": "37", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "O", "source_instruction_uid": "36", "source_pin": "out" }, "operand": { "uid": "27", "scope": "GlobalVariable", "type": "variable", "name": "\"gIN_VoltageOk\"" } }, "outputs": {}, "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\"" }, { "instruction_uid": "38", "uid": "38", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "37", "source_pin": "out" }, "operand": { "uid": "28", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlenderSuppliesOk\"" } }, "outputs": {}, "scl": "\"gBlenderSuppliesOk\" := ((\"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\";" } ], "language": "LAD" }, { "id": "5E", "title": "Blender State Num", "comment": "", "logic": [ { "instruction_uid": "23", "uid": "23", "type": "Move_scl", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in": { "uid": "21", "scope": "LiteralConstant", "type": "constant", "datatype": "Int", "value": 0 }, "en": { "type": "powerrail" } }, "outputs": { "out1": [ { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Status\".\"Procedures\".\"BlenderStateNum\"" } ] }, "scl": "\"HMI_Variables_Status\".\"Procedures\".\"BlenderStateNum\" := 0;" } ], "language": "LAD" }, { "id": "6F", "title": "Delay Power On", "comment": "", "logic": [ { "instruction_uid": "24", "uid": "24", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"FirstScan\"" } }, "outputs": {}, "scl": "// RLO: \"FirstScan\"" }, { "instruction_uid": "25", "uid": "25", "type": "Se", "template_values": {}, "negated_pins": {}, "inputs": { "s": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "24", "source_pin": "out" }, "tv": { "uid": "23", "scope": "TypedConstant", "type": "constant", "datatype": "TypedConstant", "value": "S5T#2S" }, "en": { "type": "connection", "source_instruction_uid": "24", "source_instruction_type": "Contact", "source_pin": "out" } }, "outputs": {} } ], "language": "LAD" }, { "id": "80", "title": "Production Mode", "comment": "", "logic": [ { "instruction_uid": "23", "uid": "23", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" }, { "instruction_uid": "24", "uid": "24", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "23", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlenderProdMode\"" } }, "outputs": {}, "scl": "\"gBlenderProdMode\" := \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\";" } ], "language": "LAD" }, { "id": "91", "title": "CIp Mode", "comment": "", "logic": [ { "instruction_uid": "25", "uid": "25", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" } }, "outputs": {}, "scl": "// RLO: (NOT \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\")" }, { "instruction_uid": "26", "uid": "26", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "25", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlenderCIPMode\"" } }, "outputs": {}, "scl": "\"gBlenderCIPMode\" := (NOT \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\");" }, { "instruction_uid": "27", "uid": "27", "type": "Move_scl", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in": { "uid": "23", "scope": "LiteralConstant", "type": "constant", "datatype": "Int", "value": 19 }, "en": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "25", "source_pin": "out" } }, "outputs": { "out1": [ { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Status\".\"Procedures\".\"BlenderStateNum\"" } ] }, "scl": "IF (NOT \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\") THEN\n \"HMI_Variables_Status\".\"Procedures\".\"BlenderStateNum\" := 19;\nEND_IF;" } ], "language": "LAD" }, { "id": "A2", "title": "Error Faults", "comment": "", "logic": [ { "instruction_uid": "26", "uid": "26", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"AUX FALSE\"" } }, "outputs": {}, "scl": "// RLO: (NOT \"AUX FALSE\")" }, { "instruction_uid": "27", "uid": "27", "type": "RCoil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Status\".\"Meters\".\"QTM3012_PRD_Fault\"" } }, "outputs": {}, "scl": "IF (NOT \"AUX FALSE\") THEN\n \"HMI_Variables_Status\".\"Meters\".\"QTM3012_PRD_Fault\" := FALSE;\nEND_IF;" }, { "instruction_uid": "28", "uid": "28", "type": "RCoil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" }, "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"gmPDS2000_Error_Fault\"" } }, "outputs": {}, "scl": "IF (NOT \"AUX FALSE\") THEN\n \"gmPDS2000_Error_Fault\" := FALSE;\nEND_IF;" }, { "instruction_uid": "29", "uid": "29", "type": "RCoil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" }, "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Status\".\"Meters\".\"QTM3012_PRD_Run\"" } }, "outputs": {}, "scl": "IF (NOT \"AUX FALSE\") THEN\n \"HMI_Variables_Status\".\"Meters\".\"QTM3012_PRD_Run\" := FALSE;\nEND_IF;" }, { "instruction_uid": "30", "uid": "30", "type": "RCoil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" }, "operand": { "uid": "25", "scope": "GlobalVariable", "type": "variable", "name": "\"gNoFreezeProductMeter\"" } }, "outputs": {}, "scl": "IF (NOT \"AUX FALSE\") THEN\n \"gNoFreezeProductMeter\" := FALSE;\nEND_IF;" } ], "language": "LAD" }, { "id": "B3", "title": "Filler Bottle Count Used to push Product", "comment": "", "logic": [ { "instruction_uid": "23", "uid": "23", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"System_RunOut_Variables\".\"ProdPipeRunOutWaterCount\"" } }, "outputs": {}, "scl": "// RLO: (NOT \"System_RunOut_Variables\".\"ProdPipeRunOutWaterCount\")" }, { "instruction_uid": "24", "uid": "24", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "23", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"System_RunOut_Variables\".\"ProdPipeRunOutFillerBott\"" } }, "outputs": {}, "scl": "\"System_RunOut_Variables\".\"ProdPipeRunOutFillerBott\" := (NOT \"System_RunOut_Variables\".\"ProdPipeRunOutWaterCount\");" } ], "language": "LAD" }, { "id": "C4", "title": "Water Bypass Enable", "comment": "", "logic": [ { "instruction_uid": "27", "uid": "27", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\"" }, { "instruction_uid": "28", "uid": "28", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\"" }, { "instruction_uid": "29", "uid": "29", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "28", "source_pin": "out" }, "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\" AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\")" }, { "instruction_uid": "30", "uid": "30", "type": "O_scl", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" }, "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "29", "source_pin": "out" } }, "outputs": {}, "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\"))" }, { "instruction_uid": "31", "uid": "31", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "O", "source_instruction_uid": "30", "source_pin": "out" }, "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"Blender_Variables_Pers\".\"gWaterRecipe\"" } }, "outputs": {}, "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\"" }, { "instruction_uid": "32", "uid": "32", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "31", "source_pin": "out" }, "operand": { "uid": "25", "scope": "GlobalVariable", "type": "variable", "name": "\"Blender_Variables_Pers\".\"gCarboStillRecipe\"" } }, "outputs": {}, "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\")" }, { "instruction_uid": "33", "uid": "33", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "32", "source_pin": "out" }, "operand": { "uid": "26", "scope": "GlobalVariable", "type": "variable", "name": "\"gStillWaterByPassEn\"" } }, "outputs": {}, "scl": "\"gStillWaterByPassEn\" := ((\"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\");" } ], "language": "LAD" }, { "id": "D5", "title": "Still Water Bypass", "comment": "", "logic": [ { "instruction_uid": "26", "uid": "26", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\"" }, { "instruction_uid": "27", "uid": "27", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\" AND \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\"" }, { "instruction_uid": "28", "uid": "28", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" }, "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"Blender_Variables_Pers\".\"gWaterRecipe\"" } }, "outputs": {}, "scl": "// RLO: (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\" AND \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\") AND \"Blender_Variables_Pers\".\"gWaterRecipe\"" }, { "instruction_uid": "29", "uid": "29", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "28", "source_pin": "out" }, "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"Blender_Variables_Pers\".\"gCarboStillRecipe\"" } }, "outputs": {}, "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\")" }, { "instruction_uid": "30", "uid": "30", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "29", "source_pin": "out" }, "operand": { "uid": "25", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlendFiStillWaterByPass\"" } }, "outputs": {}, "scl": "\"gBlendFiStillWaterByPass\" := ((\"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\");" } ], "language": "LAD" }, { "id": "E6", "title": "Manual Syrup Drain Valve Open - Operator Alarm", "comment": "", "logic": [ { "instruction_uid": "30", "uid": "30", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gSyrupRoomEn\"" } }, "outputs": {}, "scl": "// RLO: \"gSyrupRoomEn\"" }, { "instruction_uid": "31", "uid": "31", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "30", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"gIN_HVP301_Aux\"" } }, "outputs": {}, "scl": "// RLO: \"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")" }, { "instruction_uid": "32", "uid": "32", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "31", "source_pin": "out" }, "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\"" } }, "outputs": {}, "scl": "// RLO: (\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\")" }, { "instruction_uid": "33", "uid": "33", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "32", "source_pin": "out" }, "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\"" } }, "outputs": {}, "scl": "// RLO: (\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\") AND \"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\"" }, { "instruction_uid": "34", "uid": "34", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "33", "source_pin": "out" }, "operand": { "uid": "25", "scope": "GlobalVariable", "type": "variable", "name": "\"Procedure_Variables\".\"Syr_RunOut\".\"Done\"" } }, "outputs": {}, "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\")" }, { "instruction_uid": "35", "uid": "35", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "31", "source_pin": "out" }, "operand": { "uid": "26", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlenderCIPMode\"" } }, "outputs": {}, "scl": "// RLO: (\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\"" }, { "instruction_uid": "36", "uid": "36", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "35", "source_pin": "out" }, "operand": { "uid": "27", "scope": "GlobalVariable", "type": "variable", "name": "\"gIN_CIP_CIPRunning\"" } }, "outputs": {}, "scl": "// RLO: ((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\") AND \"gIN_CIP_CIPRunning\"" }, { "instruction_uid": "37", "uid": "37", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "36", "source_pin": "out" }, "operand": { "uid": "28", "scope": "GlobalVariable", "type": "variable", "name": "\"Procedure_Variables\".\"Blender_Run\".\"Running\"" } }, "outputs": {}, "scl": "// RLO: (((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\") AND \"gIN_CIP_CIPRunning\") AND \"Procedure_Variables\".\"Blender_Run\".\"Running\"" }, { "instruction_uid": "38", "uid": "38", "type": "O_scl", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "34", "source_pin": "out" }, "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "37", "source_pin": "out" } }, "outputs": {}, "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\")" }, { "instruction_uid": "39", "uid": "39", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "O", "source_instruction_uid": "38", "source_pin": "out" }, "operand": { "uid": "29", "scope": "GlobalVariable", "type": "variable", "name": "\"gHVP301_Open\"" } }, "outputs": {}, "scl": "\"gHVP301_Open\" := ((\"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\");" } ], "language": "LAD" }, { "id": "F7", "title": "Manual Syrup Drain Valve Open - Operator Alarm", "comment": "", "logic": [ { "instruction_uid": "25", "uid": "25", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gIN_HVM302_Aux\"" } }, "outputs": {}, "scl": "// RLO: \"gIN_HVM302_Aux\"" }, { "instruction_uid": "26", "uid": "26", "type": "Sd", "template_values": {}, "negated_pins": {}, "inputs": { "s": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "25", "source_pin": "out" }, "tv": { "uid": "22", "scope": "TypedConstant", "type": "constant", "datatype": "TypedConstant", "value": "S5T#1S" }, "en": { "type": "connection", "source_instruction_uid": "25", "source_instruction_type": "Contact", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "27", "uid": "27", "type": "Coil", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Sd", "source_instruction_uid": "26", "source_pin": "q" }, "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"gHVM302_Open\"" } }, "outputs": {} } ], "language": "LAD" }, { "id": "108", "title": "Maselli Control", "comment": "", "logic": [ { "instruction_uid": "24", "uid": "24", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" }, { "instruction_uid": "25", "uid": "25", "type": "Eq_scl", "template_values": { "SrcType": "Type" }, "negated_pins": {}, "inputs": { "pre": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "24", "source_pin": "out" }, "in1": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\"" }, "in2": { "uid": "23", "scope": "LiteralConstant", "type": "constant", "datatype": "Int", "value": 6 } }, "outputs": {}, "scl": "// Comparison Eq 25: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 6" }, { "instruction_uid": "26", "uid": "26", "type": "Call_FC_scl", "block_name": "Maselli_PA_Control", "block_type": "FC", "inputs": { "en": { "type": "connection", "source_instruction_type": "Eq", "source_instruction_uid": "25", "source_pin": "out" } }, "outputs": {}, "scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 6 THEN\n Maselli_PA_Control();\nEND_IF;" } ], "language": "LAD" }, { "id": "119", "title": "mPDS Control", "comment": "", "logic": [ { "instruction_uid": "24", "uid": "24", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" }, { "instruction_uid": "25", "uid": "25", "type": "Eq_scl", "template_values": { "SrcType": "Type" }, "negated_pins": {}, "inputs": { "pre": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "24", "source_pin": "out" }, "in1": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\"" }, "in2": { "uid": "23", "scope": "LiteralConstant", "type": "constant", "datatype": "Int", "value": 5 } }, "outputs": {}, "scl": "// Comparison Eq 25: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 5" }, { "instruction_uid": "26", "uid": "26", "type": "Call_FC_scl", "block_name": "mPDS_PA_Control", "block_type": "FC", "inputs": { "en": { "type": "connection", "source_instruction_type": "Eq", "source_instruction_uid": "25", "source_pin": "out" } }, "outputs": {}, "scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 5 THEN\n mPDS_PA_Control();\nEND_IF;" } ], "language": "LAD" }, { "id": "12A", "title": "mPDS Syrup Control", "comment": "", "logic": [ { "instruction_uid": "22", "uid": "22", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_SyrBrixMeter\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_SyrBrixMeter\"" }, { "instruction_uid": "23", "uid": "23", "type": "Call_FC_scl", "block_name": "mPDS_SYR_PA_Control", "block_type": "FC", "inputs": { "en": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "22", "source_pin": "out" } }, "outputs": {}, "scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_SyrBrixMeter\" THEN\n mPDS_SYR_PA_Control();\nEND_IF;" } ], "language": "LAD" }, { "id": "13B", "title": "Co2 Analog Input", "comment": "GetProdBrixCO2_FromAnalogIn\n CALL \"GetProdBrixCO2_FromAn\"\n NOP 0", "logic": [ { "instruction_uid": "24", "uid": "24", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\"" }, { "instruction_uid": "25", "uid": "25", "type": "Eq_scl", "template_values": { "SrcType": "Type" }, "negated_pins": {}, "inputs": { "pre": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "24", "source_pin": "out" }, "in1": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\"" }, "in2": { "uid": "23", "scope": "LiteralConstant", "type": "constant", "datatype": "Int", "value": 3 } }, "outputs": {}, "scl": "// Comparison Eq 25: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 3" }, { "instruction_uid": "26", "uid": "26", "type": "Call_FC_scl", "block_name": "GetProdBrixCO2_Anal_Inpt", "block_type": "FC", "inputs": { "en": { "type": "connection", "source_instruction_type": "Eq", "source_instruction_uid": "25", "source_pin": "out" } }, "outputs": {}, "scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 3 THEN\n GetProdBrixCO2_Anal_Inpt();\nEND_IF;" } ], "language": "LAD" }, { "id": "14C", "title": "Quality", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "ProductQuality", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "ProductQuality();" } ], "language": "LAD" }, { "id": "15D", "title": "Input Data", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FB_scl", "block_name": "Input", "block_type": "FB", "instance_db": "\"Input_Data\"", "instance_scope": "GlobalVariable", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "\"Input_Data\"();" } ], "language": "LAD" }, { "id": "16E", "title": "Sel Brix Source Check", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "SelCheckBrixSource", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "SelCheckBrixSource();" } ], "language": "LAD" }, { "id": "17F", "title": "Check Water Cooling System Temperature", "comment": "", "logic": [ { "instruction_uid": "22", "uid": "22", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_InverterRecirPumpPPM306\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_InverterRecirPumpPPM306\"" }, { "instruction_uid": "23", "uid": "23", "type": "Call_FC_scl", "block_name": "CTRLCoolingSystem", "block_type": "FC", "inputs": { "en": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "22", "source_pin": "out" } }, "outputs": {}, "scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_InverterRecirPumpPPM306\" THEN\n CTRLCoolingSystem();\nEND_IF;" } ], "language": "LAD" }, { "id": "190", "title": "Tank Level", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "TankLevel", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "TankLevel();" } ], "language": "LAD" }, { "id": "1A1", "title": "Production ONS", "comment": "", "logic": [ { "instruction_uid": "25", "uid": "25", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlenderProdMode\"" } }, "outputs": {}, "scl": "// RLO: \"gBlenderProdMode\"" }, { "instruction_uid": "26", "uid": "26", "type": "PBox_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "25", "source_pin": "out" }, "bit": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"M19001\"" } }, "outputs": {}, "_edge_mem_update_scl": "\"M19001\" := \"gBlenderProdMode\"; // P_TRIG(\"gBlenderProdMode\")", "scl": "// PBox Logic moved to consumer Coil" }, { "instruction_uid": "27", "uid": "27", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "PBox", "source_instruction_uid": "26", "source_pin": "out" }, "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"mDelayPowerOnTmr\"" } }, "outputs": {}, "scl": "// RLO: (\"gBlenderProdMode\" AND NOT \"M19001\") AND (NOT \"mDelayPowerOnTmr\")" }, { "instruction_uid": "28", "uid": "28", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" }, "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"gProductionONS\"" } }, "outputs": {}, "scl": "\"gProductionONS\" := (\"gBlenderProdMode\" AND NOT \"M19001\") AND (NOT \"mDelayPowerOnTmr\");" } ], "language": "LAD" }, { "id": "1B2", "title": "Blender Prod Mode Init", "comment": "", "logic": [ { "instruction_uid": "24", "uid": "24", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gProductionONS\"" } }, "outputs": {}, "scl": "// RLO: \"gProductionONS\"" }, { "instruction_uid": "25", "uid": "25", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\"" } }, "outputs": {}, "scl": "// RLO: \"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\"" }, { "instruction_uid": "26", "uid": "26", "type": "O_scl", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "24", "source_pin": "out" }, "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "25", "source_pin": "out" } }, "outputs": {}, "scl": "// Logic O 26: \"gProductionONS\" OR \"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\"" }, { "instruction_uid": "27", "uid": "27", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "O", "source_instruction_uid": "26", "source_pin": "out" }, "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"Blender_Variables_Pers\".\"gBlenderStarted\"" } }, "outputs": {}, "scl": "// RLO: (\"gProductionONS\" OR \"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\") AND (NOT \"Blender_Variables_Pers\".\"gBlenderStarted\")" }, { "instruction_uid": "28", "uid": "28", "type": "Call_FC_scl", "block_name": "BlenderCtrl_ProdModeInit", "block_type": "FC", "inputs": { "en": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" } }, "outputs": {}, "scl": "IF (\"gProductionONS\" OR \"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\") AND (NOT \"Blender_Variables_Pers\".\"gBlenderStarted\") THEN\n BlenderCtrl_ProdModeInit();\nEND_IF;" } ], "language": "LAD" }, { "id": "1C3", "title": "Rinse ONS", "comment": "", "logic": [ { "instruction_uid": "25", "uid": "25", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"" }, { "instruction_uid": "26", "uid": "26", "type": "PBox_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "25", "source_pin": "out" }, "bit": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"M19002\"" } }, "outputs": {}, "_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" }, { "instruction_uid": "27", "uid": "27", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "PBox", "source_instruction_uid": "26", "source_pin": "out" }, "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"mDelayPowerOnTmr\"" } }, "outputs": {}, "scl": "// RLO: (\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\" AND NOT \"M19002\") AND (NOT \"mDelayPowerOnTmr\")" }, { "instruction_uid": "28", "uid": "28", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" }, "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"gRinseONS\"" } }, "outputs": {}, "scl": "\"gRinseONS\" := (\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\" AND NOT \"M19002\") AND (NOT \"mDelayPowerOnTmr\");" } ], "language": "LAD" }, { "id": "1D4", "title": "CIP ONS", "comment": "", "logic": [ { "instruction_uid": "25", "uid": "25", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlenderCIPMode\"" } }, "outputs": {}, "scl": "// RLO: \"gBlenderCIPMode\"" }, { "instruction_uid": "26", "uid": "26", "type": "PBox_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "25", "source_pin": "out" }, "bit": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"M19003\"" } }, "outputs": {}, "_edge_mem_update_scl": "\"M19003\" := \"gBlenderCIPMode\"; // P_TRIG(\"gBlenderCIPMode\")", "scl": "// PBox Logic moved to consumer Coil" }, { "instruction_uid": "27", "uid": "27", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "PBox", "source_instruction_uid": "26", "source_pin": "out" }, "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"mDelayPowerOnTmr\"" } }, "outputs": {}, "scl": "// RLO: (\"gBlenderCIPMode\" AND NOT \"M19003\") AND (NOT \"mDelayPowerOnTmr\")" }, { "instruction_uid": "28", "uid": "28", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" }, "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"gCIPONS\"" } }, "outputs": {}, "scl": "\"gCIPONS\" := (\"gBlenderCIPMode\" AND NOT \"M19003\") AND (NOT \"mDelayPowerOnTmr\");" } ], "language": "LAD" }, { "id": "1E5", "title": "CIp Mode Init", "comment": "", "logic": [ { "instruction_uid": "22", "uid": "22", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gCIPONS\"" } }, "outputs": {}, "scl": "// RLO: \"gCIPONS\"" }, { "instruction_uid": "23", "uid": "23", "type": "Call_FC_scl", "block_name": "BlenderCtrl_CIPModeInit", "block_type": "FC", "inputs": { "en": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "22", "source_pin": "out" } }, "outputs": {}, "scl": "IF \"gCIPONS\" THEN\n BlenderCtrl_CIPModeInit();\nEND_IF;" } ], "language": "LAD" }, { "id": "1F6", "title": "Reset SPWords", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "BlenderCtrl_ResetSPWord", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "BlenderCtrl_ResetSPWord();" } ], "language": "LAD" }, { "id": "207", "title": "Blender Run Control", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "BlenderRun__Control", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "BlenderRun__Control();" } ], "language": "LAD" }, { "id": "218", "title": "Tank Pressure Control", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "Prod Tank PressCtrl", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "Prod_Tank_PressCtrl();" } ], "language": "LAD" }, { "id": "229", "title": "Balaiage", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "Baialage", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "Baialage();" } ], "language": "LAD" }, { "id": "23A", "title": "First Production", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FB_scl", "block_name": "ProcedureFirstProduction", "block_type": "FB", "instance_db": "\"FirstProduction_Data\"", "instance_scope": "GlobalVariable", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "\"FirstProduction_Data\"();" } ], "language": "LAD" }, { "id": "24B", "title": "CIP MAIN Calling", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "CIPMain", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "CIPMain();" } ], "language": "LAD" }, { "id": "25C", "title": "Blender Rinse", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "BlenderRinse", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "BlenderRinse();" } ], "language": "LAD" }, { "id": "26D", "title": "Safeties", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "Safeties", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "Safeties();" } ], "language": "LAD" }, { "id": "27E", "title": "Instrument Scanner", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "Instrument_Scanner", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "Instrument_Scanner();" } ], "language": "LAD" }, { "id": "28F", "title": "Vacuum Control", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "VacuumCtrl", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "VacuumCtrl();" } ], "language": "LAD" }, { "id": "2A0", "title": "Syrup Room Control", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "SyrupRoomCtrl", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "SyrupRoomCtrl();" } ], "language": "LAD" }, { "id": "2B1", "title": "Blend Procedure Data", "comment": "", "logic": [ { "instruction_uid": "22", "uid": "22", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"mDelayPowerOnTmr\"" } }, "outputs": {}, "scl": "// RLO: (NOT \"mDelayPowerOnTmr\")" }, { "instruction_uid": "23", "uid": "23", "type": "Call_FB_scl", "block_name": "Procedure", "block_type": "FB", "instance_db": "\"Blender_Procedure Data\"", "instance_scope": "GlobalVariable", "inputs": { "en": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "22", "source_pin": "out" } }, "outputs": {}, "scl": "IF (NOT \"mDelayPowerOnTmr\") THEN\n \"Blender_Procedure Data\"();\nEND_IF;" } ], "language": "LAD" }, { "id": "2C2", "title": "Pneumatic Valve Control", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "Pneumatic Valve Ctrl", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "Pneumatic_Valve_Ctrl();" } ], "language": "LAD" }, { "id": "2D3", "title": "Pumps Control", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "PumpsControl", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "PumpsControl();" } ], "language": "LAD" }, { "id": "2E4", "title": "Prod Report Manager", "comment": "", "logic": [ { "instruction_uid": "22", "uid": "22", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Report\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Report\"" }, { "instruction_uid": "23", "uid": "23", "type": "Call_FC_scl", "block_name": "ProdReportManager", "block_type": "FC", "inputs": { "en": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "22", "source_pin": "out" } }, "outputs": {}, "scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Report\" THEN\n ProdReportManager();\nEND_IF;" } ], "language": "LAD" }, { "id": "2F5", "title": "Outputs", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "Output", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "Output();" } ], "language": "LAD" }, { "id": "306", "title": "SLIM BLOCK", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "SLIM_Block", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "SLIM_Block();" } ], "language": "LAD" }, { "id": "317", "title": "Interlocking Panel 1", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "Interlocking_Panel_1", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "Interlocking_Panel_1();" } ], "language": "LAD" }, { "id": "328", "title": "Filler Control", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "FillerControl", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "FillerControl();" } ], "language": "LAD" }, { "id": "339", "title": "Blender Ctrl Update PWORD", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "BlenderCtrl_UpdatePWord", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "BlenderCtrl_UpdatePWord();" } ], "language": "LAD" }, { "id": "34A", "title": "ResetTotalizer", "comment": "", "logic": [ { "instruction_uid": "24", "uid": "24", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlendResetTotalizer\"" } }, "outputs": {}, "scl": "// RLO: \"gBlendResetTotalizer\"" }, { "instruction_uid": "25", "uid": "25", "type": "Se", "template_values": {}, "negated_pins": {}, "inputs": { "s": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "24", "source_pin": "out" }, "tv": { "uid": "22", "scope": "TypedConstant", "type": "constant", "datatype": "TypedConstant", "value": "S5T#2S" }, "en": { "type": "connection", "source_instruction_uid": "24", "source_instruction_type": "Contact", "source_pin": "out" } }, "outputs": {} } ], "language": "LAD" }, { "id": "35B", "title": "ResetWaterTot", "comment": "", "logic": [ { "instruction_uid": "26", "uid": "26", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTN301_ResetTot\"" } }, "outputs": {}, "scl": "// RLO: \"gFTN301_ResetTot\"" }, { "instruction_uid": "27", "uid": "27", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"mResetTotalizerTmr\"" } }, "outputs": {}, "scl": "// RLO: \"mResetTotalizerTmr\"" }, { "instruction_uid": "28", "uid": "28", "type": "O_scl", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" }, "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" } }, "outputs": {}, "scl": "// Logic O 28: \"gFTN301_ResetTot\" OR \"mResetTotalizerTmr\"" }, { "instruction_uid": "29", "uid": "29", "type": "Se", "template_values": {}, "negated_pins": {}, "inputs": { "s": { "type": "connection", "source_instruction_type": "O", "source_instruction_uid": "28", "source_pin": "out" }, "tv": { "uid": "24", "scope": "TypedConstant", "type": "constant", "datatype": "TypedConstant", "value": "S5T#2S" }, "en": { "type": "connection", "source_instruction_uid": "28", "source_instruction_type": "O", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "30", "uid": "30", "type": "Coil", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Se", "source_instruction_uid": "29", "source_pin": "q" }, "operand": { "uid": "25", "scope": "LocalVariable", "type": "variable", "name": "\"mResetWaterTot\"" } }, "outputs": {} } ], "language": "LAD" }, { "id": "36C", "title": "Water VFM Reset Totalizer", "comment": "", "logic": [ { "instruction_uid": "23", "uid": "23", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTN301_ResetTot\"" } }, "outputs": {}, "scl": "// RLO: \"gFTN301_ResetTot\"" }, { "instruction_uid": "24", "uid": "24", "type": "RCoil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "23", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTN301_ResetTot\"" } }, "outputs": {}, "scl": "IF \"gFTN301_ResetTot\" THEN\n \"gFTN301_ResetTot\" := FALSE;\nEND_IF;" } ], "language": "LAD" }, { "id": "37D", "title": "ResetCO2Tot", "comment": "", "logic": [ { "instruction_uid": "27", "uid": "27", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTP302_ResetTot\"" } }, "outputs": {}, "scl": "// RLO: \"gFTP302_ResetTot\"" }, { "instruction_uid": "28", "uid": "28", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"mResetTotalizerTmr\"" } }, "outputs": {}, "scl": "// RLO: \"mResetTotalizerTmr\"" }, { "instruction_uid": "29", "uid": "29", "type": "O_scl", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" }, "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "28", "source_pin": "out" } }, "outputs": {}, "scl": "// Logic O 29: \"gFTP302_ResetTot\" OR \"mResetTotalizerTmr\"" }, { "instruction_uid": "30", "uid": "30", "type": "Se", "template_values": {}, "negated_pins": {}, "inputs": { "s": { "type": "connection", "source_instruction_type": "O", "source_instruction_uid": "29", "source_pin": "out" }, "tv": { "uid": "24", "scope": "TypedConstant", "type": "constant", "datatype": "TypedConstant", "value": "S5T#2S" }, "en": { "type": "connection", "source_instruction_uid": "29", "source_instruction_type": "O", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "31", "uid": "31", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Se", "source_instruction_uid": "30", "source_pin": "q" }, "operand": { "uid": "25", "scope": "GlobalVariable", "type": "variable", "name": "\"gSyrupRoomEn\"" } }, "outputs": {} }, { "instruction_uid": "32", "uid": "32", "type": "Coil", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "31", "source_pin": "out" }, "operand": { "uid": "26", "scope": "LocalVariable", "type": "variable", "name": "\"mResetSyrupTot\"" } }, "outputs": {} } ], "language": "LAD" }, { "id": "38E", "title": "Syrup MFM Reset Totalizer", "comment": "", "logic": [ { "instruction_uid": "23", "uid": "23", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTP302_ResetTot\"" } }, "outputs": {}, "scl": "// RLO: \"gFTP302_ResetTot\"" }, { "instruction_uid": "24", "uid": "24", "type": "RCoil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "23", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTP302_ResetTot\"" } }, "outputs": {}, "scl": "IF \"gFTP302_ResetTot\" THEN\n \"gFTP302_ResetTot\" := FALSE;\nEND_IF;" } ], "language": "LAD" }, { "id": "39F", "title": "ResetProductTot", "comment": "", "logic": [ { "instruction_uid": "26", "uid": "26", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTM303_ResetTot\"" } }, "outputs": {}, "scl": "// RLO: \"gFTM303_ResetTot\"" }, { "instruction_uid": "27", "uid": "27", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"mResetTotalizerTmr\"" } }, "outputs": {}, "scl": "// RLO: \"mResetTotalizerTmr\"" }, { "instruction_uid": "28", "uid": "28", "type": "O_scl", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" }, "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" } }, "outputs": {}, "scl": "// Logic O 28: \"gFTM303_ResetTot\" OR \"mResetTotalizerTmr\"" }, { "instruction_uid": "29", "uid": "29", "type": "Se", "template_values": {}, "negated_pins": {}, "inputs": { "s": { "type": "connection", "source_instruction_type": "O", "source_instruction_uid": "28", "source_pin": "out" }, "tv": { "uid": "24", "scope": "TypedConstant", "type": "constant", "datatype": "TypedConstant", "value": "S5T#2S" }, "en": { "type": "connection", "source_instruction_uid": "28", "source_instruction_type": "O", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "30", "uid": "30", "type": "Coil", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Se", "source_instruction_uid": "29", "source_pin": "q" }, "operand": { "uid": "25", "scope": "LocalVariable", "type": "variable", "name": "\"mResetCO2Tot\"" } }, "outputs": {} } ], "language": "LAD" }, { "id": "3B0", "title": "CO2 MFM Reset Tot", "comment": "", "logic": [ { "instruction_uid": "23", "uid": "23", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTM303_ResetTot\"" } }, "outputs": {}, "scl": "// RLO: \"gFTM303_ResetTot\"" }, { "instruction_uid": "24", "uid": "24", "type": "RCoil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "23", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTM303_ResetTot\"" } }, "outputs": {}, "scl": "IF \"gFTM303_ResetTot\" THEN\n \"gFTM303_ResetTot\" := FALSE;\nEND_IF;" } ], "language": "LAD" }, { "id": "3C1", "title": "ResetCO2Tot", "comment": "", "logic": [ { "instruction_uid": "26", "uid": "26", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gProductMFMResetTot\"" } }, "outputs": {}, "scl": "// RLO: \"gProductMFMResetTot\"" }, { "instruction_uid": "27", "uid": "27", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"mResetTotalizerTmr\"" } }, "outputs": {}, "scl": "// RLO: \"mResetTotalizerTmr\"" }, { "instruction_uid": "28", "uid": "28", "type": "O_scl", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" }, "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" } }, "outputs": {}, "scl": "// Logic O 28: \"gProductMFMResetTot\" OR \"mResetTotalizerTmr\"" }, { "instruction_uid": "29", "uid": "29", "type": "Se", "template_values": {}, "negated_pins": {}, "inputs": { "s": { "type": "connection", "source_instruction_type": "O", "source_instruction_uid": "28", "source_pin": "out" }, "tv": { "uid": "24", "scope": "TypedConstant", "type": "constant", "datatype": "TypedConstant", "value": "S5T#2S" }, "en": { "type": "connection", "source_instruction_uid": "28", "source_instruction_type": "O", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "30", "uid": "30", "type": "Coil", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Se", "source_instruction_uid": "29", "source_pin": "q" }, "operand": { "uid": "25", "scope": "LocalVariable", "type": "variable", "name": "\"mResetProductTot\"" } }, "outputs": {} } ], "language": "LAD" }, { "id": "3D2", "title": "Reset Totalizer", "comment": "", "logic": [ { "instruction_uid": "23", "uid": "23", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gProductMFMResetTot\"" } }, "outputs": {}, "scl": "// RLO: \"gProductMFMResetTot\"" }, { "instruction_uid": "24", "uid": "24", "type": "RCoil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "23", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"gProductMFMResetTot\"" } }, "outputs": {}, "scl": "IF \"gProductMFMResetTot\" THEN\n \"gProductMFMResetTot\" := FALSE;\nEND_IF;" } ], "language": "LAD" }, { "id": "3E3", "title": "Reset Totalizer", "comment": "", "logic": [ { "instruction_uid": "23", "uid": "23", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlendResetTotalizer\"" } }, "outputs": {}, "scl": "// RLO: \"gBlendResetTotalizer\"" }, { "instruction_uid": "24", "uid": "24", "type": "RCoil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "23", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlendResetTotalizer\"" } }, "outputs": {}, "scl": "IF \"gBlendResetTotalizer\" THEN\n \"gBlendResetTotalizer\" := FALSE;\nEND_IF;" } ], "language": "LAD" }, { "id": "3F4", "title": "Blender Ctrl Command", "comment": "", "logic": [ { "instruction_uid": "26", "uid": "26", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Simulation\"" } }, "outputs": {}, "scl": "// RLO: (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Simulation\")" }, { "instruction_uid": "27", "uid": "27", "type": "Call_FC_scl", "block_name": "BlenderCtrl_MFM Command", "block_type": "FC", "inputs": { "en": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" } }, "outputs": {}, "scl": "IF (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Simulation\") THEN\n BlenderCtrl_MFM_Command();\nEND_IF;" } ], "language": "LAD" }, { "id": "405", "title": "DP Global Diag", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "CPU_DP Global Diag", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "CPU_DP_Global_Diag();" } ], "language": "LAD" }, { "id": "416", "title": "Profibus", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "Profibus Network", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "Profibus_Network();" } ], "language": "LAD" }, { "id": "427", "title": "Valve Fault", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "ModValveFault", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "ModValveFault();" } ], "language": "LAD" }, { "id": "438", "title": "All Auto", "comment": "", "logic": [ { "instruction_uid": "25", "uid": "25", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\"" }, { "instruction_uid": "26", "uid": "26", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "25", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\" AND \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\"" }, { "instruction_uid": "27", "uid": "27", "type": "NBox_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" }, "bit": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"M19011\"" } }, "outputs": {}, "_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" }, { "instruction_uid": "28", "uid": "28", "type": "Call_FC_scl", "block_name": "BlenderCtrl_All Auto", "block_type": "FC", "inputs": { "en": { "type": "connection", "source_instruction_type": "NBox", "source_instruction_uid": "27", "source_pin": "out" } }, "outputs": {}, "scl": "IF NOT (\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\" AND \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\") AND \"M19011\" THEN\n BlenderCtrl_All_Auto();\nEND_IF;" }, { "instruction_uid": "29", "uid": "29", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" }, "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Light\"" } }, "outputs": {}, "scl": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Light\" := \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\" AND \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\";" } ], "language": "LAD" }, { "id": "449", "title": "Ctrl HMI Manual Active", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "BlenderCtrl_ManualActive", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "BlenderCtrl_ManualActive();" } ], "language": "LAD" }, { "id": "45A", "title": "Mod Copy Recipe", "comment": "", "logic": [ { "instruction_uid": "33", "uid": "33", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" }, { "instruction_uid": "34", "uid": "34", "type": "Contact_scl", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "33", "source_pin": "out" }, "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"mFP_Recip_Main_Page\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\" AND (NOT \"mFP_Recip_Main_Page\")" }, { "instruction_uid": "35", "uid": "35", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "34", "source_pin": "out" }, "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"mAux_FP_M700_1\"" } }, "outputs": {}, "scl": "\"mAux_FP_M700_1\" := \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\" AND (NOT \"mFP_Recip_Main_Page\");" }, { "instruction_uid": "36", "uid": "36", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "33", "source_pin": "out" }, "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"mFP_Recip_Main_Page\"" } }, "outputs": {}, "scl": "\"mFP_Recip_Main_Page\" := \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\";" }, { "instruction_uid": "37", "uid": "37", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "25", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" }, { "instruction_uid": "38", "uid": "38", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "37", "source_pin": "out" }, "operand": { "uid": "26", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\"" } }, "outputs": {}, "scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\" AND \"HMI_Variables_Cmd\".\"Recipe\".\"Edit\"" }, { "instruction_uid": "39", "uid": "39", "type": "SdCoil", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "38", "source_pin": "out" }, "operand": { "uid": "27", "scope": "GlobalVariable", "type": "variable", "name": "\"T_Pulse_Recipe_Edit\"" } }, "outputs": {} }, { "instruction_uid": "40", "uid": "40", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "SdCoil", "source_instruction_uid": "39", "source_pin": "out" }, "operand": { "uid": "29", "scope": "GlobalVariable", "type": "variable", "name": "\"T_Pulse_Recipe_Edit\"" } }, "outputs": {} }, { "instruction_uid": "41", "uid": "41", "type": "RCoil", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "40", "source_pin": "out" }, "operand": { "uid": "30", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\"" } }, "outputs": {} }, { "instruction_uid": "42", "uid": "42", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "31", "scope": "GlobalVariable", "type": "variable", "name": "\"mAux_FP_M700_1\"" } }, "outputs": {}, "scl": "// RLO: \"mAux_FP_M700_1\"" }, { "instruction_uid": "43", "uid": "43", "type": "SCoil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "42", "source_pin": "out" }, "operand": { "uid": "32", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\"" } }, "outputs": {}, "scl": "IF \"mAux_FP_M700_1\" THEN\n \"HMI_Variables_Cmd\".\"Recipe\".\"Edit\" := TRUE;\nEND_IF;" } ], "language": "LAD" }, { "id": "46B", "title": "to HMI - Recipe Management", "comment": "", "logic": [ { "instruction_uid": "42", "uid": "42", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "in": { "type": "powerrail" }, "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"AUX TRUE\"" } }, "outputs": {}, "scl": "// RLO: \"AUX TRUE\"" }, { "instruction_uid": "43", "uid": "43", "type": "Call_FB_scl", "block_name": "RecipeManagement - Prod", "block_type": "FB", "instance_db": "\"RecipeManagement_Data\"", "instance_scope": "GlobalVariable", "inputs": { "en": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "42", "source_pin": "out" } }, "outputs": {}, "scl": "IF \"AUX TRUE\" THEN\n \"RecipeManagement_Data\"();\nEND_IF;" } ], "language": "LAD" }, { "id": "47C", "title": "Recipe Calculation", "comment": "", "logic": [ { "instruction_uid": "21", "uid": "21", "type": "Call_FC_scl", "block_name": "RecipeCalculation", "block_type": "FC", "inputs": { "en": { "type": "powerrail" } }, "outputs": {}, "scl": "RecipeCalculation();" } ], "language": "LAD" } ] }