This is an Edge Computing application where The TwinCAT device is connected to Microsoft Azure IoT central application using Raspberry Pi as an edge device.
- We can see the data computed on the edge and see results in real time on the Azure IoT Central Dashboard.
- We can also control the process and change variable values on the PLC from the Web Application from anywhere in the world.
This application is just an example of an Edge application. Here we are monitoring the effectiveness of the production process by calculating the overall equipment effectiveness (OEE) indicators at the edge of the network. It's also possible to use this code for other applications includin ML models on the Edge.
The TwinCAT environment runs a production line simulation based on the PackML state model. For connection between Raspberry Pi and TwinCAT device, PyADS library has been used.
Calculated data are then transferred to the Azure IoT Central web application, where the operator has remote supervisory control over the effectiveness of the process.
We can also control the production line from the Azure IoT Central application.