Overview
SINUMERIK Data Recorder provides an option to send recorded data to the IE Databus in adjustable small chunks. Using e.g. Flow Creator applications, these recorded data can be retrieved from the IE Databus and forwarded to an external broker. SINUMERIK Data Recorder uses the same IE Databus user for both subscribing and publishing. Therefore, it is essential to ensure that the necessary permissions for the published topics are granted to the user via the IE Databus Configurator.
Requirement
The platform service Flow Creator is installed on the Industrial Edge device and correctly configured. The platform service IE Databus is installed on the Industrial Edge device and correctly configured. Required permissions are granted to IE Databus user for SINUMERIK Data Recorder.
When using the Flow Creator, the output parameter of the MQTT Input node must be set to "a Buffer" to ensure that the data sent by SINUMERIK Data Recorder is forwarded correctly.
When using the Flow Creator, the "Retain" option could be set "false" as prerequisite below.
When running multiple recording jobs in parallel, it is recommended to set the QoS value to 0 in the FlowCreator's incoming MQTT configuration. Additionally, set the file size limit to max. 500 KB in the data streaming configuration of your jobs in the SINUMERIK Data Recorder.
Procedure
To route the data generated by SINUMERIK Data Recorder to the desired broker proceed as follows:
On the application’s homepage, click on "Configure Settings" to open the "Settings" editor.
Go to the “Connection” tab.
Set the value of “Global MQTT topic” field to the desired MQTT topic name.
All data generated by this application instance will be published to that topic.
By default, the data is transmitted in JSON formatted messages.
In case you would like to have each message wrapped into a zip compressed envelop, activate the "MQTT compression enabled" checkbox.
Click on “Save” to save the configuration.