8.17.2c Binary Counters, Event, 0x06 (revision 3.1r1, subset level 3)

Device under test: Step Function I/O dnp3 outstation

11:01:49.628 Running procedure: 8.17.2c
11:01:49.630 This procedure is enabled because the following options:
11:01:49.630 - supports.counter == true
11:01:49.630 - supports.counterChangeEvents == true
11:01:49.630 - supports.counterEventReads == true
11:01:49.630 step: 1
11:01:49.630 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01
11:01:49.630 - g22v0, All Objects
11:01:49.630 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01
11:01:49.630 g22v0, All Objects
11:01:49.630 --T-> fir: 1 fin: 1 seq: 0
11:01:49.630 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
11:01:49.630 --P-> 05 64 0B C4 00 04 01 00 CA 8A
11:01:49.630 C0 C1 01 16 00 06 8C C6
11:01:49.631 steps: 2 to 3
11:01:49.631 - Read any number of valid responses beginning w/ sequence(0x01) and incrementing by 1 modulo 16
11:01:49.631 - If the response carries data, verify that it asks for an application layer confirmation.
11:01:49.631 - Confirm each response that asks for a confirmation
11:01:49.632 <-P-- 05 64 0A 44 01 00 00 04 67 88
11:01:49.632 C0 C1 81 90 00 73 EE
11:01:49.632 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 10 dest: 1 src: 1024
11:01:49.632 <-T-- fir: 1 fin: 1 seq: 0
11:01:49.632 <-A-- Response(0x81) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01 IIN(DeviceRestart, NeedTime)
11:01:49.632 step: 4
11:01:49.632 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
11:01:49.632 - g22v0, All Objects
11:01:49.632 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
11:01:49.632 g22v0, All Objects
11:01:49.632 --T-> fir: 1 fin: 1 seq: 0
11:01:49.632 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
11:01:49.632 --P-> 05 64 0B C4 00 04 01 00 CA 8A
11:01:49.632 C0 C2 01 16 00 06 86 A3
11:01:49.632 step: 5
11:01:49.632 - Read a single fragment response w/ sequence(0x02)
11:01:49.632 - Verify that the response is empty
11:01:49.632 - Verify that the IIN field does not contain bits IIN(ParamError, ObjectUnknown, FuncNotSupported)
11:01:49.632 <-P-- 05 64 0A 44 01 00 00 04 67 88
11:01:49.632 C1 C2 81 90 00 34 C7
11:01:49.632 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 10 dest: 1 src: 1024
11:01:49.632 <-T-- fir: 1 fin: 1 seq: 1
11:01:49.632 <-A-- Response(0x81) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02 IIN(DeviceRestart, NeedTime)
11:01:49.632 step: 6
11:01:49.632 - Make every binary counter count up
11:01:49.632 [PLG] Updated Counter 0: value=1, flags=1, timestamp=1793185309632 (UNSYNCHRONIZED_TIME)
11:01:49.632 [PLG] Updated Counter 1: value=1, flags=1, timestamp=1793185309632 (UNSYNCHRONIZED_TIME)
11:01:49.632 [PLG] Updated Counter 2: value=1, flags=1, timestamp=1793185309632 (UNSYNCHRONIZED_TIME)
11:01:49.632 [PLG] Updated Counter 3: value=1, flags=1, timestamp=1793185309632 (UNSYNCHRONIZED_TIME)
11:01:49.633 [PLG] Updated Counter 4: value=1, flags=1, timestamp=1793185309632 (UNSYNCHRONIZED_TIME)
11:01:49.633 [PLG] Updated Counter 5: value=1, flags=1, timestamp=1793185309633 (UNSYNCHRONIZED_TIME)
11:01:49.633 [PLG] Updated Counter 6: value=1, flags=1, timestamp=1793185309633 (UNSYNCHRONIZED_TIME)
11:01:49.633 [PLG] Updated Counter 7: value=1, flags=1, timestamp=1793185309633 (UNSYNCHRONIZED_TIME)
11:01:49.633 [PLG] Updated Counter 8: value=1, flags=1, timestamp=1793185309633 (UNSYNCHRONIZED_TIME)
11:01:49.633 [PLG] Updated Counter 9: value=1, flags=1, timestamp=1793185309633 (UNSYNCHRONIZED_TIME)
11:01:49.633 step: 7
11:01:49.633 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x03
11:01:49.633 - g22v0, All Objects
11:01:49.633 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x03
11:01:49.633 g22v0, All Objects
11:01:49.633 --T-> fir: 1 fin: 1 seq: 0
11:01:49.633 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
11:01:49.633 --P-> 05 64 0B C4 00 04 01 00 CA 8A
11:01:49.633 C0 C3 01 16 00 06 80 80
11:01:49.633 steps: 8 to 13
11:01:49.633 - Read a single fragment response w/ sequence(0x03)
11:01:49.633 - Verify that the device responds with events, of only Set(g22v1, g22v2)
11:01:49.633 - Verify that the objects are prefixed with 1-octet (qualifier 0x17) or 2-octet (qualifier 0x28) indexes
11:01:49.633 - Verify that an application layer confirmation is requested.
11:01:49.633 - Verify that the flags behave as the note on flags in Section 2 requires (Note 5 in 2.7, Note 6 in 3.1r1).
11:01:49.633 - Verify that the response holds every counter event generated
11:01:49.633 <-P-- 05 64 55 44 01 00 00 04 39 1A
11:01:49.633 C2 E3 81 90 00 16 01 28 0A 00 00 00 01 01 00 00 D5 DF
11:01:49.633 00 01 00 01 01 00 00 00 02 00 01 01 00 00 00 03 1C C2
11:01:49.633 00 01 01 00 00 00 04 00 01 01 00 00 00 05 00 01 62 75
11:01:49.633 01 00 00 00 06 00 01 01 00 00 00 07 00 01 01 00 94 04
11:01:49.633 00 00 08 00 01 01 00 00 00 09 00 01 01 00 00 00 01 60
11:01:49.633 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 85 dest: 1 src: 1024
11:01:49.633 <-T-- fir: 1 fin: 1 seq: 2
11:01:49.633 <-A-- Response(0x81) fir: 1 fin: 1 con: 1 uns: 0 seq: 0x03 IIN(DeviceRestart, NeedTime)
11:01:49.633 g22v1, 2-Byte Count and Index, count: 10
11:01:49.633 [0] - flags: 0x01 count: 1
11:01:49.633 [1] - flags: 0x01 count: 1
11:01:49.633 [2] - flags: 0x01 count: 1
11:01:49.633 [3] - flags: 0x01 count: 1
11:01:49.633 [4] - flags: 0x01 count: 1
11:01:49.633 [5] - flags: 0x01 count: 1
11:01:49.633 [6] - flags: 0x01 count: 1
11:01:49.633 [7] - flags: 0x01 count: 1
11:01:49.633 [8] - flags: 0x01 count: 1
11:01:49.633 [9] - flags: 0x01 count: 1
11:01:49.634 [PLG] Verified 10 counter point event(s)
11:01:49.634 step: 14
11:01:49.634 - Note the counters' current values, for a later check
11:01:49.634 [PLG] Recorded values:
11:01:49.635 [PLG] Updated Counter 0: value=1, flags=1, timestamp=1793185309632 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 1: value=1, flags=1, timestamp=1793185309632 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 2: value=1, flags=1, timestamp=1793185309632 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 3: value=1, flags=1, timestamp=1793185309632 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 4: value=1, flags=1, timestamp=1793185309632 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 5: value=1, flags=1, timestamp=1793185309633 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 6: value=1, flags=1, timestamp=1793185309633 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 7: value=1, flags=1, timestamp=1793185309633 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 8: value=1, flags=1, timestamp=1793185309633 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 9: value=1, flags=1, timestamp=1793185309633 (UNSYNCHRONIZED_TIME)
11:01:49.635 step: 15
11:01:49.635 - Make every binary counter count up
11:01:49.635 [PLG] Updated Counter 0: value=2, flags=1, timestamp=1793185309635 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 1: value=2, flags=1, timestamp=1793185309635 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 2: value=2, flags=1, timestamp=1793185309635 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 3: value=2, flags=1, timestamp=1793185309635 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 4: value=2, flags=1, timestamp=1793185309635 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 5: value=2, flags=1, timestamp=1793185309635 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 6: value=2, flags=1, timestamp=1793185309635 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 7: value=2, flags=1, timestamp=1793185309635 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 8: value=2, flags=1, timestamp=1793185309635 (UNSYNCHRONIZED_TIME)
11:01:49.635 [PLG] Updated Counter 9: value=2, flags=1, timestamp=1793185309635 (UNSYNCHRONIZED_TIME)
11:01:49.635 step: 16
11:01:49.635 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x04
11:01:49.635 - g22v0, All Objects
11:01:49.635 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x04
11:01:49.635 g22v0, All Objects
11:01:49.635 --T-> fir: 1 fin: 1 seq: 0
11:01:49.635 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
11:01:49.635 --P-> 05 64 0B C4 00 04 01 00 CA 8A
11:01:49.635 C0 C4 01 16 00 06 92 69
11:01:49.635 step: 17
11:01:49.635 - Each counter's value is the value recorded at step 14 plus the increments made at step 15
11:01:49.635 - Read a single fragment response w/ sequence(0x04)
11:01:49.635 - Verify that the device responds with events, of only Set(g22v1, g22v2)
11:01:49.635 - Verify that the objects are prefixed with 1-octet (qualifier 0x17) or 2-octet (qualifier 0x28) indexes
11:01:49.635 - Verify that an application layer confirmation is requested.
11:01:49.635 - Verify that the flags behave as the note on flags in Section 2 requires (Note 5 in 2.7, Note 6 in 3.1r1).
11:01:49.635 - Verify the device responds with values representing the current state of the counters
11:01:49.635 - The DUT may also report the previous state before the present one
11:01:49.635 - Confirm each response that asks for a confirmation
11:01:49.636 <-P-- 05 64 9B 44 01 00 00 04 C2 54
11:01:49.636 C3 E4 81 90 00 16 01 28 14 00 00 00 01 01 00 00 CD 3D
11:01:49.636 00 01 00 01 01 00 00 00 02 00 01 01 00 00 00 03 1C C2
11:01:49.636 00 01 01 00 00 00 04 00 01 01 00 00 00 05 00 01 62 75
11:01:49.636 01 00 00 00 06 00 01 01 00 00 00 07 00 01 01 00 94 04
11:01:49.636 00 00 08 00 01 01 00 00 00 09 00 01 01 00 00 00 01 60
11:01:49.636 00 00 01 02 00 00 00 01 00 01 02 00 00 00 02 00 88 C3
11:01:49.636 01 02 00 00 00 03 00 01 02 00 00 00 04 00 01 02 ED BC
11:01:49.636 00 00 00 05 00 01 02 00 00 00 06 00 01 02 00 00 23 D6
11:01:49.636 00 07 00 01 02 00 00 00 08 00 01 02 00 00 00 09 EE F9
11:01:49.636 00 01 02 00 00 00 50 14
11:01:49.636 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 155 dest: 1 src: 1024
11:01:49.636 <-T-- fir: 1 fin: 1 seq: 3
11:01:49.636 <-A-- Response(0x81) fir: 1 fin: 1 con: 1 uns: 0 seq: 0x04 IIN(DeviceRestart, NeedTime)
11:01:49.636 g22v1, 2-Byte Count and Index, count: 20
11:01:49.636 [0] - flags: 0x01 count: 1
11:01:49.636 [1] - flags: 0x01 count: 1
11:01:49.636 [2] - flags: 0x01 count: 1
11:01:49.636 [3] - flags: 0x01 count: 1
11:01:49.636 [4] - flags: 0x01 count: 1
11:01:49.636 [5] - flags: 0x01 count: 1
11:01:49.636 [6] - flags: 0x01 count: 1
11:01:49.636 [7] - flags: 0x01 count: 1
11:01:49.636 [8] - flags: 0x01 count: 1
11:01:49.636 [9] - flags: 0x01 count: 1
11:01:49.636 [0] - flags: 0x01 count: 2
11:01:49.636 [1] - flags: 0x01 count: 2
11:01:49.636 [2] - flags: 0x01 count: 2
11:01:49.636 [3] - flags: 0x01 count: 2
11:01:49.636 [4] - flags: 0x01 count: 2
11:01:49.636 [5] - flags: 0x01 count: 2
11:01:49.636 [6] - flags: 0x01 count: 2
11:01:49.636 [7] - flags: 0x01 count: 2
11:01:49.636 [8] - flags: 0x01 count: 2
11:01:49.636 [9] - flags: 0x01 count: 2
11:01:49.636 --A-> Confirm(0x00) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x04
11:01:49.636 --T-> fir: 1 fin: 1 seq: 0
11:01:49.636 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 8 dest: 1024 src: 1
11:01:49.636 --P-> 05 64 08 C4 00 04 01 00 9A 19
11:01:49.636 C0 C4 00 F9 A1
11:01:49.641 [PLG] Verified the current value of 10 counter(s)
11:01:49.641 Passed procedure: 8.17.2c