8.14.2.9 Binary Input Change With Time, 0x06 (revision 2.7, subset level 2)

Device under test: Step Function I/O dnp3 outstation

10:59:45.791 Running procedure: 8.14.2.9
10:59:45.793 This procedure is enabled because the following options:
10:59:45.793 - supports.binaryInput == true
10:59:45.793 - supports.binaryInputChangeEvents == true
10:59:45.793 step: 1
10:59:45.793 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01
10:59:45.793 - g2v0, All Objects
10:59:45.793 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01
10:59:45.793 g2v0, All Objects
10:59:45.793 --T-> fir: 1 fin: 1 seq: 0
10:59:45.793 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
10:59:45.793 --P-> 05 64 0B C4 00 04 01 00 CA 8A
10:59:45.793 C0 C1 01 02 00 06 95 76
10:59:45.793 steps: 2 to 3
10:59:45.793 - Read any number of valid responses beginning w/ sequence(0x01) and incrementing by 1 modulo 16
10:59:45.793 - If the response carries data, verify that it asks for an application layer confirmation.
10:59:45.793 - Confirm each response that asks for a confirmation
10:59:45.794 <-P-- 05 64 0A 44 01 00 00 04 67 88
10:59:45.794 C0 C1 81 90 00 73 EE
10:59:45.794 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 10 dest: 1 src: 1024
10:59:45.794 <-T-- fir: 1 fin: 1 seq: 0
10:59:45.794 <-A-- Response(0x81) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01 IIN(DeviceRestart, NeedTime)
10:59:45.794 step: 4
10:59:45.794 - Change binary inputs several times, one or more of them, to create events
10:59:45.794 [PLG] Updated BI 0: value=true, flags=81, timestamp=1793185185794 (UNSYNCHRONIZED_TIME)
10:59:45.794 [PLG] Updated BI 1: value=true, flags=81, timestamp=1793185185794 (UNSYNCHRONIZED_TIME)
10:59:45.794 [PLG] Updated BI 2: value=true, flags=81, timestamp=1793185185794 (UNSYNCHRONIZED_TIME)
10:59:45.794 [PLG] Updated BI 3: value=true, flags=81, timestamp=1793185185794 (UNSYNCHRONIZED_TIME)
10:59:45.794 [PLG] Updated BI 4: value=true, flags=81, timestamp=1793185185794 (UNSYNCHRONIZED_TIME)
10:59:45.794 [PLG] Updated BI 5: value=true, flags=81, timestamp=1793185185794 (UNSYNCHRONIZED_TIME)
10:59:45.794 [PLG] Updated BI 6: value=true, flags=81, timestamp=1793185185794 (UNSYNCHRONIZED_TIME)
10:59:45.794 [PLG] Updated BI 7: value=true, flags=81, timestamp=1793185185794 (UNSYNCHRONIZED_TIME)
10:59:45.794 [PLG] Updated BI 8: value=true, flags=81, timestamp=1793185185794 (UNSYNCHRONIZED_TIME)
10:59:45.794 [PLG] Updated BI 9: value=true, flags=81, timestamp=1793185185794 (UNSYNCHRONIZED_TIME)
10:59:45.794 The plugin reports the DUT's clock unsynchronized
10:59:45.794 step: 5
10:59:45.794 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
10:59:45.794 - g2v2, All Objects
10:59:45.794 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
10:59:45.794 g2v2, All Objects
10:59:45.794 --T-> fir: 1 fin: 1 seq: 0
10:59:45.794 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
10:59:45.794 --P-> 05 64 0B C4 00 04 01 00 CA 8A
10:59:45.794 C0 C2 01 02 02 06 7A 08
10:59:45.795 step: 6
10:59:45.795 - The DUT supports the requested absolute-time event variation (g2v2).
10:59:45.795 steps: 7 to 12
10:59:45.795 - Read a single fragment response w/ sequence(0x02)
10:59:45.795 - Verify that the response holds every Binary Input event generated
10:59:45.795 - If the events carry timestamps, verify that the gaps between them match the gaps between when the events were generated, to the Device Profile's resolution
10:59:45.795 - Verify that an application layer confirmation is requested.
10:59:45.795 - Verify that the events are reported as TB2017-003a 5.1.3.1.2 requires, which the DUT implements: g2v2 for events recorded while the clock was synchronized, g2v3 after g51v2 for those recorded while it was unsynchronized, by the clock's state as the plugin reports it
10:59:45.795 - Verify that the flags behave as the note on flags in Section 2 requires (Note 5 in 2.7, Note 6 in 3.1r1).
10:59:45.795 - Confirm each response that asks for a confirmation
10:59:45.795 <-P-- 05 64 4B 44 01 00 00 04 FD 93
10:59:45.795 C1 E2 81 90 00 33 02 07 01 02 80 2A 82 A1 01 02 F6 F5
10:59:45.795 03 28 0A 00 00 00 81 00 00 01 00 81 00 00 02 00 AC 42
10:59:45.795 81 00 00 03 00 81 00 00 04 00 81 00 00 05 00 81 9B 00
10:59:45.795 00 00 06 00 81 00 00 07 00 81 00 00 08 00 81 00 A9 FA
10:59:45.795 00 09 00 81 00 00 AF C5
10:59:45.795 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 75 dest: 1 src: 1024
10:59:45.795 <-T-- fir: 1 fin: 1 seq: 1
10:59:45.795 <-A-- Response(0x81) fir: 1 fin: 1 con: 1 uns: 0 seq: 0x02 IIN(DeviceRestart, NeedTime)
10:59:45.795 g51v2, 1-Byte Count, count: 1
10:59:45.795 time: 1793185185794
10:59:45.795 g2v3, 2-Byte Count and Index, count: 10
10:59:45.795 [0] - flags: 0x81 cto: 0
10:59:45.795 [1] - flags: 0x81 cto: 0
10:59:45.795 [2] - flags: 0x81 cto: 0
10:59:45.795 [3] - flags: 0x81 cto: 0
10:59:45.795 [4] - flags: 0x81 cto: 0
10:59:45.795 [5] - flags: 0x81 cto: 0
10:59:45.795 [6] - flags: 0x81 cto: 0
10:59:45.795 [7] - flags: 0x81 cto: 0
10:59:45.795 [8] - flags: 0x81 cto: 0
10:59:45.795 [9] - flags: 0x81 cto: 0
10:59:45.795 --A-> Confirm(0x00) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
10:59:45.795 --T-> fir: 1 fin: 1 seq: 0
10:59:45.795 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 8 dest: 1024 src: 1
10:59:45.795 --P-> 05 64 08 C4 00 04 01 00 9A 19
10:59:45.795 C0 C2 00 D6 8D
10:59:45.796 [PLG] Verified 10 binary input point event(s)
10:59:45.796 Note on the result: The events were checked as TB2017-003a 5.1.3.1.2 requires, which the DUT implements, in place of the steps' g2v2 only
10:59:45.798 step: 13
10:59:45.798 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x03
10:59:45.798 - g2v0, All Objects
10:59:45.798 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x03
10:59:45.798 g2v0, All Objects
10:59:45.798 --T-> fir: 1 fin: 1 seq: 0
10:59:45.798 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
10:59:45.798 --P-> 05 64 0B C4 00 04 01 00 CA 8A
10:59:45.798 C0 C3 01 02 00 06 99 30
10:59:45.799 step: 14
10:59:45.799 - Read a single fragment response w/ sequence(0x03)
10:59:45.799 - Verify that the response is empty
10:59:45.799 - Verify that the IIN field does not contain bits IIN(ParamError, ObjectUnknown, FuncNotSupported)
10:59:45.799 <-P-- 05 64 0A 44 01 00 00 04 67 88
10:59:45.799 C2 C3 81 90 00 D6 60
10:59:45.799 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 10 dest: 1 src: 1024
10:59:45.799 <-T-- fir: 1 fin: 1 seq: 2
10:59:45.799 <-A-- Response(0x81) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x03 IIN(DeviceRestart, NeedTime)
10:59:45.799 Passed procedure: 8.14.2.9