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

Device under test: Step Function I/O dnp3 outstation

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