A complete Industry 4.0 build — a 3D box-sorting line driven by a PLC, streaming live data to the cloud and visualised on a real-time dashboard. Submitted for my Master's in Electrical Control at Ferhat Abbas Sétif 1 University.

The proposed architecture — factory data → PLC (OPC-UA server) → Node-RED → AWS cloud (InfluxDB storage + Grafana visualisation).
Factory I/O
TIA Portal
Node-RED
InfluxDB
Grafana
AWSThe thesis explores integrating the Internet of Things with electromechanical systems by monitoring and controlling a box-sorting process. A virtual conveyor line detects boxes and separates them into small, medium and large — while every signal (counts, speeds, arm states, faults) is collected, stored and visualised in real time.
It spans the whole stack: building the 3D scene in Factory I/O, programming the control logic in Ladder on Siemens TIA Portal, bridging the PLC to the cloud over OPC UA with Node-RED, storing time-series data in InfluxDB on AWS, and presenting it through secured Grafana dashboards — plus a custom TIA Portal function block that tracks machine runtime for maintenance.
3D sorting line — emitters, conveyors, sensors & pivot arms.
Ladder-logic control on a simulated Siemens S7 PLC.
Reads PLC tags and shapes the data flows.
Time-series storage in the cloud.
Live dashboards, alerts & SSL-secured portals.


Beyond the core pipeline, the system raises automatic fault alerts (missing boxes, sudden speed drops), tracks lost boxes, and includes a custom TIA Portal function block that monitors each conveyor's runtime — turning raw machine signals into maintenance insight.
140 pages covering the theory, the complete build and the results — figures, scripts and all.
Download the thesisFull document · PDF · 7 MB