Data Streams
If variables are available for recording they will be shown automatically as a so called Stream. At the moment it is possible to record data directly from the EtherCAT process image or from the PLC application.
PLC Application:
If variables from PLC should recorded by the Analytics Logger, the user must set an attribute in front of each variable in the variable declaration.
The attribute syntax is: {attribute 'TcAnalytics'}
As already described a new stream is automatically add to the Analytics Logger configuration after rebuild of the PLC project. In the stream a Selection tab is available to choose finally the variables by checkboxes who should be recorded.
Process Image:
If an EtherCAT process image is available in the given configuration, an additional stream will be shown under the Data Logger tree node.
On the Selection tab the user can choose again the values who should be recorded by the Analytics Logger.
Start Record
With the activation of the TwinCAT configuration the Analytics Logger starts logging. Depending on the basic settings to a MQTT Message Broker or into a local binary file. By the given format there are different settings possibilities on the Data Handling tab of each Stream. See therefore the following chapter.