question

kauan pedroso avatar image
0 Likes"
kauan pedroso asked Felix Möhlmann commented

Carousel machine

I have a problem where I want the pallets to keep turning forever and the boxes go in and out but on the exit the pallet and the box are exiting together.

gif carousel.gif

Carrousel.fsm

FlexSim 21.2.4
decision pointconveyor decision pointcustomecode
gif-carousel.gif (15.4 MiB)
carrousel.fsm (2.0 MiB)
1678110597280.png (168.1 KiB)
1678110793172.png (19.9 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 Felix Möhlmann commented

You have placed an Exit Transfer that moves items to the exit conveyor. Remove it if they should continue on forever.

You are also not setting the itemtype anywhere, so your condition to move the box will never be true. The usage of the deprecated "itemtype" property is also discouraged in favor of using labels.

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

kauan pedroso avatar image kauan pedroso commented ·

Olá @Felix Möhlmann

Thanks for replying, I did what you went through for labels but to no avail.

Carrousel.fsm

0 Likes 0 ·
carrousel.fsm (2.0 MiB)
Felix Möhlmann avatar image Felix Möhlmann kauan pedroso commented ·

I meant that you should use a label in the custom code to detect whether to move the item or not.

1678127668753.png

0 Likes 0 ·
1678127668753.png (366.6 KiB)