SLMP Connector supports the 'Tag Write' functionality. This enables you to write a tag. You can add a topic in IE Databus in following format to write a tag:
ie/d/j/simatic/v1/slmp1/dp/w/<connection-name>
For example, ie/m/j/simatic/v1/dp/w/TPD
The JSON payload structure for Bulk subscribe is as follows:
The JSON payload structure for Single subscribe is as follows:
Where, seq: unique sequence number of the payload.
vals: array of data points published in the payload.
id: unique identification of data point. It holds the name of the tag.
qc: quality code. It provides specific integer value to indicate the quality of the data point value.
ts: timestamp of the data point. it is in ISO 8601 Zulu format.
val: value of the Tag. Based on the data type of the data point, the value can be simple scalar value, an array, or an object.
For more information on Bulk Publish, refer Bulk Publish Tags.
For more information on topic format structure, refer Topic Structure for Data and Metadata.