Versions Compared

Key

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

...

  • 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. This section shall contain in the "mapping_rules" array the following entries:

...

Notes :

  • All types not listed in this table are not supported in current version.
  • The current implemention only implementation provides one a default mapping rule for each known typestype, but some new rules migth might be added in the future . and configured using this parameters.Any requested conversion will be ignored if no consistent input/output/rule entry exists in this tablethe "mapping_rule" option in is parameters.

Filter interface

The "plugin_ingest" call will convert each "reading" of "reading_set" as follow:

...

KeyTypeDefault Valueopcua.data_object.<...>Note
<Root>.Cause.stValIntegerMandatorydo_cotSee Cause of Transmission
<Root>.ConfirmationBooleanfalsedo_confirmation
<Root>.ComingFrom.stValStringMandatorydo_comingfromAny protocol name ("iec104" ,"opcua", ...)
<Root>.IdentifierStringMandatory

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.

<Root>.<type>.q.DetailsQuality

<Root>.<type>.q.test

<Root>.<type>.q.operatorBlocked


PIVOT : Object
OPCUA : Integer


0do_detail

OR-Mask of following values:

0x0001 = badReference 
0x0002 = failure
0x0004 = inconsistent
0x0008 = innaccurate
0x0010 = oldData
0x0020 = oscillatory
0x0040 = outOfRange
0x0080 = overflow

<Root>.<type>.q.test

Booleanfalsedo_test<Root>.<type>.q.operatorBlockedBooleanfalsedo_operator_

0x1000 = test
0x2000 = operator blocked

<Root>.<type>.q.SourceString"process" do_source"process" | "substituted"
<Root>.<type>.t.SecondSinceEpochInteger0do_ts
<Root>.TmOrgStringMandatorydo_ts_org"genuine" |  "substituted"
<Root>.TmValidityStringMandatorydo_ts_validity"good" | "invalid" | "reserved" | "questionable"
<Root>.TimeAccuracyInteger0do_ts_accuracy

OR-Mask of following values:

0x01 = clockFailure
0x02 = clockNotSynch
0x04 = leapSecondKnown

<Root>.SpsTyp.stValBooleanMandatory do_value
<Root>.DpsTyp.stValIntegerMandatory do_value
<Root>.MvTyp.stVal.mag.fFloatMandatory do_value
<Root>.MvTyp.stVal.mag.iIntegerMandatory do_value

...