question

Abder23 avatar image
0 Likes"
Abder23 asked Abder23 commented

Send Content of Pallet on Decision Point

Hello,

My sources have dirrenet arrival distributions, the boxes will stop until a pallet is passing by then it will jump on it. At DP3 I want to seperate the box from the pallet and send the pallet to StraightConveyor3. This is achievable if pallet is not empty but it raises an error when it is.

Any guidance on how to solve this?

Thanks you

emptypallet.fsm

FlexSim 22.0.16
palletdecision pointboxes
emptypallet.fsm (42.8 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 Abder23 commented

First check if there are any items on the pallet.

if(item.subnodes.length > 0)
{
    <your code>
}
· 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.

Abder23 avatar image Abder23 commented ·
Thanks
0 Likes 0 ·