{ "block_name": "TestLAD", "block_number": 2, "language": "LAD", "block_comment": "", "interface": { "Return": [ { "name": "Ret_Val", "datatype": "Void" } ] }, "networks": [ { "id": "9", "title": "Clock Bit", "comment": "", "logic": [ { "instruction_uid": "24", "uid": "24", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"Clock_10Hz\"" }, "in": { "type": "powerrail" } }, "outputs": {}, "scl": "// RLO: \"Clock_10Hz\"" }, { "instruction_uid": "25", "uid": "25", "type": "PBox_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": "\"M19001\"" } }, "outputs": {}, "_edge_mem_update_scl": "\"M19001\" := \"Clock_10Hz\";", "scl": "// Logic moved to Coil 26" }, { "instruction_uid": "26", "uid": "26", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"Clock_5Hz\"" }, "in": { "type": "connection", "source_instruction_type": "PBox", "source_instruction_uid": "25", "source_pin": "out" } }, "outputs": {}, "scl": "\"Clock_5Hz\" := \"Clock_10Hz\" AND NOT \"M19001\";\\n\"M19001\" := \"Clock_10Hz\"; // P_TRIG(\"Clock_10Hz\") (Mem update handled by consumer)" } ] }, { "id": "1A", "title": "Clock Bit", "comment": "", "logic": [ { "instruction_uid": "24", "uid": "24", "type": "Contact_scl", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "21", "scope": "GlobalVariable", "type": "variable", "name": "\"Clock_10Hz\"" }, "in": { "type": "powerrail" } }, "outputs": {}, "scl": "// RLO: \"Clock_10Hz\"" }, { "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": "\"M19001\"" } }, "outputs": {}, "_edge_mem_update_scl": "\"M19001\" := \"Clock_10Hz\";", "scl": "// Logic moved to Coil 26" }, { "instruction_uid": "26", "uid": "26", "type": "Coil_scl", "template_values": {}, "negated_pins": {}, "inputs": { "operand": { "uid": "23", "scope": "GlobalVariable", "type": "variable", "name": "\"Clock_5Hz\"" }, "in": { "type": "connection", "source_instruction_type": "NBox", "source_instruction_uid": "25", "source_pin": "out" } }, "outputs": {}, "scl": "\"Clock_5Hz\" := NOT \"Clock_10Hz\" AND \"M19001\";\\n\"M19001\" := \"Clock_10Hz\"; // N_TRIG(\"Clock_10Hz\") (Mem update handled by consumer)" } ] } ] }