8.14.2.15 Binary Input Change with Relative Time, Long Interval (revision 2.7, subset level 2)

Device under test: Step Function I/O dnp3 outstation

10:59:47.228 Running procedure: 8.14.2.15
10:59:47.229 This procedure is enabled because the following options:
10:59:47.229 - supports.binaryInput == true
10:59:47.229 - supports.binaryInputChangeEvents == true
10:59:47.229 - timesync.binaryInputChangeWithRelativeTime == true
10:59:47.229 step: 1
10:59:47.229 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01
10:59:47.229 - g2v0, All Objects
10:59:47.230 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01
10:59:47.230 g2v0, All Objects
10:59:47.230 --T-> fir: 1 fin: 1 seq: 0
10:59:47.230 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
10:59:47.230 --P-> 05 64 0B C4 00 04 01 00 CA 8A
10:59:47.230 C0 C1 01 02 00 06 95 76
10:59:47.230 steps: 2 to 3
10:59:47.230 - Read any number of valid responses beginning w/ sequence(0x01) and incrementing by 1 modulo 16
10:59:47.230 - If the response carries data, verify that it asks for an application layer confirmation.
10:59:47.230 - Confirm each response that asks for a confirmation
10:59:47.230 <-P-- 05 64 0A 44 01 00 00 04 67 88
10:59:47.230 C0 C1 81 90 00 73 EE
10:59:47.230 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 10 dest: 1 src: 1024
10:59:47.230 <-T-- fir: 1 fin: 1 seq: 0
10:59:47.230 <-A-- Response(0x81) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x01 IIN(DeviceRestart, NeedTime)
10:59:47.230 step: 4
10:59:47.230 - Change binary inputs several times, one or more of them, to create events
10:59:47.230 [PLG] Updated BI 0: value=true, flags=81, timestamp=1793185187230 (UNSYNCHRONIZED_TIME)
10:59:47.231 [PLG] Updated BI 1: value=true, flags=81, timestamp=1793185187230 (UNSYNCHRONIZED_TIME)
10:59:47.231 [PLG] Updated BI 2: value=true, flags=81, timestamp=1793185187231 (UNSYNCHRONIZED_TIME)
10:59:47.231 [PLG] Updated BI 3: value=true, flags=81, timestamp=1793185187231 (UNSYNCHRONIZED_TIME)
10:59:47.231 [PLG] Updated BI 4: value=true, flags=81, timestamp=1793185187231 (UNSYNCHRONIZED_TIME)
10:59:47.231 [PLG] Updated BI 5: value=true, flags=81, timestamp=1793185187231 (UNSYNCHRONIZED_TIME)
10:59:47.231 [PLG] Updated BI 6: value=true, flags=81, timestamp=1793185187231 (UNSYNCHRONIZED_TIME)
10:59:47.231 [PLG] Updated BI 7: value=true, flags=81, timestamp=1793185187231 (UNSYNCHRONIZED_TIME)
10:59:47.231 [PLG] Updated BI 8: value=true, flags=81, timestamp=1793185187231 (UNSYNCHRONIZED_TIME)
10:59:47.231 [PLG] Updated BI 9: value=true, flags=81, timestamp=1793185187231 (UNSYNCHRONIZED_TIME)
10:59:47.231 The plugin reports the DUT's clock unsynchronized
10:59:47.231 step: 5
10:59:47.231 - Wait for 70535 milliseconds
11:00:57.766 step: 6
11:00:57.766 - Change binary inputs several times, one or more of them, to create events
11:00:57.766 [PLG] Updated BI 0: value=false, flags=1, timestamp=1793185257766 (UNSYNCHRONIZED_TIME)
11:00:57.766 [PLG] Updated BI 1: value=false, flags=1, timestamp=1793185257766 (UNSYNCHRONIZED_TIME)
11:00:57.767 [PLG] Updated BI 2: value=false, flags=1, timestamp=1793185257766 (UNSYNCHRONIZED_TIME)
11:00:57.767 [PLG] Updated BI 3: value=false, flags=1, timestamp=1793185257767 (UNSYNCHRONIZED_TIME)
11:00:57.767 [PLG] Updated BI 4: value=false, flags=1, timestamp=1793185257767 (UNSYNCHRONIZED_TIME)
11:00:57.767 [PLG] Updated BI 5: value=false, flags=1, timestamp=1793185257767 (UNSYNCHRONIZED_TIME)
11:00:57.767 [PLG] Updated BI 6: value=false, flags=1, timestamp=1793185257767 (UNSYNCHRONIZED_TIME)
11:00:57.767 [PLG] Updated BI 7: value=false, flags=1, timestamp=1793185257767 (UNSYNCHRONIZED_TIME)
11:00:57.767 [PLG] Updated BI 8: value=false, flags=1, timestamp=1793185257767 (UNSYNCHRONIZED_TIME)
11:00:57.767 [PLG] Updated BI 9: value=false, flags=1, timestamp=1793185257767 (UNSYNCHRONIZED_TIME)
11:00:57.767 The plugin reports the DUT's clock unsynchronized
11:00:57.767 step: 7
11:00:57.767 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
11:00:57.767 - g2v3, All Objects
11:00:57.767 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
11:00:57.767 g2v3, All Objects
11:00:57.767 --T-> fir: 1 fin: 1 seq: 0
11:00:57.767 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
11:00:57.767 --P-> 05 64 0B C4 00 04 01 00 CA 8A
11:00:57.767 C0 C2 01 02 03 06 34 A3
11:00:57.767 steps: 8 to 14
11:00:57.767 - Read a single fragment response w/ sequence(0x02)
11:00:57.767 - Verify that the response carries every Binary Input event generated and not yet confirmed, in the order they occurred
11:00:57.767 - 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
11:00:57.767 - Verify that an application layer confirmation is requested.
11:00:57.767 - Verify that the response contains events of the variations List(g2v3), and besides them only CTOs (g51v1 or g51v2, qualifier 0x07)
11:00:57.767 - Verify that the event objects are prefixed with 1-octet (qualifier 0x17) or 2-octet (qualifier 0x28) indexes
11:00:57.767 - Verify that each relative-time event is preceded by a CTO object (Table 8-4)
11:00:57.767 - Verify that the response contains at least two CTO headers (g51v1/g51v2), for the event batches generated more than 0xFFFF ms apart
11:00:57.767 - 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:00:57.767 - Confirm each response that asks for a confirmation
11:00:57.768 <-P-- 05 64 8C 44 01 00 00 04 3D F2
11:00:57.768 C1 E2 81 90 00 33 02 07 01 9E 85 2A 82 A1 01 02 E7 63
11:00:57.768 03 28 0A 00 00 00 81 00 00 01 00 81 00 00 02 00 AC 42
11:00:57.768 81 01 00 03 00 81 01 00 04 00 81 01 00 05 00 81 E7 8E
11:00:57.768 01 00 06 00 81 01 00 07 00 81 01 00 08 00 81 01 12 22
11:00:57.768 00 09 00 81 01 00 33 02 07 01 26 99 2B 82 A1 01 1D D5
11:00:57.768 02 03 28 0A 00 00 00 01 00 00 01 00 01 00 00 02 0E 05
11:00:57.768 00 01 00 00 03 00 01 01 00 04 00 01 01 00 05 00 8F B9
11:00:57.768 01 01 00 06 00 01 01 00 07 00 01 01 00 08 00 01 65 89
11:00:57.768 01 00 09 00 01 01 00 24 64
11:00:57.768 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 140 dest: 1 src: 1024
11:00:57.768 <-T-- fir: 1 fin: 1 seq: 1
11:00:57.768 <-A-- Response(0x81) fir: 1 fin: 1 con: 1 uns: 0 seq: 0x02 IIN(DeviceRestart, NeedTime)
11:00:57.768 g51v2, 1-Byte Count, count: 1
11:00:57.768 time: 1793185187230
11:00:57.768 g2v3, 2-Byte Count and Index, count: 10
11:00:57.768 [0] - flags: 0x81 cto: 0
11:00:57.768 [1] - flags: 0x81 cto: 0
11:00:57.768 [2] - flags: 0x81 cto: 1
11:00:57.768 [3] - flags: 0x81 cto: 1
11:00:57.768 [4] - flags: 0x81 cto: 1
11:00:57.768 [5] - flags: 0x81 cto: 1
11:00:57.768 [6] - flags: 0x81 cto: 1
11:00:57.768 [7] - flags: 0x81 cto: 1
11:00:57.768 [8] - flags: 0x81 cto: 1
11:00:57.768 [9] - flags: 0x81 cto: 1
11:00:57.768 g51v2, 1-Byte Count, count: 1
11:00:57.768 time: 1793185257766
11:00:57.768 g2v3, 2-Byte Count and Index, count: 10
11:00:57.768 [0] - flags: 0x01 cto: 0
11:00:57.768 [1] - flags: 0x01 cto: 0
11:00:57.768 [2] - flags: 0x01 cto: 0
11:00:57.768 [3] - flags: 0x01 cto: 1
11:00:57.768 [4] - flags: 0x01 cto: 1
11:00:57.768 [5] - flags: 0x01 cto: 1
11:00:57.768 [6] - flags: 0x01 cto: 1
11:00:57.768 [7] - flags: 0x01 cto: 1
11:00:57.768 [8] - flags: 0x01 cto: 1
11:00:57.768 [9] - flags: 0x01 cto: 1
11:00:57.768 --A-> Confirm(0x00) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x02
11:00:57.768 --T-> fir: 1 fin: 1 seq: 0
11:00:57.768 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 8 dest: 1024 src: 1
11:00:57.768 --P-> 05 64 08 C4 00 04 01 00 9A 19
11:00:57.768 C0 C2 00 D6 8D
11:00:57.768 [PLG] Verified 20 binary input point event(s)
11:00:57.769 step: 15
11:00:57.769 - Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x03
11:00:57.769 - g2v3, All Objects
11:00:57.769 --A-> Read(0x01) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x03
11:00:57.769 g2v3, All Objects
11:00:57.769 --T-> fir: 1 fin: 1 seq: 0
11:00:57.769 --L-> master: 1 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0xC4 length: 11 dest: 1024 src: 1
11:00:57.769 --P-> 05 64 0B C4 00 04 01 00 CA 8A
11:00:57.769 C0 C3 01 02 03 06 32 80
11:00:57.769 step: 16
11:00:57.769 - Read a single fragment response w/ sequence(0x03)
11:00:57.769 - Verify that the response is empty
11:00:57.769 - Verify that the IIN field does not contain bits IIN(ParamError, ObjectUnknown, FuncNotSupported)
11:00:57.769 <-P-- 05 64 0A 44 01 00 00 04 67 88
11:00:57.769 C2 C3 81 90 00 D6 60
11:00:57.770 <-L-- master: 0 pri: 1 fcb: 0 fcv: 0 func: UNCONFIRMED_USER_DATA(0x04) 0x44 length: 10 dest: 1 src: 1024
11:00:57.770 <-T-- fir: 1 fin: 1 seq: 2
11:00:57.770 <-A-- Response(0x81) fir: 1 fin: 1 con: 0 uns: 0 seq: 0x03 IIN(DeviceRestart, NeedTime)
11:00:57.770 Passed procedure: 8.14.2.15