Analytics Streams and MQTT Stream Helper.
The sample shows how an MQTT stream and a stream in File mode can be configured. At the same time, a Stream Helper is configured to receive the data from the MQTT stream. The next sample shows how the file stream data can be analyzed. The most important function blocks of the type FB_ALYC_MqttStream, FB_ALYC_FileStream and FB_ALYC_MqttStreamHelper are used.
The sample is available for download here:
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.47 | PC or CX (x64, x86) | Tc3_AnalyticsCommunication |