Versions Compared

Key

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

...

Code Block
languagejs
{
   "protocol_translation":{
      "name":"iec104_to_pivot",
      "version":"1.0",
      "mapping":{
         "data_object_header":{
            "doh_type":"type_id",
            "doh_name":"internal_id",
            "doh_ca":"ca",
            "doh_oa":"oa",
            "doh_cot":"cot",
            "doh_test":"istest",
            "doh_negative":"isnegative"
         },
         "data_object_item":{
            "doi_ioa":"ioa",
            "doi_value":"value",
            "doi_quality":"quality_desc",
            "doi_ts":"time_marker",
            "doi_ts_flag1qual":"isinvalid",
            "doi_ts_flag2sum_time":"isSummerTime",
            "doi_ts_flag3":"isSubstituted"
         }
      }
   }
}

Conversion process

draw.io Diagram
7
bordertrue
diagramNameiec104_to_pf_conv_process
simpleViewerfalse
linksauto
tbstyletop
lboxtrue
diagramWidth931
revision8

internal_id is build following this rule: internal_id = concat(ca + ioa + host timestamp)

NB: The conversion process shall produce as many pivot format objects as information objects in the source ASDU.

...