[ { "id": "2f922d0a6ed3422c", "type": "ctrlx-datalayer-request", "z": "8d6dcf02b8966542", "device": "a7eb2507ea5e67dc", "method": "BROWSE", "path": "fieldbuses/ethercat/master/instances/ethercatmaster/realtime_data/input/data/XI110116", "payloadFormat": "value", "name": "", "pendingWarnLevel": 50, "pendingErrorLevel": 100, "x": 420, "y": 280, "wires": [ [ "047049e645881457" ] ] }, { "id": "efb3fad8e1f53a48", "type": "inject", "z": "8d6dcf02b8966542", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": "0.0", "topic": "", "payload": "", "payloadType": "date", "x": 160, "y": 280, "wires": [ [ "2f922d0a6ed3422c" ] ] }, { "id": "047049e645881457", "type": "function", "z": "8d6dcf02b8966542", "name": "function 25", "func": "var payload = [];\n\nfor (var i = 0; i < msg.payload.length; i++) {\n var data = {\n path: msg.topic + \"/\" + msg.payload[i]\n };\n\n node.send(data);\n}\n", "outputs": 1, "timeout": "", "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 690, "y": 280, "wires": [ [ "0e50618c7d95c555" ] ] }, { "id": "0e50618c7d95c555", "type": "ctrlx-datalayer-request", "z": "8d6dcf02b8966542", "device": "a7eb2507ea5e67dc", "method": "READ", "path": "", "payloadFormat": "value", "name": "", "pendingWarnLevel": 50, "pendingErrorLevel": 100, "x": 870, "y": 280, "wires": [ [ "5d692da85024b7b5" ] ] }, { "id": "62573be866f25b86", "type": "debug", "z": "8d6dcf02b8966542", "name": "debug 65", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 1300, "y": 280, "wires": [] }, { "id": "5298da38e5cdd76a", "type": "join", "z": "8d6dcf02b8966542", "name": "", "mode": "auto", "build": "array", "property": "", "propertyType": "full", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "8", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 1170, "y": 280, "wires": [ [ "62573be866f25b86" ] ] }, { "id": "5d692da85024b7b5", "type": "batch", "z": "8d6dcf02b8966542", "name": "", "mode": "interval", "count": "8", "overlap": 0, "interval": "1", "allowEmptySequence": false, "topics": [], "x": 1040, "y": 280, "wires": [ [ "5298da38e5cdd76a" ] ] }, { "id": "ed1f02c94335e8ca", "type": "ctrlx-datalayer-request", "z": "8d6dcf02b8966542", "device": "a7eb2507ea5e67dc", "method": "BROWSE", "path": "fieldbuses/ethercat/master/instances/ethercatmaster/realtime_data/input/data", "payloadFormat": "value", "name": "", "pendingWarnLevel": 50, "pendingErrorLevel": 100, "x": 420, "y": 360, "wires": [ [ "174b530734e5aa7f" ] ] }, { "id": "d6299564996b49c8", "type": "inject", "z": "8d6dcf02b8966542", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": "0.0", "topic": "", "payload": "", "payloadType": "date", "x": 100, "y": 360, "wires": [ [ "ed1f02c94335e8ca" ] ] }, { "id": "0d1e59cc742e92b2", "type": "function", "z": "8d6dcf02b8966542", "name": "function 28", "func": "var payload = [];\n\nfor (var i = 0; i < msg.payload.value.length; i++) {\n var data = {\n path: msg.topic + \"/\" + msg.payload.value[i]\n };\n\n node.send(data);\n}\n", "outputs": 1, "timeout": "", "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1130, "y": 360, "wires": [ [ "e333ad36fe1fb5e4" ] ] }, { "id": "e333ad36fe1fb5e4", "type": "ctrlx-datalayer-request", "z": "8d6dcf02b8966542", "device": "a7eb2507ea5e67dc", "method": "READ", "path": "", "payloadFormat": "value", "name": "", "pendingWarnLevel": 50, "pendingErrorLevel": 100, "x": 1310, "y": 360, "wires": [ [ "2cb35b163431fac5" ] ] }, { "id": "1fe9a32f719a7d73", "type": "debug", "z": "8d6dcf02b8966542", "name": "debug 69", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 1760, "y": 360, "wires": [] }, { "id": "9974f2fd2302c6f0", "type": "join", "z": "8d6dcf02b8966542", "name": "", "mode": "auto", "build": "array", "property": "", "propertyType": "full", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "1", "count": "", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 1630, "y": 360, "wires": [ [ "1fe9a32f719a7d73" ] ] }, { "id": "2cb35b163431fac5", "type": "batch", "z": "8d6dcf02b8966542", "name": "", "mode": "interval", "count": "8", "overlap": 0, "interval": "1", "allowEmptySequence": false, "topics": [], "x": 1490, "y": 360, "wires": [ [ "9974f2fd2302c6f0" ] ] }, { "id": "174b530734e5aa7f", "type": "function", "z": "8d6dcf02b8966542", "name": "function 29", "func": "var payload = [];\n\nfor (var i = 0; i < msg.payload.length; i++) {\n var data = {\n path: msg.topic + \"/\" + msg.payload[i]\n };\n\n node.send(data);\n}\n", "outputs": 1, "timeout": "", "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 710, "y": 360, "wires": [ [ "8b75666926e9f66c" ] ] }, { "id": "8b75666926e9f66c", "type": "ctrlx-datalayer-request", "z": "8d6dcf02b8966542", "device": "a7eb2507ea5e67dc", "method": "BROWSE", "path": "", "payloadFormat": "value_type", "name": "", "pendingWarnLevel": 50, "pendingErrorLevel": 100, "x": 910, "y": 360, "wires": [ [ "0d1e59cc742e92b2" ] ] }, { "id": "a7eb2507ea5e67dc", "type": "ctrlx-config", "name": "CtrlX", "hostname": "localhost", "debug": false } ]