|
5 | 5 | "host": "0.0.0.0", |
6 | 6 | "port": 5020, |
7 | 7 | "allow_reuse_address": true, |
8 | | - "allow_reuse_port": true, |
9 | 8 | "ignore_missing_slaves": false, |
10 | 9 | "framer": "socket", |
11 | 10 | "identity": { |
|
44 | 43 | "certfile": "certificates/pymodbus.crt", |
45 | 44 | "keyfile": "certificates/pymodbus.key", |
46 | 45 | "allow_reuse_address": true, |
47 | | - "allow_reuse_port": true, |
48 | 46 | "backlog": 20, |
49 | 47 | "ignore_missing_slaves": false, |
50 | 48 | "framer": "tls", |
|
92 | 90 | }, |
93 | 91 | "action": { |
94 | 92 | "bits": null, |
95 | | - "uint16": "register", |
96 | | - "uint32": "register", |
97 | | - "float32": "register", |
| 93 | + "uint16": "increment", |
| 94 | + "uint32": "increment", |
| 95 | + "float32": "increment", |
98 | 96 | "string": null |
99 | 97 | } |
100 | 98 | } |
|
103 | 101 | 1 |
104 | 102 | ], |
105 | 103 | "write": [ |
106 | | - 5 |
| 104 | + 3 |
107 | 105 | ], |
108 | 106 | "bits": [ |
109 | 107 | {"addr": 2, "value": 7} |
|
113 | 111 | 2100 |
114 | 112 | ], |
115 | 113 | "uint32": [ |
116 | | - {"addr": 4, "value": 617001}, |
117 | | - 3037 |
| 114 | + {"addr": [4, 5], "value": 617001}, |
| 115 | + [3037, 3038] |
118 | 116 | ], |
119 | 117 | "float32": [ |
120 | | - {"addr": 6, "value": 404.17}, |
121 | | - 4100 |
| 118 | + {"addr": [6, 7], "value": 404.17}, |
| 119 | + [4100, 4101] |
122 | 120 | ], |
123 | 121 | "string": [ |
124 | 122 | 5047, |
|
177 | 175 | {"addr": [2208, 2306], "action": null} |
178 | 176 | ], |
179 | 177 | "uint32": [ |
180 | | - 12, |
181 | | - 3037, |
| 178 | + [12, 13], |
| 179 | + [3037, 3038], |
182 | 180 | [3136, 3139], |
183 | | - {"addr": 3174, "value": 1}, |
| 181 | + {"addr": [3174, 3175], "value": 1}, |
184 | 182 | {"addr": [3188,3189], "value": 32514}, |
185 | | - {"addr": [3308, 3406], "action": null}, |
186 | | - {"addr": [3688, 3878], "value": 115, "action": "increment"} |
| 183 | + {"addr": [3308, 3407], "action": null}, |
| 184 | + {"addr": [3688, 3879], "value": 115, "action": "increment"} |
187 | 185 | ], |
188 | 186 | "float32": [ |
189 | | - 14, |
190 | | - 4047, |
| 187 | + [14, 15], |
| 188 | + [4047, 4048], |
191 | 189 | [4146, 4149], |
192 | | - {"addr": 4184, "value": 1}, |
193 | | - {"addr": [4198,4191], "value": 32514.1}, |
194 | | - {"addr": [4308, 4406], "action": null}, |
195 | | - {"addr": [4688, 4878], "value": 115.7, "action": "increment"} |
| 190 | + {"addr": [4184, 4185], "value": 1}, |
| 191 | + {"addr": [4188, 4191], "value": 32514.1}, |
| 192 | + {"addr": [4308, 4407], "action": null}, |
| 193 | + {"addr": [4688, 4879], "value": 115.7, "action": "increment"} |
196 | 194 | ], |
197 | 195 | "string": [ |
198 | 196 | {"addr": [16, 20], "value": "A_B_C_D_E_"}, |
|
0 commit comments