-
Notifications
You must be signed in to change notification settings - Fork 1
/
device.ini
421 lines (287 loc) · 14.4 KB
/
device.ini
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
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
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
################################################################################
# Options for the test harness itself
################################################################################
# Directory where test results are saved
test.output.directory = ./results
################################################################################
# TCP options
################################################################################
# IP address of the DUT
tcp.device.address = 127.0.0.1
# IP port of the DUT min: 1 max: 65535
tcp.device.port = 20000
# IP address of the network adapter on which to capture pcaps
tcp.capture.adapter = /127.0.0.1
################################################################################
# link-layer options
################################################################################
# Link layer address of the test harness (master)
link.source = 1
# Link layer address of the DUT (outstation)
link.destination = 1024
# Number of configured link layer retries min: 1 max: 10
link.num.retry = 3
# Link layer timeout in milliseconds min: 100
link.timeout.ms = 1000
################################################################################
# Outstation application layer options
################################################################################
# Device select timeout in milliseconds min: 1
outstation.select.timeout.ms = 2000
# Response timeout in milliseconds min: 1
outstation.response.timeout.ms = 2000
# Configurable fragment size (preferably not 2048)
outstation.fragmentSize = 2048
################################################################################
# Options related to controls (g12v1)
################################################################################
# Index not assigned to any control point
control.uninstalled.index = 65535
# Maximum number of control points that are supported in a single request min: 1
control.maxControlPointsInSingleRequest = 4
# List of all installed BO indices
control.installedPoints = 10 ... 19
# Index of a supported Group12Var1
control.primary.valid.index = 0
# Valid control function in hexadecimal from set Set(04, 03, 81, 41, 01)
control.primary.valid.function = 3
# Valid count for Group12Var1 min: 1 max: 255
control.primary.valid.count = 1
# On time in ms min: 0 max: 65535
control.primary.valid.onTime.ms = 100
# Off time in ms min: 0 max: 65535
control.primary.valid.offTime.ms = 200
# Index of a supported Group12Var1
control.alternate.valid.index = 1
# Valid control function in hexadecimal from set Set(04, 03, 81, 41, 01)
control.alternate.valid.function = 129
# Valid count for Group12Var1 min: 1 max: 255
control.alternate.valid.count = 5
# On time in ms min: 0 max: 65535
control.alternate.valid.onTime.ms = 300
# Off time in ms min: 0 max: 65535
control.alternate.valid.offTime.ms = 400
# Optional control point supporting complementary function codes Latch On/NUL (0x03) and Latch Off/NUL (0x04).
control.latchOnOffPoint.index = 2
# Valid count for Group12Var1 min: 1 max: 255
control.latchOnOffPoint.count = 10
# On time in ms min: 0 max: 65535
control.latchOnOffPoint.onTime.ms = 500
# Off time in ms min: 0 max: 65535
control.latchOnOffPoint.offTime.ms = 600
# Optional control point supporting complementary function codes Pulse On/Close (0x41) and Pulse On/Trip (0x81).
control.pulseOnOffPoint.index = 3
# Valid count for Group12Var1 min: 1 max: 255
control.pulseOnOffPoint.count = 15
# On time in ms min: 0 max: 65535
control.pulseOnOffPoint.onTime.ms = 700
# Off time in ms min: 0 max: 65535
control.pulseOnOffPoint.offTime.ms = 800
# Optional control point supporting complementary function codes 0x03, 0x04, 0x41 and 0x81.
control.latchAndPulsePoint.index = 4
# Valid count for Group12Var1 min: 1 max: 255
control.latchAndPulsePoint.count = 20
# On time in ms min: 0 max: 65535
control.latchAndPulsePoint.onTime.ms = 900
# Off time in ms min: 0 max: 65535
control.latchAndPulsePoint.offTime.ms = 1000
# Optional single function point supported function code Pulse On/NUL (0x01).
control.singleFunctionPulseOnPoint.index = 5
# Valid count for Group12Var1 min: 1 max: 255
control.singleFunctionPulseOnPoint.count = 25
# On time in ms min: 0 max: 65535
control.singleFunctionPulseOnPoint.onTime.ms = 1100
# Off time in ms min: 0 max: 65535
control.singleFunctionPulseOnPoint.offTime.ms = 1200
# Optional single function point supported function code Latch On/NUL (0x03).
control.singleFunctionLatchOnPoint.index = 6
# Valid count for Group12Var1 min: 1 max: 255
control.singleFunctionLatchOnPoint.count = 30
# On time in ms min: 0 max: 65535
control.singleFunctionLatchOnPoint.onTime.ms = 1300
# Off time in ms min: 0 max: 65535
control.singleFunctionLatchOnPoint.offTime.ms = 1400
# Optional single function point supported function code Latch Off/NUL (0x04).
control.singleFunctionLatchOffPoint.index = 7
# Valid count for Group12Var1 min: 1 max: 255
control.singleFunctionLatchOffPoint.count = 35
# On time in ms min: 0 max: 65535
control.singleFunctionLatchOffPoint.onTime.ms = 1500
# Off time in ms min: 0 max: 65535
control.singleFunctionLatchOffPoint.offTime.ms = 1600
# Optional single function point supported function code Pulse On/Close (0x41).
control.singleFunctionPulseOnClosePoint.index = 8
# Valid count for Group12Var1 min: 1 max: 255
control.singleFunctionPulseOnClosePoint.count = 40
# On time in ms min: 0 max: 65535
control.singleFunctionPulseOnClosePoint.onTime.ms = 1700
# Off time in ms min: 0 max: 65535
control.singleFunctionPulseOnClosePoint.offTime.ms = 1800
# Optional single function point supported function code Pulse On/Trip (0x81).
control.singleFunctionPulseOnTripPoint.index = 9
# Valid count for Group12Var1 min: 1 max: 255
control.singleFunctionPulseOnTripPoint.count = 45
# On time in ms min: 0 max: 65535
control.singleFunctionPulseOnTripPoint.onTime.ms = 1900
# Off time in ms min: 0 max: 65535
control.singleFunctionPulseOnTripPoint.offTime.ms = 2000
################################################################################
# Options related to analog outputs (g41)
################################################################################
# Index not assigned to any analog output point
analogOutput.uninstalled.index = 65535
# List of all installed AO indices
analogOutput.installedPoints = 10 ... 19
# Maximum number of analog outputs that are supported in a single request min: 1
analogOutput.maxAnalogOutputsInSingleRequest = 4
# Index of a supported Group41Var2
analogOutput.primary.valid.index = 0
# Value of supported by Group41Var2 min: 0
analogOutput.primary.valid.value = 10
# Index of a supported Group41Var2
analogOutput.alternate.valid.index = 1
# Value of supported by Group41Var2 min: 0
analogOutput.alternate.valid.value = 20
################################################################################
# Class options
################################################################################
# Support Class 1 event reporting.
class.supportClass1 = true
# Number of Class 1 that will be generated manually. min: 1
class.numClass1EventsGenerated = 10
# Support Class 2 event reporting.
class.supportClass2 = true
# Number of Class 2 that will be generated manually. min: 1
class.numClass2EventsGenerated = 10
# Support Class 3 event reporting.
class.supportClass3 = true
# Number of Class 3 that will be generated manually. min: 1
class.numClass3EventsGenerated = 10
################################################################################
# Event buffer sizes
################################################################################
# Maximum number of binary input events min: 1
event.buffer.maxBinaryInputEvents = 200
# Maximum number of analog input events min: 1
event.buffer.maxAnalogInputEvents = 200
# Maximum number of binary counter events min: 1
event.buffer.maxCounterEvents = 200
# Maximum number of double-bit binary input events min: 1
event.buffer.maxDoubleBitBinaryInputEvents = 200
################################################################################
# Behaviors that can vary between devices, but still remain conformant
################################################################################
# Does the device issue link reset if it receives a NACK while waiting for ACK?
behaviors.resetsLinkOnNack = false
################################################################################
# Time synchronization options
################################################################################
# Does the DUT support setting its time via DNP3 from a master (i.e. reports IIN1-4) ?
timesync.supportSynchronizingTimeFromMaster = true
# Does the DUT support Binary Input Change with Time events (g2v2) ?
timesync.binaryInputChangeWithTime = true
# Does the DUT support Binary Input Change with Relative Time events (g2v3) ?
timesync.binaryInputChangeWithRelativeTime = true
# Maximum time (in milliseconds) from reset to IIN1-4 assertion
timesync.maxTimeFromResetToIIN14Ms = 5000
# Latency to use when synchronizing the time min: 0
timesync.timeWriteLatencyMs = 5
################################################################################
# Options related to tests in section 8.6
################################################################################
# binary output point used in test case 8.6.4.3
flag.tests.individualRemoteSupervisoryOutputIndex = 0
################################################################################
# Options related to binary inputs (g1 and g2)
################################################################################
# Number of Binary Input Events that will be generated manually. min: 1
binaryInput.numBinaryEventsGenerated = 10
# Binary Input Events class assignment. min: 1 max: 3
binaryInput.binaryEventsClass = 1
################################################################################
# Options related to Double-bit inputs (g3 and g4)
################################################################################
# Number of Double-bit Input Events that will be generated manually. min: 1
doubleBitInput.numDoubleBitEventsGenerated = 10
# Double-bit Input Events class assignment. min: 1 max: 3
doubleBitInput.doubleBitEventsClass = 1
################################################################################
# Options related to counters (g20 and g22)
################################################################################
# Number of Counter Events that will be generated manually. min: 1
counter.numCounterEventsGenerated = 10
# Counter Events class assignment. min: 1 max: 3
counter.counterEventsClass = 2
################################################################################
# Options related to analog inputs (g30 and g32)
################################################################################
# Analog Input Events class assignment. min: 1 max: 3
analogInput.analogInputEventsClass = 3
################################################################################
# Unsolicited response options
################################################################################
# Unsolicited confirmation timeout value (in ms) min: 1
unsolicited.unsolicitedConfirmTimeoutMs = 5000
# Other Master address where unsolicited responses can be configured to send to min: 0 max: 65519
unsolicited.otherMasterAddress = 2
# Does the device supports a minimum amount of event data before sending an unsolicited response?
unsolicited.hasMinNumEventsBeforeUnsolicited = false
################################################################################
# Optionally supported DNP3 features
################################################################################
# Does the DUT support Binary Input points?
supports.binaryInput = true
# Is the device is configurable in a manner such that all Binary Input points can be uninstalled or disabled?
supports.disable.binaryInput = true
# Does the DUT support Binary Input change events?
supports.binaryInputChangeEvents = true
# Does the DUT support Double Bit points?
supports.doubleBit = true
# Is the device is configurable in a manner such that all Double Bit points can be uninstalled or disabled?
supports.disable.doubleBit = true
# Does the DUT support Double Bit change events?
supports.doubleBitChangeEvents = true
# Does the DUT support Counter points?
supports.counter = true
# Is the device is configurable in a manner such that all Counter points can be uninstalled or disabled?
supports.disable.counter = true
# Does the DUT support Counter change events?
supports.counterChangeEvents = true
# Does the DUT support Frozen Counter points?
supports.frozenCounter = true
# Is the device is configurable in a manner such that all Frozen Counter points can be uninstalled or disabled?
supports.disable.frozenCounter = true
# Does the DUT support Frozen Counter change events?
supports.frozenCounterChangeEvents = true
# Does the DUT support Analog Input points?
supports.analog = true
# Is the device is configurable in a manner such that all Analog Input points can be uninstalled or disabled?
supports.disable.analog = true
# Does the DUT support Analog Input change events?
supports.analogChangeEvents = true
# Does the DUT support Binary Output status points?
supports.binaryOutput.status = true
# Does the DUT support Binary Output points?
supports.binaryOutput.commands = true
# Is the device is configurable in a manner such that all Binary Output points can be uninstalled or disabled?
supports.disable.binaryOutput = true
# Does the DUT support Analog Output status points?
supports.analogOutput.status = true
# Does the DUT support Analog Output points?
supports.analogOutput.commands = true
# Is the device is configurable in a manner such that all Analog Output points can be uninstalled or disabled?
supports.disable.analogOutput = true
# Can the DUT be configured to request data link layer confirmation?
supports.dataLinkConfirmRequests = false
# Does the the DUT link layer self addressing?
supports.selfAddress = false
# Is the DUT configurable such that points can be removed from all Classes (i.e. points belong to no Class)?
supports.noClassAssignment = true
# Does the DUT support placing its binary outputs in a local state?
supports.globalRemoteSupervisoryControl = true
# Does the DUT support placing individual binary outputs in a local state?
supports.individualRemoteSupervisoryControl = true
# Does the DUT has a configurable fragment size?
supports.configurableFragmentSize = true
# Does the DUT supports unsolicited responses?
supports.unsolicitedResponse = true