Skip to content

Instantly share code, notes, and snippets.

@brennan-reamer
Last active January 10, 2024 17:35
Show Gist options
  • Save brennan-reamer/fdf99cabf52814efb4d8494e45909b30 to your computer and use it in GitHub Desktop.
Save brennan-reamer/fdf99cabf52814efb4d8494e45909b30 to your computer and use it in GitHub Desktop.
Tulip/Banner PICK-IQ

This is a sample/template flow for Banner devices capable of communicating using PICK-IQ. The flow integrates Banner devices into Tulip's no-code app building platform. Please refer to Tulip's Knowledge Base for more information.

[
{
"id": "955f65db1785468b",
"type": "tab",
"label": "PICKIQ",
"disabled": false,
"info": "",
"env": []
},
{
"id": "52aca4561dc48490",
"type": "group",
"z": "955f65db1785468b",
"name": "Read Data",
"style": {
"label": true,
"stroke": "#ff3f3f",
"fill": "#ffbfbf",
"color": "#000000"
},
"nodes": [
"d062ce64b8c13c4e",
"f7bbedad48b1451f",
"5315a8a5d30688cf",
"1bd7f82e82af4305",
"e5d84ebbda54e191",
"01978279f21b155a"
],
"x": 134,
"y": 19,
"w": 698,
"h": 448
},
{
"id": "99ed2aa8d63694ae",
"type": "group",
"z": "955f65db1785468b",
"name": "Set Operating Mode",
"style": {
"label": true,
"stroke": "#000000",
"fill": "#bfbfbf",
"color": "#000000"
},
"nodes": [
"94de42fbc8dbf8c7",
"13775182ad33aa47",
"ae40f14eb69c6da5",
"408e42d309c986c4",
"8f05b34e3e12883a"
],
"x": 148,
"y": 493,
"w": 644,
"h": 274
},
{
"id": "86077fcc61047e1f",
"type": "group",
"z": "955f65db1785468b",
"name": "Set Colors and Intensities",
"style": {
"label": true,
"stroke": "#92d04f",
"fill": "#e3f3d3",
"color": "#000000"
},
"nodes": [
"25d6e2533bdf7932",
"e278ba4378053af7",
"41f05df0667d93e7"
],
"x": 82,
"y": 807,
"w": 750,
"h": 1686
},
{
"id": "b798e1220f501e07",
"type": "group",
"z": "955f65db1785468b",
"name": "Seven-Segment Display",
"style": {
"label": true,
"stroke": "#777777",
"fill": "#d1d1d1",
"color": "#000000"
},
"nodes": [
"3c1a912567fb31e8",
"8b229ffbe8c7716e",
"0b799cf3096eee7a"
],
"x": 902,
"y": 27,
"w": 996,
"h": 1726
},
{
"id": "3207db7f96c7d067",
"type": "group",
"z": "955f65db1785468b",
"name": "Change Unit-IDs",
"style": {
"stroke": "#d1d1d1",
"label": true,
"color": "#0070c0",
"fill": "#7fb7df",
"fill-opacity": "0.66"
},
"nodes": [
"6a182defbf2533c4",
"f7c2ab9e4768a627",
"7f29346f9fe9f07a",
"c844852d1912f3f2",
"8b7f21b16ac6827b",
"f0e4cee68acbd8a6",
"c50b0823e34ec56b",
"0fcf7050d84eec3c",
"208f3a98c907e296",
"d3031bc2c5e4379f",
"31fa1931a897861d",
"b953a1f0e5d081b1",
"f11f19745e97f3ba",
"d24d200e8a052df3",
"38918bcde0cfd301",
"64298bce8113dbec",
"5371262bef9b6d07",
"1e987f26dac1e120"
],
"x": 908,
"y": 1793,
"w": 984,
"h": 974
},
{
"id": "e5d84ebbda54e191",
"type": "group",
"z": "955f65db1785468b",
"g": "52aca4561dc48490",
"name": "Option 2) Connector Function",
"style": {
"label": true,
"stroke": "#ffC000",
"color": "#000000",
"fill": "#ffdf7f"
},
"nodes": [
"b48ffe41658f4148",
"0acca407333b39dd",
"8ef30bacd87dbe11",
"5a9d3e49cc9073c6",
"5680e60ff13b231e",
"1ac001b3e67b93c1"
],
"x": 174,
"y": 279,
"w": 612,
"h": 162
},
{
"id": "01978279f21b155a",
"type": "group",
"z": "955f65db1785468b",
"g": "52aca4561dc48490",
"name": "Option 1) Machine Data",
"style": {
"stroke": "#addb7b",
"fill": "#c8e7a7",
"label": true,
"color": "#000000"
},
"nodes": [
"2d16f074fe23572e",
"82054e1d1f12f206",
"02682f8891732c01"
],
"x": 374,
"y": 139,
"w": 432,
"h": 122
},
{
"id": "408e42d309c986c4",
"type": "group",
"z": "955f65db1785468b",
"g": "99ed2aa8d63694ae",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"a1b7cc5a22997c60",
"ae88556c69d54077",
"d0ceb21f30fa6bb1",
"9eebc13ee63b44bc"
],
"x": 174,
"y": 619,
"w": 592,
"h": 122
},
{
"id": "8f05b34e3e12883a",
"type": "group",
"z": "955f65db1785468b",
"g": "99ed2aa8d63694ae",
"name": "Manual",
"style": {
"label": true,
"stroke": "#9363b7",
"fill": "#dbcbe7",
"color": "#000000"
},
"nodes": [
"02dbb915054e25ea"
],
"x": 174,
"y": 519,
"w": 192,
"h": 82
},
{
"id": "25d6e2533bdf7932",
"type": "group",
"z": "955f65db1785468b",
"g": "86077fcc61047e1f",
"name": "Animation",
"style": {
"label": true,
"stroke": "#ffcf3f",
"color": "#000000",
"fill": "#ffffbf"
},
"nodes": [
"ba3501ab4a22690f",
"a4bdc4ce46d60a78",
"1744f4c4d8b8e5cc",
"2783fb17c8a7a30a",
"2d591caa85aa8b29"
],
"x": 108,
"y": 833,
"w": 698,
"h": 274
},
{
"id": "e278ba4378053af7",
"type": "group",
"z": "955f65db1785468b",
"g": "86077fcc61047e1f",
"name": "Color 1",
"style": {
"stroke": "#ffcf3f",
"label": true,
"color": "#000000",
"fill": "#ffffbf"
},
"nodes": [
"bdeee0c604271636",
"f68504699341c8f7",
"bf6b963c5859a739",
"2e295d885be6df25",
"8b6c923cfd911043",
"66d84a3d91c4fc7b",
"63ebf8c6f9cba41a",
"b18b2c20629ee923",
"ede3f16b66e5b5df",
"72aa14d1e0dce2e8"
],
"x": 108,
"y": 1133,
"w": 698,
"h": 654
},
{
"id": "41f05df0667d93e7",
"type": "group",
"z": "955f65db1785468b",
"g": "86077fcc61047e1f",
"name": "Color 2",
"style": {
"stroke": "#ffcf3f",
"label": true,
"color": "#000000",
"fill": "#ffffbf"
},
"nodes": [
"6043edb553951c4c",
"9a7c4ed277fc6cd2",
"2b8120f347bf59da",
"4eafcf4960571bfe",
"4b8967c7d96dfe09",
"2dcd4dae12088bfa",
"8490d75a90d5b766",
"8772ea6fc0299c1d",
"8b468ee06f49fc2c",
"a8da0d7df25c145b"
],
"x": 108,
"y": 1813,
"w": 698,
"h": 654
},
{
"id": "3c1a912567fb31e8",
"type": "group",
"z": "955f65db1785468b",
"g": "b798e1220f501e07",
"name": "Set Seven Segment Display Input Mode",
"style": {
"label": true,
"stroke": "#3f5787",
"color": "#3f5787",
"fill": "#bfc7d7"
},
"nodes": [
"25ff1e88d0f2c3d7",
"cf099e75f5eed109",
"e36f0cbefcf5c00e",
"4a10b5c42f802dd0",
"6fd6e6098336f2a1",
"98941ca60d3d4010"
],
"x": 1028,
"y": 53,
"w": 698,
"h": 354
},
{
"id": "8b229ffbe8c7716e",
"type": "group",
"z": "955f65db1785468b",
"g": "b798e1220f501e07",
"name": "Write to Seven Segment Display",
"style": {
"label": true,
"stroke": "#3f5787",
"color": "#3f5787",
"fill": "#bfc7d7"
},
"nodes": [
"d5dd122f353a3119",
"c4092950a1d2b3bb",
"ccdf7dc83fd4e64c",
"026702a497cf87bf"
],
"x": 1028,
"y": 433,
"w": 684,
"h": 314
},
{
"id": "0b799cf3096eee7a",
"type": "group",
"z": "955f65db1785468b",
"g": "b798e1220f501e07",
"name": "Edit Decimals",
"style": {
"label": true,
"stroke": "#3f5787",
"color": "#3f5787",
"fill": "#bfc7d7"
},
"nodes": [
"5b610b116a93e205",
"3b3dbfe8ddd66f36",
"1c54633a0da96a73",
"95fdc640f28906f3",
"75ade8a17ca9f648",
"730d526bb5c9bf2e",
"c2c1f406de7f1191",
"4d52489e7a459033",
"1221e739b41089c4",
"dda4df3343b52c23",
"d494ffac9d58ffba",
"54b46c4e83f257d0"
],
"x": 928,
"y": 773,
"w": 944,
"h": 954
},
{
"id": "d3031bc2c5e4379f",
"type": "group",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "Manual",
"style": {
"stroke": "#6f2fa0",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"ef28399d02a6da88",
"5f2402abfcc8c4ca",
"cfd8dc7d1946809d"
],
"x": 934,
"y": 1819,
"w": 172,
"h": 162
},
{
"id": "31fa1931a897861d",
"type": "group",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "Manual",
"style": {
"stroke": "#6f2fa0",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"297ea49dd5399096",
"b37a740561ea2af8",
"aa8f6783d28169d7"
],
"x": 934,
"y": 1999,
"w": 172,
"h": 162
},
{
"id": "b953a1f0e5d081b1",
"type": "group",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "Manual",
"style": {
"stroke": "#6f2fa0",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"a63bc0b37ca30265",
"d9a3ddf9c4447798",
"cea729ec74ac1006"
],
"x": 934,
"y": 2179,
"w": 172,
"h": 162
},
{
"id": "f11f19745e97f3ba",
"type": "group",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "Manual",
"style": {
"stroke": "#6f2fa0",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"ee2df0ca9fe84bc4",
"4f64e49df500e799",
"958380f42eb25a7b"
],
"x": 934,
"y": 2359,
"w": 172,
"h": 162
},
{
"id": "d24d200e8a052df3",
"type": "group",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"84d4ab8c2e0f74ec",
"f11c1ac6ecc4f4d0",
"c495cf60e3e06d18",
"0cc438d02b98082c",
"c88e9aa067a451a3",
"4c4cd6b5acb23bec",
"c8d5618c3cf8c9b1",
"3ad585483eaa626a",
"1299bfcfb02cbe93",
"95788ad7dce9da0e",
"6099565fe9aee5bf",
"c5d14dce601bb2e0",
"cdf36dfdc96214f8",
"bbab920dcf808477"
],
"x": 934,
"y": 2539,
"w": 932,
"h": 202
},
{
"id": "2783fb17c8a7a30a",
"type": "group",
"z": "955f65db1785468b",
"g": "25d6e2533bdf7932",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"7c49703ee59dbfc0",
"f3e019d3e4667708",
"9e8f7ffdc73bdbc5",
"a5c541152bef3e83"
],
"x": 134,
"y": 959,
"w": 592,
"h": 122
},
{
"id": "2e295d885be6df25",
"type": "group",
"z": "955f65db1785468b",
"g": "e278ba4378053af7",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"b7f04aa40ce5bd73",
"b20d50a7512bb6ae",
"c4507dae4dfae5d5",
"123d41a57d51d478",
"ff9fe76cc19e8e6b"
],
"x": 134,
"y": 1259,
"w": 632,
"h": 162
},
{
"id": "2d591caa85aa8b29",
"type": "group",
"z": "955f65db1785468b",
"g": "25d6e2533bdf7932",
"name": "Manual",
"style": {
"stroke": "#9363b7",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"e65216dba65b0f3b"
],
"x": 134,
"y": 859,
"w": 212,
"h": 82
},
{
"id": "8b6c923cfd911043",
"type": "group",
"z": "955f65db1785468b",
"g": "e278ba4378053af7",
"name": "Manual",
"style": {
"stroke": "#9363b7",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"6e6c0ae37b4d5dc7"
],
"x": 134,
"y": 1159,
"w": 172,
"h": 82
},
{
"id": "66d84a3d91c4fc7b",
"type": "group",
"z": "955f65db1785468b",
"g": "e278ba4378053af7",
"name": "Manual",
"style": {
"stroke": "#9363b7",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"25c1d478e46ddd3e",
"dc54831b6dd29bcb"
],
"x": 134,
"y": 1459,
"w": 172,
"h": 122
},
{
"id": "63ebf8c6f9cba41a",
"type": "group",
"z": "955f65db1785468b",
"g": "e278ba4378053af7",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"c077179ee7820686",
"928873e11e767222",
"20bfeb8c142a6197",
"d4afea7b4bfa3d82",
"d3ecd51399304fc4"
],
"x": 134,
"y": 1599,
"w": 632,
"h": 162
},
{
"id": "4eafcf4960571bfe",
"type": "group",
"z": "955f65db1785468b",
"g": "41f05df0667d93e7",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"6655c861d0d891fa",
"b7384e901bfcd392",
"453d4cf858af7040",
"2c311c7247acdc7a",
"0a06f2d5408bf984"
],
"x": 134,
"y": 1939,
"w": 632,
"h": 162
},
{
"id": "4b8967c7d96dfe09",
"type": "group",
"z": "955f65db1785468b",
"g": "41f05df0667d93e7",
"name": "Manual",
"style": {
"stroke": "#9363b7",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"296a3a7da2cc32cd"
],
"x": 134,
"y": 1839,
"w": 172,
"h": 82
},
{
"id": "2dcd4dae12088bfa",
"type": "group",
"z": "955f65db1785468b",
"g": "41f05df0667d93e7",
"name": "Manual",
"style": {
"stroke": "#9363b7",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"837220f88a2487fb",
"2c4bb8b25e20e1ec"
],
"x": 134,
"y": 2139,
"w": 172,
"h": 122
},
{
"id": "8490d75a90d5b766",
"type": "group",
"z": "955f65db1785468b",
"g": "41f05df0667d93e7",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"0d08568d963dda32",
"aced74960b5316a4",
"d95536b6c8e64436",
"df256bee815d39f8",
"19838c519eec7959"
],
"x": 134,
"y": 2279,
"w": 632,
"h": 162
},
{
"id": "6fd6e6098336f2a1",
"type": "group",
"z": "955f65db1785468b",
"g": "3c1a912567fb31e8",
"name": "Manual",
"style": {
"stroke": "#9363b7",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"5d9b00e8e541ec45",
"40f6f62e2ab3c2b5"
],
"x": 1054,
"y": 79,
"w": 192,
"h": 122
},
{
"id": "98941ca60d3d4010",
"type": "group",
"z": "955f65db1785468b",
"g": "3c1a912567fb31e8",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"a22fff2f30c9fdc6",
"7724404a8930b690",
"17ae02b8ee24601c",
"f875a912ee1e8759",
"df9aa6858a0537e6"
],
"x": 1054,
"y": 219,
"w": 632,
"h": 162
},
{
"id": "ccdf7dc83fd4e64c",
"type": "group",
"z": "955f65db1785468b",
"g": "8b229ffbe8c7716e",
"name": "Manual",
"style": {
"stroke": "#9363b7",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"64204b326e2cb0a1"
],
"x": 1054,
"y": 459,
"w": 172,
"h": 82
},
{
"id": "026702a497cf87bf",
"type": "group",
"z": "955f65db1785468b",
"g": "8b229ffbe8c7716e",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"0d05738769630d8d",
"36b9baa42669c347",
"4d4aa1e8bc6540ed",
"35056346bc58daa0",
"ffe42d402340eeea"
],
"x": 1054,
"y": 559,
"w": 632,
"h": 162
},
{
"id": "c2c1f406de7f1191",
"type": "group",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "Manual",
"style": {
"stroke": "#9363b7",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"a6f1bc339632bd87",
"d8a98b5da09d4694",
"4ae1413dc7f5f4c8",
"6cb22eebc9a8653b",
"05d93babb88348eb",
"66e8af9d00b1b910"
],
"x": 954,
"y": 799,
"w": 272,
"h": 282
},
{
"id": "4d52489e7a459033",
"type": "group",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"44bb0758f9c48951",
"2521cf01d55cd4c9",
"2eeb2df8df4bc96e",
"28947ccf6150baef",
"c955e03af28e36f7"
],
"x": 1254,
"y": 919,
"w": 592,
"h": 162
},
{
"id": "1221e739b41089c4",
"type": "group",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "Manual",
"style": {
"stroke": "#9363b7",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"189654e36235df93",
"fbb4cbec048de0fb",
"5edc849261ae34b1",
"9144fe802473b580",
"924a6a1c5507fc3a",
"70d0b051ad540f48"
],
"x": 954,
"y": 1099,
"w": 272,
"h": 282
},
{
"id": "dda4df3343b52c23",
"type": "group",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"9cad35edce08a4cc",
"425791c08095b559",
"792757673a677bbf",
"a15800c70e76fe2b",
"0e7576b4b308414b"
],
"x": 1254,
"y": 1219,
"w": 592,
"h": 162
},
{
"id": "d494ffac9d58ffba",
"type": "group",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "Manual",
"style": {
"stroke": "#9363b7",
"fill": "#dbcbe7",
"label": true,
"color": "#000000"
},
"nodes": [
"b5e1ffa5f7543917",
"c319c041fb812b75",
"057fe20434b02c1c",
"c1baabadf05e6048",
"5f8e4a538e392ee4",
"69f89fddd001fc97"
],
"x": 954,
"y": 1419,
"w": 272,
"h": 282
},
{
"id": "54b46c4e83f257d0",
"type": "group",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "Receive from Tulip Connector",
"style": {
"stroke": "#3f93cf",
"fill": "#bfdbef",
"label": true,
"color": "#000000"
},
"nodes": [
"845b6812f32a5774",
"17e8d0762abb17a8",
"a917054e55a79c4f",
"d9b15953c16cd2aa",
"b22feae3b7495442"
],
"x": 1254,
"y": 1539,
"w": 592,
"h": 162
},
{
"id": "d062ce64b8c13c4e",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "52aca4561dc48490",
"name": "",
"registerShowMax": 20,
"x": 450,
"y": 100,
"wires": []
},
{
"id": "f7bbedad48b1451f",
"type": "modbus-read",
"z": "955f65db1785468b",
"g": "52aca4561dc48490",
"name": "Data Read",
"topic": "Button Read",
"showStatusActivities": true,
"logIOActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "7941",
"quantity": "1",
"rate": "1",
"rateUnit": "s",
"delayOnStart": true,
"startDelayTime": "1",
"server": "352955bb.be6e6a",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 240,
"y": 140,
"wires": [
[
"5315a8a5d30688cf",
"d062ce64b8c13c4e"
],
[
"8ef30bacd87dbe11",
"82054e1d1f12f206"
]
]
},
{
"id": "5315a8a5d30688cf",
"type": "debug",
"z": "955f65db1785468b",
"g": "52aca4561dc48490",
"name": "Output",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 410,
"y": 60,
"wires": []
},
{
"id": "1bd7f82e82af4305",
"type": "comment",
"z": "955f65db1785468b",
"g": "52aca4561dc48490",
"name": "Outputs [1] when triggered, [0] when not",
"info": "",
"x": 650,
"y": 60,
"wires": []
},
{
"id": "b48ffe41658f4148",
"type": "http in",
"z": "955f65db1785468b",
"g": "e5d84ebbda54e191",
"name": "/PICKIQ/7941",
"url": "/PICKIQ/7941",
"method": "get",
"upload": false,
"swaggerDoc": "",
"x": 270,
"y": 360,
"wires": [
[
"5680e60ff13b231e"
]
]
},
{
"id": "0acca407333b39dd",
"type": "http response",
"z": "955f65db1785468b",
"g": "e5d84ebbda54e191",
"name": "",
"statusCode": "200",
"headers": {
"content-type": "text/plain"
},
"x": 640,
"y": 320,
"wires": []
},
{
"id": "8ef30bacd87dbe11",
"type": "change",
"z": "955f65db1785468b",
"g": "e5d84ebbda54e191",
"name": "",
"rules": [
{
"t": "set",
"p": "data",
"pt": "flow",
"to": "payload[0]",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
"y": 320,
"wires": [
[]
]
},
{
"id": "5a9d3e49cc9073c6",
"type": "debug",
"z": "955f65db1785468b",
"g": "e5d84ebbda54e191",
"name": "Returned Req",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 660,
"y": 360,
"wires": []
},
{
"id": "5680e60ff13b231e",
"type": "change",
"z": "955f65db1785468b",
"g": "e5d84ebbda54e191",
"name": "",
"rules": [
{
"t": "set",
"p": "payload.data",
"pt": "msg",
"to": "data",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 460,
"y": 360,
"wires": [
[
"0acca407333b39dd",
"5a9d3e49cc9073c6"
]
]
},
{
"id": "2d16f074fe23572e",
"type": "tulip-tag",
"z": "955f65db1785468b",
"g": "01978279f21b155a",
"name": "",
"tagList": "67cd2ce160a4177f",
"staticTag": true,
"tagId": "K50PFF100SQ",
"retainMsgProps": true,
"x": 700,
"y": 180,
"wires": [
[]
]
},
{
"id": "82054e1d1f12f206",
"type": "change",
"z": "955f65db1785468b",
"g": "01978279f21b155a",
"name": "Translate into Boolean",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload[0]",
"tot": "msg",
"dc": true
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "0",
"fromt": "num",
"to": "false",
"tot": "bool"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "1",
"fromt": "str",
"to": "true",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 180,
"wires": [
[
"2d16f074fe23572e"
]
]
},
{
"id": "02682f8891732c01",
"type": "comment",
"z": "955f65db1785468b",
"g": "01978279f21b155a",
"name": "Option 1) Continuously send data to Tulip Machine",
"info": "",
"x": 590,
"y": 220,
"wires": []
},
{
"id": "1ac001b3e67b93c1",
"type": "comment",
"z": "955f65db1785468b",
"g": "e5d84ebbda54e191",
"name": "Option 2) Use a connector in a Tulip Trigger to poll this flow for the data",
"info": "",
"x": 450,
"y": 400,
"wires": []
},
{
"id": "02dbb915054e25ea",
"type": "inject",
"z": "955f65db1785468b",
"g": "8f05b34e3e12883a",
"name": "Advanced",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "1",
"topic": "",
"payload": "2",
"payloadType": "num",
"x": 280,
"y": 560,
"wires": [
[
"ae40f14eb69c6da5"
]
]
},
{
"id": "94de42fbc8dbf8c7",
"type": "debug",
"z": "955f65db1785468b",
"g": "99ed2aa8d63694ae",
"name": "",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 630,
"y": 540,
"wires": []
},
{
"id": "13775182ad33aa47",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "99ed2aa8d63694ae",
"name": "",
"registerShowMax": 20,
"x": 670,
"y": 580,
"wires": []
},
{
"id": "ae40f14eb69c6da5",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "99ed2aa8d63694ae",
"name": "Write_Mode",
"showStatusActivities": false,
"showErrors": false,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "3200",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 470,
"y": 560,
"wires": [
[
"94de42fbc8dbf8c7"
],
[
"13775182ad33aa47"
]
]
},
{
"id": "a1b7cc5a22997c60",
"type": "http in",
"z": "955f65db1785468b",
"g": "408e42d309c986c4",
"name": "/PICKIQ/3200",
"url": "/PICKIQ/3200",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 270,
"y": 660,
"wires": [
[
"ae88556c69d54077"
]
]
},
{
"id": "ae88556c69d54077",
"type": "switch",
"z": "955f65db1785468b",
"g": "408e42d309c986c4",
"name": "Check for valid input",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "5",
"v2t": "num"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 460,
"y": 660,
"wires": [
[
"ae40f14eb69c6da5",
"d0ceb21f30fa6bb1"
],
[
"9eebc13ee63b44bc"
]
]
},
{
"id": "d0ceb21f30fa6bb1",
"type": "http response",
"z": "955f65db1785468b",
"g": "408e42d309c986c4",
"name": "",
"statusCode": "200",
"headers": {},
"x": 680,
"y": 660,
"wires": []
},
{
"id": "9eebc13ee63b44bc",
"type": "http response",
"z": "955f65db1785468b",
"g": "408e42d309c986c4",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 5."
},
"x": 680,
"y": 700,
"wires": []
},
{
"id": "6e6c0ae37b4d5dc7",
"type": "inject",
"z": "955f65db1785468b",
"g": "8b6c923cfd911043",
"name": "Green",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 230,
"y": 1200,
"wires": [
[
"bf6b963c5859a739"
]
]
},
{
"id": "bdeee0c604271636",
"type": "debug",
"z": "955f65db1785468b",
"g": "e278ba4378053af7",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 650,
"y": 1180,
"wires": []
},
{
"id": "f68504699341c8f7",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "e278ba4378053af7",
"name": "",
"registerShowMax": 20,
"x": 690,
"y": 1220,
"wires": []
},
{
"id": "bf6b963c5859a739",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "e278ba4378053af7",
"name": "Write_Color_1",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "3070",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 440,
"y": 1200,
"wires": [
[
"bdeee0c604271636"
],
[
"f68504699341c8f7"
]
]
},
{
"id": "25c1d478e46ddd3e",
"type": "inject",
"z": "955f65db1785468b",
"g": "66d84a3d91c4fc7b",
"name": "Off",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "3",
"payloadType": "num",
"x": 230,
"y": 1500,
"wires": [
[
"72aa14d1e0dce2e8"
]
]
},
{
"id": "b18b2c20629ee923",
"type": "debug",
"z": "955f65db1785468b",
"g": "e278ba4378053af7",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 650,
"y": 1520,
"wires": []
},
{
"id": "ede3f16b66e5b5df",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "e278ba4378053af7",
"name": "",
"registerShowMax": 20,
"x": 690,
"y": 1560,
"wires": []
},
{
"id": "72aa14d1e0dce2e8",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "e278ba4378053af7",
"name": "Write_Color_1_Intensity",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "3071",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 470,
"y": 1540,
"wires": [
[
"b18b2c20629ee923"
],
[
"ede3f16b66e5b5df"
]
]
},
{
"id": "dc54831b6dd29bcb",
"type": "inject",
"z": "955f65db1785468b",
"g": "66d84a3d91c4fc7b",
"name": "High",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 230,
"y": 1540,
"wires": [
[
"72aa14d1e0dce2e8"
]
]
},
{
"id": "b7f04aa40ce5bd73",
"type": "http in",
"z": "955f65db1785468b",
"g": "2e295d885be6df25",
"name": "/PICKIQ/3070",
"url": "/PICKIQ/3070",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 230,
"y": 1320,
"wires": [
[
"b20d50a7512bb6ae"
]
]
},
{
"id": "b20d50a7512bb6ae",
"type": "switch",
"z": "955f65db1785468b",
"g": "2e295d885be6df25",
"name": "Check for valid input",
"property": "payload.value",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "13",
"v2t": "num"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 420,
"y": 1320,
"wires": [
[
"ff9fe76cc19e8e6b",
"c4507dae4dfae5d5"
],
[
"123d41a57d51d478"
]
]
},
{
"id": "c4507dae4dfae5d5",
"type": "http response",
"z": "955f65db1785468b",
"g": "2e295d885be6df25",
"name": "",
"statusCode": "200",
"headers": {},
"x": 640,
"y": 1340,
"wires": []
},
{
"id": "123d41a57d51d478",
"type": "http response",
"z": "955f65db1785468b",
"g": "2e295d885be6df25",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 13."
},
"x": 640,
"y": 1380,
"wires": []
},
{
"id": "ff9fe76cc19e8e6b",
"type": "change",
"z": "955f65db1785468b",
"g": "2e295d885be6df25",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.value",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 660,
"y": 1300,
"wires": [
[
"bf6b963c5859a739"
]
]
},
{
"id": "c077179ee7820686",
"type": "http in",
"z": "955f65db1785468b",
"g": "63ebf8c6f9cba41a",
"name": "/PICKIQ/3071",
"url": "/PICKIQ/3071",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 230,
"y": 1660,
"wires": [
[
"928873e11e767222"
]
]
},
{
"id": "928873e11e767222",
"type": "switch",
"z": "955f65db1785468b",
"g": "63ebf8c6f9cba41a",
"name": "Check for valid input",
"property": "payload.value",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "3",
"v2t": "num"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 420,
"y": 1660,
"wires": [
[
"20bfeb8c142a6197",
"d3ecd51399304fc4"
],
[
"d4afea7b4bfa3d82"
]
]
},
{
"id": "d3ecd51399304fc4",
"type": "change",
"z": "955f65db1785468b",
"g": "63ebf8c6f9cba41a",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.value",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 660,
"y": 1640,
"wires": [
[
"72aa14d1e0dce2e8"
]
]
},
{
"id": "20bfeb8c142a6197",
"type": "http response",
"z": "955f65db1785468b",
"g": "63ebf8c6f9cba41a",
"name": "",
"statusCode": "200",
"headers": {},
"x": 640,
"y": 1680,
"wires": []
},
{
"id": "d4afea7b4bfa3d82",
"type": "http response",
"z": "955f65db1785468b",
"g": "63ebf8c6f9cba41a",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 3."
},
"x": 640,
"y": 1720,
"wires": []
},
{
"id": "e65216dba65b0f3b",
"type": "inject",
"z": "955f65db1785468b",
"g": "2d591caa85aa8b29",
"name": "50/50 Rotate",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "5",
"payloadType": "num",
"x": 250,
"y": 900,
"wires": [
[
"1744f4c4d8b8e5cc"
]
]
},
{
"id": "ba3501ab4a22690f",
"type": "debug",
"z": "955f65db1785468b",
"g": "25d6e2533bdf7932",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 650,
"y": 880,
"wires": []
},
{
"id": "a4bdc4ce46d60a78",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "25d6e2533bdf7932",
"name": "",
"registerShowMax": 20,
"x": 690,
"y": 920,
"wires": []
},
{
"id": "1744f4c4d8b8e5cc",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "25d6e2533bdf7932",
"name": "Write_Animation",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "3060",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 460,
"y": 900,
"wires": [
[
"ba3501ab4a22690f"
],
[
"a4bdc4ce46d60a78"
]
]
},
{
"id": "7c49703ee59dbfc0",
"type": "http in",
"z": "955f65db1785468b",
"g": "2783fb17c8a7a30a",
"name": "/PICKIQ/3060",
"url": "/PICKIQ/3060",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 230,
"y": 1000,
"wires": [
[
"f3e019d3e4667708"
]
]
},
{
"id": "f3e019d3e4667708",
"type": "switch",
"z": "955f65db1785468b",
"g": "2783fb17c8a7a30a",
"name": "Check for valid input",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "9",
"v2t": "num"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 420,
"y": 1000,
"wires": [
[
"1744f4c4d8b8e5cc",
"9e8f7ffdc73bdbc5"
],
[
"a5c541152bef3e83"
]
]
},
{
"id": "9e8f7ffdc73bdbc5",
"type": "http response",
"z": "955f65db1785468b",
"g": "2783fb17c8a7a30a",
"name": "",
"statusCode": "200",
"headers": {},
"x": 640,
"y": 1000,
"wires": []
},
{
"id": "a5c541152bef3e83",
"type": "http response",
"z": "955f65db1785468b",
"g": "2783fb17c8a7a30a",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 9."
},
"x": 640,
"y": 1040,
"wires": []
},
{
"id": "6043edb553951c4c",
"type": "debug",
"z": "955f65db1785468b",
"g": "41f05df0667d93e7",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 650,
"y": 1860,
"wires": []
},
{
"id": "9a7c4ed277fc6cd2",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "41f05df0667d93e7",
"name": "",
"registerShowMax": 20,
"x": 690,
"y": 1900,
"wires": []
},
{
"id": "2b8120f347bf59da",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "41f05df0667d93e7",
"name": "Write_Color_2",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "3072",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 440,
"y": 1880,
"wires": [
[
"6043edb553951c4c"
],
[
"9a7c4ed277fc6cd2"
]
]
},
{
"id": "0a06f2d5408bf984",
"type": "change",
"z": "955f65db1785468b",
"g": "4eafcf4960571bfe",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.value",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 660,
"y": 1980,
"wires": [
[
"2b8120f347bf59da"
]
]
},
{
"id": "6655c861d0d891fa",
"type": "http in",
"z": "955f65db1785468b",
"g": "4eafcf4960571bfe",
"name": "/PICKIQ/3072",
"url": "/PICKIQ/3072",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 230,
"y": 2000,
"wires": [
[
"b7384e901bfcd392"
]
]
},
{
"id": "b7384e901bfcd392",
"type": "switch",
"z": "955f65db1785468b",
"g": "4eafcf4960571bfe",
"name": "Check for valid input",
"property": "payload.value",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "13",
"v2t": "num"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 420,
"y": 2000,
"wires": [
[
"0a06f2d5408bf984",
"453d4cf858af7040"
],
[
"2c311c7247acdc7a"
]
]
},
{
"id": "453d4cf858af7040",
"type": "http response",
"z": "955f65db1785468b",
"g": "4eafcf4960571bfe",
"name": "",
"statusCode": "200",
"headers": {},
"x": 640,
"y": 2020,
"wires": []
},
{
"id": "2c311c7247acdc7a",
"type": "http response",
"z": "955f65db1785468b",
"g": "4eafcf4960571bfe",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 13."
},
"x": 640,
"y": 2060,
"wires": []
},
{
"id": "296a3a7da2cc32cd",
"type": "inject",
"z": "955f65db1785468b",
"g": "4b8967c7d96dfe09",
"name": "Green",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 230,
"y": 1880,
"wires": [
[
"2b8120f347bf59da"
]
]
},
{
"id": "837220f88a2487fb",
"type": "inject",
"z": "955f65db1785468b",
"g": "2dcd4dae12088bfa",
"name": "Off",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "3",
"payloadType": "num",
"x": 230,
"y": 2180,
"wires": [
[
"a8da0d7df25c145b"
]
]
},
{
"id": "2c4bb8b25e20e1ec",
"type": "inject",
"z": "955f65db1785468b",
"g": "2dcd4dae12088bfa",
"name": "High",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 230,
"y": 2220,
"wires": [
[
"a8da0d7df25c145b"
]
]
},
{
"id": "0d08568d963dda32",
"type": "http in",
"z": "955f65db1785468b",
"g": "8490d75a90d5b766",
"name": "/PICKIQ/3073",
"url": "/PICKIQ/3073",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 230,
"y": 2340,
"wires": [
[
"aced74960b5316a4"
]
]
},
{
"id": "aced74960b5316a4",
"type": "switch",
"z": "955f65db1785468b",
"g": "8490d75a90d5b766",
"name": "Check for valid input",
"property": "payload.value",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "3",
"v2t": "num"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 420,
"y": 2340,
"wires": [
[
"d95536b6c8e64436",
"19838c519eec7959"
],
[
"df256bee815d39f8"
]
]
},
{
"id": "d95536b6c8e64436",
"type": "http response",
"z": "955f65db1785468b",
"g": "8490d75a90d5b766",
"name": "",
"statusCode": "200",
"headers": {},
"x": 640,
"y": 2360,
"wires": []
},
{
"id": "df256bee815d39f8",
"type": "http response",
"z": "955f65db1785468b",
"g": "8490d75a90d5b766",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 3."
},
"x": 640,
"y": 2400,
"wires": []
},
{
"id": "8772ea6fc0299c1d",
"type": "debug",
"z": "955f65db1785468b",
"g": "41f05df0667d93e7",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 650,
"y": 2180,
"wires": []
},
{
"id": "8b468ee06f49fc2c",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "41f05df0667d93e7",
"name": "",
"registerShowMax": 20,
"x": 690,
"y": 2220,
"wires": []
},
{
"id": "a8da0d7df25c145b",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "41f05df0667d93e7",
"name": "Write_Color_2_Intensity",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "3073",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 470,
"y": 2200,
"wires": [
[
"8772ea6fc0299c1d"
],
[
"8b468ee06f49fc2c"
]
]
},
{
"id": "19838c519eec7959",
"type": "change",
"z": "955f65db1785468b",
"g": "8490d75a90d5b766",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.value",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 660,
"y": 2320,
"wires": [
[
"a8da0d7df25c145b"
]
]
},
{
"id": "25ff1e88d0f2c3d7",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "3c1a912567fb31e8",
"name": "Write_SevSeg_Mode",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "6209",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 1380,
"y": 160,
"wires": [
[
"e36f0cbefcf5c00e"
],
[
"cf099e75f5eed109"
]
]
},
{
"id": "5d9b00e8e541ec45",
"type": "inject",
"z": "955f65db1785468b",
"g": "6fd6e6098336f2a1",
"name": "ASCII",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 1150,
"y": 120,
"wires": [
[
"25ff1e88d0f2c3d7"
]
]
},
{
"id": "cf099e75f5eed109",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "3c1a912567fb31e8",
"name": "",
"registerShowMax": 20,
"x": 1610,
"y": 180,
"wires": []
},
{
"id": "e36f0cbefcf5c00e",
"type": "debug",
"z": "955f65db1785468b",
"g": "3c1a912567fb31e8",
"name": "",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 1570,
"y": 140,
"wires": []
},
{
"id": "40f6f62e2ab3c2b5",
"type": "inject",
"z": "955f65db1785468b",
"g": "6fd6e6098336f2a1",
"name": "Numeric",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 1160,
"y": 160,
"wires": [
[
"25ff1e88d0f2c3d7"
]
]
},
{
"id": "4a10b5c42f802dd0",
"type": "comment",
"z": "955f65db1785468b",
"g": "3c1a912567fb31e8",
"name": "Use Numeric for counter",
"info": "",
"x": 1370,
"y": 120,
"wires": []
},
{
"id": "a22fff2f30c9fdc6",
"type": "http in",
"z": "955f65db1785468b",
"g": "98941ca60d3d4010",
"name": "/PICKIQ/3070",
"url": "/PICKIQ/3070",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 1150,
"y": 280,
"wires": [
[
"7724404a8930b690"
]
]
},
{
"id": "7724404a8930b690",
"type": "switch",
"z": "955f65db1785468b",
"g": "98941ca60d3d4010",
"name": "Check for valid input",
"property": "payload.value",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "1",
"v2t": "num"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 1340,
"y": 280,
"wires": [
[
"df9aa6858a0537e6",
"17ae02b8ee24601c"
],
[
"f875a912ee1e8759"
]
]
},
{
"id": "17ae02b8ee24601c",
"type": "http response",
"z": "955f65db1785468b",
"g": "98941ca60d3d4010",
"name": "",
"statusCode": "200",
"headers": {},
"x": 1560,
"y": 300,
"wires": []
},
{
"id": "f875a912ee1e8759",
"type": "http response",
"z": "955f65db1785468b",
"g": "98941ca60d3d4010",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 13."
},
"x": 1560,
"y": 340,
"wires": []
},
{
"id": "df9aa6858a0537e6",
"type": "change",
"z": "955f65db1785468b",
"g": "98941ca60d3d4010",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.value",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1580,
"y": 260,
"wires": [
[
"25ff1e88d0f2c3d7"
]
]
},
{
"id": "d5dd122f353a3119",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "8b229ffbe8c7716e",
"name": "Write_SevSeg_Value",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "8703",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 1340,
"y": 500,
"wires": [
[],
[
"c4092950a1d2b3bb"
]
]
},
{
"id": "64204b326e2cb0a1",
"type": "inject",
"z": "955f65db1785468b",
"g": "ccdf7dc83fd4e64c",
"name": "0",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "1",
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 1150,
"y": 500,
"wires": [
[
"d5dd122f353a3119"
]
]
},
{
"id": "c4092950a1d2b3bb",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "8b229ffbe8c7716e",
"name": "",
"registerShowMax": 20,
"x": 1550,
"y": 500,
"wires": []
},
{
"id": "0d05738769630d8d",
"type": "http in",
"z": "955f65db1785468b",
"g": "026702a497cf87bf",
"name": "/PICKIQ/8703",
"url": "/PICKIQ/8703",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 1150,
"y": 620,
"wires": [
[
"36b9baa42669c347"
]
]
},
{
"id": "36b9baa42669c347",
"type": "switch",
"z": "955f65db1785468b",
"g": "026702a497cf87bf",
"name": "Check for valid input",
"property": "payload.value",
"propertyType": "msg",
"rules": [
{
"t": "istype",
"v": "number",
"vt": "number"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 1340,
"y": 620,
"wires": [
[
"ffe42d402340eeea",
"4d4aa1e8bc6540ed"
],
[
"35056346bc58daa0"
]
]
},
{
"id": "4d4aa1e8bc6540ed",
"type": "http response",
"z": "955f65db1785468b",
"g": "026702a497cf87bf",
"name": "",
"statusCode": "200",
"headers": {},
"x": 1560,
"y": 640,
"wires": []
},
{
"id": "35056346bc58daa0",
"type": "http response",
"z": "955f65db1785468b",
"g": "026702a497cf87bf",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 13."
},
"x": 1560,
"y": 680,
"wires": []
},
{
"id": "ffe42d402340eeea",
"type": "change",
"z": "955f65db1785468b",
"g": "026702a497cf87bf",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.value",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1580,
"y": 600,
"wires": [
[
"d5dd122f353a3119"
]
]
},
{
"id": "5b610b116a93e205",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "Change_First_Decimal",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "6206",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 1360,
"y": 880,
"wires": [
[],
[
"3b3dbfe8ddd66f36"
]
]
},
{
"id": "a6f1bc339632bd87",
"type": "inject",
"z": "955f65db1785468b",
"g": "c2c1f406de7f1191",
"name": "Off",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 1050,
"y": 840,
"wires": [
[
"5b610b116a93e205"
]
]
},
{
"id": "3b3dbfe8ddd66f36",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "",
"registerShowMax": 20,
"x": 1570,
"y": 880,
"wires": []
},
{
"id": "d8a98b5da09d4694",
"type": "inject",
"z": "955f65db1785468b",
"g": "c2c1f406de7f1191",
"name": "Steady On",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 1060,
"y": 880,
"wires": [
[
"5b610b116a93e205"
]
]
},
{
"id": "4ae1413dc7f5f4c8",
"type": "inject",
"z": "955f65db1785468b",
"g": "c2c1f406de7f1191",
"name": "Flashing",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "2",
"payloadType": "num",
"x": 1060,
"y": 920,
"wires": [
[
"5b610b116a93e205"
]
]
},
{
"id": "6cb22eebc9a8653b",
"type": "inject",
"z": "955f65db1785468b",
"g": "c2c1f406de7f1191",
"name": "Communication",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "3",
"payloadType": "num",
"x": 1080,
"y": 960,
"wires": [
[
"5b610b116a93e205"
]
]
},
{
"id": "05d93babb88348eb",
"type": "inject",
"z": "955f65db1785468b",
"g": "c2c1f406de7f1191",
"name": "Power+Communication",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "4",
"payloadType": "num",
"x": 1100,
"y": 1000,
"wires": [
[
"5b610b116a93e205"
]
]
},
{
"id": "66e8af9d00b1b910",
"type": "inject",
"z": "955f65db1785468b",
"g": "c2c1f406de7f1191",
"name": "Activation",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "5",
"payloadType": "num",
"x": 1060,
"y": 1040,
"wires": [
[
"5b610b116a93e205"
]
]
},
{
"id": "1c54633a0da96a73",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "Change_Second_Decimal",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "6207",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 1370,
"y": 1180,
"wires": [
[],
[
"95fdc640f28906f3"
]
]
},
{
"id": "189654e36235df93",
"type": "inject",
"z": "955f65db1785468b",
"g": "1221e739b41089c4",
"name": "Off",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 1050,
"y": 1140,
"wires": [
[
"1c54633a0da96a73"
]
]
},
{
"id": "fbb4cbec048de0fb",
"type": "inject",
"z": "955f65db1785468b",
"g": "1221e739b41089c4",
"name": "Steady On",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 1060,
"y": 1180,
"wires": [
[
"1c54633a0da96a73"
]
]
},
{
"id": "5edc849261ae34b1",
"type": "inject",
"z": "955f65db1785468b",
"g": "1221e739b41089c4",
"name": "Flashing",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "2",
"payloadType": "num",
"x": 1060,
"y": 1220,
"wires": [
[
"1c54633a0da96a73"
]
]
},
{
"id": "9144fe802473b580",
"type": "inject",
"z": "955f65db1785468b",
"g": "1221e739b41089c4",
"name": "Communication",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "3",
"payloadType": "num",
"x": 1080,
"y": 1260,
"wires": [
[
"1c54633a0da96a73"
]
]
},
{
"id": "924a6a1c5507fc3a",
"type": "inject",
"z": "955f65db1785468b",
"g": "1221e739b41089c4",
"name": "Power+Communication",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "4",
"payloadType": "num",
"x": 1100,
"y": 1300,
"wires": [
[
"1c54633a0da96a73"
]
]
},
{
"id": "70d0b051ad540f48",
"type": "inject",
"z": "955f65db1785468b",
"g": "1221e739b41089c4",
"name": "Activation",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "5",
"payloadType": "num",
"x": 1060,
"y": 1340,
"wires": [
[
"1c54633a0da96a73"
]
]
},
{
"id": "95fdc640f28906f3",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "",
"registerShowMax": 20,
"x": 1590,
"y": 1180,
"wires": []
},
{
"id": "75ade8a17ca9f648",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "Change_Third_Decimal",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "6208",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 1390,
"y": 1500,
"wires": [
[],
[
"730d526bb5c9bf2e"
]
]
},
{
"id": "b5e1ffa5f7543917",
"type": "inject",
"z": "955f65db1785468b",
"g": "d494ffac9d58ffba",
"name": "Off",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 1050,
"y": 1460,
"wires": [
[
"75ade8a17ca9f648"
]
]
},
{
"id": "c319c041fb812b75",
"type": "inject",
"z": "955f65db1785468b",
"g": "d494ffac9d58ffba",
"name": "Steady On",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 1060,
"y": 1500,
"wires": [
[
"75ade8a17ca9f648"
]
]
},
{
"id": "057fe20434b02c1c",
"type": "inject",
"z": "955f65db1785468b",
"g": "d494ffac9d58ffba",
"name": "Flashing",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "2",
"payloadType": "num",
"x": 1060,
"y": 1540,
"wires": [
[
"75ade8a17ca9f648"
]
]
},
{
"id": "c1baabadf05e6048",
"type": "inject",
"z": "955f65db1785468b",
"g": "d494ffac9d58ffba",
"name": "Communication",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "3",
"payloadType": "num",
"x": 1080,
"y": 1580,
"wires": [
[
"75ade8a17ca9f648"
]
]
},
{
"id": "5f8e4a538e392ee4",
"type": "inject",
"z": "955f65db1785468b",
"g": "d494ffac9d58ffba",
"name": "Power+Communication",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "4",
"payloadType": "num",
"x": 1100,
"y": 1620,
"wires": [
[
"75ade8a17ca9f648"
]
]
},
{
"id": "69f89fddd001fc97",
"type": "inject",
"z": "955f65db1785468b",
"g": "d494ffac9d58ffba",
"name": "Activation",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "5",
"payloadType": "num",
"x": 1060,
"y": 1660,
"wires": [
[
"75ade8a17ca9f648"
]
]
},
{
"id": "730d526bb5c9bf2e",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "0b799cf3096eee7a",
"name": "",
"registerShowMax": 20,
"x": 1610,
"y": 1500,
"wires": []
},
{
"id": "44bb0758f9c48951",
"type": "http in",
"z": "955f65db1785468b",
"g": "4d52489e7a459033",
"name": "/PICKIQ/6206",
"url": "/PICKIQ/6206",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 1350,
"y": 1000,
"wires": [
[
"2521cf01d55cd4c9"
]
]
},
{
"id": "2521cf01d55cd4c9",
"type": "switch",
"z": "955f65db1785468b",
"g": "4d52489e7a459033",
"name": "Check for valid input",
"property": "payload.value",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "5",
"v2t": "num"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 1540,
"y": 1000,
"wires": [
[
"c955e03af28e36f7",
"2eeb2df8df4bc96e"
],
[
"28947ccf6150baef"
]
]
},
{
"id": "2eeb2df8df4bc96e",
"type": "http response",
"z": "955f65db1785468b",
"g": "4d52489e7a459033",
"name": "",
"statusCode": "200",
"headers": {},
"x": 1720,
"y": 1000,
"wires": []
},
{
"id": "28947ccf6150baef",
"type": "http response",
"z": "955f65db1785468b",
"g": "4d52489e7a459033",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 13."
},
"x": 1720,
"y": 1040,
"wires": []
},
{
"id": "c955e03af28e36f7",
"type": "change",
"z": "955f65db1785468b",
"g": "4d52489e7a459033",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.value",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1740,
"y": 960,
"wires": [
[
"5b610b116a93e205"
]
]
},
{
"id": "9cad35edce08a4cc",
"type": "http in",
"z": "955f65db1785468b",
"g": "dda4df3343b52c23",
"name": "/PICKIQ/6207",
"url": "/PICKIQ/6207",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 1350,
"y": 1300,
"wires": [
[
"425791c08095b559"
]
]
},
{
"id": "425791c08095b559",
"type": "switch",
"z": "955f65db1785468b",
"g": "dda4df3343b52c23",
"name": "Check for valid input",
"property": "payload.value",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "5",
"v2t": "num"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 1540,
"y": 1300,
"wires": [
[
"0e7576b4b308414b",
"792757673a677bbf"
],
[
"a15800c70e76fe2b"
]
]
},
{
"id": "792757673a677bbf",
"type": "http response",
"z": "955f65db1785468b",
"g": "dda4df3343b52c23",
"name": "",
"statusCode": "200",
"headers": {},
"x": 1720,
"y": 1300,
"wires": []
},
{
"id": "a15800c70e76fe2b",
"type": "http response",
"z": "955f65db1785468b",
"g": "dda4df3343b52c23",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 13."
},
"x": 1720,
"y": 1340,
"wires": []
},
{
"id": "0e7576b4b308414b",
"type": "change",
"z": "955f65db1785468b",
"g": "dda4df3343b52c23",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.value",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1740,
"y": 1260,
"wires": [
[
"1c54633a0da96a73"
]
]
},
{
"id": "845b6812f32a5774",
"type": "http in",
"z": "955f65db1785468b",
"g": "54b46c4e83f257d0",
"name": "/PICKIQ/6208",
"url": "/PICKIQ/6208",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 1350,
"y": 1620,
"wires": [
[
"17e8d0762abb17a8"
]
]
},
{
"id": "17e8d0762abb17a8",
"type": "switch",
"z": "955f65db1785468b",
"g": "54b46c4e83f257d0",
"name": "Check for valid input",
"property": "payload.value",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "5",
"v2t": "num"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 1540,
"y": 1620,
"wires": [
[
"b22feae3b7495442",
"a917054e55a79c4f"
],
[
"d9b15953c16cd2aa"
]
]
},
{
"id": "a917054e55a79c4f",
"type": "http response",
"z": "955f65db1785468b",
"g": "54b46c4e83f257d0",
"name": "",
"statusCode": "200",
"headers": {},
"x": 1720,
"y": 1620,
"wires": []
},
{
"id": "d9b15953c16cd2aa",
"type": "http response",
"z": "955f65db1785468b",
"g": "54b46c4e83f257d0",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 13."
},
"x": 1720,
"y": 1660,
"wires": []
},
{
"id": "b22feae3b7495442",
"type": "change",
"z": "955f65db1785468b",
"g": "54b46c4e83f257d0",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.value",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1740,
"y": 1580,
"wires": [
[
"75ade8a17ca9f648"
]
]
},
{
"id": "6a182defbf2533c4",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "Write_new_ID to Device(s) at ID: 1",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "6100",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 1260,
"y": 1900,
"wires": [
[],
[
"7f29346f9fe9f07a"
]
]
},
{
"id": "ef28399d02a6da88",
"type": "inject",
"z": "955f65db1785468b",
"g": "d3031bc2c5e4379f",
"name": "ID: 2",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "2",
"payloadType": "num",
"x": 1030,
"y": 1860,
"wires": [
[
"6a182defbf2533c4"
]
]
},
{
"id": "f7c2ab9e4768a627",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "Write_new_ID to Device(s) at ID: 2",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "2",
"dataType": "HoldingRegister",
"adr": "6100",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 1260,
"y": 2080,
"wires": [
[],
[
"c844852d1912f3f2"
]
]
},
{
"id": "297ea49dd5399096",
"type": "inject",
"z": "955f65db1785468b",
"g": "31fa1931a897861d",
"name": "ID: 1",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 1030,
"y": 2040,
"wires": [
[
"f7c2ab9e4768a627"
]
]
},
{
"id": "7f29346f9fe9f07a",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "",
"registerShowMax": 20,
"x": 1510,
"y": 1900,
"wires": []
},
{
"id": "c844852d1912f3f2",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "",
"registerShowMax": 20,
"x": 1510,
"y": 2080,
"wires": []
},
{
"id": "5f2402abfcc8c4ca",
"type": "inject",
"z": "955f65db1785468b",
"g": "d3031bc2c5e4379f",
"name": "ID: 3",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "3",
"payloadType": "num",
"x": 1030,
"y": 1900,
"wires": [
[
"6a182defbf2533c4"
]
]
},
{
"id": "cfd8dc7d1946809d",
"type": "inject",
"z": "955f65db1785468b",
"g": "d3031bc2c5e4379f",
"name": "ID: 4",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "4",
"payloadType": "num",
"x": 1030,
"y": 1940,
"wires": [
[
"6a182defbf2533c4"
]
]
},
{
"id": "b37a740561ea2af8",
"type": "inject",
"z": "955f65db1785468b",
"g": "31fa1931a897861d",
"name": "ID: 3",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "3",
"payloadType": "num",
"x": 1030,
"y": 2080,
"wires": [
[
"f7c2ab9e4768a627"
]
]
},
{
"id": "aa8f6783d28169d7",
"type": "inject",
"z": "955f65db1785468b",
"g": "31fa1931a897861d",
"name": "ID: 4",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "4",
"payloadType": "num",
"x": 1030,
"y": 2120,
"wires": [
[
"f7c2ab9e4768a627"
]
]
},
{
"id": "8b7f21b16ac6827b",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "Write_new_ID to Device(s) at ID: 3",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "3",
"dataType": "HoldingRegister",
"adr": "6100",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 1260,
"y": 2260,
"wires": [
[],
[
"f0e4cee68acbd8a6"
]
]
},
{
"id": "a63bc0b37ca30265",
"type": "inject",
"z": "955f65db1785468b",
"g": "b953a1f0e5d081b1",
"name": "ID: 1",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 1030,
"y": 2220,
"wires": [
[
"8b7f21b16ac6827b"
]
]
},
{
"id": "d9a3ddf9c4447798",
"type": "inject",
"z": "955f65db1785468b",
"g": "b953a1f0e5d081b1",
"name": "ID: 2",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "2",
"payloadType": "num",
"x": 1030,
"y": 2260,
"wires": [
[
"8b7f21b16ac6827b"
]
]
},
{
"id": "cea729ec74ac1006",
"type": "inject",
"z": "955f65db1785468b",
"g": "b953a1f0e5d081b1",
"name": "ID: 4",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "4",
"payloadType": "num",
"x": 1030,
"y": 2300,
"wires": [
[
"8b7f21b16ac6827b"
]
]
},
{
"id": "f0e4cee68acbd8a6",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "",
"registerShowMax": 20,
"x": 1510,
"y": 2260,
"wires": []
},
{
"id": "c50b0823e34ec56b",
"type": "modbus-write",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "Write_new_ID to Device(s) at ID: 4",
"showStatusActivities": false,
"showErrors": true,
"showWarnings": true,
"unitid": "4",
"dataType": "HoldingRegister",
"adr": "6100",
"quantity": "1",
"server": "352955bb.be6e6a",
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 1260,
"y": 2440,
"wires": [
[],
[
"0fcf7050d84eec3c"
]
]
},
{
"id": "ee2df0ca9fe84bc4",
"type": "inject",
"z": "955f65db1785468b",
"g": "f11f19745e97f3ba",
"name": "ID: 1",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 1030,
"y": 2400,
"wires": [
[
"c50b0823e34ec56b"
]
]
},
{
"id": "4f64e49df500e799",
"type": "inject",
"z": "955f65db1785468b",
"g": "f11f19745e97f3ba",
"name": "ID: 2",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "2",
"payloadType": "num",
"x": 1030,
"y": 2440,
"wires": [
[
"c50b0823e34ec56b"
]
]
},
{
"id": "958380f42eb25a7b",
"type": "inject",
"z": "955f65db1785468b",
"g": "f11f19745e97f3ba",
"name": "ID: 3",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "3",
"payloadType": "num",
"x": 1030,
"y": 2480,
"wires": [
[
"c50b0823e34ec56b"
]
]
},
{
"id": "0fcf7050d84eec3c",
"type": "modbus-response",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "",
"registerShowMax": 20,
"x": 1510,
"y": 2440,
"wires": []
},
{
"id": "208f3a98c907e296",
"type": "comment",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "README",
"info": "Please remember to **update the unit-ID on all relevant Modbus nodes** (orange nodes) to the value that you set for your device.\nFor example, if you change your device(s) to ID: 3, then each Modbus node that you want to control/read from your device(s) should be assigned to Unit-ID: 3.\n\nMultiple devices can be changed at the same time.\nFor example, if two devices are plugged into a Banner Hub (eg. R95C IO-Link Hub) with the default ID: 1, then you set device(s) at ID: 1 to ID: 4, both devices will now be ID: 4.\n\nNote the following:\n - Device IDs remain attached to the device after it is unplugged. If you forget the device ID, you can factory reset the device.\n - All devices are by default at ID: 1.\n - Changing a device ID effects all devices plugged in with the previous ID.",
"x": 1540,
"y": 1840,
"wires": []
},
{
"id": "84d4ab8c2e0f74ec",
"type": "http in",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "/PICKIQ/6100",
"url": "/PICKIQ/6100",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 1030,
"y": 2600,
"wires": [
[
"f11c1ac6ecc4f4d0"
]
]
},
{
"id": "f11c1ac6ecc4f4d0",
"type": "switch",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "Check for valid input",
"property": "payload.new_id",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "4",
"v2t": "num"
},
{
"t": "else"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 1060,
"y": 2660,
"wires": [
[
"c88e9aa067a451a3",
"c495cf60e3e06d18"
],
[
"0cc438d02b98082c"
]
]
},
{
"id": "c495cf60e3e06d18",
"type": "http response",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "",
"statusCode": "200",
"headers": {},
"x": 1260,
"y": 2660,
"wires": []
},
{
"id": "0cc438d02b98082c",
"type": "http response",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "",
"statusCode": "400",
"headers": {
"Error": "Invalid Value: must be between 0 and 4."
},
"x": 1260,
"y": 2700,
"wires": []
},
{
"id": "c88e9aa067a451a3",
"type": "change",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "Reconfigure inputs",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "payload.curr_id",
"tot": "msg"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.new_id",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1250,
"y": 2600,
"wires": [
[
"4c4cd6b5acb23bec"
]
]
},
{
"id": "4c4cd6b5acb23bec",
"type": "switch",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "Send to Device(s)",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "1",
"vt": "num"
},
{
"t": "eq",
"v": "2",
"vt": "num"
},
{
"t": "eq",
"v": "3",
"vt": "num"
},
{
"t": "eq",
"v": "4",
"vt": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 4,
"x": 1450,
"y": 2640,
"wires": [
[
"c8d5618c3cf8c9b1"
],
[
"3ad585483eaa626a"
],
[
"1299bfcfb02cbe93"
],
[
"95788ad7dce9da0e"
]
]
},
{
"id": "c8d5618c3cf8c9b1",
"type": "link out",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "link out 4",
"mode": "link",
"links": [
"38918bcde0cfd301"
],
"x": 1595,
"y": 2580,
"wires": []
},
{
"id": "38918bcde0cfd301",
"type": "link in",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "link in 4",
"links": [
"c8d5618c3cf8c9b1"
],
"x": 1135,
"y": 1860,
"wires": [
[
"6a182defbf2533c4"
]
]
},
{
"id": "3ad585483eaa626a",
"type": "link out",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "link out 5",
"mode": "link",
"links": [
"64298bce8113dbec"
],
"x": 1595,
"y": 2620,
"wires": []
},
{
"id": "1299bfcfb02cbe93",
"type": "link out",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "link out 6",
"mode": "link",
"links": [
"5371262bef9b6d07"
],
"x": 1595,
"y": 2660,
"wires": []
},
{
"id": "95788ad7dce9da0e",
"type": "link out",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "link out 7",
"mode": "link",
"links": [
"1e987f26dac1e120"
],
"x": 1595,
"y": 2700,
"wires": []
},
{
"id": "64298bce8113dbec",
"type": "link in",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "link in 5",
"links": [
"3ad585483eaa626a"
],
"x": 1135,
"y": 2040,
"wires": [
[
"f7c2ab9e4768a627"
]
]
},
{
"id": "5371262bef9b6d07",
"type": "link in",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "link in 6",
"links": [
"1299bfcfb02cbe93"
],
"x": 1135,
"y": 2220,
"wires": [
[
"8b7f21b16ac6827b"
]
]
},
{
"id": "1e987f26dac1e120",
"type": "link in",
"z": "955f65db1785468b",
"g": "3207db7f96c7d067",
"name": "link in 7",
"links": [
"95788ad7dce9da0e"
],
"x": 1135,
"y": 2400,
"wires": [
[
"c50b0823e34ec56b"
]
]
},
{
"id": "6099565fe9aee5bf",
"type": "comment",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "Sends to Device(s) at ID: 1",
"info": "",
"x": 1730,
"y": 2580,
"wires": []
},
{
"id": "c5d14dce601bb2e0",
"type": "comment",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "Sends to Device(s) at ID: 2",
"info": "",
"x": 1730,
"y": 2620,
"wires": []
},
{
"id": "cdf36dfdc96214f8",
"type": "comment",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "Sends to Device(s) at ID: 3",
"info": "",
"x": 1730,
"y": 2660,
"wires": []
},
{
"id": "bbab920dcf808477",
"type": "comment",
"z": "955f65db1785468b",
"g": "d24d200e8a052df3",
"name": "Sends to Device(s) at ID: 4",
"info": "",
"x": 1730,
"y": 2700,
"wires": []
},
{
"id": "352955bb.be6e6a",
"type": "modbus-client",
"name": "Modbus Server",
"clienttype": "serial",
"bufferCommands": true,
"stateLogEnabled": false,
"queueLogEnabled": false,
"failureLogEnabled": false,
"tcpHost": "127.0.0.1",
"tcpPort": "14502",
"tcpType": "DEFAULT",
"serialPort": "/dev/ttyS2",
"serialType": "RTU-BUFFERD",
"serialBaudrate": "19200",
"serialDatabits": "8",
"serialStopbits": "1",
"serialParity": "none",
"serialConnectionDelay": "50",
"serialAsciiResponseStartDelimiter": "",
"unit_id": "1",
"commandDelay": "2",
"clientTimeout": "50",
"reconnectOnTimeout": true,
"reconnectTimeout": "100",
"parallelUnitIdsAllowed": false
},
{
"id": "67cd2ce160a4177f",
"type": "tulip-tag-list",
"name": "main-tag-list",
"tags": [
{
"id": "K50PFF100SQ",
"label": "K50PFF100SQ",
"type": "boolean"
},
{
"id": "K50PTCD4SQ",
"label": "K50PTCD4SQ",
"type": "boolean"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment