[{"id":"e00ef3d29d3f756a","type":"inject","z":"c97ba0b10f802c2f","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"1","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"date","x":110,"y":60,"wires":[["9a68b53ec55ef759"]]},{"id":"0f9966dbfa64f3e3","type":"debug","z":"c97ba0b10f802c2f","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":930,"y":60,"wires":[]},{"id":"9a68b53ec55ef759","type":"function","z":"c97ba0b10f802c2f","name":"Get process data","func":"msg.payload = {\"code\": \"request\", \"cid\": 4, \n\"adr\": \"/iolinkmaster/port[1]/iolinkdevice/pdin/getdata\"}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":310,"y":60,"wires":[["28639794b0aac6c8"]]},{"id":"28639794b0aac6c8","type":"http request","z":"c97ba0b10f802c2f","name":"","method":"POST","ret":"obj","paytoqs":"ignore","url":"192.168.10.200","tls":"","persist":false,"proxy":"","authType":"","x":510,"y":60,"wires":[["42695422df1172b2"]]},{"id":"42695422df1172b2","type":"function","z":"c97ba0b10f802c2f","name":"Slice Process Data","func":"var value = {}\ndatas = msg.payload[\"data\"][\"value\"]\nsplitSize = 4\n\nfor(x = 0; x<datas.length; x += splitSize){\n    value[\"Word\" + x/2] = parseInt(datas.slice(x,x+splitSize), 16)\n}\n\nmsg.payload = value\nmsg.topic =\"ia/sensorDatas/port1\"\nreturn msg","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":710,"y":60,"wires":[["0f9966dbfa64f3e3","e6f555fd4cdab2cc"]]},{"id":"e6f555fd4cdab2cc","type":"mqtt out","z":"c97ba0b10f802c2f","name":"","topic":"","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"46e14e8a507998ab","x":910,"y":100,"wires":[]},{"id":"46e14e8a507998ab","type":"mqtt-broker","name":"","broker":"united-manufacturing-hub-hivemqce-local-service","port":"1883","clientid":"","usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""}]