The code in the repo contains programs written for automating a full factory production simulated on Factory IO. The factory is divided into the following sections:
- Raw material intake
- Processing of lids and bottoms
- Sorting
- Merging of lids and bottoms
- Packaging
- Warehousing
The program shows the flexibility offered by programming S7-1200 PLC programs using Structured text. Further, coding standards and principles such as modularity and OOP are implemented increasing reusability of function blocks.
The following is a youtube video detailing the full project.
https://www.youtube.com/watch?v=UYUdyTpIqTk&t=13s
TIA portal >v15
Factory IO
Factory.rar contains the full project assets in factory IO.
Programming a Factory using SCL language in TIA portal
TIA V16
To contribute, ensure factory IO environment has been setup and the assets imported. Run the base program, make your changes and create a PR.