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

Device under test: Step Function I/O dnp3 outstation

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