FromZenonCel@1
Der Node FromZenonVariableChanged@1 wird verwendet, um zenon-CEL-Nachrichten zu extrahieren. Die Pipeline wird ausgelöst, sobald eine zenon-CEL-Nachricht ausgelöst wird.
Er muss in Kombination mit ReadZenonVariables@1 verwendet werden, dessen Zweck es ist, die Pfade konfigurierbar zu machen.
Adapter-Voraussetzungen
Node-Konfiguration
triggers:
- type: FromZenonVariableChanged@1
variableNames:
- "Line200_ActuelRobotConsumption[0].Robot_ActivePower" # the variable name that should trigger the pipeline
- "PVArea_Inverters[0].ActualPower"
transformations:
- type: ReadZenonVariables@1
description: Read data from zenon
path: Points # the path to the data in the message
targetValueKind: Simple # the kind of the target value
targetValueWriteMode: Overwrite # the write mode of the target value
targetPath: Data # the path to the target value
Datenformat
Das von diesem Node erzeugte Datenformat sieht wie folgt aus:
Container
{
"Data": [
{
...
},
{
...
}
]
}
Nachrichtendetails
Dies ist eine Beispielnachricht, die Teil des Data-Arrays im Container ist.
{
"Id": "PVArea_Inverters[5].ActualPower",
"Timestamp": "2024-10-14T11:37:21.916",
"Value": 0.0
}