{ "block_name": "TestLAD", "block_number": 2, "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": "Manual Syrup Drain Valve Open - Operator Alarm", "comment": "", "logic": [ { "instruction_uid": "30", "uid": "30", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gSyrupRoomEn\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "31", "uid": "31", "type": "Contact", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"gIN_HVP301_Aux\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "30", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "32", "uid": "32", "type": "Contact", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "31", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "33", "uid": "33", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "32", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "34", "uid": "34", "type": "Contact", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "operand": { "uid": "25", "scope": "GlobalVariable", "type": "variable", "name": "\"Procedure_Variables\".\"Syr_RunOut\".\"Done\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "33", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "35", "uid": "35", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "26", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlenderCIPMode\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "31", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "36", "uid": "36", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "27", "scope": "GlobalVariable", "type": "variable", "name": "\"gIN_CIP_CIPRunning\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "35", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "37", "uid": "37", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "28", "scope": "GlobalVariable", "type": "variable", "name": "\"Procedure_Variables\".\"Blender_Run\".\"Running\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "36", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "38", "uid": "38", "type": "O", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "37", "source_pin": "out" }, "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "34", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "39", "uid": "39", "type": "Coil", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "29", "scope": "GlobalVariable", "type": "variable", "name": "\"gHVP301_Open\"" }, "in": { "type": "connection", "source_instruction_type": "O", "source_instruction_uid": "38", "source_pin": "out" } }, "outputs": {} } ], "language": "LAD" }, { "id": "1A", "title": "Manual Syrup Drain Valve Open - Operator Alarm", "comment": "", "logic": [ { "instruction_uid": "25", "uid": "25", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gIN_HVM302_Aux\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "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": "23", "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": { "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"gHVM302_Open\"" }, "in": { "type": "connection", "source_instruction_type": "Sd", "source_instruction_uid": "26", "source_pin": "q" } }, "outputs": {} } ], "language": "LAD" }, { "id": "2B", "title": "ResetTotalizer", "comment": "", "logic": [ { "instruction_uid": "24", "uid": "24", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gBlendResetTotalizer\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "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": "3C", "title": "ResetWaterTot", "comment": "", "logic": [ { "instruction_uid": "26", "uid": "26", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTN301_ResetTot\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "27", "uid": "27", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"mResetTotalizerTmr\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "28", "uid": "28", "type": "O", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" }, "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" } }, "outputs": {} }, { "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": { "operand": { "uid": "25", "scope": "LocalVariable", "type": "variable", "name": "\"mResetWaterTot\"" }, "in": { "type": "connection", "source_instruction_type": "Se", "source_instruction_uid": "29", "source_pin": "q" } }, "outputs": {} } ], "language": "LAD" }, { "id": "4D", "title": "ResetCO2Tot", "comment": "", "logic": [ { "instruction_uid": "27", "uid": "27", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTP302_ResetTot\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "28", "uid": "28", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"mResetTotalizerTmr\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "29", "uid": "29", "type": "O", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "28", "source_pin": "out" }, "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" } }, "outputs": {} }, { "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": { "operand": { "uid": "25", "scope": "GlobalVariable", "type": "variable", "name": "\"gSyrupRoomEn\"" }, "in": { "type": "connection", "source_instruction_type": "Se", "source_instruction_uid": "30", "source_pin": "q" } }, "outputs": {} }, { "instruction_uid": "32", "uid": "32", "type": "Coil", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "26", "scope": "LocalVariable", "type": "variable", "name": "\"mResetSyrupTot\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "31", "source_pin": "out" } }, "outputs": {} } ], "language": "LAD" }, { "id": "5E", "title": "ResetProductTot", "comment": "", "logic": [ { "instruction_uid": "26", "uid": "26", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gFTM303_ResetTot\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "27", "uid": "27", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"mResetTotalizerTmr\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "28", "uid": "28", "type": "O", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" }, "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" } }, "outputs": {} }, { "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": { "operand": { "uid": "25", "scope": "LocalVariable", "type": "variable", "name": "\"mResetCO2Tot\"" }, "in": { "type": "connection", "source_instruction_type": "Se", "source_instruction_uid": "29", "source_pin": "q" } }, "outputs": {} } ], "language": "LAD" }, { "id": "6F", "title": "ResetCO2Tot", "comment": "", "logic": [ { "instruction_uid": "26", "uid": "26", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"gProductMFMResetTot\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "27", "uid": "27", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"mResetTotalizerTmr\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "28", "uid": "28", "type": "O", "template_values": { "Card": "Cardinality" }, "negated_pins": {}, "inputs": { "in2": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "27", "source_pin": "out" }, "in1": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "26", "source_pin": "out" } }, "outputs": {} }, { "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": { "operand": { "uid": "25", "scope": "LocalVariable", "type": "variable", "name": "\"mResetProductTot\"" }, "in": { "type": "connection", "source_instruction_type": "Se", "source_instruction_uid": "29", "source_pin": "q" } }, "outputs": {} } ], "language": "LAD" }, { "id": "80", "title": "Mod Copy Recipe", "comment": "", "logic": [ { "instruction_uid": "33", "uid": "33", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "34", "uid": "34", "type": "Contact", "template_values": {}, "negated_pins": { "operand": true }, "inputs": { "operand": { "uid": "22", "scope": "GlobalVariable", "type": "variable", "name": "\"mFP_Recip_Main_Page\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "33", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "35", "uid": "35", "type": "Coil", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"mAux_FP_M700_1\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "34", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "36", "uid": "36", "type": "Coil", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"mFP_Recip_Main_Page\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "33", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "37", "uid": "37", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "25", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "38", "uid": "38", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "26", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "37", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "39", "uid": "39", "type": "SdCoil", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "27", "scope": "GlobalVariable", "type": "variable", "name": "\"T_Pulse_Recipe_Edit\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "38", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "40", "uid": "40", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "29", "scope": "GlobalVariable", "type": "variable", "name": "\"T_Pulse_Recipe_Edit\"" }, "in": { "type": "connection", "source_instruction_type": "SdCoil", "source_instruction_uid": "39", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "41", "uid": "41", "type": "RCoil", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "30", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "40", "source_pin": "out" } }, "outputs": {} }, { "instruction_uid": "42", "uid": "42", "type": "Contact", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "31", "scope": "GlobalVariable", "type": "variable", "name": "\"mAux_FP_M700_1\"" }, "in": { "type": "powerrail" } }, "outputs": {} }, { "instruction_uid": "43", "uid": "43", "type": "SCoil", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "32", "scope": "GlobalVariable", "type": "variable", "name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\"" }, "in": { "type": "connection", "source_instruction_type": "Contact", "source_instruction_uid": "42", "source_pin": "out" } }, "outputs": {} } ], "language": "LAD" } ] }