{ "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": "1A", "title": "Filler Head", "comment": "", "logic": [ { "instruction_uid": "25", "uid": "25", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"AUX FALSE\"" }, "in": { "type": "powerrail" } }, "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": { "RET_VAL": [ { "uid": "23", "scope": "LocalVariable", "type": "variable", "name": "\"Block_Move_Err\"" } ], "DSTBLK": [ { "uid": "24", "scope": "GlobalVariable", "type": "variable", "name": "\"Filler_Head_Variables\".\"FillerHead\"" } ] }, "scl": "IF \"AUX FALSE\" THEN\n \"Block_Move_Err\" := BLKMOV(SRCBLK := \"HMI_PID\".\"PPM303\", DSTBLK => \"Filler_Head_Variables\".\"FillerHead\"); // ADVERTENCIA: BLKMOV usado directamente, probablemente no compile!\nEND_IF;" } ] } ] }