Versions Compared

Key

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

...

Action at EdgeResultActionResult




Create new group level folder with no tags

G2

No change at EngineRefresh TransmissionNo folder created at Engine

Create new edge level

Add G2/E2

No change at EngineRefresh TransmissionFolder will be created at Engine

Create new device level folder

Add G1/E1/D2

No change at EngineRefresh TransmissionFolder will be created at Engine

Add a tag to folder

Add G1/E1/D1/Tag2

No change at EngineRefresh TransmissionTag will be created under tag folder path at Engine

Delete a tag

Delete G1/E1/D1/Tag2

Engine 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

Delete G1/E1/D1/Tag1


On delete: Engine will mark tag as Bad_Stale

On add: No change as Engine

Refresh 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.

Delete G1/E1/D1/Tag1

Add G1/E1/D1/Tag1/Tag2

On delete: Engine will mark tag as Bad_Stale

On add: No change at Engine


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 folder

Delete G1/E1/D1/Tag1/Tag2

Add G1/E1/D1/Tag1

On delete: Engine will mark tag as Bad_Stale

On add: No change at Engine

Refresh TransmissionTag and folder will be re-configured at Engine

Add UDT Definition and UDT Instance

Create TestUDT1 with tags "New Tag" (Int) = 10

Add G1/E1/D1/NewInstance1 as TestUDT1

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

Add "New Tag 1" (Bool) = True to TESTUDT1

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

Delete member tag from UDT Definition

Delete "New Tag 1" from TESTUDT1


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

Delete "New Tag" from TESTUDT1

Add "New Tag" (Bool)

On delete: Engine will mark the tag as Bad_NotFound

On add: No change at Engine

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

Add a Child UDT definition to a UDT Definition

Add TestUDT/t4Instance as T4


No change at Engine

Refresh TransmissionNew folder and member tags created at Engine named as the new Child UDT instance under the folder named as UDT Instance

Delete a Child UDT definition from a UDT definition

Delete TestUDT/t4Instance

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 definition from a UDT definition and add one with the same name in the same hierarchy position

Delete TestUDT/t3Instance

Add TestUDT/t3Instance

No change 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]


Delete a child UDT definition member tag (this deletes the Child UDT definition from the parent UDT definition)

Delete TestUDT/t3Instance/t3Tag1

No change at Engine

Tags will need to be deleted at Engine

On delete: DDATA message pushed for deleted child instance first setting the quality to Bad_NotFound and second to Bad_Stale

On topic=spBv1.0/G1/DDATA/E1/D1: Incoming payload: SparkplugBPayload [timestamp=1709742807425, metrics=[Metric [name=New Instance/t3Instance/t3Tag1, alias=null, timestamp=1709742806423, 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=New Instance/t3Instance, alias=null, timestamp=1709742806527, 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 Transmission Refresh, folder path and member tags for child UDT instance left unchanged

Delete a child UDT definition member tag (this deletes the Child UDT definition from the parent UDT definition) and recreate with the same name and tag structure

Delete TestUDT/t3Instance

Add Test/UDT/t3Instance as T3

No change at Engine

No refresh required

On delete: as shown above

On add: DDATA message with metric

On topic=spBv1.0/G1/DDATA/E1/D1: Incoming payload: SparkplugBPayload [timestamp=1709743372525, metrics=[Metric [name=New Instance/t3Instance/t3Tag1, alias=null, timestamp=1709743371525, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=null, isNull=true]], seq=4, uuid=null, body=null]

Delete a child UDT definition member tag (this deletes the Child UDT definition from the parent UDT definition) and recreate with the same name and different tag structure

Delete TestUDT/t3Instance as T3

Add TESTUDT/t3Instance as T2




On delete: No change at Engine

On add: No change at Engine




On delete: as shown above

On add: Error from tags.execution.core

tags.execution.core errors with

Could not locate member '33074b32-be17-441d-b92f-4e1efc8e1a61.91ff3b7a-a073-433c-8d5e-809a1e2aa02a.c67ad783-6098-421c-9f5c-f19e9dd51eec.0bdb6be8-f4fb-4617-a51d-2969fa6ed8a9' in tag 'New Instance'

Could not locate member '33074b32-be17-441d-b92f-4e1efc8e1a61.91ff3b7a-a073-433c-8d5e-809a1e2aa02a.c67ad783-6098-421c-9f5c-f19e9dd51eec' in tag 'New Instance'

Delete tags at Engine before Transmission refresh is performed

New child instance folder path and tags created

Refresh Transmission without deleting tags at Engine

New child instance tags and additional folder paths created and the original tags remain as quality Good

Delete a Child UDT instance member tag from UDT parent (this will delete the parent itself)

Delete G1/E1/D1/New Instance/t3Instance/t3Tag1

No change at Engine

Transmission Refresh

On delete: DATA message pushed for deleted member tag first setting the quality to Bad_NoTFound and second to Bad_Stale

On topic=spBv1.0/G1/DDATA/E1/D1: Incoming payload: SparkplugBPayload [timestamp=1709742184325, metrics=[Metric [name=Instance1/New Tag 1, alias=null, timestamp=1709742183324, 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/t3Tag1, alias=null, timestamp=1709742183324, 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/New Tag, alias=null, timestamp=1709742183325, 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=1709742183426, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483132, isNull=false]}], value=null, isNull=true], Metric [name=Instance1, alias=null, timestamp=1709742183426, 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 Transmission Refresh, member tags of deleted instance set to Bad_Stale

...