The purpose of this bachelor's degree project is to address the problem of automation of a storing system complex enough to be able to understand and manage the most important and critical aspects of the storage plant. The plant has been designed and built in a simulation program called Simumatik due to its obvious simplicity in comparison to what it would take to assemble it in the real plant.Therefore, some technical aspects have been integrated in connection with OPC-UA and with programming of CODESYS. Thus, a system with a variety of components has been proposed in aim to get as close as possible to a storing plant and a real distribution. The system includes ten conveyors. The bags are moved from the filling station to a door where the...