question

Timon de Jong avatar image
0 Likes"
Timon de Jong asked Joerg Vogel commented

How to send empty pallet to another destination than non-empty pallet?

In my model I have pallets with boxes. After orderpicking there are two options:

  1. Pallet still contains boxes: send pallet with boxes to rack
  2. Pallet is empty: send pallet to empty pallet storage

How can I achieve this in a 3D model?

Refer to the attachment for a simplified version of my model.

Empty pallet return example.fsm

FlexSim 20.1.2
flexsim 20.1.2flowitem routing
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

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

There is another condition necessary to send items to another added output port

if (getvarnum(current,"unpack")) {  if (item.rank == 1){ // add block > curled bracket
    if (!item.subnodes.length) // empty pallet        
        return 3; // 3rd output port    
    return containerport;    
    } // close block > curled bracket  
    else   
     return contentport;} 
else
   return 0;

empty_pallet_return_example_jv.fsm


· 4
5 |100000

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

Timon de Jong avatar image Timon de Jong commented ·

@Jörg Vogel Thanks a lot! For my own learning: where did you add this additional code in the model? I would like to use it in my actual model.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Timon de Jong commented ·

Send To Port

a function on the flow tab

0 Likes 0 ·
Timon de Jong avatar image Timon de Jong Joerg Vogel commented ·

@Jörg Vogel

In my model I want to transport both empty and non-empty pallets on the same conveyor. Empty pallets are routed to a queue at some point. I updated my model to clarify this point a little better.

Is this possible with the solution you provided? Or do I need to add a label to empty pallets for routing on the conveyor? If yes, how can this be done?

Empty pallet return example mod.fsm

0 Likes 0 ·
Show more comments

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.