Skip to main content

FromZenonAml@1

The FromZenonAml@1 node is used to extract zenon AML Messages. The pipeline will be triggered once a zenon AML message is fired.

It has to be used in combination with the ReadZenonAmlMessages@1 which purpose it is to make the paths configurable.

Adapter Prerequisites

Node Configuration

Currently no special node configuration required.

triggers:
- type: FromZenonAml@1
transformations:
- type: ReadZenonAmlMessages@1

Data Format

The data format that this node produces looks like the following:

Container

{
"Alarms": [
{
...
},
{
...
}
]
}

Message details

This is a sample message that is part of the Alarms array in the container.

{
"Reason": 0,
"AlarmState": 2,
"Flags": 1,
"IsAlarmAcknowledgeRequired": true,
"IsCommentRequired": false,
"IsAlarmCauseRequired": false,
"TimeAcknowledged": "1970-01-01T00:00:00Z",
"TimeCleared": "2024-08-01T14:18:50.585028Z",
"TimeReactivated": "1970-01-01T00:00:00Z",
"Cause": "",
"Areas": "Productionline 200",
"AreaNumbers": "1",
"Class": "Alarm/event class 0",
"ClassNumber": "1",
"ClassSymbolNumber": "1",
"Comment": "",
"Computer": "",
"Group": "9",
"GroupNumber": "",
"GroupSymbolNumber": "",
"Key": "A240724.AML-1579",
"Status": "420000",
"TimeReceived": "2024-07-23T22:53:11.792104Z",
"Unit": "@pcs",
"User": "",
"UserFullName": "",
"Value": "0",
"VariableName": "Line200_ProductionHandling.QuantityOfCovers",
"VisualText": "Stocklevel: empty",
"ResourceLabel": "",
"TagName": "",
"CategoryName": null
}