Hi All. I hope you are all doing excellent and also, hope you can help me. Today I contact you as I am having some issue when programming a PLC. I need to create a piece of software that: 1) Can control a random number of machines at any given time. 2) Each machine is a slave 3) They are exactly the same, do exactly the same thing. -------------- So far I have managed to create a piece of code that allows me to control a fixed number of machines but things get complicated when one job does not need 10 machines but 20 and the next one needs 15, and the next need 5 and so on. I have thought to use arrays to do this job but this is an area I have not touched at all and I would like to ask for your advice in this area. I hope everything is understood. Thank you very much for your help in advance.