ads-client 2.0.0-beta.2 → 2.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +257 -253
- package/dist/ads-client.d.ts +354 -61
- package/dist/ads-client.js +422 -103
- package/dist/ads-client.js.map +1 -1
- package/dist/types/ads-client-types.d.ts +200 -17
- package/dist/types/ads-client-types.js.map +1 -1
- package/dist/types/ads-protocol-types.d.ts +75 -1
- package/dist/types/ads-protocol-types.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [2.0.0-beta.3] - 10.09.2024
|
|
8
|
+
- **BREAKING:** Renamed `ReadWriteRawMultiCommand` property `writeData` to `value`
|
|
9
|
+
- Added `warning` event to listen for console warnings
|
|
10
|
+
- Bugfix: `writeRawByPath()` didn't use the `targetOpts` parameter
|
|
11
|
+
- Type `ClientEvents` renamed to `AdsClientEvents`
|
|
12
|
+
- Added automatic deletion of stale subscriptions / unknown ADS notification handles
|
|
13
|
+
- New setting: `deleteUnknownSubscriptions` (default: `true`)
|
|
14
|
+
|
|
15
|
+
Thank you [Christian Rishøj](https://github.com/crishoj) for contribution!
|
|
16
|
+
|
|
7
17
|
## [2.0.0-beta.2] - 26.08.2024
|
|
8
18
|
- Changed `subscribeSymbol()` -> `subscribeValue()`
|
|
9
19
|
- Bug fix: Fixing [issue #144](https://github.com/jisotalo/ads-client/issues/144)
|
package/README.md
CHANGED
|
@@ -12,13 +12,12 @@ Connect to a Beckhoff TwinCAT automation system using the ADS protocol from a No
|
|
|
12
12
|
|
|
13
13
|
## v2 project status
|
|
14
14
|
|
|
15
|
-
**
|
|
15
|
+
**10.09.2024:** Beta 3 released! See [CHANGELOG.md](https://github.com/jisotalo/ads-client/blob/v2-dev/CHANGELOG.md) for details.
|
|
16
16
|
|
|
17
|
-
All breaking changes are (hopefully)
|
|
17
|
+
All breaking changes are (hopefully) done.
|
|
18
18
|
|
|
19
19
|
* See [milestone #2](https://github.com/jisotalo/ads-client/milestone/2) for tasks to be done.
|
|
20
20
|
* See [MIGRATION.md](https://github.com/jisotalo/ads-client/blob/v2-dev/MIGRATION.md) for guide of migrating v1->v2
|
|
21
|
-
* See [CHANGELOG.md](https://github.com/jisotalo/ads-client/blob/v2-dev/CHANGELOG.md) for some more changes
|
|
22
21
|
* Clone repository and open `docs/index.html` in browser for documentation
|
|
23
22
|
|
|
24
23
|
## Getting started
|
|
@@ -108,256 +107,261 @@ Target is that all functions of the library are always tested before releasing.
|
|
|
108
107
|
<details>
|
|
109
108
|
<summary>Click to show test results</summary>
|
|
110
109
|
<pre>
|
|
111
|
-
√ IMPORTANT NOTE: This test requires running a specific PLC project locally (https://github.com/jisotalo/ads-client-test-plc-project)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
110
|
+
√ IMPORTANT NOTE: This test requires running a specific PLC project locally (https://github.com/jisotalo/ads-client-test-plc-project)
|
|
111
|
+
connection
|
|
112
|
+
√ client is not connected at beginning (1 ms)
|
|
113
|
+
√ checking ads client settings (1 ms)
|
|
114
|
+
√ connecting to the target (42 ms)
|
|
115
|
+
√ checking that test PLC project is active (12 ms)
|
|
116
|
+
√ checking that test PLC project version is correct (12 ms)
|
|
117
|
+
√ caching of symbols and data types (1 ms)
|
|
118
|
+
√ reconnecting (34 ms)
|
|
119
|
+
resetting PLC to original state
|
|
120
|
+
√ resetting PLC (511 ms)
|
|
121
|
+
√ checking that reset was successful (9 ms)
|
|
122
|
+
√ checking that PLC is not running (11 ms)
|
|
123
|
+
√ setting IsReset to false (6 ms)
|
|
124
|
+
√ starting PLC (8 ms)
|
|
125
|
+
√ checking that test PLC project is running (504 ms)
|
|
126
|
+
testing PLC runtime stop, start, restart
|
|
127
|
+
√ stopping PLC (16 ms)
|
|
128
|
+
√ starting PLC (13 ms)
|
|
129
|
+
√ restarting PLC (533 ms)
|
|
130
|
+
system state, PLC runtime states and device information
|
|
131
|
+
√ reading TwinCAT system state (6 ms)
|
|
132
|
+
√ reading PLC runtime (port 851) state (6 ms)
|
|
133
|
+
√ reading PLC runtime (port 852) state (6 ms)
|
|
134
|
+
√ reading PLC runtime device info (5 ms)
|
|
135
|
+
√ reading TwinCAT system device info (7 ms)
|
|
136
|
+
√ reading PLC runtime symbol version (3 ms)
|
|
137
|
+
symbols and data types
|
|
138
|
+
√ reading upload info (4 ms)
|
|
139
|
+
√ reading all symbols (15 ms)
|
|
140
|
+
√ reading single symbol information (1 ms)
|
|
141
|
+
√ reading all data type information (14 ms)
|
|
142
|
+
√ reading single data type information (2 ms)
|
|
143
|
+
data conversion
|
|
144
|
+
√ converting a raw PLC value to a Javascript variable (3 ms)
|
|
145
|
+
√ converting a Javascript value to a raw PLC value (42 ms)
|
|
146
|
+
reading values
|
|
147
|
+
reading standard values
|
|
148
|
+
√ reading BOOL (15 ms)
|
|
149
|
+
√ reading BYTE (8 ms)
|
|
150
|
+
√ reading WORD (8 ms)
|
|
151
|
+
√ reading DWORD (5 ms)
|
|
152
|
+
√ reading SINT (12 ms)
|
|
153
|
+
√ reading USINT (6 ms)
|
|
154
|
+
√ reading INT (16 ms)
|
|
155
|
+
√ reading UINT (8 ms)
|
|
156
|
+
√ reading DINT (16 ms)
|
|
157
|
+
√ reading UDINT (8 ms)
|
|
158
|
+
√ reading REAL (31 ms)
|
|
159
|
+
√ reading STRING (15 ms)
|
|
160
|
+
√ reading DATE (7 ms)
|
|
161
|
+
√ reading DT (16 ms)
|
|
162
|
+
√ reading TOD (11 ms)
|
|
163
|
+
√ reading TIME (5 ms)
|
|
164
|
+
√ reading LWORD (7 ms)
|
|
165
|
+
√ reading LINT (13 ms)
|
|
166
|
+
√ reading ULINT (8 ms)
|
|
167
|
+
√ reading LREAL (24 ms)
|
|
168
|
+
√ reading WSTRING (14 ms)
|
|
169
|
+
√ reading LDATE (---- TODO: Needs TC 3.1.4026 ----) (1 ms)
|
|
170
|
+
√ reading LDT (---- TODO: Needs TC 3.1.4026 ----)
|
|
171
|
+
√ reading LTOD (---- TODO: Needs TC 3.1.4026 ----)
|
|
172
|
+
√ reading LTIME (4 ms)
|
|
173
|
+
reading standard array values
|
|
174
|
+
√ reading ARRAY OF BOOL (13 ms)
|
|
175
|
+
√ reading ARRAY OF BYTE (7 ms)
|
|
176
|
+
√ reading ARRAY OF WORD (9 ms)
|
|
177
|
+
√ reading ARRAY OF DWORD (7 ms)
|
|
178
|
+
√ reading ARRAY OF SINT (16 ms)
|
|
179
|
+
√ reading ARRAY OF USINT (8 ms)
|
|
180
|
+
√ reading ARRAY OF INT (15 ms)
|
|
181
|
+
√ reading ARRAY OF UINT (6 ms)
|
|
182
|
+
√ reading ARRAY OF DINT (14 ms)
|
|
183
|
+
√ reading ARRAY OF UDINT (4 ms)
|
|
184
|
+
√ reading ARRAY OF REAL (28 ms)
|
|
185
|
+
√ reading ARRAY OF STRING (14 ms)
|
|
186
|
+
√ reading ARRAY OF DATE (8 ms)
|
|
187
|
+
√ reading ARRAY OF DT (16 ms)
|
|
188
|
+
√ reading ARRAY OF TOD (16 ms)
|
|
189
|
+
√ reading ARRAY OF TIME (8 ms)
|
|
190
|
+
√ reading ARRAY OF LWORD (8 ms)
|
|
191
|
+
√ reading ARRAY OF LINT (16 ms)
|
|
192
|
+
√ reading ARRAY OF ULINT (8 ms)
|
|
193
|
+
√ reading ARRAY OF LREAL (28 ms)
|
|
194
|
+
√ reading ARRAY OF WSTRING (13 ms)
|
|
195
|
+
√ reading ARRAY OF LDATE (---- TODO: Needs TC 3.1.4026 ----)
|
|
196
|
+
√ reading ARRAY OF LDT (---- TODO: Needs TC 3.1.4026 ----) (1 ms)
|
|
197
|
+
√ reading ARRAY OF LTOD (---- TODO: Needs TC 3.1.4026 ----)
|
|
198
|
+
√ reading ARRAY OF LTIME (3 ms)
|
|
199
|
+
reading complex values
|
|
200
|
+
√ reading STRUCT (15 ms)
|
|
201
|
+
√ reading ALIAS (8 ms)
|
|
202
|
+
√ reading ENUM (38 ms)
|
|
203
|
+
√ reading POINTER (address) (9 ms)
|
|
204
|
+
√ reading SUBRANGE (8 ms)
|
|
205
|
+
√ reading UNION (22 ms)
|
|
206
|
+
√ reading FUNCTION_BLOCK (33 ms)
|
|
207
|
+
√ reading INTERFACE (7 ms)
|
|
208
|
+
reading complex array values
|
|
209
|
+
√ reading ARRAY OF STRUCT (17 ms)
|
|
210
|
+
√ reading ARRAY OF ALIAS (8 ms)
|
|
211
|
+
√ reading ARRAY OF ENUM (42 ms)
|
|
212
|
+
√ reading ARRAY OF POINTER (address) (8 ms)
|
|
213
|
+
√ reading ARRAY OF SUBRANGE (6 ms)
|
|
214
|
+
√ reading ARRAY OF UNION (8 ms)
|
|
215
|
+
√ reading ARRAY OF FUNCTION_BLOCK (31 ms)
|
|
216
|
+
√ reading ARRAY OF INTERFACE (5 ms)
|
|
217
|
+
reading special types / cases
|
|
218
|
+
√ reading ARRAY with negative index (6 ms)
|
|
219
|
+
√ reading multi-dimensional ARRAY (5 ms)
|
|
220
|
+
√ reading ARRAY OF ARRAY (8 ms)
|
|
221
|
+
√ reading STRUCT with pragma: {attribute 'pack_mode' := '1'} (4 ms)
|
|
222
|
+
√ reading STRUCT with pragma: {attribute 'pack_mode' := '8'} (6 ms)
|
|
223
|
+
√ reading an empty FUNCTION_BLOCK (7 ms)
|
|
224
|
+
√ reading an empty STRUCT (6 ms)
|
|
225
|
+
√ reading an empty ARRAY (8 ms)
|
|
226
|
+
√ reading a single BIT (14 ms)
|
|
227
|
+
√ reading a struct with BIT types (6 ms)
|
|
228
|
+
reading dereferenced POINTER and REFERENCE values
|
|
229
|
+
√ reading POINTER (value) (7 ms)
|
|
230
|
+
√ reading REFERENCE (value) (6 ms)
|
|
231
|
+
reading raw data
|
|
232
|
+
√ reading a raw value (4 ms)
|
|
233
|
+
√ reading a raw value using symbol (4 ms)
|
|
234
|
+
√ reading a raw value using path (4 ms)
|
|
235
|
+
√ reading multiple raw values (multi/sum command) (5 ms)
|
|
236
|
+
reading (misc)
|
|
237
|
+
√ reading a value using symbol (3 ms)
|
|
238
|
+
writing values
|
|
239
|
+
writing standard values
|
|
240
|
+
√ writing BOOL (20 ms)
|
|
241
|
+
√ writing BYTE (12 ms)
|
|
242
|
+
√ writing WORD (12 ms)
|
|
243
|
+
√ writing DWORD (10 ms)
|
|
244
|
+
√ writing SINT (24 ms)
|
|
245
|
+
√ writing USINT (11 ms)
|
|
246
|
+
√ writing INT (20 ms)
|
|
247
|
+
√ writing UINT (10 ms)
|
|
248
|
+
√ writing DINT (20 ms)
|
|
249
|
+
√ writing UDINT (9 ms)
|
|
250
|
+
√ writing REAL (47 ms)
|
|
251
|
+
√ writing STRING (22 ms)
|
|
252
|
+
√ writing DATE (11 ms)
|
|
253
|
+
√ writing DT (20 ms)
|
|
254
|
+
√ writing TOD (24 ms)
|
|
255
|
+
√ writing TIME (10 ms)
|
|
256
|
+
√ writing LWORD (13 ms)
|
|
257
|
+
√ writing LINT (21 ms)
|
|
258
|
+
√ writing ULINT (9 ms)
|
|
259
|
+
√ writing LREAL (38 ms)
|
|
260
|
+
√ writing WSTRING (20 ms)
|
|
261
|
+
√ writing LDATE (---- TODO: Needs TC 3.1.4026 ----)
|
|
262
|
+
√ writing LDT (---- TODO: Needs TC 3.1.4026 ----)
|
|
263
|
+
√ writing LTOD (---- TODO: Needs TC 3.1.4026 ----)
|
|
264
|
+
√ writing LTIME (12 ms)
|
|
265
|
+
writing standard array values
|
|
266
|
+
√ writing ARRAY OF BOOL (22 ms)
|
|
267
|
+
√ writing ARRAY OF BYTE (12 ms)
|
|
268
|
+
√ writing ARRAY OF WORD (12 ms)
|
|
269
|
+
√ writing ARRAY OF DWORD (10 ms)
|
|
270
|
+
√ writing ARRAY OF SINT (22 ms)
|
|
271
|
+
√ writing ARRAY OF USINT (9 ms)
|
|
272
|
+
√ writing ARRAY OF INT (21 ms)
|
|
273
|
+
√ writing ARRAY OF UINT (11 ms)
|
|
274
|
+
√ writing ARRAY OF DINT (23 ms)
|
|
275
|
+
√ writing ARRAY OF UDINT (12 ms)
|
|
276
|
+
√ writing ARRAY OF REAL (38 ms)
|
|
277
|
+
√ writing ARRAY OF STRING (22 ms)
|
|
278
|
+
√ writing ARRAY OF DATE (11 ms)
|
|
279
|
+
√ writing ARRAY OF DT (18 ms)
|
|
280
|
+
√ writing ARRAY OF TOD (23 ms)
|
|
281
|
+
√ writing ARRAY OF TIME (12 ms)
|
|
282
|
+
√ writing ARRAY OF LWORD (12 ms)
|
|
283
|
+
√ writing ARRAY OF LINT (24 ms)
|
|
284
|
+
√ writing ARRAY OF ULINT (12 ms)
|
|
285
|
+
√ writing ARRAY OF LREAL (48 ms)
|
|
286
|
+
√ writing ARRAY OF WSTRING (22 ms)
|
|
287
|
+
√ writing ARRAY OF LDATE (---- TODO: Needs TC 3.1.4026 ----) (1 ms)
|
|
288
|
+
√ writing ARRAY OF LDT (---- TODO: Needs TC 3.1.4026 ----)
|
|
289
|
+
√ writing ARRAY OF LTOD (---- TODO: Needs TC 3.1.4026 ----)
|
|
290
|
+
√ writing ARRAY OF LTIME (12 ms)
|
|
291
|
+
writing complex values
|
|
292
|
+
√ writing STRUCT (25 ms)
|
|
293
|
+
√ writing ALIAS (11 ms)
|
|
294
|
+
√ writing ENUM (54 ms)
|
|
295
|
+
√ writing POINTER (address) (13 ms)
|
|
296
|
+
√ writing SUBRANGE (19 ms)
|
|
297
|
+
√ writing UNION (46 ms)
|
|
298
|
+
√ writing FUNCTION_BLOCK (38 ms)
|
|
299
|
+
√ writing INTERFACE (12 ms)
|
|
300
|
+
writing complex array values
|
|
301
|
+
√ writing ARRAY OF STRUCT (21 ms)
|
|
302
|
+
√ writing ARRAY OF ALIAS (13 ms)
|
|
303
|
+
√ writing ARRAY OF ENUM (48 ms)
|
|
304
|
+
√ writing ARRAY OF POINTER (address) (14 ms)
|
|
305
|
+
√ writing ARRAY OF SUBRANGE (14 ms)
|
|
306
|
+
√ writing ARRAY OF UNION (15 ms)
|
|
307
|
+
√ writing ARRAY OF FUNCTION_BLOCK (44 ms)
|
|
308
|
+
√ writing ARRAY OF INTERFACE (18 ms)
|
|
309
|
+
writing special types / cases
|
|
310
|
+
√ writing ARRAY with negative index (17 ms)
|
|
311
|
+
√ writing multi-dimensional ARRAY (14 ms)
|
|
312
|
+
√ writing ARRAY OF ARRAY (16 ms)
|
|
313
|
+
√ writing STRUCT with pragma: {attribute 'pack_mode' := '1'} (17 ms)
|
|
314
|
+
√ writing STRUCT with pragma: {attribute 'pack_mode' := '8'} (12 ms)
|
|
315
|
+
√ writing an empty FUNCTION_BLOCK (8 ms)
|
|
316
|
+
√ writing an empty STRUCT (8 ms)
|
|
317
|
+
√ writing an empty ARRAY (6 ms)
|
|
318
|
+
√ writing a single BIT (40 ms)
|
|
319
|
+
√ writing a struct with BIT types (15 ms)
|
|
320
|
+
writing dereferenced POINTER and REFERENCE values
|
|
321
|
+
√ writing POINTER (value) (23 ms)
|
|
322
|
+
√ writing REFERENCE (value) (21 ms)
|
|
323
|
+
writing raw data
|
|
324
|
+
√ writing a raw value (7 ms)
|
|
325
|
+
√ writing a raw value using symbol (4 ms)
|
|
326
|
+
√ writing a raw value using path (12 ms)
|
|
327
|
+
√ writing multiple raw values (multi/sum command) (20 ms)
|
|
328
|
+
writing (misc)
|
|
329
|
+
√ writing a value using symbol (4 ms)
|
|
330
|
+
variable handles
|
|
331
|
+
√ creating and deleting a varible handle (16 ms)
|
|
332
|
+
√ reading value using a variable handle (12 ms)
|
|
333
|
+
√ writing value using a variable handle (32 ms)
|
|
334
|
+
√ creating and deleting multiple varible handles (multi/sum command) (8 ms)
|
|
335
|
+
subscriptions (ADS notifications)
|
|
336
|
+
√ subscribing and unsubscribing successfully (2052 ms)
|
|
337
|
+
√ subscribing to a changing value (10 ms) with default cycle time (3031 ms)
|
|
338
|
+
√ subscribing to a changing value (10 ms) with 10 ms cycle time (36 ms)
|
|
339
|
+
√ subscribing to a constant value with maximum delay of 2000 ms (2018 ms)
|
|
340
|
+
√ subscribing to a raw ADS address (227 ms)
|
|
341
|
+
√ subscribing using subscribeValue() (2023 ms)
|
|
342
|
+
√ subscribing to a raw ADS address using subscribeRaw() (217 ms)
|
|
343
|
+
remote procedure calls (RPC methods)
|
|
344
|
+
√ calling a RPC method (13 ms)
|
|
345
|
+
√ calling a RPC method with struct parameters (11 ms)
|
|
346
|
+
√ calling a RPC method without return value and without parameters (9 ms)
|
|
347
|
+
miscellaneous
|
|
348
|
+
√ sending read write ADS command (9 ms)
|
|
349
|
+
√ sending multiple read write ADS commands (multi/sum command) (9 ms)
|
|
350
|
+
issue specific tests
|
|
351
|
+
issue 103 (https://github.com/jisotalo/ads-client/issues/103)
|
|
352
|
+
√ calling unsubscribeAll() multiple times (should not crash to unhandled exception) (51 ms)
|
|
353
|
+
disconnecting
|
|
354
|
+
√ disconnecting client (8 ms)
|
|
355
|
+
controlling TwinCAT system service
|
|
356
|
+
√ connecting (2 ms)
|
|
357
|
+
√ setting TwinCAT system to config (2021 ms)
|
|
358
|
+
√ setting TwinCAT system to run (2022 ms)
|
|
359
|
+
√ disconnecting (1 ms)
|
|
360
|
+
handling unknown/stale ADS notifications
|
|
361
|
+
√ connecting (29 ms)
|
|
362
|
+
√ creating an unknown notification handle by forced disconnecting (1037 ms)
|
|
363
|
+
√ deleting an unknown notification handle automatically (1028 ms)
|
|
364
|
+
√ disconnecting (1 ms)
|
|
361
365
|
</pre>
|
|
362
366
|
</details>
|
|
363
367
|
|