A comprehensive proof-of-concept demonstrating the convergence of Industrial Automation (OT) and Modern Software (IT). This project creates a Digital Twin of a logistics center where a virtual PLC controls physical machinery while communicating in real-time with a mobile app via a REST API bridge.
The system moves beyond simple simulation by implementing a full data pipeline:
- 🧠 Industrial Brain (PLC): A virtual SIMATIC S7-1500 controller runs the logic for cranes, conveyors, and sorters.
- bridge Middleware (Python): A Django Rest Framework service acts as a gateway, translating raw PLC memory data (Data Blocks) into JSON format.
- 📱 Human-Machine Interface (Mobile): A Flutter app replaces traditional HMI panels, allowing remote monitoring and order placement.
Control software written in LAD, SCL, and GRAPH, adhering to industrial programming standards.
- Smart Sorting: Dynamic algorithms route boxes based on size and warehouse capacity.
- RFID Tracking: Integration with simulated RFID scanners to manage inventory IDs.
- Safety & Error Handling: Robust state machine logic prevents collisions and handles unexpected interruptions.
- Data Exposure: Exposes PLC variables to external systems via REST endpoints.
- Order Management: Translates HTTP requests from the mobile app into boolean triggers within the PLC memory.
- Real-Time Visualization: Displays live occupancy status of storage slots.
- Remote Control: Allows users to request specific items (by ID) or general product types, overriding the automatic sorting process.



