Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is the Datapoint representation of an IEC 104 ASDU.

AttributeDescriptionExpected valuesMandatory
do_type

Yes
do_ca

Yes
do_oa

Yes
do_cot
See Cause of TransmissionYes
do_test
[0..1] (default = 0, test data object = 1)Yes
do_negative

Yes
do_ioa

Yes
do_value

SPI : [0..1]

DPI : [0..3] (M_DP)

VTI : [-64..63]

BSI : [0..232-1]

NOR : [-1..1-2-15]

AJU : [-215..215-1]

FLO : IEE 32 bits

ST : [0..216-1]

BCR : [-231..231-1]

ES : [0..3]

SPE : [0..63]

OCI : [0..15]

No
do_quality_ivInvalidity

[0..1] (Valid = 0, Invalid = 1)

No
do_quality_blBloqued [0..
3
1] (
bit field: Bloqued = 0x1, Transitory = 0x2, Counter Adjust = 0x4
non bloqued = 0, bloqued = 1)No
do_quality_ovOverflow [0..1] (normal = 0, overflow = 1)No
do_quality_sbSubstitued [0..1] (non forced = 0, forced = 1)No
do_quality_ntNon topical [0..1] (up to date = 0, outdated = 1)No
do_ts

No
do_ts_iv

No
do_ts_su

No
do_ts_sub

No


Code Block
languagepy
{
    "data_object":{
       "do_type":"M_SP_TB_1",
       "do_ca":18325,
       "do_oa":0,
       "do_cot":3,
       "do_test":false,
       "do_negative":false,
       "do_ioa":6468178,
       "do_value":1,
       "do_quality_iv":true,
       "do_quality_bl":false,
       "do_quality_ov":false,
       "do_quality_sb":false,
       "do_quality_nt":false,
       "do_ts":1653484330239,
       "do_ts_iv":true,
       "do_ts_su":false,
       "do_ts_sub":false
    }
 }

...