Versions Compared

Key

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

With Transmission set to Convert UDTs to Tags

Action at EdgeResultActionResult

Create new folder with no tags

No change at EngineRefresh TransmissionFolder will not be created at Engine
Add a tag to folderNo change at EngineRefresh TransmissionTag will be created under tag folder path at Engine
Delete a tagEngine will mark tag as Bad_Stale

Refresh Transmission

No change at Engine

Delete tag at Engine

Tag deleted

Delete tag and add tag with the same name

No change at EngineRefresh TransmissionTag will be re-configured at Engine under tag folder path with any new properties

Delete tag and create a folder which has the same name as the tag. Add a tag to this folder.

Engine will mark tag as Bad_Stale

Delete tag at Engine before a Transmission refresh is performed

New tag will be created under new tag folder path at Engine

Refresh Transmission without deleting tag at Engine

Error similar to below logged, tag will not be deleted and no tag path folder will be created

Error processing edit for tag path '[MQTT Engine]Edge Nodes/My MQTT Group/Edge Node 0964bf/PLC 1/New Tag/New Tag1': Bad_Unsupported("The target path '[MQTT Engine]Edge Nodes/My MQTT Group/Edge Node 0964bf/PLC 1/New Tag' cannot accept children tags.")

Delete tag and parent folder and add a tag with same name as the parent folderEngine will mark tag as Bad_StaleRefresh TransmissionTag and folder will be re-configured at Engine

Add UDT Definition and UDT Instance

No change at EngineRefresh Transmission

Folder will be created named as the UDT Instance and UDT member tag will be created under tag folder at Engine

Add new member tag to UDT Definition

No change at EngineRefresh TransmissionNew UDT member tag created under folder named as UDT Instance at Engine

Delete member tag from UDT Definition


Engine will mark the tag as Bad_NotFoundRefresh TransmissionNo change at Engine
Delete tag at EngineTag deleted

Delete a member tag from a UDT Definition and add one with the same name in the same hierarchy position

Engine will mark the tag as Bad_NotFoundRefresh TransmissionUDT member tag will be updated with new properties under folder named as UDT Instance at Engine

Add a Child UDT

instance

definition to a UDT Definition

No change at Engine

Refresh Transmission
Folder will be created
New folder and member tags created at Engine named as the
child
new Child UDT
Instance
instance under the
original parent folder at Engine
folder named as UDT Instance

Delete a Child UDT

instance

definition from a UDT definition

No change at Engine

Tags will need to be deleted at Engine


On delete: DATA message pushed for the deleted child instance tag contain two metric qualities first as Bad_NotFound and second as Bad_Stale

On topic=spBv1.0/G1/DDATA/E1/D1: Incoming payload: SparkplugBPayload [timestamp=1709740637794, metrics=[Metric [name=Instance1/t4Instance/t4Tag, alias=null, timestamp=1709740636793, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483129, isNull=false]}], value=null, isNull=true], Metric [name=Instance1/t4Instance, alias=null, timestamp=1709740636908, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483132, isNull=false]}], value=null, isNull=true]], seq=2, uuid=null, body=null]

CirrusSparkplugUtil errors with Received invalid payload - trying to decode with legacy decoder

SparkplugBPayloadHandler errors with Unknown/Unsupported data type: Unknown

SparkplugUtils errors with Unsupported MetricDataType Unknown

Delete a Child UDT

instance

definition from a UDT definition and add one with the same name in the same hierarchy position

No change at Engine

Update tag value of child instance tag

No change at Engine

Update tag value of any other member tag

Member tag for child instance will be marked as Bad_Stale at Engine

Refresh Transmission

Child UDT member tag will be updated with new properties under the folder named as UDT Instance at Engine
No action required

On delete: DATA message pushed for the deleted child instance tag containing two metric qualities first as Bad_NotFound and second as Bad_Stale

On topic=spBv1.0/G1/DDATA/E1/D1: Incoming payload: SparkplugBPayload [timestamp=1709741482079, metrics=[Metric [name=Instance1/t3Instance/t3Tag1, alias=null, timestamp=1709741481077, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483129, isNull=false]}], value=null, isNull=true], Metric [name=Instance1/t3Instance, alias=null, timestamp=1709741481187, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483132, isNull=false]}], value=null, isNull=true]], seq=2, uuid=null, body=null]

CirrusSparkplugUtil errors with Received invalid payload - trying to decode with legacy decoder

SparkplugBPayloadHandler errors with Unknown/Unsupported data type: Unknown

SparkplugUtils errors with Unsupported MetricDataType Unknown


On add: DATA message pushed for added child instance 

On topic=spBv1.0/G1/DDATA/E1/D1: Incoming payload: SparkplugBPayload [timestamp=1709741482079, metrics=[Metric [name=Instance1/t3Instance/t3Tag1, alias=null, timestamp=1709741481077, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483129, isNull=false]}], value=null, isNull=true], Metric [name=Instance1/t3Instance, alias=null, timestamp=1709741481187, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483132, isNull=false]}], value=null, isNull=true]], seq=2, uuid=null, body=null]