8.17.2.2 Binary Counters, Event, 0x06 (revision 2.7, subset level 2)

Device under test: Step Function I/O dnp3 outstation

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