...
Code Block |
---|
language | js |
---|
title | pivot_format_data_model |
---|
|
{
"data_object_header":{
"doh_type":"some_value",
"doh_ca":"some_value",
"doh_oa":"some_value",
"doh_cot":"some_value",
"doh_flag_1":"some_value",
"doh_flag_2":"some_value",
"doh_version":"some_value",
"doh_src_prot":"some_value"
},
"data_object_item":{
"doi_addressioa":"some_value",
"doi_value":"some_value",
"doi_quality":"some_value",
"doi_ts":"some_value",
"doi_ts_flag1":"some_value",
"doi_ts_flag2":"some_value",
"doi_ts_flag3":"some_value"
}
} |
...
Code Block |
---|
|
{
"protocol_translation_layer":{
"name":"iec104_to_pivot",
"version":"1.0",
"mapping":{
"data_object_header":{
"doh_type":"type_id",
"doh_ca":"ca",
"doh_oa":"oa",
"doh_cot":"cot",
"doh_flag_1":"istest",
"doh_flag_2":"isnegative"
},
"data_object_item":{
"doi_addressioa":"ioa",
"doi_value":"value",
"doi_quality":"quality_desc",
"doi_ts":"time_marker",
"doi_ts_flag1":"isinvalid",
"doi_ts_flag2":"isSummerTime",
"doi_ts_flag3":"isSubstituted"
}
}
}
} |
...
draw.io Diagram |
---|
border | true |
---|
| |
---|
diagramName | iec104_to_pf_conv_process |
---|
simpleViewer | false |
---|
width | |
---|
links | auto |
---|
tbstyle | top |
---|
lbox | true |
---|
diagramWidth | 881 |
---|
revision | 45 |
---|
|
NB: The conversion process shall produce as many pivot format objects as information objects in the source ASDU.
...
Code Block |
---|
|
{
"data_object_header":{
"doh_type":"some_value",
"doh_ca":"some_value",
"doh_oa":"some_value",
"doh_cot":"some_value",
"doh_flag_1":"some_value",
"doh_flag_2":"some_value",
},
"datadoh_object_item":{
version":"1.0",
"doh_src_prot":"iec104"
},
"data_object_item":{
"doi_addressioa":"some_value",
"doi_value":"some_value",
"doi_quality":"some_value",
"doi_ts":"some_value",
"doi_ts_flag1":"some_value",
"doi_ts_flag2":"some_value",
"doi_ts_flag3":"some_value"
}
} |
...
Code Block |
---|
|
{
"protocol_translation_layer":{
"name":"pivot_to_iec104",
"version":"1.0",
"mapping":{
"data_object_header":{
"type_id":"doh_type",
"ca":"doh_ca",
"oa":"doh_oa",
"cot":"doh_cot",
"istest":"doh_flag_1",
"isnegative":"doh_flag_2"
},
"data_object_item":{
"ioa":"doi_addressioa",
"value":"doi_value",
"quality_desc":"doi_quality",
"time_marker":"doi_ts",
"isinvalid":"doi_ts_flag1",
"isSummerTime":"doi_ts_flag2",
"isSubstituted":"doi_ts_flag3"
}
}
}
} |
...
Code Block |
---|
|
{
"protocol_translation_layer":{
"name":"tase2_to_pivot",
"version":"1.0",
"mapping":{
"data_object_header":{
"doh_type":"PointType",
"doh_name":"PointName",
"doh_ca":"ca",
"doh_oa":"oa",
"doh_cot":"cot",
"doh_flag_1":"istest",
"doh_flag_2":"isnegative"
},
"data_object_item":{
"doi_addressioa":"ioa",
"doi_value":"PointRealValue", //PointStateValue or PointDiscreteValue
"doi_qual_class":"QualityClass",
"doi_quality":"Validity",
"doi_tscurrent_src":"TimeStampCurrentSource",
"doi_tsnormal_flag1src":"TimeStamp QualityNormalSource",
"doi_tsnormal_flag2value":"isSummerTimeNormalValue",
"doi_ts_flag3class":"TimeStampClass",
"doi_ts":"TimeStamp",
"doi_ts_qual":"TimeStamp Quality",
"doi_ts_flag1":"isSummerTime",
"doi_ts_flag2":"isSubstituted",
"doi_cov_class":"COVClass",
"doi_cov_counter":"COVCounter"
}
}
}
} |