-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-opcua.json
63 lines (63 loc) · 2.01 KB
/
config-opcua.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"blocks": {
"opcua": {
"type": "opcuasubflat",
"config": {
"transport_addr": "opc-tcp://opcua-simulator:4334",
"log_level": "debug",
"data_map": [
{
"alias": "Compressor-CMMS-Compressor-2018.crank-frame-compressionratio",
"id": "ns=1;s=Simulator.Device1.FLOAT1"
},
{
"alias": "Compressor-CMMS-Compressor-2018.crank-frame-dischargepressure",
"id": "ns=1;s=Simulator.Device1.FLOAT2"
},
{
"alias": "Compressor-CMMS-Compressor-2018.crank-frame-suctionpressure",
"id": "ns=1;s=Simulator.Device1.FLOAT3"
},
{
"alias": "Compressor-CMMS-Compressor-2018.crank-frame-maximumpressure",
"id": "ns=1;s=Simulator.Device1.FLOAT4"
},
{
"alias": "Compressor-CMMS-Compressor-2018.crank-frame-minimumpressure",
"id": "ns=1;s=Simulator.Device1.FLOAT5"
},
{
"alias": "Compressor-CMMS-Compressor-2018.crank-frame-temperature",
"id": "ns=1;s=Simulator.Device1.FLOAT6"
},
{
"alias": "Compressor-CMMS-Compressor-2018.crank-frame-velocity",
"id": "ns=1;s=Simulator.Device1.FLOAT7"
}
]
}
},
"flat_to_timeseries": {
"type": "flattotimeseries",
"config": {
"attributes": {
"machine_type": "opcua"
}
}
},
"mqtt": {
"type": "cdpout",
"config": {
"transport_addr": "mqtt-tcp://predix-edge-broker",
"node_ref": "app_data",
"method": "pub",
"log_level": "debug",
"log_name": "opcua_mqtt"
}
}
},
"mappings": {
"opcua:output": "flat_to_timeseries:input",
"flat_to_timeseries:output": "mqtt:input"
}
}