You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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 keyContent
PIVOTTS.GTISTele Signal
PIVOTTM.GTIMTele 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:

KeyTypeDefault Valueopcua.data_object.<...>Note



do_type
<Root>.Cause.stValIntegerMandatorydo_cotSee Cause of Transmission
<Root>.ConfirmationBooleanfalsedo_confirmation
<Root>.ComingFrom.stValStringMandatorydo_comingfromAny protocol name ("iec104" ,"opcua", ...)
<Root>.IdentifierStringMandatorydo_idPIVOT ID

<Root>.<type>.q.DetailsQuality


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_blocked
<Root>.<type>.q.SourceString"process" do_source"process" | "substituted"
<Root>.TmOrgStringMandatorydo_ts_org"genuine" |  "substituted"
<Root>.TmValidityStringMandatorydo_ts_validity"good" | "invalid" | "reserved" | "questionable"


  • No labels