[
{
"id": "03a396edb292a231",
"type": "tab",
"label": "Flow 3",
"disabled": false,
"info": "",
"env": []
},
{
"id": "53ab8c795075ebaf",
"type": "modbus-read",
"z": "03a396edb292a231",
"name": "P-Einsp.",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"showWarnings": true,
"unitid": "",
"dataType": "HoldingRegister",
"adr": "2",
"quantity": "2",
"rate": "5",
"rateUnit": "s",
"delayOnStart": true,
"startDelayTime": "10",
"server": "cc73dd7ed0ec7878",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 140,
"y": 380,
"wires": [
[
"a487c9c347817d2f"
],
[
"4dc5b84a160a51b6"
]
]
},
{
"id": "a487c9c347817d2f",
"type": "debug",
"z": "03a396edb292a231",
"name": "debug 3",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 360,
"y": 380,
"wires": []
},
{
"id": "4dc5b84a160a51b6",
"type": "buffer-parser",
"z": "03a396edb292a231",
"name": "",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "uint32le",
"name": "temp1",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "temp2",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": true,
"outputs": 1,
"x": 170,
"y": 460,
"wires": [
[
"9ff9a27c6cd822a3",
"96c90e44ff4480de"
]
]
},
{
"id": "9ff9a27c6cd822a3",
"type": "debug",
"z": "03a396edb292a231",
"name": "debug 4",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 360,
"y": 460,
"wires": []
},
{
"id": "2685cdde1ffd9c43",
"type": "modbus-read",
"z": "03a396edb292a231",
"name": "P-Bezug",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"showWarnings": true,
"unitid": "",
"dataType": "HoldingRegister",
"adr": "0",
"quantity": "2",
"rate": "5",
"rateUnit": "s",
"delayOnStart": true,
"startDelayTime": "10",
"server": "cc73dd7ed0ec7878",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 140,
"y": 160,
"wires": [
[
"271b7f1fa6a4e276"
],
[
"3368288c707c0745"
]
]
},
{
"id": "271b7f1fa6a4e276",
"type": "debug",
"z": "03a396edb292a231",
"name": "debug 5",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 360,
"y": 160,
"wires": []
},
{
"id": "3368288c707c0745",
"type": "buffer-parser",
"z": "03a396edb292a231",
"name": "",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "int32be",
"name": "temp3",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32le",
"name": "temp4",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": true,
"outputs": 1,
"x": 170,
"y": 220,
"wires": [
[
"889e8f826cbe539f"
]
]
},
{
"id": "889e8f826cbe539f",
"type": "debug",
"z": "03a396edb292a231",
"name": "debug 6",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 360,
"y": 220,
"wires": []
},
{
"id": "364362509034c10f",
"type": "inject",
"z": "03a396edb292a231",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "20",
"payloadType": "num",
"x": 110,
"y": 540,
"wires": [
[
"6689ad89631f9faf"
]
]
},
{
"id": "282b88cfcc391588",
"type": "join",
"z": "03a396edb292a231",
"name": "",
"mode": "custom",
"build": "array",
"property": "payload",
"propertyType": "msg",
"key": "topic",
"joiner": "\\n",
"joinerType": "str",
"accumulate": false,
"timeout": "",
"count": "2",
"reduceRight": false,
"reduceExp": "",
"reduceInit": "",
"reduceInitType": "num",
"reduceFixup": "",
"x": 450,
"y": 540,
"wires": [
[
"71304130f6d73719"
]
]
},
{
"id": "6689ad89631f9faf",
"type": "change",
"z": "03a396edb292a231",
"name": "",
"rules": [
{
"t": "set",
"p": "parts",
"pt": "msg",
"to": "1",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 260,
"y": 540,
"wires": [
[
"282b88cfcc391588"
]
]
},
{
"id": "96c90e44ff4480de",
"type": "change",
"z": "03a396edb292a231",
"name": "",
"rules": [
{
"t": "set",
"p": "parts",
"pt": "msg",
"to": "2",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 260,
"y": 580,
"wires": [
[
"282b88cfcc391588"
]
]
},
{
"id": "71304130f6d73719",
"type": "change",
"z": "03a396edb292a231",
"name": "$sum(payload)",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "$sum(payload)",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 620,
"y": 540,
"wires": [
[
"2082de158de1720e"
]
]
},
{
"id": "2082de158de1720e",
"type": "debug",
"z": "03a396edb292a231",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": true,
"complete": "payload",
"statusVal": "payload",
"statusType": "auto",
"x": 830,
"y": 540,
"wires": []
},
{
"id": "cc73dd7ed0ec7878",
"type": "modbus-client",
"name": "KSEM",
"clienttype": "tcp",
"bufferCommands": true,
"stateLogEnabled": false,
"queueLogEnabled": false,
"failureLogEnabled": true,
"tcpHost": "192.168.178.61",
"tcpPort": "502",
"tcpType": "DEFAULT",
"serialPort": "/dev/ttyUSB",
"serialType": "RTU-BUFFERD",
"serialBaudrate": "9600",
"serialDatabits": "8",
"serialStopbits": "1",
"serialParity": "none",
"serialConnectionDelay": "100",
"serialAsciiResponseStartDelimiter": "0x3A",
"unit_id": 1,
"commandDelay": 1,
"clientTimeout": 1000,
"reconnectOnTimeout": true,
"reconnectTimeout": 2000,
"parallelUnitIdsAllowed": true,
"showWarnings": true,
"showLogs": true
}
]