Problem: I have an inclined conveyor shown in the image, from this incline conveyor a cube is transported onto a conveyor below to it. Once this cube entered to (To conveyor in below conveyor) this cube is divided in 1000 different products (multiple product types all together sum to 1000). I am not sure how to do that. creating a product 1000 times is not ideal.
Can someone please help me with a better solution?
Note: There are 8 products
Product 1: 130 Number
product 2: 80 Number so on …
I had the same Create - TransportOut logic, but it would always stop at TransportOut after creating 1 product.
Turns out if you use this logic you need to reset ProductOut to Null manually each time? This is the only place I’ve seen it - why should this be needed?
@hans Normally at the end of a routine, all the ProductVariables are reset. But if you are using a While-loop with ProductVariables inside, they are not reset automatically, so for each loop it will add the new variable to the previous one.
When arriving at the TransportOut, it wants to transport all the products from this ProductVariable, so if there is only one available but expecting 2 or more, it will waiting for the others, which actually already left on the previous loop.
Adding an Assign “ProductVariableName = Null” after the TransportOut will delete this variable = reset it, so that it can store a new ProductVariable not as a list, but as a single product on the next iteration