-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathrouter-tcp-rs232-virtual.json
65 lines (65 loc) · 1.39 KB
/
router-tcp-rs232-virtual.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
64
65
{
"modbuspp-router": {
"mode": "tcp",
"connection": "localhost",
"settings": "1502",
"recovery-link": true,
"debug": true,
"response-timeout": 500,
"byte-timeout": 500,
"masters": [
{
"name": "rs232",
"mode": "rtu",
"connection": "/dev/ttyUSB0",
"settings": "38400E1",
"debug": true,
"response-timeout": 500,
"byte-timeout": 500,
"slaves": [
{
"id": 33,
"blocks": [
{
"table": "input-register",
"quantity": 6
},
{
"table": "holding-register",
"quantity": 8
}
]
}
]
},
{
"name": "virtual-clock",
"mode": "rtu",
"connection": "/dev/tnt0",
"settings": "38400E1",
"debug": true,
"response-timeout": 3000,
"byte-timeout": 500,
"slaves": [
{
"id": 10,
"blocks": [
{
"table": "input-register",
"quantity": 8
},
{
"table": "holding-register",
"quantity": 2
},
{
"table": "coil",
"quantity": 1
}
]
}
]
}
]
}
}