


High-Bay-Warehouse Position Storage
Dear PLC friends,
I am completing a university project I worked on with a colleague. We have built a high-bay warehouse, which we realized using a Siemens 1516-3-PN-P CPU and 3 synchronous motors driven by Sinamics S210. Everything is working so far in manual mode, and we can already store and retrieve goods. The control is done via an HMI.
For the next phase, we want to implement an automatic mode, in which we will send our PLC the dedicated stock number via OPC UA, and the goods will be automatically stored in the right place.
Our problem is that we think there might be a more efficient way to convert the stock number to an absolute position in the CPU. How would you handle the storage of the positions for every stock number? Just use structs and arrays to store the positions (LREAL) and address them via their index?
We are thankful for any suggestions!