question

Matheus Souza avatar image
0 Likes"
Matheus Souza asked Jeanette F commented

How to organize items on a pallet?

When the item is placed back on the pallet, the item is in a floating position. Is there any command via process flow (custom code) to rearrange the items?


1627930655700.png

FlexSim 20.1.3
flexsim 20.1.3palletitem objects
1627930655700.png (352.1 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Matheus Souza, was Afonso Teberga 's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Afonso Teberga avatar image
1 Like"
Afonso Teberga answered Joerg Vogel commented

Matheus, default pallets in FlexSim already have a packing behavior. Considering the process flow, it can be activated when you create an item "in" the pallet (using the "Create Object" activity) or when you move an item into the pallet (using the "Move Object" activity). For example, if token.pallet is a reference to a previously created pallet, you can create items "in" this pallet:

create-item-on-pallet.png

I attached a model with an example. Example create items on pallet.fsm

Are you creating your pallets and items this way? I also noticed your pallet has items with different shapes and I think that the default packing behavior does not always work well in this cases.

If you want to change an item position, you can also use the "Change Visual" activity. There are "set location" options, such as the "Set Location to Object Location":

set-location.png


· 2
5 |100000

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

Matheus Souza avatar image Matheus Souza commented ·
When I use the "create object", it works well. But the operator will load and unload the objects of this pallet during the process, and when the "unload" activity is excuted the object goes to a floating position.
0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Matheus Souza commented ·

The default logic is simple. If any space in x or y dimemsions does not fit, the entering item opens a next level. The height of the last item defines the height of the next item on a pallet. If you need a more complex combination you are free to do it on your own. You need only to set different location property values for the item entering the pallet. If you withdraw some items of the stack any other items on the pallet keep their location. The result are floating items.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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