This plugin intends at converting PIVOT data into OPCUA north plugin.
Filter configuration
TBD
Filter interface
The filter implements the Fledge Filter plugin interface (see filter_plugins).
The "config
" parameter of "plugin_init
" call shall include :
- A "
exchanged_data
" category with the same content as provided to the OPCUA north plugin. This section is mandatory so that the filter plugin can convert the PIVOT type to OPCUA type. - A "
protocol_translation
" category including all mapping rules from PIVOT (TBC/TBD)
The "plugin_ingest
" call will convert each "reading
" of "reading_set
" as follow:
- The reading shall be an Object with "PIVOTTS" or "PIVOTTM" key.
- The content of this key shall be an Object with
The <Root> key of PIVOT object can be:
Reading key | Content |
---|---|
PIVOTTS.GTIS | Tele Signal |
PIVOTTM.GTIM | Tele Measurement |
In the following table: <type>
is equal to
- "SpsTyp" or "DpsTyp" (for PIVOTTS)
- "MvTyp" (for PIVOTTM)
The content under <Root> will convert the pivot to a opcua object as follow:
Key | Type | Default Value | opcua.data_object.<...> | Note |
---|---|---|---|---|
<Root>.Cause.stVal | Integer | Mandatory | do_cot | See Cause of Transmission |
<Root>.Confirmation | Boolean | false | do_confirmation | |
<Root>.ComingFrom.stVal | String | Mandatory | do_comingfrom | Any protocol name ("iec104" ,"opcua", ...) |
<Root>.Identifier | String | Mandatory | do_id do_type | do_id = PIVOT ID do_type = "opcua_sps" | "opcua_dps" | "opcua_mvi" | "opcua_mvf". Other types not supported in current version. |
| PIVOT : Object | 0 | do_detail | OR-Mask of following values:
|
| Boolean | false | do_test | |
<Root>.<type>.q.operatorBlocked | Boolean | false | do_operator_blocked | |
<Root>.<type>.q.Source | String | "process" | do_source | "process" | "substituted" |
<Root>.<type>.t.SecondSinceEpoch | Integer | 0 | do_ts | |
<Root>.TmOrg | String | Mandatory | do_ts_org | "genuine" | "substituted" |
<Root>.TmValidity | String | Mandatory | do_ts_validity | "good" | "invalid" | "reserved" | "questionable" |
<Root>.TimeAccuracy | Integer | 0 | do_ts_accuracy | OR-Mask of following values:
|
<Root>.SpsTyp.stVal | Boolean | Mandatory | do_value | |
<Root>.DpsTyp.stVal | Integer | Mandatory | do_value | |
<Root>.MvTyp.stVal.mag.f | Float | Mandatory | do_value | |
<Root>.MvTyp.stVal.mag.i | Integer | Mandatory | do_value |