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

Device under test: Step Function I/O dnp3 outstation

10:59:46.519 Running procedure: 8.14.2.12
10:59:46.520 This procedure is enabled because the following options:
10:59:46.520 - supports.binaryInput == true
10:59:46.520 - supports.binaryInputChangeEvents == true
10:59:46.520 step: 1
10:59:46.520 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01
10:59:46.520 - g2v0, All Objects
10:59:46.520 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01
10:59:46.520 g2v0, All Objects
10:59:46.520 --T-> fir: 1 fin: 1 seq: 0
10:59:46.520 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
10:59:46.520 --P-> 05 64 0B C4 00 04 01 00 CA 8A
10:59:46.520 C0 C1 01 02 00 06 95 76
10:59:46.520 steps: 2 to 3
10:59:46.520 - Read any number of valid responses beginning w/ sequence(0x01) and incrementing by 1 modulo 16
10:59:46.520 - If the response carries data, verify that it asks for an application layer confirmation.
10:59:46.520 - Confirm each response that asks for a confirmation
10:59:46.521 <-P-- 05 64 0A 44 01 00 00 04 67 88
10:59:46.521 C0 C1 81 90 00 73 EE
10:59:46.521 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 10 dest: 1 src: 1024
10:59:46.521 <-T-- fir: 1 fin: 1 seq: 0
10:59:46.521 <-A-- Response(0x81) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01 IIN(DeviceRestart, NeedTime)
10:59:46.521 step: 4
10:59:46.521 - Change binary inputs several times, one or more of them, to create events
10:59:46.521 [PLG] Updated BI 0: value=true, flags=81, timestamp=1793185186521 (UNSYNCHRONIZED_TIME)
10:59:46.521 [PLG] Updated BI 1: value=true, flags=81, timestamp=1793185186521 (UNSYNCHRONIZED_TIME)
10:59:46.521 [PLG] Updated BI 2: value=true, flags=81, timestamp=1793185186521 (UNSYNCHRONIZED_TIME)
10:59:46.521 [PLG] Updated BI 3: value=true, flags=81, timestamp=1793185186521 (UNSYNCHRONIZED_TIME)
10:59:46.521 [PLG] Updated BI 4: value=true, flags=81, timestamp=1793185186521 (UNSYNCHRONIZED_TIME)
10:59:46.521 [PLG] Updated BI 5: value=true, flags=81, timestamp=1793185186521 (UNSYNCHRONIZED_TIME)
10:59:46.521 [PLG] Updated BI 6: value=true, flags=81, timestamp=1793185186521 (UNSYNCHRONIZED_TIME)
10:59:46.522 [PLG] Updated BI 7: value=true, flags=81, timestamp=1793185186521 (UNSYNCHRONIZED_TIME)
10:59:46.522 [PLG] Updated BI 8: value=true, flags=81, timestamp=1793185186522 (UNSYNCHRONIZED_TIME)
10:59:46.522 [PLG] Updated BI 9: value=true, flags=81, timestamp=1793185186522 (UNSYNCHRONIZED_TIME)
10:59:46.522 The plugin reports the DUT's clock unsynchronized
10:59:46.522 step: 5
10:59:46.522 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
10:59:46.522 - g2v3, All Objects
10:59:46.522 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
10:59:46.522 g2v3, All Objects
10:59:46.522 --T-> fir: 1 fin: 1 seq: 0
10:59:46.522 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
10:59:46.522 --P-> 05 64 0B C4 00 04 01 00 CA 8A
10:59:46.522 C0 C2 01 02 03 06 34 A3
10:59:46.522 step: 6
10:59:46.522 - The DUT supports the requested relative-time event variation (g2v3).
10:59:46.522 steps: 7 to 12
10:59:46.522 - Read a single fragment response w/ sequence(0x02)
10:59:46.522 - Verify that the response holds every Binary Input event generated
10:59:46.522 - 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:46.522 - Verify that an application layer confirmation is requested.
10:59:46.522 - Verify that the response contains events of the variations List(g2v3), and besides them only CTOs (g51v1 or g51v2, qualifier 0x07)
10:59:46.522 - Verify that the event objects are prefixed with 1-octet (qualifier 0x17) or 2-octet (qualifier 0x28) indexes
10:59:46.522 - Verify that each relative-time event is preceded by a CTO object (Table 8-4)
10:59:46.522 - 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:46.522 - Confirm each response that asks for a confirmation
10:59:46.522 <-P-- 05 64 4B 44 01 00 00 04 FD 93
10:59:46.522 C1 E2 81 90 00 33 02 07 01 D9 82 2A 82 A1 01 02 15 B4
10:59:46.522 03 28 0A 00 00 00 81 00 00 01 00 81 00 00 02 00 AC 42
10:59:46.522 81 00 00 03 00 81 00 00 04 00 81 00 00 05 00 81 9B 00
10:59:46.522 00 00 06 00 81 00 00 07 00 81 00 00 08 00 81 01 F7 CC
10:59:46.522 00 09 00 81 01 00 E1 6E
10:59:46.522 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 75 dest: 1 src: 1024
10:59:46.522 <-T-- fir: 1 fin: 1 seq: 1
10:59:46.522 <-A-- Response(0x81) fir: 1 fin: 1 con: 1 uns: 0 seq: 0x02 IIN(DeviceRestart, NeedTime)
10:59:46.522 g51v2, 1-Byte Count, count: 1
10:59:46.522 time: 1793185186521
10:59:46.522 g2v3, 2-Byte Count and Index, count: 10
10:59:46.522 [0] - flags: 0x81 cto: 0
10:59:46.522 [1] - flags: 0x81 cto: 0
10:59:46.522 [2] - flags: 0x81 cto: 0
10:59:46.522 [3] - flags: 0x81 cto: 0
10:59:46.522 [4] - flags: 0x81 cto: 0
10:59:46.522 [5] - flags: 0x81 cto: 0
10:59:46.522 [6] - flags: 0x81 cto: 0
10:59:46.522 [7] - flags: 0x81 cto: 0
10:59:46.522 [8] - flags: 0x81 cto: 1
10:59:46.522 [9] - flags: 0x81 cto: 1
10:59:46.522 --A-> Confirm(0x00) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
10:59:46.522 --T-> fir: 1 fin: 1 seq: 0
10:59:46.523 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 8 dest: 1024 src: 1
10:59:46.523 --P-> 05 64 08 C4 00 04 01 00 9A 19
10:59:46.523 C0 C2 00 D6 8D
10:59:46.523 [PLG] Verified 10 binary input point event(s)
10:59:46.523 step: 13
10:59:46.523 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x03
10:59:46.523 - g2v0, All Objects
10:59:46.523 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x03
10:59:46.523 g2v0, All Objects
10:59:46.523 --T-> fir: 1 fin: 1 seq: 0
10:59:46.523 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
10:59:46.523 --P-> 05 64 0B C4 00 04 01 00 CA 8A
10:59:46.523 C0 C3 01 02 00 06 99 30
10:59:46.523 step: 14
10:59:46.523 - Read a single fragment response w/ sequence(0x03)
10:59:46.523 - Verify that the response is empty
10:59:46.523 - Verify that the IIN field does not contain bits IIN(ParamError, ObjectUnknown, FuncNotSupported)
10:59:46.523 <-P-- 05 64 0A 44 01 00 00 04 67 88
10:59:46.523 C2 C3 81 90 00 D6 60
10:59:46.523 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 10 dest: 1 src: 1024
10:59:46.523 <-T-- fir: 1 fin: 1 seq: 2
10:59:46.523 <-A-- Response(0x81) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x03 IIN(DeviceRestart, NeedTime)
10:59:46.523 Passed procedure: 8.14.2.12