8.16.1.2.2 Device responds with Binary Counters (revision 2.7, subset level 2)

Device under test: Step Function I/O dnp3 outstation

05:29:32.324 Running procedure: 8.16.1.2.2
05:29:32.326 This procedure is enabled because the following options:
05:29:32.326 - supports.counter == true
05:29:32.326 step: 1
05:29:32.326 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01
05:29:32.326 - g20v0, All Objects
05:29:32.326 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01
05:29:32.326 g20v0, All Objects
05:29:32.326 --T-> fir: 1 fin: 1 seq: 0
05:29:32.326 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
05:29:32.326 --P-> 05 64 0B C4 00 04 01 00 CA 8A
05:29:32.326 C0 C1 01 14 00 06 FC F5
05:29:32.326 step: 2
05:29:32.326 - Read any number of valid responses beginning w/ sequence(0x01) and incrementing by 1 modulo 16
05:29:32.326 - Verify that the response only contains objects, variations, and qualifiers specified in table 8-5
05:29:32.326 - Verify that the response contains objects
05:29:32.326 - Confirm each response that asks for a confirmation
05:29:32.327 <-P-- 05 64 2F 44 01 00 00 04 6C 81
05:29:32.327 C0 C1 81 90 00 14 02 01 00 00 09 00 01 00 00 01 B3 BD
05:29:32.327 00 00 01 00 00 01 00 00 01 00 00 01 00 00 01 00 DB 49
05:29:32.327 00 01 00 00 01 00 00 01 00 00 61 8D
05:29:32.327 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 47 dest: 1 src: 1024
05:29:32.327 <-T-- fir: 1 fin: 1 seq: 0
05:29:32.327 <-A-- Response(0x81) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01 IIN(DeviceRestart, NeedTime)
05:29:32.327 g20v2, 2-Byte Start/Stop, start: 0 stop: 9
05:29:32.327 [0] - flags: 0x01 count: 0
05:29:32.327 [1] - flags: 0x01 count: 0
05:29:32.327 [2] - flags: 0x01 count: 0
05:29:32.327 [3] - flags: 0x01 count: 0
05:29:32.327 [4] - flags: 0x01 count: 0
05:29:32.327 [5] - flags: 0x01 count: 0
05:29:32.327 [6] - flags: 0x01 count: 0
05:29:32.327 [7] - flags: 0x01 count: 0
05:29:32.327 [8] - flags: 0x01 count: 0
05:29:32.327 [9] - flags: 0x01 count: 0
05:29:32.327 step: 3
05:29:32.327 - Note the counters' current values, for a later check
05:29:32.328 [PLG] Recorded values:
05:29:32.328 [PLG] Updated Counter 0: value=0, flags=1, timestamp=0 (INVALID_TIME)
05:29:32.328 [PLG] Updated Counter 1: value=0, flags=1, timestamp=0 (INVALID_TIME)
05:29:32.328 [PLG] Updated Counter 2: value=0, flags=1, timestamp=0 (INVALID_TIME)
05:29:32.328 [PLG] Updated Counter 3: value=0, flags=1, timestamp=0 (INVALID_TIME)
05:29:32.328 [PLG] Updated Counter 4: value=0, flags=1, timestamp=0 (INVALID_TIME)
05:29:32.328 [PLG] Updated Counter 5: value=0, flags=1, timestamp=0 (INVALID_TIME)
05:29:32.328 [PLG] Updated Counter 6: value=0, flags=1, timestamp=0 (INVALID_TIME)
05:29:32.328 [PLG] Updated Counter 7: value=0, flags=1, timestamp=0 (INVALID_TIME)
05:29:32.328 [PLG] Updated Counter 8: value=0, flags=1, timestamp=0 (INVALID_TIME)
05:29:32.328 [PLG] Updated Counter 9: value=0, flags=1, timestamp=0 (INVALID_TIME)
05:29:32.328 step: 4
05:29:32.328 - Make every binary counter count up
05:29:32.328 [PLG] Updated Counter 0: value=1, flags=1, timestamp=1793251772328 (UNSYNCHRONIZED_TIME)
05:29:32.328 [PLG] Updated Counter 1: value=1, flags=1, timestamp=1793251772328 (UNSYNCHRONIZED_TIME)
05:29:32.328 [PLG] Updated Counter 2: value=1, flags=1, timestamp=1793251772328 (UNSYNCHRONIZED_TIME)
05:29:32.329 [PLG] Updated Counter 3: value=1, flags=1, timestamp=1793251772328 (UNSYNCHRONIZED_TIME)
05:29:32.329 [PLG] Updated Counter 4: value=1, flags=1, timestamp=1793251772329 (UNSYNCHRONIZED_TIME)
05:29:32.329 [PLG] Updated Counter 5: value=1, flags=1, timestamp=1793251772329 (UNSYNCHRONIZED_TIME)
05:29:32.329 [PLG] Updated Counter 6: value=1, flags=1, timestamp=1793251772329 (UNSYNCHRONIZED_TIME)
05:29:32.329 [PLG] Updated Counter 7: value=1, flags=1, timestamp=1793251772329 (UNSYNCHRONIZED_TIME)
05:29:32.329 [PLG] Updated Counter 8: value=1, flags=1, timestamp=1793251772329 (UNSYNCHRONIZED_TIME)
05:29:32.329 [PLG] Updated Counter 9: value=1, flags=1, timestamp=1793251772329 (UNSYNCHRONIZED_TIME)
05:29:32.329 step: 5
05:29:32.329 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
05:29:32.329 - g20v0, All Objects
05:29:32.329 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
05:29:32.329 g20v0, All Objects
05:29:32.329 --T-> fir: 1 fin: 1 seq: 0
05:29:32.329 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
05:29:32.329 --P-> 05 64 0B C4 00 04 01 00 CA 8A
05:29:32.329 C0 C2 01 14 00 06 F6 90
05:29:32.329 steps: 6 to 8
05:29:32.329 - Read any number of valid responses beginning w/ sequence(0x02) and incrementing by 1 modulo 16
05:29:32.329 - Verify that each counter equals its recorded value plus the counts generated since that value was recorded
05:29:32.329 - Verify that the response only contains objects, variations, and qualifiers specified in table 8-5
05:29:32.329 - Verify that the response contains objects
05:29:32.329 - Verify that the flags behave as the note on flags in Section 2 requires (Note 5 in 2.7, Note 6 in 3.1r1).
05:29:32.329 - Confirm each response that asks for a confirmation
05:29:32.330 <-P-- 05 64 2F 44 01 00 00 04 6C 81
05:29:32.330 C1 C2 81 94 00 14 02 01 00 00 09 00 01 01 00 01 3A 6A
05:29:32.330 01 00 01 01 00 01 01 00 01 01 00 01 01 00 01 01 DA 33
05:29:32.330 00 01 01 00 01 01 00 01 01 00 3B 13
05:29:32.330 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 47 dest: 1 src: 1024
05:29:32.330 <-T-- fir: 1 fin: 1 seq: 1
05:29:32.330 <-A-- Response(0x81) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02 IIN(DeviceRestart, NeedTime, Class2Events)
05:29:32.330 g20v2, 2-Byte Start/Stop, start: 0 stop: 9
05:29:32.330 [0] - flags: 0x01 count: 1
05:29:32.330 [1] - flags: 0x01 count: 1
05:29:32.330 [2] - flags: 0x01 count: 1
05:29:32.330 [3] - flags: 0x01 count: 1
05:29:32.330 [4] - flags: 0x01 count: 1
05:29:32.330 [5] - flags: 0x01 count: 1
05:29:32.330 [6] - flags: 0x01 count: 1
05:29:32.330 [7] - flags: 0x01 count: 1
05:29:32.330 [8] - flags: 0x01 count: 1
05:29:32.330 [9] - flags: 0x01 count: 1
05:29:32.330 [PLG] Verified 10 counter point(s)
05:29:32.330 Passed procedure: 8.16.1.2.2