8.14.2p Binary Input Change with Relative Time, Long Interval (revision 3.1r1, subset level 3)

Device under test: Step Function I/O dnp3 outstation

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