question

Thomas avatar image
0 Likes"
Thomas asked Thomas commented

palletizing on conveyor from different FloorStorages

Hello, as you can see in the file, the process is already half solved thanks to this community, but I wanted to extend it to the next step. Each time 3 boxes should be taken from Floor Storage 1 or 2 and then 3 boxes from Floor Storage 3 or 4. The pallet will then move back towards the other side and then place the new one on it. Despite this, I'm stuck with the labels and how best to take three of each. Can anyone help me further?

test-wpo3-fm.fsm

FlexSim 23.2.1
labelspalletizing
test-wpo3-fm.fsm (97.0 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Thomas commented

A good option to sync different processes (in this case the full pallets being delivered to and later removed from the floor storages and the operator collecting the boxes) is to use lists. If have don't experience this lists yet, I recommend to first read through the linked documentation page. It will make understanding the changes in the model much easier.

In this model, a special function of the list is very useful the "Use first SELECT Value as Quantifier" option.

1711359658437.png

Before the pallets are pushed to the list, the label "numBoxes" is added to them and a respective field is also present on the list.

1711359724127.png

Now, when querying the list, we can use the SELECT clause. The quantity field in the Pull from List activity now does not state how many values should be pulled from the list but how much of the "numBoxes" value will be pulled. For example, the full pallet has 12 boxes on it. After one token moves through the Pull from List activity, the numBoxes value is reduced by 1 to 11, but the value itself, the pallet stays on the list. Only when the label value reaches 0 will the value be removed from the list. This is useful, because the pallet can be 'found' on the list as long as there are boxes on it. And when the labels becomes 0, the token that pushed the pallet to the list can now continue. So it's an easy way to keep the pallet in the queue until it is empty.

You might want to have a view of the list open while running the model to better follow what is happening.

1711360159363.png

test-wpo3-fm2.fsm

Any newly added activities in the attached model are marked in green.


1711359658437.png (16.5 KiB)
1711359724127.png (9.1 KiB)
1711360159363.png (9.6 KiB)
test-wpo3-fm2.fsm (119.7 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Thomas avatar image Thomas commented ·
Thanks, a had looked at some youtube tutorials but not all in the discription.
0 Likes 0 ·