Hello all,
In my model I have a production plan assigned to a source.
I have 2 production lines made of 1 processor and 1 combiner. The combiner component list target quantity updates every time an item entries the combiner, I need different component combiner quantities based on item.type defined in a global table (The components come from the input port 2, the item.Typle label is attached to the boxes not the pallet I need it in that way). I made this with code in the on entry trigger of the combiners.
I need that when the last item of an item type entries the combiner, this starts processing no matter if the target quantity is not reached yet. I need it because I can not mixed different item types in one single pallet. Right now my model mixes different item types in one pallet as shown in the image.
How can I do that? I have tried inserting queues before combiner and using the on end collecting triggers but it is not what I am looking for. Any suggestion/solution is welcomed I attached the model.
combiner-component-list-by-item-type.fsm
Thanks in advance.
Alejandro