-
Notifications
You must be signed in to change notification settings - Fork 2
/
sample_server_config.json
60 lines (57 loc) · 1.48 KB
/
sample_server_config.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
{
"tcp": {
"handler": "ModbusConnectedRequestHandler",
"ignore_missing_slaves": false
},
"serial": {
"handler": "ModbusSingleRequestHandler",
"stopbits": 1,
"bytesize": 8,
"parity": "N",
"baudrate": 9600,
"timeout": 3,
"reconnect_delay": 2
},
"tls": {
"handler": "ModbusConnectedRequestHandler",
"certfile": null,
"keyfile": null,
"ignore_missing_slaves": false
},
"udp": {
"handler": "ModbusDisonnectedRequestHandler",
"ignore_missing_slaves": false
},
"data_block_settings": {
"min_binary_value": 0,
"max_binary_value": 1,
"min_register_value": 0,
"max_register_value": 100,
"data_block": {
"discrete_inputs": {
"block_start": 0,
"block_size": 100,
"default": 0,
"sparse": false
},
"coils": {
"block_start": 0,
"block_size": 100,
"default": 0,
"sparse": false
},
"holding_registers": {
"block_start": 0,
"block_size": 100,
"default": 0,
"sparse": false
},
"input_registers": {
"block_start": 0,
"block_size": 100,
"default": 0,
"sparse": false
}
}
}
}