On the other hand, the 'Bulk Publish Functionality' does not apply for alarms data. The topic format for alarms data is as follows:
ie/d/j/simatic/v1/s7c1/ev/<connection-name>/FullText
The JSON structure is as follows:
Where, evs
: array of events published in the payload.
area
: string containing the configured area information of the event.
clsName
: name of the class of the event.
evTxt
: event text. This may contain array of objects based on the event source.
evTxtExt
: array of string containing additional texts of the events.
id
: unique identification of the event.
modificationTime
: event's last modified timestamp in UTC format.
name
: name of the event.
origin
: string containing the origin of the event.
params
: array of parameters of the event.
raisedTime
: event's raised timestamp in UTC format.
state
: integer that indicates the state of the event (provider specific).
Value | Description |
---|---|
0 | Normal |
1 | Alarm is raised. |
2 | Raised and cleared. |
seq
: unique sequence number of the payload.