question

kyriakos avatar image
0 Likes"
kyriakos asked kyriakos commented

Replenishment of boxes after picking on basement of the pallet

Hi, I attach a model that has the following logic. The operator1 picks 100 boxes recursively . After picking each box, I replenish it on the pallet. I would like to achieve picking from the top of the stack on the pallet (not from the bottom) and replenish into the empty place (not on the top of the stack). As a result of the method mentionned above I have a not very nice output after the end of picking. Does anyone have an idea to help me ?

Thanks in advance

picking-model.fsm

FlexSim 19.2.3
picking
picking-model.fsm (60.5 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

Regan Blackett avatar image
1 Like"
Regan Blackett answered kyriakos commented

@ΚΥΡΙΑΚΟΣ

To have your pulled item come from the top of the stack create a new "Expression" field on your list called "Rank" (or any name that makes sense to you) with the expression:

value.rank

This will allow you to know the positions of boxes in the pallet. On your Pull from List query add the ORDER BY clause:

ORDER BY Rank DESC

This will tell your pull to take the highest ranked items first, which are at the top of the stack.

For placing the boxes in the newly vacated spot in the pallet, add a label to your "Assign Pallet" Activity called ItemLocation (or any name that makes sense to you) with the value:

token.item.as(Object).location

This will get the X/Y/Z coordinates of the item right before it is loaded by the operator.

After you create your new item, insert a Custom Code activity, choose the Code Snippet option and add this line of code:

token.NEW_item.as(Object).location = token.ItemLocation;

This will change the coordinates of the new item to be the same coordinates as the item you just loaded.

· 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.

kyriakos avatar image kyriakos commented ·

@Regan Blackett Thank you for your help ! This solved my problem.

0 Likes 0 ·