Define

56 views
Skip to first unread message

Jose GG

unread,
Jun 12, 2022, 12:09:09 PM6/12/22
to opendnp3
Hi all,

When I configure a Point Data with config.binary_input[0].svariation = StaticBinaryVariation::Group1Var1;

The outstation response has Binary Input With Status (Obj:01, Var:02) (0x0102), instead of var 1

Distributed Network Protocol 3.0
    Data Link Layer, Len: 16, From: 1, To: 2, PRM, Unconfirmed User Data
    Transport Control: 0xf5, Final, First(FIR, FIN, Sequence 53)
    Data Chunks
    [1 DNP 3.0 AL Fragment (10 bytes): #64(10)]
    Application Layer: (FIR, FIN, Sequence 4, Response)
        Application Control: 0xc4, First, Final(FIR, FIN, Sequence 4)
        Function Code: Response (0x81)
        Internal Indications: 0x0000
        RESPONSE Data Objects
            Object(s): Binary Input With Status (Obj:01, Var:02) (0x0102), 1 point
                Qualifier Field, Prefix: None, Range: 8-bit Start and Stop Indices
                [Number of Items: 1]
                Point Number 0 (Quality: Offline, Restart), Value: 0

Does anybody know why it is happening?

Thanks


Adam Crain

unread,
Jun 12, 2022, 12:11:10 PM6/12/22
to opendnp3
Hi,

The standard requires that when the quality is not Online (in this example it is "Restart"), that group 1 var 2 be reported instead since group 1 var 1 has no quality.

Set the quality to "Online" and you'll see g1v1 be reported.

-Adam
Reply all
Reply to author
Forward
0 new messages