forked from Azure/iot-edge-modbus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiot-edge-modbus.json
57 lines (57 loc) · 1.44 KB
/
iot-edge-modbus.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
{
"PublishInterval": "5000",
"SlaveConfigs": {
"Slave01": {
"SlaveConnection": "127.0.0.1",
"TcpPort": "502",
"RetryCount": "10",
"RetryInterval": "100",
"HwId": "PowerMeter-0a:01:01:01:01:01",
"Operations": {
"Op01": {
"PollingInterval": "2000",
"UnitId": "1",
"StartAddress": "400001",
"Count": "2",
"CorrelationId": "MessageType1",
"DisplayName": "Voltage"
},
"Op02": {
"PollingInterval": "2000",
"UnitId": "1",
"StartAddress": "400002",
"Count": "2",
"CorrelationId": "MessageType2",
"DisplayName": "Current"
}
}
},
"Slave02": {
"SlaveConnection": "ttyS1",
"RetryCount": "10",
"RetryInterval": "50",
"HwId": "PowerMeter-0a:01:01:01:01:02",
"BaudRate": "9600",
"DataBits": "8",
"StopBits": "1",
"Parity": "ODD",
"FlowControl": "NONE",
"Operations": {
"Op01": {
"PollingInterval": "2000",
"UnitId": "1",
"StartAddress": "40001",
"Count": "2",
"DisplayName": "Voltage"
},
"Op02": {
"PollingInterval": "2000",
"UnitId": "1",
"StartAddress": "40002",
"Count": "2",
"DisplayName": "Current"
}
}
}
}
}